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

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

Code changes from version 1.3.48 to 1.3.49

admin/import/class-parsers.php CHANGED
@@ -1,1041 +1,1041 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit; // Exit if accessed directly.
4
- }
5
-
6
- /**
7
- * WordPress eXtended RSS file parser implementations
8
- *
9
- * @package WordPress
10
- * @subpackage Importer
11
- */
12
-
13
- /**
14
- * WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
15
- */
16
- class WXR_Parser_Regex {
17
- /**
18
- * @var bool
19
- */
20
- private $has_gzip;
21
-
22
- private $authors = [];
23
- private $posts = [];
24
- private $categories = [];
25
- private $tags = [];
26
- private $terms = [];
27
- private $base_url = '';
28
- private $base_blog_url = '';
29
-
30
- /**
31
- * @param string $file
32
- *
33
- * @return array|\WP_Error
34
- */
35
- public function parse( $file ) {
36
- $wxr_version = '';
37
- $in_multiline = false;
38
-
39
- $multiline_content = '';
40
-
41
- $multiline_tags = [
42
- 'item' => [
43
- 'posts',
44
- function ( $post ) {
45
- return $this->process_post( $post );
46
- },
47
- ],
48
- 'wp:category' => [
49
- 'categories',
50
- function ( $category ) {
51
- return $this->process_category( $category );
52
- },
53
- ],
54
- 'wp:tag' => [
55
- 'tags',
56
- function ( $tag ) {
57
- return $this->process_tag( $tag );
58
- },
59
- ],
60
- 'wp:term' => [
61
- 'terms',
62
- function ( $term ) {
63
- return $this->process_term( $term );
64
- },
65
- ],
66
- ];
67
-
68
- $fp = $this->fopen( $file, 'r' );
69
- if ( $fp ) {
70
- while ( ! $this->feof( $fp ) ) {
71
- $importline = rtrim( $this->fgets( $fp ) );
72
-
73
- if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) ) {
74
- $wxr_version = $version[1];
75
- }
76
-
77
- if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
78
- preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
79
- $this->base_url = $url[1];
80
- continue;
81
- }
82
-
83
- if ( false !== strpos( $importline, '<wp:base_blog_url>' ) ) {
84
- preg_match( '|<wp:base_blog_url>(.*?)</wp:base_blog_url>|is', $importline, $blog_url );
85
- $this->base_blog_url = $blog_url[1];
86
- continue;
87
- } else {
88
- $this->base_blog_url = $this->base_url;
89
- }
90
-
91
- if ( false !== strpos( $importline, '<wp:author>' ) ) {
92
- preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
93
- $a = $this->process_author( $author[1] );
94
- $this->authors[ $a['author_login'] ] = $a;
95
- continue;
96
- }
97
-
98
- foreach ( $multiline_tags as $tag => $handler ) {
99
- // Handle multi-line tags on a singular line.
100
- if ( preg_match( '|<'. $tag .'>(.*?)</'. $tag .'>|is', $importline, $matches ) ) {
101
- $this->{$handler[0]}[] = call_user_func( $handler[1], $matches[1] );
102
-
103
- continue;
104
- }
105
-
106
- $pos = strpos( $importline, "<$tag>" );
107
-
108
- if ( false !== $pos ) {
109
- // Take note of any content after the opening tag.
110
- $multiline_content = trim( substr( $importline, $pos + strlen( $tag ) + 2 ) );
111
-
112
- // We don't want to have this line added to `$is_multiline` below.
113
- $importline = '';
114
- $in_multiline = $tag;
115
-
116
- continue;
117
- }
118
-
119
- $pos = strpos( $importline, "</$tag>" );
120
-
121
- if ( false !== $pos ) {
122
- $in_multiline = false;
123
- $multiline_content .= trim( substr( $importline, 0, $pos ) );
124
-
125
- $this->{$handler[0]}[] = call_user_func( $handler[1], $multiline_content );
126
- }
127
- }
128
-
129
- if ( $in_multiline && $importline ) {
130
- $multiline_content .= $importline . "\n";
131
- }
132
- }
133
-
134
- $this->fclose( $fp );
135
- }
136
-
137
- if ( ! $wxr_version ) {
138
- return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
139
- }
140
-
141
- return [
142
- 'authors' => $this->authors,
143
- 'posts' => $this->posts,
144
- 'categories' => $this->categories,
145
- 'tags' => $this->tags,
146
- 'terms' => $this->terms,
147
- 'base_url' => $this->base_url,
148
- 'base_blog_url' => $this->base_blog_url,
149
- 'version' => $wxr_version,
150
- ];
151
- }
152
-
153
- private function process_category( $category ) {
154
- $term = [
155
- 'term_id' => $this->get_tag( $category, 'wp:term_id' ),
156
- 'cat_name' => $this->get_tag( $category, 'wp:cat_name' ),
157
- 'category_nicename' => $this->get_tag( $category, 'wp:category_nicename' ),
158
- 'category_parent' => $this->get_tag( $category, 'wp:category_parent' ),
159
- 'category_description' => $this->get_tag( $category, 'wp:category_description' ),
160
- ];
161
-
162
- $term_meta = $this->process_meta( $category, 'wp:termmeta' );
163
- if ( ! empty( $term_meta ) ) {
164
- $term['termmeta'] = $term_meta;
165
- }
166
-
167
- return $term;
168
- }
169
-
170
- private function process_tag( $tag ) {
171
- $term = [
172
- 'term_id' => $this->get_tag( $tag, 'wp:term_id' ),
173
- 'tag_name' => $this->get_tag( $tag, 'wp:tag_name' ),
174
- 'tag_slug' => $this->get_tag( $tag, 'wp:tag_slug' ),
175
- 'tag_description' => $this->get_tag( $tag, 'wp:tag_description' ),
176
- ];
177
-
178
- $term_meta = $this->process_meta( $tag, 'wp:termmeta' );
179
- if ( ! empty( $term_meta ) ) {
180
- $term['termmeta'] = $term_meta;
181
- }
182
-
183
- return $term;
184
- }
185
-
186
- private function process_term( $term ) {
187
- $term_data = [
188
- 'term_id' => $this->get_tag( $term, 'wp:term_id' ),
189
- 'term_taxonomy' => $this->get_tag( $term, 'wp:term_taxonomy' ),
190
- 'slug' => $this->get_tag( $term, 'wp:term_slug' ),
191
- 'term_parent' => $this->get_tag( $term, 'wp:term_parent' ),
192
- 'term_name' => $this->get_tag( $term, 'wp:term_name' ),
193
- 'term_description' => $this->get_tag( $term, 'wp:term_description' ),
194
- ];
195
-
196
- $term_meta = $this->process_meta( $term, 'wp:termmeta' );
197
- if ( ! empty( $term_meta ) ) {
198
- $term_data['termmeta'] = $term_meta;
199
- }
200
-
201
- return $term_data;
202
- }
203
-
204
- private function process_meta( $string, $tag ) {
205
- $parsed_meta = [];
206
-
207
- preg_match_all( "|<$tag>(.+?)</$tag>|is", $string, $meta );
208
-
209
- if ( ! isset( $meta[1] ) ) {
210
- return $parsed_meta;
211
- }
212
-
213
- foreach ( $meta[1] as $m ) {
214
- $parsed_meta[] = [
215
- 'key' => $this->get_tag( $m, 'wp:meta_key' ),
216
- 'value' => $this->get_tag( $m, 'wp:meta_value' ),
217
- ];
218
- }
219
-
220
- return $parsed_meta;
221
- }
222
-
223
- private function process_author( $a ) {
224
- return [
225
- 'author_id' => $this->get_tag( $a, 'wp:author_id' ),
226
- 'author_login' => $this->get_tag( $a, 'wp:author_login' ),
227
- 'author_email' => $this->get_tag( $a, 'wp:author_email' ),
228
- 'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
229
- 'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
230
- 'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
231
- ];
232
- }
233
-
234
- private function process_post( $post ) {
235
- $normalize_tag_callback = function ( $matches ) {
236
- return $this->normalize_tag( $matches );
237
- };
238
-
239
- $post_id = $this->get_tag( $post, 'wp:post_id' );
240
- $post_title = $this->get_tag( $post, 'title' );
241
- $post_date = $this->get_tag( $post, 'wp:post_date' );
242
- $post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
243
- $comment_status = $this->get_tag( $post, 'wp:comment_status' );
244
- $ping_status = $this->get_tag( $post, 'wp:ping_status' );
245
- $status = $this->get_tag( $post, 'wp:status' );
246
- $post_name = $this->get_tag( $post, 'wp:post_name' );
247
- $post_parent = $this->get_tag( $post, 'wp:post_parent' );
248
- $menu_order = $this->get_tag( $post, 'wp:menu_order' );
249
- $post_type = $this->get_tag( $post, 'wp:post_type' );
250
- $post_password = $this->get_tag( $post, 'wp:post_password' );
251
- $is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
252
- $guid = $this->get_tag( $post, 'guid' );
253
- $post_author = $this->get_tag( $post, 'dc:creator' );
254
-
255
- $post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
256
- $post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', $normalize_tag_callback, $post_excerpt );
257
- $post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
258
- $post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
259
-
260
- $post_content = $this->get_tag( $post, 'content:encoded' );
261
- $post_content = preg_replace_callback( '|<(/?[A-Z]+)|', $normalize_tag_callback, $post_content );
262
- $post_content = str_replace( '<br>', '<br />', $post_content );
263
- $post_content = str_replace( '<hr>', '<hr />', $post_content );
264
-
265
- $postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt', 'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type', 'post_password', 'is_sticky' );
266
-
267
- $attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
268
- if ( $attachment_url ) {
269
- $postdata['attachment_url'] = $attachment_url;
270
- }
271
-
272
- preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
273
- foreach ( $terms as $t ) {
274
- $post_terms[] = [
275
- 'slug' => $t[2],
276
- 'domain' => $t[1],
277
- 'name' => str_replace( [ '<![CDATA[', ']]>' ], '', $t[3] ),
278
- ];
279
- }
280
- if ( ! empty( $post_terms ) ) {
281
- $postdata['terms'] = $post_terms;
282
- }
283
-
284
- preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
285
- $comments = $comments[1];
286
- if ( $comments ) {
287
- foreach ( $comments as $comment ) {
288
- $post_comments[] = [
289
- 'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
290
- 'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
291
- 'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
292
- 'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
293
- 'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
294
- 'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
295
- 'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
296
- 'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
297
- 'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
298
- 'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
299
- 'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
300
- 'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
301
- 'commentmeta' => $this->process_meta( $comment, 'wp:commentmeta' ),
302
- ];
303
- }
304
- }
305
- if ( ! empty( $post_comments ) ) {
306
- $postdata['comments'] = $post_comments;
307
- }
308
-
309
- $post_meta = $this->process_meta( $post, 'wp:postmeta' );
310
- if ( ! empty( $post_meta ) ) {
311
- $postdata['postmeta'] = $post_meta;
312
- }
313
-
314
- return $postdata;
315
- }
316
-
317
- private function get_tag( $string, $tag ) {
318
- preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
319
- if ( isset( $return[1] ) ) {
320
- if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
321
- if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
322
- preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
323
- $return = '';
324
- foreach ( $matches[1] as $match ) {
325
- $return .= $match;
326
- }
327
- } else {
328
- $return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
329
- }
330
- } else {
331
- $return = $return[1];
332
- }
333
- } else {
334
- $return = '';
335
- }
336
-
337
- return $return;
338
- }
339
-
340
- private function normalize_tag( $matches ) {
341
- return '<' . strtolower( $matches[1] );
342
- }
343
-
344
- private function fopen( $filename, $mode = 'r' ) {
345
- if ( $this->has_gzip ) {
346
- return gzopen( $filename, $mode );
347
- }
348
-
349
- return fopen( $filename, $mode );
350
- }
351
-
352
- private function feof( $fp ) {
353
- if ( $this->has_gzip ) {
354
- return gzeof( $fp );
355
- }
356
-
357
- return feof( $fp );
358
- }
359
-
360
- private function fgets( $fp, $len = 8192 ) {
361
- if ( $this->has_gzip ) {
362
- return gzgets( $fp, $len );
363
- }
364
-
365
- return fgets( $fp, $len );
366
- }
367
-
368
- private function fclose( $fp ) {
369
- if ( $this->has_gzip ) {
370
- return gzclose( $fp );
371
- }
372
-
373
- return fclose( $fp );
374
- }
375
-
376
- public function __construct() {
377
- $this->has_gzip = is_callable( 'gzopen' );
378
- }
379
- }
380
-
381
- /**
382
- * WordPress eXtended RSS file parser implementations,
383
- * Originally made by WordPress part of WordPress/Importer.
384
- * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser-simplexml.php
385
- *
386
- * What was done:
387
- * Reformat of the code.
388
- * Removed variable '$internal_errors'.
389
- * Changed text domain.
390
- */
391
-
392
- /**
393
- * WXR Parser that makes use of the SimpleXML PHP extension.
394
- */
395
- class WXR_Parser_SimpleXML {
396
-
397
- /**
398
- * @param string $file
399
- *
400
- * @return array|\WP_Error
401
- */
402
- public function parse( $file ) {
403
- $authors = [];
404
- $posts = [];
405
- $categories = [];
406
- $tags = [];
407
- $terms = [];
408
-
409
- libxml_use_internal_errors( true );
410
-
411
- $dom = new \DOMDocument();
412
- $old_value = null;
413
-
414
- $libxml_disable_entity_loader_exists = function_exists( 'libxml_disable_entity_loader' );
415
-
416
- if ( $libxml_disable_entity_loader_exists ) {
417
- $old_value = libxml_disable_entity_loader( true ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
418
- }
419
-
420
- $success = $dom->loadXML( file_get_contents( $file ) );
421
-
422
- if ( $libxml_disable_entity_loader_exists && ! is_null( $old_value ) ) {
423
- libxml_disable_entity_loader( $old_value ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
424
- }
425
-
426
- if ( ! $success || isset( $dom->doctype ) ) {
427
- return new WP_Error( 'SimpleXML_parse_error', esc_html__( 'There was an error when reading this WXR file', 'wpr-addons' ), libxml_get_errors() );
428
- }
429
-
430
- $xml = simplexml_import_dom( $dom );
431
- unset( $dom );
432
-
433
- // Halt if loading produces an error.
434
- if ( ! $xml ) {
435
- return new WP_Error( 'SimpleXML_parse_error', esc_html__( 'There was an error when reading this WXR file', 'wpr-addons' ), libxml_get_errors() );
436
- }
437
-
438
- $wxr_version = $xml->xpath( '/rss/channel/wp:wxr_version' );
439
- if ( ! $wxr_version ) {
440
- return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
441
- }
442
-
443
- $wxr_version = (string) trim( $wxr_version[0] );
444
- // Confirm that we are dealing with the correct file format.
445
- if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) ) {
446
- return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
447
- }
448
-
449
- $base_url = $xml->xpath( '/rss/channel/wp:base_site_url' );
450
- $base_url = (string) trim( isset( $base_url[0] ) ? $base_url[0] : '' );
451
-
452
- $base_blog_url = $xml->xpath( '/rss/channel/wp:base_blog_url' );
453
- if ( $base_blog_url ) {
454
- $base_blog_url = (string) trim( $base_blog_url[0] );
455
- } else {
456
- $base_blog_url = $base_url;
457
- }
458
-
459
- $page_on_front = $xml->xpath( '/rss/channel/wp:page_on_front' );
460
-
461
- if ( $page_on_front ) {
462
- $page_on_front = (int) $page_on_front[0];
463
- }
464
-
465
- $namespaces = $xml->getDocNamespaces();
466
- if ( ! isset( $namespaces['wp'] ) ) {
467
- $namespaces['wp'] = 'http://wordpress.org/export/1.1/';
468
- }
469
- if ( ! isset( $namespaces['excerpt'] ) ) {
470
- $namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
471
- }
472
-
473
- // Grab authors.
474
- foreach ( $xml->xpath( '/rss/channel/wp:author' ) as $author_arr ) {
475
- $a = $author_arr->children( $namespaces['wp'] );
476
- $login = (string) $a->author_login;
477
- $authors[ $login ] = [
478
- 'author_id' => (int) $a->author_id,
479
- 'author_login' => $login,
480
- 'author_email' => (string) $a->author_email,
481
- 'author_display_name' => (string) $a->author_display_name,
482
- 'author_first_name' => (string) $a->author_first_name,
483
- 'author_last_name' => (string) $a->author_last_name,
484
- ];
485
- }
486
-
487
- // Grab cats, tags and terms.
488
- foreach ( $xml->xpath( '/rss/channel/wp:category' ) as $term_arr ) {
489
- $t = $term_arr->children( $namespaces['wp'] );
490
- $category = [
491
- 'term_id' => (int) $t->term_id,
492
- 'category_nicename' => (string) $t->category_nicename,
493
- 'category_parent' => (string) $t->category_parent,
494
- 'cat_name' => (string) $t->cat_name,
495
- 'category_description' => (string) $t->category_description,
496
- ];
497
-
498
- foreach ( $t->termmeta as $meta ) {
499
- $category['termmeta'][] = [
500
- 'key' => (string) $meta->meta_key,
501
- 'value' => (string) $meta->meta_value,
502
- ];
503
- }
504
-
505
- $categories[] = $category;
506
- }
507
-
508
- foreach ( $xml->xpath( '/rss/channel/wp:tag' ) as $term_arr ) {
509
- $t = $term_arr->children( $namespaces['wp'] );
510
- $tag = [
511
- 'term_id' => (int) $t->term_id,
512
- 'tag_slug' => (string) $t->tag_slug,
513
- 'tag_name' => (string) $t->tag_name,
514
- 'tag_description' => (string) $t->tag_description,
515
- ];
516
-
517
- foreach ( $t->termmeta as $meta ) {
518
- $tag['termmeta'][] = [
519
- 'key' => (string) $meta->meta_key,
520
- 'value' => (string) $meta->meta_value,
521
- ];
522
- }
523
-
524
- $tags[] = $tag;
525
- }
526
-
527
- foreach ( $xml->xpath( '/rss/channel/wp:term' ) as $term_arr ) {
528
- $t = $term_arr->children( $namespaces['wp'] );
529
- $term = [
530
- 'term_id' => (int) $t->term_id,
531
- 'term_taxonomy' => (string) $t->term_taxonomy,
532
- 'slug' => (string) $t->term_slug,
533
- 'term_parent' => (string) $t->term_parent,
534
- 'term_name' => (string) $t->term_name,
535
- 'term_description' => (string) $t->term_description,
536
- ];
537
-
538
- foreach ( $t->termmeta as $meta ) {
539
- $term['termmeta'][] = [
540
- 'key' => (string) $meta->meta_key,
541
- 'value' => (string) $meta->meta_value,
542
- ];
543
- }
544
-
545
- $terms[] = $term;
546
- }
547
-
548
- // Grab posts.
549
- foreach ( $xml->channel->item as $item ) {
550
- $post = [
551
- 'post_title' => (string) $item->title,
552
- 'guid' => (string) $item->guid,
553
- ];
554
-
555
- $dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
556
- $post['post_author'] = (string) $dc->creator;
557
-
558
- $content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
559
- $excerpt = $item->children( $namespaces['excerpt'] );
560
- $post['post_content'] = (string) $content->encoded;
561
- $post['post_excerpt'] = (string) $excerpt->encoded;
562
-
563
- $wp = $item->children( $namespaces['wp'] );
564
- $post['post_id'] = (int) $wp->post_id;
565
- $post['post_date'] = (string) $wp->post_date;
566
- $post['post_date_gmt'] = (string) $wp->post_date_gmt;
567
- $post['comment_status'] = (string) $wp->comment_status;
568
- $post['ping_status'] = (string) $wp->ping_status;
569
- $post['post_name'] = (string) $wp->post_name;
570
- $post['status'] = (string) $wp->status;
571
- $post['post_parent'] = (int) $wp->post_parent;
572
- $post['menu_order'] = (int) $wp->menu_order;
573
- $post['post_type'] = (string) $wp->post_type;
574
- $post['post_password'] = (string) $wp->post_password;
575
- $post['is_sticky'] = (int) $wp->is_sticky;
576
-
577
- if ( isset( $wp->attachment_url ) ) {
578
- $post['attachment_url'] = (string) $wp->attachment_url;
579
- }
580
-
581
- foreach ( $item->category as $c ) {
582
- $att = $c->attributes();
583
- if ( isset( $att['nicename'] ) ) {
584
- $post['terms'][] = [
585
- 'name' => (string) $c,
586
- 'slug' => (string) $att['nicename'],
587
- 'domain' => (string) $att['domain'],
588
- ];
589
- }
590
- }
591
-
592
- foreach ( $wp->postmeta as $meta ) {
593
- $post['postmeta'][] = [
594
- 'key' => (string) $meta->meta_key,
595
- 'value' => (string) $meta->meta_value,
596
- ];
597
- }
598
-
599
- foreach ( $wp->comment as $comment ) {
600
- $meta = [];
601
- if ( isset( $comment->commentmeta ) ) {
602
- foreach ( $comment->commentmeta as $m ) {
603
- $meta[] = [
604
- 'key' => (string) $m->meta_key,
605
- 'value' => (string) $m->meta_value,
606
- ];
607
- }
608
- }
609
-
610
- $post['comments'][] = [
611
- 'comment_id' => (int) $comment->comment_id,
612
- 'comment_author' => (string) $comment->comment_author,
613
- 'comment_author_email' => (string) $comment->comment_author_email,
614
- 'comment_author_IP' => (string) $comment->comment_author_IP,
615
- 'comment_author_url' => (string) $comment->comment_author_url,
616
- 'comment_date' => (string) $comment->comment_date,
617
- 'comment_date_gmt' => (string) $comment->comment_date_gmt,
618
- 'comment_content' => (string) $comment->comment_content,
619
- 'comment_approved' => (string) $comment->comment_approved,
620
- 'comment_type' => (string) $comment->comment_type,
621
- 'comment_parent' => (string) $comment->comment_parent,
622
- 'comment_user_id' => (int) $comment->comment_user_id,
623
- 'commentmeta' => $meta,
624
- ];
625
- }
626
-
627
- $posts[] = $post;
628
- }
629
-
630
- return [
631
- 'authors' => $authors,
632
- 'posts' => $posts,
633
- 'categories' => $categories,
634
- 'tags' => $tags,
635
- 'terms' => $terms,
636
- 'base_url' => $base_url,
637
- 'base_blog_url' => $base_blog_url,
638
- 'page_on_front' => $page_on_front,
639
- 'version' => $wxr_version,
640
- ];
641
- }
642
- }
643
-
644
-
645
- /**
646
- * WordPress eXtended RSS file parser implementations,
647
- * Originally made by WordPress part of WordPress/Importer.
648
- * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser-xml.php
649
- *
650
- * What was done:
651
- * Reformat of the code.
652
- * Added PHPDOC.
653
- * Changed text domain.
654
- * Added clear() method.
655
- * Added undeclared class properties.
656
- * Changed methods visibility.
657
- */
658
-
659
- /**
660
- * WXR Parser that makes use of the XML Parser PHP extension.
661
- */
662
- class WXR_Parser_XML {
663
- private static $wp_tags = [
664
- 'wp:post_id',
665
- 'wp:post_date',
666
- 'wp:post_date_gmt',
667
- 'wp:comment_status',
668
- 'wp:ping_status',
669
- 'wp:attachment_url',
670
- 'wp:status',
671
- 'wp:post_name',
672
- 'wp:post_parent',
673
- 'wp:menu_order',
674
- 'wp:post_type',
675
- 'wp:post_password',
676
- 'wp:is_sticky',
677
- 'wp:term_id',
678
- 'wp:category_nicename',
679
- 'wp:category_parent',
680
- 'wp:cat_name',
681
- 'wp:category_description',
682
- 'wp:tag_slug',
683
- 'wp:tag_name',
684
- 'wp:tag_description',
685
- 'wp:term_taxonomy',
686
- 'wp:term_parent',
687
- 'wp:term_name',
688
- 'wp:term_description',
689
- 'wp:author_id',
690
- 'wp:author_login',
691
- 'wp:author_email',
692
- 'wp:author_display_name',
693
- 'wp:author_first_name',
694
- 'wp:author_last_name',
695
- ];
696
-
697
- private static $wp_sub_tags = [
698
- 'wp:comment_id',
699
- 'wp:comment_author',
700
- 'wp:comment_author_email',
701
- 'wp:comment_author_url',
702
- 'wp:comment_author_IP',
703
- 'wp:comment_date',
704
- 'wp:comment_date_gmt',
705
- 'wp:comment_content',
706
- 'wp:comment_approved',
707
- 'wp:comment_type',
708
- 'wp:comment_parent',
709
- 'wp:comment_user_id',
710
- ];
711
-
712
- /**
713
- * @var string
714
- */
715
- private $wxr_version;
716
-
717
- /**
718
- * @var string
719
- */
720
- private $cdata;
721
-
722
- /**
723
- * @var array
724
- */
725
- private $data;
726
-
727
- /**
728
- * @var array
729
- */
730
- private $sub_data;
731
-
732
- /**
733
- * @var boolean
734
- */
735
- private $in_post;
736
-
737
- /**
738
- * @var boolean
739
- */
740
- private $in_tag;
741
-
742
- /**
743
- * @var boolean
744
- */
745
- private $in_sub_tag;
746
-
747
- /**
748
- * @var array
749
- */
750
- private $authors;
751
-
752
- /**
753
- * @var array
754
- */
755
- private $posts;
756
-
757
- /**
758
- * @var array
759
- */
760
- private $term;
761
-
762
- /**
763
- * @var array
764
- */
765
- private $category;
766
-
767
- /**
768
- * @var array
769
- */
770
- private $tag;
771
-
772
- /**
773
- * @var string
774
- */
775
- private $base_url;
776
-
777
- /**
778
- * @var string
779
- */
780
- private $base_blog_url;
781
-
782
- /**
783
- * @param string $file
784
- *
785
- * @return array|WP_Error
786
- */
787
- public function parse( $file ) {
788
- $this->clear();
789
-
790
- $xml = xml_parser_create( 'UTF-8' );
791
- xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
792
- xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
793
- xml_set_object( $xml, $this );
794
-
795
- xml_set_character_data_handler( $xml, function ( $parser, $cdata ) {
796
- $this->cdata( $cdata );
797
- } );
798
-
799
- $tag_open_callback = function ( $parse, $tag, $attr ) {
800
- $this->tag_open( $tag, $attr );
801
- };
802
-
803
- $tag_close_callback = function ( $parser, $tag ) {
804
- $this->tag_close( $tag );
805
- };
806
-
807
- xml_set_element_handler( $xml, $tag_open_callback, $tag_close_callback );
808
-
809
- if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
810
- $current_line = xml_get_current_line_number( $xml );
811
- $current_column = xml_get_current_column_number( $xml );
812
- $error_code = xml_get_error_code( $xml );
813
- $error_string = xml_error_string( $error_code );
814
-
815
- return new WP_Error( 'XML_parse_error', 'There was an error when reading this WXR file', [
816
- $current_line,
817
- $current_column,
818
- $error_string,
819
- ] );
820
- }
821
- xml_parser_free( $xml );
822
-
823
- if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) ) {
824
- return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
825
- }
826
-
827
- return array(
828
- 'authors' => $this->authors,
829
- 'posts' => $this->posts,
830
- 'categories' => $this->category,
831
- 'tags' => $this->tag,
832
- 'terms' => $this->term,
833
- 'base_url' => $this->base_url,
834
- 'base_blog_url' => $this->base_blog_url,
835
- 'version' => $this->wxr_version,
836
- );
837
- }
838
-
839
- private function tag_open( $tag, $attr ) {
840
- if ( in_array( $tag, self::$wp_tags ) ) {
841
- $this->in_tag = substr( $tag, 3 );
842
-
843
- return;
844
- }
845
-
846
- if ( in_array( $tag, self::$wp_sub_tags ) ) {
847
- $this->in_sub_tag = substr( $tag, 3 );
848
-
849
- return;
850
- }
851
-
852
- switch ( $tag ) {
853
- case 'category':
854
- if ( isset( $attr['domain'], $attr['nicename'] ) ) {
855
- $this->sub_data['domain'] = $attr['domain'];
856
- $this->sub_data['slug'] = $attr['nicename'];
857
- }
858
- break;
859
- case 'item':
860
- $this->in_post = true;
861
- // No break !!!.
862
- case 'title':
863
- if ( $this->in_post ) {
864
- $this->in_tag = 'post_title';
865
- }
866
- break;
867
- case 'guid':
868
- $this->in_tag = 'guid';
869
- break;
870
- case 'dc:creator':
871
- $this->in_tag = 'post_author';
872
- break;
873
- case 'content:encoded':
874
- $this->in_tag = 'post_content';
875
- break;
876
- case 'excerpt:encoded':
877
- $this->in_tag = 'post_excerpt';
878
- break;
879
-
880
- case 'wp:term_slug':
881
- $this->in_tag = 'slug';
882
- break;
883
- case 'wp:meta_key':
884
- $this->in_sub_tag = 'key';
885
- break;
886
- case 'wp:meta_value':
887
- $this->in_sub_tag = 'value';
888
- break;
889
- }
890
- }
891
-
892
- private function cdata( $cdata ) {
893
- if ( ! trim( $cdata ) ) {
894
- return;
895
- }
896
-
897
- if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
898
- $this->cdata .= $cdata;
899
- } else {
900
- $this->cdata .= trim( $cdata );
901
- }
902
- }
903
-
904
- private function tag_close( $tag ) {
905
- switch ( $tag ) {
906
- case 'wp:comment':
907
- unset( $this->sub_data['key'], $this->sub_data['value'] ); // Remove meta sub_data.
908
- if ( ! empty( $this->sub_data ) ) {
909
- $this->data['comments'][] = $this->sub_data;
910
- }
911
- $this->sub_data = [];
912
- break;
913
- case 'wp:commentmeta':
914
- $this->sub_data['commentmeta'][] = [
915
- 'key' => $this->sub_data['key'],
916
- 'value' => $this->sub_data['value'],
917
- ];
918
- break;
919
- case 'category':
920
- if ( ! empty( $this->sub_data ) ) {
921
- $this->sub_data['name'] = $this->cdata;
922
- $this->data['terms'][] = $this->sub_data;
923
- }
924
- $this->sub_data = [];
925
- break;
926
- case 'wp:postmeta':
927
- if ( ! empty( $this->sub_data ) ) {
928
- $this->data['postmeta'][] = $this->sub_data;
929
- }
930
- $this->sub_data = [];
931
- break;
932
- case 'item':
933
- $this->posts[] = $this->data;
934
- $this->data = [];
935
- break;
936
- case 'wp:category':
937
- case 'wp:tag':
938
- case 'wp:term':
939
- $n = substr( $tag, 3 );
940
- array_push( $this->$n, $this->data );
941
- $this->data = [];
942
- break;
943
- case 'wp:termmeta':
944
- if ( ! empty( $this->sub_data ) ) {
945
- $this->data['termmeta'][] = $this->sub_data;
946
- }
947
- $this->sub_data = [];
948
- break;
949
- case 'wp:author':
950
- if ( ! empty( $this->data['author_login'] ) ) {
951
- $this->authors[ $this->data['author_login'] ] = $this->data;
952
- }
953
- $this->data = [];
954
- break;
955
- case 'wp:base_site_url':
956
- $this->base_url = $this->cdata;
957
- if ( ! isset( $this->base_blog_url ) ) {
958
- $this->base_blog_url = $this->cdata;
959
- }
960
- break;
961
- case 'wp:base_blog_url':
962
- $this->base_blog_url = $this->cdata;
963
- break;
964
- case 'wp:wxr_version':
965
- $this->wxr_version = $this->cdata;
966
- break;
967
-
968
- default:
969
- if ( $this->in_sub_tag ) {
970
- $this->sub_data[ $this->in_sub_tag ] = $this->cdata;
971
- $this->in_sub_tag = false;
972
- } elseif ( $this->in_tag ) {
973
- $this->data[ $this->in_tag ] = $this->cdata;
974
- $this->in_tag = false;
975
- }
976
- }
977
-
978
- $this->cdata = '';
979
- }
980
-
981
- private function clear() {
982
- $this->wxr_version = '';
983
-
984
- $this->cdata = '';
985
- $this->data = [];
986
- $this->sub_data = [];
987
-
988
- $this->in_post = false;
989
- $this->in_tag = false;
990
- $this->in_sub_tag = false;
991
-
992
- $this->authors = [];
993
- $this->posts = [];
994
- $this->term = [];
995
- $this->category = [];
996
- $this->tag = [];
997
- }
998
- }
999
-
1000
-
1001
- /**
1002
- * WordPress eXtended RSS file parser implementations,
1003
- * Originally made by WordPress part of WordPress/Importer.
1004
- * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser.php
1005
- *
1006
- * What was done:
1007
- * Reformat of the code.
1008
- * Changed text domain.
1009
- */
1010
-
1011
- /**
1012
- * WordPress Importer class for managing parsing of WXR files.
1013
- */
1014
- class WXR_Parser {
1015
-
1016
- public function parse( $file ) {
1017
- // Attempt to use proper XML parsers first.
1018
- if ( extension_loaded( 'simplexml' ) ) {
1019
- $parser = new WXR_Parser_SimpleXML();
1020
- $result = $parser->parse( $file );
1021
-
1022
- // If SimpleXML succeeds or this is an invalid WXR file then return the results.
1023
- if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() ) {
1024
- return $result;
1025
- }
1026
- } elseif ( extension_loaded( 'xml' ) ) {
1027
- $parser = new WXR_Parser_XML();
1028
- $result = $parser->parse( $file );
1029
-
1030
- // If XMLParser succeeds or this is an invalid WXR file then return the results.
1031
- if ( ! is_wp_error( $result ) || 'XML_parse_error' != $result->get_error_code() ) {
1032
- return $result;
1033
- }
1034
- }
1035
-
1036
- // Use regular expressions if nothing else available or this is bad XML.
1037
- $parser = new WXR_Parser_Regex();
1038
-
1039
- return $parser->parse( $file );
1040
- }
1041
- }
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit; // Exit if accessed directly.
4
+ }
5
+
6
+ /**
7
+ * WordPress eXtended RSS file parser implementations
8
+ *
9
+ * @package WordPress
10
+ * @subpackage Importer
11
+ */
12
+
13
+ /**
14
+ * WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
15
+ */
16
+ class WXR_Parser_Regex {
17
+ /**
18
+ * @var bool
19
+ */
20
+ private $has_gzip;
21
+
22
+ private $authors = [];
23
+ private $posts = [];
24
+ private $categories = [];
25
+ private $tags = [];
26
+ private $terms = [];
27
+ private $base_url = '';
28
+ private $base_blog_url = '';
29
+
30
+ /**
31
+ * @param string $file
32
+ *
33
+ * @return array|\WP_Error
34
+ */
35
+ public function parse( $file ) {
36
+ $wxr_version = '';
37
+ $in_multiline = false;
38
+
39
+ $multiline_content = '';
40
+
41
+ $multiline_tags = [
42
+ 'item' => [
43
+ 'posts',
44
+ function ( $post ) {
45
+ return $this->process_post( $post );
46
+ },
47
+ ],
48
+ 'wp:category' => [
49
+ 'categories',
50
+ function ( $category ) {
51
+ return $this->process_category( $category );
52
+ },
53
+ ],
54
+ 'wp:tag' => [
55
+ 'tags',
56
+ function ( $tag ) {
57
+ return $this->process_tag( $tag );
58
+ },
59
+ ],
60
+ 'wp:term' => [
61
+ 'terms',
62
+ function ( $term ) {
63
+ return $this->process_term( $term );
64
+ },
65
+ ],
66
+ ];
67
+
68
+ $fp = $this->fopen( $file, 'r' );
69
+ if ( $fp ) {
70
+ while ( ! $this->feof( $fp ) ) {
71
+ $importline = rtrim( $this->fgets( $fp ) );
72
+
73
+ if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) ) {
74
+ $wxr_version = $version[1];
75
+ }
76
+
77
+ if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
78
+ preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
79
+ $this->base_url = $url[1];
80
+ continue;
81
+ }
82
+
83
+ if ( false !== strpos( $importline, '<wp:base_blog_url>' ) ) {
84
+ preg_match( '|<wp:base_blog_url>(.*?)</wp:base_blog_url>|is', $importline, $blog_url );
85
+ $this->base_blog_url = $blog_url[1];
86
+ continue;
87
+ } else {
88
+ $this->base_blog_url = $this->base_url;
89
+ }
90
+
91
+ if ( false !== strpos( $importline, '<wp:author>' ) ) {
92
+ preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
93
+ $a = $this->process_author( $author[1] );
94
+ $this->authors[ $a['author_login'] ] = $a;
95
+ continue;
96
+ }
97
+
98
+ foreach ( $multiline_tags as $tag => $handler ) {
99
+ // Handle multi-line tags on a singular line.
100
+ if ( preg_match( '|<'. $tag .'>(.*?)</'. $tag .'>|is', $importline, $matches ) ) {
101
+ $this->{$handler[0]}[] = call_user_func( $handler[1], $matches[1] );
102
+
103
+ continue;
104
+ }
105
+
106
+ $pos = strpos( $importline, "<$tag>" );
107
+
108
+ if ( false !== $pos ) {
109
+ // Take note of any content after the opening tag.
110
+ $multiline_content = trim( substr( $importline, $pos + strlen( $tag ) + 2 ) );
111
+
112
+ // We don't want to have this line added to `$is_multiline` below.
113
+ $importline = '';
114
+ $in_multiline = $tag;
115
+
116
+ continue;
117
+ }
118
+
119
+ $pos = strpos( $importline, "</$tag>" );
120
+
121
+ if ( false !== $pos ) {
122
+ $in_multiline = false;
123
+ $multiline_content .= trim( substr( $importline, 0, $pos ) );
124
+
125
+ $this->{$handler[0]}[] = call_user_func( $handler[1], $multiline_content );
126
+ }
127
+ }
128
+
129
+ if ( $in_multiline && $importline ) {
130
+ $multiline_content .= $importline . "\n";
131
+ }
132
+ }
133
+
134
+ $this->fclose( $fp );
135
+ }
136
+
137
+ if ( ! $wxr_version ) {
138
+ return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
139
+ }
140
+
141
+ return [
142
+ 'authors' => $this->authors,
143
+ 'posts' => $this->posts,
144
+ 'categories' => $this->categories,
145
+ 'tags' => $this->tags,
146
+ 'terms' => $this->terms,
147
+ 'base_url' => $this->base_url,
148
+ 'base_blog_url' => $this->base_blog_url,
149
+ 'version' => $wxr_version,
150
+ ];
151
+ }
152
+
153
+ private function process_category( $category ) {
154
+ $term = [
155
+ 'term_id' => $this->get_tag( $category, 'wp:term_id' ),
156
+ 'cat_name' => $this->get_tag( $category, 'wp:cat_name' ),
157
+ 'category_nicename' => $this->get_tag( $category, 'wp:category_nicename' ),
158
+ 'category_parent' => $this->get_tag( $category, 'wp:category_parent' ),
159
+ 'category_description' => $this->get_tag( $category, 'wp:category_description' ),
160
+ ];
161
+
162
+ $term_meta = $this->process_meta( $category, 'wp:termmeta' );
163
+ if ( ! empty( $term_meta ) ) {
164
+ $term['termmeta'] = $term_meta;
165
+ }
166
+
167
+ return $term;
168
+ }
169
+
170
+ private function process_tag( $tag ) {
171
+ $term = [
172
+ 'term_id' => $this->get_tag( $tag, 'wp:term_id' ),
173
+ 'tag_name' => $this->get_tag( $tag, 'wp:tag_name' ),
174
+ 'tag_slug' => $this->get_tag( $tag, 'wp:tag_slug' ),
175
+ 'tag_description' => $this->get_tag( $tag, 'wp:tag_description' ),
176
+ ];
177
+
178
+ $term_meta = $this->process_meta( $tag, 'wp:termmeta' );
179
+ if ( ! empty( $term_meta ) ) {
180
+ $term['termmeta'] = $term_meta;
181
+ }
182
+
183
+ return $term;
184
+ }
185
+
186
+ private function process_term( $term ) {
187
+ $term_data = [
188
+ 'term_id' => $this->get_tag( $term, 'wp:term_id' ),
189
+ 'term_taxonomy' => $this->get_tag( $term, 'wp:term_taxonomy' ),
190
+ 'slug' => $this->get_tag( $term, 'wp:term_slug' ),
191
+ 'term_parent' => $this->get_tag( $term, 'wp:term_parent' ),
192
+ 'term_name' => $this->get_tag( $term, 'wp:term_name' ),
193
+ 'term_description' => $this->get_tag( $term, 'wp:term_description' ),
194
+ ];
195
+
196
+ $term_meta = $this->process_meta( $term, 'wp:termmeta' );
197
+ if ( ! empty( $term_meta ) ) {
198
+ $term_data['termmeta'] = $term_meta;
199
+ }
200
+
201
+ return $term_data;
202
+ }
203
+
204
+ private function process_meta( $string, $tag ) {
205
+ $parsed_meta = [];
206
+
207
+ preg_match_all( "|<$tag>(.+?)</$tag>|is", $string, $meta );
208
+
209
+ if ( ! isset( $meta[1] ) ) {
210
+ return $parsed_meta;
211
+ }
212
+
213
+ foreach ( $meta[1] as $m ) {
214
+ $parsed_meta[] = [
215
+ 'key' => $this->get_tag( $m, 'wp:meta_key' ),
216
+ 'value' => $this->get_tag( $m, 'wp:meta_value' ),
217
+ ];
218
+ }
219
+
220
+ return $parsed_meta;
221
+ }
222
+
223
+ private function process_author( $a ) {
224
+ return [
225
+ 'author_id' => $this->get_tag( $a, 'wp:author_id' ),
226
+ 'author_login' => $this->get_tag( $a, 'wp:author_login' ),
227
+ 'author_email' => $this->get_tag( $a, 'wp:author_email' ),
228
+ 'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
229
+ 'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
230
+ 'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
231
+ ];
232
+ }
233
+
234
+ private function process_post( $post ) {
235
+ $normalize_tag_callback = function ( $matches ) {
236
+ return $this->normalize_tag( $matches );
237
+ };
238
+
239
+ $post_id = $this->get_tag( $post, 'wp:post_id' );
240
+ $post_title = $this->get_tag( $post, 'title' );
241
+ $post_date = $this->get_tag( $post, 'wp:post_date' );
242
+ $post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
243
+ $comment_status = $this->get_tag( $post, 'wp:comment_status' );
244
+ $ping_status = $this->get_tag( $post, 'wp:ping_status' );
245
+ $status = $this->get_tag( $post, 'wp:status' );
246
+ $post_name = $this->get_tag( $post, 'wp:post_name' );
247
+ $post_parent = $this->get_tag( $post, 'wp:post_parent' );
248
+ $menu_order = $this->get_tag( $post, 'wp:menu_order' );
249
+ $post_type = $this->get_tag( $post, 'wp:post_type' );
250
+ $post_password = $this->get_tag( $post, 'wp:post_password' );
251
+ $is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
252
+ $guid = $this->get_tag( $post, 'guid' );
253
+ $post_author = $this->get_tag( $post, 'dc:creator' );
254
+
255
+ $post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
256
+ $post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', $normalize_tag_callback, $post_excerpt );
257
+ $post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
258
+ $post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
259
+
260
+ $post_content = $this->get_tag( $post, 'content:encoded' );
261
+ $post_content = preg_replace_callback( '|<(/?[A-Z]+)|', $normalize_tag_callback, $post_content );
262
+ $post_content = str_replace( '<br>', '<br />', $post_content );
263
+ $post_content = str_replace( '<hr>', '<hr />', $post_content );
264
+
265
+ $postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt', 'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type', 'post_password', 'is_sticky' );
266
+
267
+ $attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
268
+ if ( $attachment_url ) {
269
+ $postdata['attachment_url'] = $attachment_url;
270
+ }
271
+
272
+ preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
273
+ foreach ( $terms as $t ) {
274
+ $post_terms[] = [
275
+ 'slug' => $t[2],
276
+ 'domain' => $t[1],
277
+ 'name' => str_replace( [ '<![CDATA[', ']]>' ], '', $t[3] ),
278
+ ];
279
+ }
280
+ if ( ! empty( $post_terms ) ) {
281
+ $postdata['terms'] = $post_terms;
282
+ }
283
+
284
+ preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
285
+ $comments = $comments[1];
286
+ if ( $comments ) {
287
+ foreach ( $comments as $comment ) {
288
+ $post_comments[] = [
289
+ 'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
290
+ 'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
291
+ 'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
292
+ 'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
293
+ 'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
294
+ 'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
295
+ 'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
296
+ 'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
297
+ 'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
298
+ 'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
299
+ 'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
300
+ 'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
301
+ 'commentmeta' => $this->process_meta( $comment, 'wp:commentmeta' ),
302
+ ];
303
+ }
304
+ }
305
+ if ( ! empty( $post_comments ) ) {
306
+ $postdata['comments'] = $post_comments;
307
+ }
308
+
309
+ $post_meta = $this->process_meta( $post, 'wp:postmeta' );
310
+ if ( ! empty( $post_meta ) ) {
311
+ $postdata['postmeta'] = $post_meta;
312
+ }
313
+
314
+ return $postdata;
315
+ }
316
+
317
+ private function get_tag( $string, $tag ) {
318
+ preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
319
+ if ( isset( $return[1] ) ) {
320
+ if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
321
+ if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
322
+ preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
323
+ $return = '';
324
+ foreach ( $matches[1] as $match ) {
325
+ $return .= $match;
326
+ }
327
+ } else {
328
+ $return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
329
+ }
330
+ } else {
331
+ $return = $return[1];
332
+ }
333
+ } else {
334
+ $return = '';
335
+ }
336
+
337
+ return $return;
338
+ }
339
+
340
+ private function normalize_tag( $matches ) {
341
+ return '<' . strtolower( $matches[1] );
342
+ }
343
+
344
+ private function fopen( $filename, $mode = 'r' ) {
345
+ if ( $this->has_gzip ) {
346
+ return gzopen( $filename, $mode );
347
+ }
348
+
349
+ return fopen( $filename, $mode );
350
+ }
351
+
352
+ private function feof( $fp ) {
353
+ if ( $this->has_gzip ) {
354
+ return gzeof( $fp );
355
+ }
356
+
357
+ return feof( $fp );
358
+ }
359
+
360
+ private function fgets( $fp, $len = 8192 ) {
361
+ if ( $this->has_gzip ) {
362
+ return gzgets( $fp, $len );
363
+ }
364
+
365
+ return fgets( $fp, $len );
366
+ }
367
+
368
+ private function fclose( $fp ) {
369
+ if ( $this->has_gzip ) {
370
+ return gzclose( $fp );
371
+ }
372
+
373
+ return fclose( $fp );
374
+ }
375
+
376
+ public function __construct() {
377
+ $this->has_gzip = is_callable( 'gzopen' );
378
+ }
379
+ }
380
+
381
+ /**
382
+ * WordPress eXtended RSS file parser implementations,
383
+ * Originally made by WordPress part of WordPress/Importer.
384
+ * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser-simplexml.php
385
+ *
386
+ * What was done:
387
+ * Reformat of the code.
388
+ * Removed variable '$internal_errors'.
389
+ * Changed text domain.
390
+ */
391
+
392
+ /**
393
+ * WXR Parser that makes use of the SimpleXML PHP extension.
394
+ */
395
+ class WXR_Parser_SimpleXML {
396
+
397
+ /**
398
+ * @param string $file
399
+ *
400
+ * @return array|\WP_Error
401
+ */
402
+ public function parse( $file ) {
403
+ $authors = [];
404
+ $posts = [];
405
+ $categories = [];
406
+ $tags = [];
407
+ $terms = [];
408
+
409
+ libxml_use_internal_errors( true );
410
+
411
+ $dom = new \DOMDocument();
412
+ $old_value = null;
413
+
414
+ $libxml_disable_entity_loader_exists = function_exists( 'libxml_disable_entity_loader' );
415
+
416
+ if ( $libxml_disable_entity_loader_exists ) {
417
+ $old_value = libxml_disable_entity_loader( true ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
418
+ }
419
+
420
+ $success = $dom->loadXML( file_get_contents( $file ) );
421
+
422
+ if ( $libxml_disable_entity_loader_exists && ! is_null( $old_value ) ) {
423
+ libxml_disable_entity_loader( $old_value ); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
424
+ }
425
+
426
+ if ( ! $success || isset( $dom->doctype ) ) {
427
+ return new WP_Error( 'SimpleXML_parse_error', esc_html__( 'There was an error when reading this WXR file', 'wpr-addons' ), libxml_get_errors() );
428
+ }
429
+
430
+ $xml = simplexml_import_dom( $dom );
431
+ unset( $dom );
432
+
433
+ // Halt if loading produces an error.
434
+ if ( ! $xml ) {
435
+ return new WP_Error( 'SimpleXML_parse_error', esc_html__( 'There was an error when reading this WXR file', 'wpr-addons' ), libxml_get_errors() );
436
+ }
437
+
438
+ $wxr_version = $xml->xpath( '/rss/channel/wp:wxr_version' );
439
+ if ( ! $wxr_version ) {
440
+ return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
441
+ }
442
+
443
+ $wxr_version = (string) trim( $wxr_version[0] );
444
+ // Confirm that we are dealing with the correct file format.
445
+ if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) ) {
446
+ return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
447
+ }
448
+
449
+ $base_url = $xml->xpath( '/rss/channel/wp:base_site_url' );
450
+ $base_url = (string) trim( isset( $base_url[0] ) ? $base_url[0] : '' );
451
+
452
+ $base_blog_url = $xml->xpath( '/rss/channel/wp:base_blog_url' );
453
+ if ( $base_blog_url ) {
454
+ $base_blog_url = (string) trim( $base_blog_url[0] );
455
+ } else {
456
+ $base_blog_url = $base_url;
457
+ }
458
+
459
+ $page_on_front = $xml->xpath( '/rss/channel/wp:page_on_front' );
460
+
461
+ if ( $page_on_front ) {
462
+ $page_on_front = (int) $page_on_front[0];
463
+ }
464
+
465
+ $namespaces = $xml->getDocNamespaces();
466
+ if ( ! isset( $namespaces['wp'] ) ) {
467
+ $namespaces['wp'] = 'http://wordpress.org/export/1.1/';
468
+ }
469
+ if ( ! isset( $namespaces['excerpt'] ) ) {
470
+ $namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
471
+ }
472
+
473
+ // Grab authors.
474
+ foreach ( $xml->xpath( '/rss/channel/wp:author' ) as $author_arr ) {
475
+ $a = $author_arr->children( $namespaces['wp'] );
476
+ $login = (string) $a->author_login;
477
+ $authors[ $login ] = [
478
+ 'author_id' => (int) $a->author_id,
479
+ 'author_login' => $login,
480
+ 'author_email' => (string) $a->author_email,
481
+ 'author_display_name' => (string) $a->author_display_name,
482
+ 'author_first_name' => (string) $a->author_first_name,
483
+ 'author_last_name' => (string) $a->author_last_name,
484
+ ];
485
+ }
486
+
487
+ // Grab cats, tags and terms.
488
+ foreach ( $xml->xpath( '/rss/channel/wp:category' ) as $term_arr ) {
489
+ $t = $term_arr->children( $namespaces['wp'] );
490
+ $category = [
491
+ 'term_id' => (int) $t->term_id,
492
+ 'category_nicename' => (string) $t->category_nicename,
493
+ 'category_parent' => (string) $t->category_parent,
494
+ 'cat_name' => (string) $t->cat_name,
495
+ 'category_description' => (string) $t->category_description,
496
+ ];
497
+
498
+ foreach ( $t->termmeta as $meta ) {
499
+ $category['termmeta'][] = [
500
+ 'key' => (string) $meta->meta_key,
501
+ 'value' => (string) $meta->meta_value,
502
+ ];
503
+ }
504
+
505
+ $categories[] = $category;
506
+ }
507
+
508
+ foreach ( $xml->xpath( '/rss/channel/wp:tag' ) as $term_arr ) {
509
+ $t = $term_arr->children( $namespaces['wp'] );
510
+ $tag = [
511
+ 'term_id' => (int) $t->term_id,
512
+ 'tag_slug' => (string) $t->tag_slug,
513
+ 'tag_name' => (string) $t->tag_name,
514
+ 'tag_description' => (string) $t->tag_description,
515
+ ];
516
+
517
+ foreach ( $t->termmeta as $meta ) {
518
+ $tag['termmeta'][] = [
519
+ 'key' => (string) $meta->meta_key,
520
+ 'value' => (string) $meta->meta_value,
521
+ ];
522
+ }
523
+
524
+ $tags[] = $tag;
525
+ }
526
+
527
+ foreach ( $xml->xpath( '/rss/channel/wp:term' ) as $term_arr ) {
528
+ $t = $term_arr->children( $namespaces['wp'] );
529
+ $term = [
530
+ 'term_id' => (int) $t->term_id,
531
+ 'term_taxonomy' => (string) $t->term_taxonomy,
532
+ 'slug' => (string) $t->term_slug,
533
+ 'term_parent' => (string) $t->term_parent,
534
+ 'term_name' => (string) $t->term_name,
535
+ 'term_description' => (string) $t->term_description,
536
+ ];
537
+
538
+ foreach ( $t->termmeta as $meta ) {
539
+ $term['termmeta'][] = [
540
+ 'key' => (string) $meta->meta_key,
541
+ 'value' => (string) $meta->meta_value,
542
+ ];
543
+ }
544
+
545
+ $terms[] = $term;
546
+ }
547
+
548
+ // Grab posts.
549
+ foreach ( $xml->channel->item as $item ) {
550
+ $post = [
551
+ 'post_title' => (string) $item->title,
552
+ 'guid' => (string) $item->guid,
553
+ ];
554
+
555
+ $dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
556
+ $post['post_author'] = (string) $dc->creator;
557
+
558
+ $content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
559
+ $excerpt = $item->children( $namespaces['excerpt'] );
560
+ $post['post_content'] = (string) $content->encoded;
561
+ $post['post_excerpt'] = (string) $excerpt->encoded;
562
+
563
+ $wp = $item->children( $namespaces['wp'] );
564
+ $post['post_id'] = (int) $wp->post_id;
565
+ $post['post_date'] = (string) $wp->post_date;
566
+ $post['post_date_gmt'] = (string) $wp->post_date_gmt;
567
+ $post['comment_status'] = (string) $wp->comment_status;
568
+ $post['ping_status'] = (string) $wp->ping_status;
569
+ $post['post_name'] = (string) $wp->post_name;
570
+ $post['status'] = (string) $wp->status;
571
+ $post['post_parent'] = (int) $wp->post_parent;
572
+ $post['menu_order'] = (int) $wp->menu_order;
573
+ $post['post_type'] = (string) $wp->post_type;
574
+ $post['post_password'] = (string) $wp->post_password;
575
+ $post['is_sticky'] = (int) $wp->is_sticky;
576
+
577
+ if ( isset( $wp->attachment_url ) ) {
578
+ $post['attachment_url'] = (string) $wp->attachment_url;
579
+ }
580
+
581
+ foreach ( $item->category as $c ) {
582
+ $att = $c->attributes();
583
+ if ( isset( $att['nicename'] ) ) {
584
+ $post['terms'][] = [
585
+ 'name' => (string) $c,
586
+ 'slug' => (string) $att['nicename'],
587
+ 'domain' => (string) $att['domain'],
588
+ ];
589
+ }
590
+ }
591
+
592
+ foreach ( $wp->postmeta as $meta ) {
593
+ $post['postmeta'][] = [
594
+ 'key' => (string) $meta->meta_key,
595
+ 'value' => (string) $meta->meta_value,
596
+ ];
597
+ }
598
+
599
+ foreach ( $wp->comment as $comment ) {
600
+ $meta = [];
601
+ if ( isset( $comment->commentmeta ) ) {
602
+ foreach ( $comment->commentmeta as $m ) {
603
+ $meta[] = [
604
+ 'key' => (string) $m->meta_key,
605
+ 'value' => (string) $m->meta_value,
606
+ ];
607
+ }
608
+ }
609
+
610
+ $post['comments'][] = [
611
+ 'comment_id' => (int) $comment->comment_id,
612
+ 'comment_author' => (string) $comment->comment_author,
613
+ 'comment_author_email' => (string) $comment->comment_author_email,
614
+ 'comment_author_IP' => (string) $comment->comment_author_IP,
615
+ 'comment_author_url' => (string) $comment->comment_author_url,
616
+ 'comment_date' => (string) $comment->comment_date,
617
+ 'comment_date_gmt' => (string) $comment->comment_date_gmt,
618
+ 'comment_content' => (string) $comment->comment_content,
619
+ 'comment_approved' => (string) $comment->comment_approved,
620
+ 'comment_type' => (string) $comment->comment_type,
621
+ 'comment_parent' => (string) $comment->comment_parent,
622
+ 'comment_user_id' => (int) $comment->comment_user_id,
623
+ 'commentmeta' => $meta,
624
+ ];
625
+ }
626
+
627
+ $posts[] = $post;
628
+ }
629
+
630
+ return [
631
+ 'authors' => $authors,
632
+ 'posts' => $posts,
633
+ 'categories' => $categories,
634
+ 'tags' => $tags,
635
+ 'terms' => $terms,
636
+ 'base_url' => $base_url,
637
+ 'base_blog_url' => $base_blog_url,
638
+ 'page_on_front' => $page_on_front,
639
+ 'version' => $wxr_version,
640
+ ];
641
+ }
642
+ }
643
+
644
+
645
+ /**
646
+ * WordPress eXtended RSS file parser implementations,
647
+ * Originally made by WordPress part of WordPress/Importer.
648
+ * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser-xml.php
649
+ *
650
+ * What was done:
651
+ * Reformat of the code.
652
+ * Added PHPDOC.
653
+ * Changed text domain.
654
+ * Added clear() method.
655
+ * Added undeclared class properties.
656
+ * Changed methods visibility.
657
+ */
658
+
659
+ /**
660
+ * WXR Parser that makes use of the XML Parser PHP extension.
661
+ */
662
+ class WXR_Parser_XML {
663
+ private static $wp_tags = [
664
+ 'wp:post_id',
665
+ 'wp:post_date',
666
+ 'wp:post_date_gmt',
667
+ 'wp:comment_status',
668
+ 'wp:ping_status',
669
+ 'wp:attachment_url',
670
+ 'wp:status',
671
+ 'wp:post_name',
672
+ 'wp:post_parent',
673
+ 'wp:menu_order',
674
+ 'wp:post_type',
675
+ 'wp:post_password',
676
+ 'wp:is_sticky',
677
+ 'wp:term_id',
678
+ 'wp:category_nicename',
679
+ 'wp:category_parent',
680
+ 'wp:cat_name',
681
+ 'wp:category_description',
682
+ 'wp:tag_slug',
683
+ 'wp:tag_name',
684
+ 'wp:tag_description',
685
+ 'wp:term_taxonomy',
686
+ 'wp:term_parent',
687
+ 'wp:term_name',
688
+ 'wp:term_description',
689
+ 'wp:author_id',
690
+ 'wp:author_login',
691
+ 'wp:author_email',
692
+ 'wp:author_display_name',
693
+ 'wp:author_first_name',
694
+ 'wp:author_last_name',
695
+ ];
696
+
697
+ private static $wp_sub_tags = [
698
+ 'wp:comment_id',
699
+ 'wp:comment_author',
700
+ 'wp:comment_author_email',
701
+ 'wp:comment_author_url',
702
+ 'wp:comment_author_IP',
703
+ 'wp:comment_date',
704
+ 'wp:comment_date_gmt',
705
+ 'wp:comment_content',
706
+ 'wp:comment_approved',
707
+ 'wp:comment_type',
708
+ 'wp:comment_parent',
709
+ 'wp:comment_user_id',
710
+ ];
711
+
712
+ /**
713
+ * @var string
714
+ */
715
+ private $wxr_version;
716
+
717
+ /**
718
+ * @var string
719
+ */
720
+ private $cdata;
721
+
722
+ /**
723
+ * @var array
724
+ */
725
+ private $data;
726
+
727
+ /**
728
+ * @var array
729
+ */
730
+ private $sub_data;
731
+
732
+ /**
733
+ * @var boolean
734
+ */
735
+ private $in_post;
736
+
737
+ /**
738
+ * @var boolean
739
+ */
740
+ private $in_tag;
741
+
742
+ /**
743
+ * @var boolean
744
+ */
745
+ private $in_sub_tag;
746
+
747
+ /**
748
+ * @var array
749
+ */
750
+ private $authors;
751
+
752
+ /**
753
+ * @var array
754
+ */
755
+ private $posts;
756
+
757
+ /**
758
+ * @var array
759
+ */
760
+ private $term;
761
+
762
+ /**
763
+ * @var array
764
+ */
765
+ private $category;
766
+
767
+ /**
768
+ * @var array
769
+ */
770
+ private $tag;
771
+
772
+ /**
773
+ * @var string
774
+ */
775
+ private $base_url;
776
+
777
+ /**
778
+ * @var string
779
+ */
780
+ private $base_blog_url;
781
+
782
+ /**
783
+ * @param string $file
784
+ *
785
+ * @return array|WP_Error
786
+ */
787
+ public function parse( $file ) {
788
+ $this->clear();
789
+
790
+ $xml = xml_parser_create( 'UTF-8' );
791
+ xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
792
+ xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
793
+ xml_set_object( $xml, $this );
794
+
795
+ xml_set_character_data_handler( $xml, function ( $parser, $cdata ) {
796
+ $this->cdata( $cdata );
797
+ } );
798
+
799
+ $tag_open_callback = function ( $parse, $tag, $attr ) {
800
+ $this->tag_open( $tag, $attr );
801
+ };
802
+
803
+ $tag_close_callback = function ( $parser, $tag ) {
804
+ $this->tag_close( $tag );
805
+ };
806
+
807
+ xml_set_element_handler( $xml, $tag_open_callback, $tag_close_callback );
808
+
809
+ if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
810
+ $current_line = xml_get_current_line_number( $xml );
811
+ $current_column = xml_get_current_column_number( $xml );
812
+ $error_code = xml_get_error_code( $xml );
813
+ $error_string = xml_error_string( $error_code );
814
+
815
+ return new WP_Error( 'XML_parse_error', 'There was an error when reading this WXR file', [
816
+ $current_line,
817
+ $current_column,
818
+ $error_string,
819
+ ] );
820
+ }
821
+ xml_parser_free( $xml );
822
+
823
+ if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) ) {
824
+ return new WP_Error( 'WXR_parse_error', esc_html__( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'wpr-addons' ) );
825
+ }
826
+
827
+ return array(
828
+ 'authors' => $this->authors,
829
+ 'posts' => $this->posts,
830
+ 'categories' => $this->category,
831
+ 'tags' => $this->tag,
832
+ 'terms' => $this->term,
833
+ 'base_url' => $this->base_url,
834
+ 'base_blog_url' => $this->base_blog_url,
835
+ 'version' => $this->wxr_version,
836
+ );
837
+ }
838
+
839
+ private function tag_open( $tag, $attr ) {
840
+ if ( in_array( $tag, self::$wp_tags ) ) {
841
+ $this->in_tag = substr( $tag, 3 );
842
+
843
+ return;
844
+ }
845
+
846
+ if ( in_array( $tag, self::$wp_sub_tags ) ) {
847
+ $this->in_sub_tag = substr( $tag, 3 );
848
+
849
+ return;
850
+ }
851
+
852
+ switch ( $tag ) {
853
+ case 'category':
854
+ if ( isset( $attr['domain'], $attr['nicename'] ) ) {
855
+ $this->sub_data['domain'] = $attr['domain'];
856
+ $this->sub_data['slug'] = $attr['nicename'];
857
+ }
858
+ break;
859
+ case 'item':
860
+ $this->in_post = true;
861
+ // No break !!!.
862
+ case 'title':
863
+ if ( $this->in_post ) {
864
+ $this->in_tag = 'post_title';
865
+ }
866
+ break;
867
+ case 'guid':
868
+ $this->in_tag = 'guid';
869
+ break;
870
+ case 'dc:creator':
871
+ $this->in_tag = 'post_author';
872
+ break;
873
+ case 'content:encoded':
874
+ $this->in_tag = 'post_content';
875
+ break;
876
+ case 'excerpt:encoded':
877
+ $this->in_tag = 'post_excerpt';
878
+ break;
879
+
880
+ case 'wp:term_slug':
881
+ $this->in_tag = 'slug';
882
+ break;
883
+ case 'wp:meta_key':
884
+ $this->in_sub_tag = 'key';
885
+ break;
886
+ case 'wp:meta_value':
887
+ $this->in_sub_tag = 'value';
888
+ break;
889
+ }
890
+ }
891
+
892
+ private function cdata( $cdata ) {
893
+ if ( ! trim( $cdata ) ) {
894
+ return;
895
+ }
896
+
897
+ if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
898
+ $this->cdata .= $cdata;
899
+ } else {
900
+ $this->cdata .= trim( $cdata );
901
+ }
902
+ }
903
+
904
+ private function tag_close( $tag ) {
905
+ switch ( $tag ) {
906
+ case 'wp:comment':
907
+ unset( $this->sub_data['key'], $this->sub_data['value'] ); // Remove meta sub_data.
908
+ if ( ! empty( $this->sub_data ) ) {
909
+ $this->data['comments'][] = $this->sub_data;
910
+ }
911
+ $this->sub_data = [];
912
+ break;
913
+ case 'wp:commentmeta':
914
+ $this->sub_data['commentmeta'][] = [
915
+ 'key' => $this->sub_data['key'],
916
+ 'value' => $this->sub_data['value'],
917
+ ];
918
+ break;
919
+ case 'category':
920
+ if ( ! empty( $this->sub_data ) ) {
921
+ $this->sub_data['name'] = $this->cdata;
922
+ $this->data['terms'][] = $this->sub_data;
923
+ }
924
+ $this->sub_data = [];
925
+ break;
926
+ case 'wp:postmeta':
927
+ if ( ! empty( $this->sub_data ) ) {
928
+ $this->data['postmeta'][] = $this->sub_data;
929
+ }
930
+ $this->sub_data = [];
931
+ break;
932
+ case 'item':
933
+ $this->posts[] = $this->data;
934
+ $this->data = [];
935
+ break;
936
+ case 'wp:category':
937
+ case 'wp:tag':
938
+ case 'wp:term':
939
+ $n = substr( $tag, 3 );
940
+ array_push( $this->$n, $this->data );
941
+ $this->data = [];
942
+ break;
943
+ case 'wp:termmeta':
944
+ if ( ! empty( $this->sub_data ) ) {
945
+ $this->data['termmeta'][] = $this->sub_data;
946
+ }
947
+ $this->sub_data = [];
948
+ break;
949
+ case 'wp:author':
950
+ if ( ! empty( $this->data['author_login'] ) ) {
951
+ $this->authors[ $this->data['author_login'] ] = $this->data;
952
+ }
953
+ $this->data = [];
954
+ break;
955
+ case 'wp:base_site_url':
956
+ $this->base_url = $this->cdata;
957
+ if ( ! isset( $this->base_blog_url ) ) {
958
+ $this->base_blog_url = $this->cdata;
959
+ }
960
+ break;
961
+ case 'wp:base_blog_url':
962
+ $this->base_blog_url = $this->cdata;
963
+ break;
964
+ case 'wp:wxr_version':
965
+ $this->wxr_version = $this->cdata;
966
+ break;
967
+
968
+ default:
969
+ if ( $this->in_sub_tag ) {
970
+ $this->sub_data[ $this->in_sub_tag ] = $this->cdata;
971
+ $this->in_sub_tag = false;
972
+ } elseif ( $this->in_tag ) {
973
+ $this->data[ $this->in_tag ] = $this->cdata;
974
+ $this->in_tag = false;
975
+ }
976
+ }
977
+
978
+ $this->cdata = '';
979
+ }
980
+
981
+ private function clear() {
982
+ $this->wxr_version = '';
983
+
984
+ $this->cdata = '';
985
+ $this->data = [];
986
+ $this->sub_data = [];
987
+
988
+ $this->in_post = false;
989
+ $this->in_tag = false;
990
+ $this->in_sub_tag = false;
991
+
992
+ $this->authors = [];
993
+ $this->posts = [];
994
+ $this->term = [];
995
+ $this->category = [];
996
+ $this->tag = [];
997
+ }
998
+ }
999
+
1000
+
1001
+ /**
1002
+ * WordPress eXtended RSS file parser implementations,
1003
+ * Originally made by WordPress part of WordPress/Importer.
1004
+ * https://plugins.trac.wordpress.org/browser/wordpress-importer/trunk/parsers/class-wxr-parser.php
1005
+ *
1006
+ * What was done:
1007
+ * Reformat of the code.
1008
+ * Changed text domain.
1009
+ */
1010
+
1011
+ /**
1012
+ * WordPress Importer class for managing parsing of WXR files.
1013
+ */
1014
+ class WXR_Parser {
1015
+
1016
+ public function parse( $file ) {
1017
+ // Attempt to use proper XML parsers first.
1018
+ if ( extension_loaded( 'simplexml' ) ) {
1019
+ $parser = new WXR_Parser_SimpleXML();
1020
+ $result = $parser->parse( $file );
1021
+
1022
+ // If SimpleXML succeeds or this is an invalid WXR file then return the results.
1023
+ if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() ) {
1024
+ return $result;
1025
+ }
1026
+ } elseif ( extension_loaded( 'xml' ) ) {
1027
+ $parser = new WXR_Parser_XML();
1028
+ $result = $parser->parse( $file );
1029
+
1030
+ // If XMLParser succeeds or this is an invalid WXR file then return the results.
1031
+ if ( ! is_wp_error( $result ) || 'XML_parse_error' != $result->get_error_code() ) {
1032
+ return $result;
1033
+ }
1034
+ }
1035
+
1036
+ // Use regular expressions if nothing else available or this is bad XML.
1037
+ $parser = new WXR_Parser_Regex();
1038
+
1039
+ return $parser->parse( $file );
1040
+ }
1041
+ }
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-actions.php CHANGED
@@ -1,314 +1,314 @@
1
- <?php
2
- namespace WprAddons\Admin\Includes;
3
-
4
- use WprAddons\Plugin;
5
- use Elementor\TemplateLibrary\Source_Base;
6
- use Elementor\Core\Common\Modules\Ajax\Module as Ajax;
7
- use WprAddons\Classes\Utilities;
8
-
9
- if ( ! defined( 'ABSPATH' ) ) {
10
- exit; // Exit if accessed directly.
11
- }
12
-
13
-
14
- /**
15
- * WPR_Templates_Actions setup
16
- *
17
- * @since 1.0
18
- */
19
- class WPR_Templates_Actions {
20
-
21
- /**
22
- ** Constructor
23
- */
24
- public function __construct() {
25
-
26
- // Save Conditions
27
- add_action( 'wp_ajax_wpr_save_template_conditions', [ $this, 'wpr_save_template_conditions' ] );
28
-
29
- // Create Template
30
- add_action( 'wp_ajax_wpr_create_template', [ $this, 'wpr_create_template' ] );
31
-
32
- // Import Library Template
33
- add_action( 'wp_ajax_wpr_import_library_template', [ $this, 'wpr_import_library_template' ] );
34
-
35
- // Reset Template
36
- add_action( 'wp_ajax_wpr_delete_template', [ $this, 'wpr_delete_template' ] );
37
-
38
- // Register Elementor AJAX Actions
39
- add_action( 'elementor/ajax/register_actions', [ $this, 'register_elementor_ajax_actions' ] );
40
-
41
- // Enqueue Scripts
42
- add_action( 'admin_enqueue_scripts', [ $this, 'templates_library_scripts' ] );
43
-
44
- }
45
-
46
- /**
47
- ** Save Template Conditions
48
- */
49
- public function wpr_save_template_conditions() {
50
- $template = isset($_POST['template']) ? sanitize_text_field(wp_unslash($_POST['template'])): false;
51
-
52
- // Header
53
- if ( isset($_POST['wpr_header_conditions']) ) {
54
- update_option( 'wpr_header_conditions', $this->sanitize_conditions($_POST['wpr_header_conditions']) ); // phpcs:ignore
55
-
56
- $wpr_header_show_on_canvas = isset($_POST['wpr_header_show_on_canvas']) ? sanitize_text_field(wp_unslash($_POST['wpr_header_show_on_canvas'])): false;
57
- if ( $wpr_header_show_on_canvas && $template ) {
58
- update_post_meta( Utilities::get_template_id($template), 'wpr_header_show_on_canvas', $wpr_header_show_on_canvas );
59
- }
60
- }
61
-
62
- // Footer
63
- if ( isset($_POST['wpr_footer_conditions']) ) {
64
- update_option( 'wpr_footer_conditions', $this->sanitize_conditions($_POST['wpr_footer_conditions']) ); // phpcs:ignore
65
-
66
- $wpr_footer_show_on_canvas = isset($_POST['wpr_footer_show_on_canvas']) ? sanitize_text_field(wp_unslash($_POST['wpr_footer_show_on_canvas'])): false;
67
- if ( $wpr_footer_show_on_canvas && $template ) {
68
- update_post_meta( Utilities::get_template_id($template), 'wpr_footer_show_on_canvas', $wpr_footer_show_on_canvas );
69
- }
70
- }
71
-
72
- // Archive
73
- if ( isset($_POST['wpr_archive_conditions']) ) {
74
- update_option( 'wpr_archive_conditions', $this->sanitize_conditions($_POST['wpr_archive_conditions']) ); // phpcs:ignore
75
- }
76
-
77
- // Single
78
- if ( isset($_POST['wpr_single_conditions']) ) {
79
- update_option( 'wpr_single_conditions', $this->sanitize_conditions($_POST['wpr_single_conditions']) ); // phpcs:ignore
80
- }
81
-
82
- // Product Archive
83
- if ( isset($_POST['wpr_product_archive_conditions']) ) {
84
- update_option( 'wpr_product_archive_conditions', $this->sanitize_conditions($_POST['wpr_product_archive_conditions']) ); // phpcs:ignore
85
- }
86
-
87
- // Product Single
88
- if ( isset($_POST['wpr_product_single_conditions']) ) {
89
- update_option( 'wpr_product_single_conditions', $this->sanitize_conditions($_POST['wpr_product_single_conditions']) ); // phpcs:ignore
90
- }
91
-
92
- // Popup
93
- if ( isset($_POST['wpr_popup_conditions']) ) {
94
- update_option( 'wpr_popup_conditions', $this->sanitize_conditions($_POST['wpr_popup_conditions']) ); // phpcs:ignore
95
- }
96
- }
97
-
98
- public function sanitize_conditions( $data ) {
99
- return wp_unslash( json_encode( array_filter( json_decode(stripcslashes($data), true) ) ) );
100
- }
101
-
102
- /**
103
- ** Create Template
104
- */
105
- public function wpr_create_template() {
106
- $user_template_type = isset($_POST['user_template_type']) ? sanitize_text_field(wp_unslash($_POST['user_template_type'])): false;
107
- $user_template_library = isset($_POST['user_template_library']) ? sanitize_text_field(wp_unslash($_POST['user_template_library'])): false;
108
- $user_template_title = isset($_POST['user_template_title']) ? sanitize_text_field(wp_unslash($_POST['user_template_title'])): false;
109
- $user_template_slug = isset($_POST['user_template_slug']) ? sanitize_text_field(wp_unslash($_POST['user_template_slug'])): false;
110
-
111
- if ( $user_template_title ) {
112
- // Create
113
- $template_id = wp_insert_post(array (
114
- 'post_type' => $user_template_library,
115
- 'post_title' => $user_template_title,
116
- 'post_name' => $user_template_slug,
117
- 'post_content' => '',
118
- 'post_status' => 'publish'
119
- ));
120
-
121
- // Set Types
122
- if ( 'wpr_templates' === $_POST['user_template_library'] ) {
123
-
124
- wp_set_object_terms( $template_id, [$user_template_type, 'user'], 'wpr_template_type' );
125
-
126
- if ( 'popup' === $_POST['user_template_type'] ) {
127
- update_post_meta( $template_id, '_elementor_template_type', 'wpr-popups' );
128
- } else {
129
- if ( 'header' === $_POST['user_template_type'] ) {
130
- update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-header' );
131
- } elseif ( 'footer' === $_POST['user_template_type'] ) {
132
- update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-footer' );
133
- } else {
134
- update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder' );
135
- }
136
-
137
- update_post_meta( $template_id, '_wpr_template_type', $user_template_type );
138
- }
139
- } else {
140
- update_post_meta( $template_id, '_elementor_template_type', 'page' );
141
- }
142
-
143
- // Set Canvas Template
144
- update_post_meta( $template_id, '_wp_page_template', 'elementor_canvas' ); //tmp - maybe set for wpr_templates only
145
-
146
- // Send ID to JS
147
- echo esc_html($template_id);
148
- }
149
- }
150
-
151
- /**
152
- ** Import Library Template
153
- */
154
- public function wpr_import_library_template() {
155
- $source = new WPR_Library_Source();
156
- $slug = isset($_POST['slug']) ? sanitize_text_field(wp_unslash($_POST['slug'])): '';
157
-
158
- $data = $source->get_data([
159
- 'template_id' => $slug
160
- ]);
161
-
162
- echo json_encode($data);
163
- }
164
-
165
- /**
166
- ** Reset Template
167
- */
168
- public function wpr_delete_template() {
169
- $template_slug = isset($_POST['template_slug']) ? sanitize_text_field(wp_unslash($_POST['template_slug'])): '';
170
- $template_library = isset($_POST['template_library']) ? sanitize_text_field(wp_unslash($_POST['template_library'])): '';
171
-
172
- $post = get_page_by_path( $template_slug, OBJECT, $template_library );
173
- wp_delete_post( $post->ID, true );
174
- }
175
-
176
- /**
177
- ** Enqueue Scripts and Styles
178
- */
179
- public function templates_library_scripts( $hook ) {
180
-
181
- // Get Plugin Version
182
- $version = Plugin::instance()->get_version();
183
-
184
- // Deny if NOT Plugin Page
185
- if ( 'toplevel_page_wpr-addons' == $hook || strpos($hook, 'wpr-theme-builder') || strpos($hook, 'wpr-popups') ) {
186
-
187
- // Color Picker
188
- wp_enqueue_style( 'wp-color-picker' );
189
- wp_enqueue_script( 'wp-color-picker-alpha', WPR_ADDONS_URL .'assets/js/admin/lib/wp-color-picker-alpha.min.js', ['jquery', 'wp-color-picker'], $version, true );
190
-
191
- // Media Upload
192
- if ( ! did_action( 'wp_enqueue_media' ) ) {
193
- wp_enqueue_media();
194
- }
195
-
196
- // enqueue CSS
197
- wp_enqueue_style( 'wpr-plugin-options-css', WPR_ADDONS_URL .'assets/css/admin/plugin-options.css', [], $version );
198
-
199
- // enqueue JS
200
- wp_enqueue_script( 'wpr-plugin-options-js', WPR_ADDONS_URL .'assets/js/admin/plugin-options.js', ['jquery'], $version );
201
-
202
- }
203
-
204
- if ( strpos($hook, 'wpr-templates-kit') ) {
205
- wp_enqueue_style( 'wpr-templates-kit-css', WPR_ADDONS_URL .'assets/css/admin/templates-kit.css', [], $version );
206
- wp_enqueue_script( 'wpr-templates-kit-js', WPR_ADDONS_URL .'assets/js/admin/templates-kit.js', ['jquery', 'updates'], $version );
207
- }
208
-
209
- if ( strpos($hook, 'wpr-premade-blocks') ) {
210
- wp_enqueue_style( 'wpr-premade-blocks-css', WPR_ADDONS_URL .'assets/css/admin/premade-blocks.css', [], $version );
211
-
212
- wp_enqueue_script( 'wpr-macy-js', WPR_ADDONS_URL .'assets/js/lib/macy/macy.js', ['jquery'], $version );
213
- wp_enqueue_script( 'wpr-premade-blocks-js', WPR_ADDONS_URL .'assets/js/admin/premade-blocks.js', ['jquery'], $version );
214
- }
215
- }
216
-
217
- /**
218
- ** Register Elementor AJAX Actions
219
- */
220
- public function register_elementor_ajax_actions( Ajax $ajax ) {
221
-
222
- // Elementor Search Data
223
- $ajax->register_ajax_action( 'wpr_elementor_search_data', function( $data ) {
224
- // Freemius OptIn
225
- if ( ! (wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() )) {
226
- return;
227
- }
228
-
229
- if ( strlen($data['search_query']) > 25 ) {
230
- return;
231
- }
232
-
233
- // Send Search Query
234
- wp_remote_post( 'https://reastats.kinsta.cloud/wp-json/elementor-search/data', [
235
- 'body' => [
236
- 'search_query' => $data['search_query']
237
- ]
238
- ] );
239
- } );
240
- }
241
- }
242
-
243
- /**
244
- * WPR_Templates_Actions setup
245
- *
246
- * @since 1.0
247
- */
248
- class WPR_Library_Source extends \Elementor\TemplateLibrary\Source_Base {
249
-
250
- public function get_id() {
251
- return 'wpr-layout-manager';
252
- }
253
-
254
- public function get_title() {
255
- return 'WPR Layout Manager';
256
- }
257
-
258
- public function register_data() {}
259
-
260
- public function save_item( $template_data ) {
261
- return new \WP_Error( 'invalid_request', 'Cannot save template to a WPR layout manager' );
262
- }
263
-
264
- public function update_item( $new_data ) {
265
- return new \WP_Error( 'invalid_request', 'Cannot update template to a WPR layout manager' );
266
- }
267
-
268
- public function delete_template( $template_id ) {
269
- return new \WP_Error( 'invalid_request', 'Cannot delete template from a WPR layout manager' );
270
- }
271
-
272
- public function export_template( $template_id ) {
273
- return new \WP_Error( 'invalid_request', 'Cannot export template from a WPR layout manager' );
274
- }
275
-
276
- public function get_items( $args = [] ) {
277
- return [];
278
- }
279
-
280
- public function get_item( $template_id ) {
281
- $templates = $this->get_items();
282
-
283
- return $templates[ $template_id ];
284
- }
285
-
286
- public function request_template_data( $template_id ) {
287
- if ( empty( $template_id ) ) {
288
- return;
289
- }
290
-
291
- $response = wp_remote_get( 'https://royal-elementor-addons.com/library/premade-styles/'. $template_id .'.json', [
292
- 'timeout' => 60,
293
- 'sslverify' => false
294
- ] );
295
-
296
- return wp_remote_retrieve_body( $response );
297
- }
298
-
299
- public function get_data( array $args ) {//TODO: FIX - This function imports placeholder images in library
300
- $data = $this->request_template_data( $args['template_id'] );
301
-
302
- $data = json_decode( $data, true );
303
-
304
- if ( empty( $data ) || empty( $data['content'] ) ) {
305
- throw new \Exception( 'Template does not have any content' );
306
- }
307
-
308
- $data['content'] = $this->replace_elements_ids( $data['content'] );
309
- $data['content'] = $this->process_export_import_content( $data['content'], 'on_import' );
310
-
311
- return $data;
312
- }
313
-
314
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Includes;
3
+
4
+ use WprAddons\Plugin;
5
+ use Elementor\TemplateLibrary\Source_Base;
6
+ use Elementor\Core\Common\Modules\Ajax\Module as Ajax;
7
+ use WprAddons\Classes\Utilities;
8
+
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit; // Exit if accessed directly.
11
+ }
12
+
13
+
14
+ /**
15
+ * WPR_Templates_Actions setup
16
+ *
17
+ * @since 1.0
18
+ */
19
+ class WPR_Templates_Actions {
20
+
21
+ /**
22
+ ** Constructor
23
+ */
24
+ public function __construct() {
25
+
26
+ // Save Conditions
27
+ add_action( 'wp_ajax_wpr_save_template_conditions', [ $this, 'wpr_save_template_conditions' ] );
28
+
29
+ // Create Template
30
+ add_action( 'wp_ajax_wpr_create_template', [ $this, 'wpr_create_template' ] );
31
+
32
+ // Import Library Template
33
+ add_action( 'wp_ajax_wpr_import_library_template', [ $this, 'wpr_import_library_template' ] );
34
+
35
+ // Reset Template
36
+ add_action( 'wp_ajax_wpr_delete_template', [ $this, 'wpr_delete_template' ] );
37
+
38
+ // Register Elementor AJAX Actions
39
+ add_action( 'elementor/ajax/register_actions', [ $this, 'register_elementor_ajax_actions' ] );
40
+
41
+ // Enqueue Scripts
42
+ add_action( 'admin_enqueue_scripts', [ $this, 'templates_library_scripts' ] );
43
+
44
+ }
45
+
46
+ /**
47
+ ** Save Template Conditions
48
+ */
49
+ public function wpr_save_template_conditions() {
50
+ $template = isset($_POST['template']) ? sanitize_text_field(wp_unslash($_POST['template'])): false;
51
+
52
+ // Header
53
+ if ( isset($_POST['wpr_header_conditions']) ) {
54
+ update_option( 'wpr_header_conditions', $this->sanitize_conditions($_POST['wpr_header_conditions']) ); // phpcs:ignore
55
+
56
+ $wpr_header_show_on_canvas = isset($_POST['wpr_header_show_on_canvas']) ? sanitize_text_field(wp_unslash($_POST['wpr_header_show_on_canvas'])): false;
57
+ if ( $wpr_header_show_on_canvas && $template ) {
58
+ update_post_meta( Utilities::get_template_id($template), 'wpr_header_show_on_canvas', $wpr_header_show_on_canvas );
59
+ }
60
+ }
61
+
62
+ // Footer
63
+ if ( isset($_POST['wpr_footer_conditions']) ) {
64
+ update_option( 'wpr_footer_conditions', $this->sanitize_conditions($_POST['wpr_footer_conditions']) ); // phpcs:ignore
65
+
66
+ $wpr_footer_show_on_canvas = isset($_POST['wpr_footer_show_on_canvas']) ? sanitize_text_field(wp_unslash($_POST['wpr_footer_show_on_canvas'])): false;
67
+ if ( $wpr_footer_show_on_canvas && $template ) {
68
+ update_post_meta( Utilities::get_template_id($template), 'wpr_footer_show_on_canvas', $wpr_footer_show_on_canvas );
69
+ }
70
+ }
71
+
72
+ // Archive
73
+ if ( isset($_POST['wpr_archive_conditions']) ) {
74
+ update_option( 'wpr_archive_conditions', $this->sanitize_conditions($_POST['wpr_archive_conditions']) ); // phpcs:ignore
75
+ }
76
+
77
+ // Single
78
+ if ( isset($_POST['wpr_single_conditions']) ) {
79
+ update_option( 'wpr_single_conditions', $this->sanitize_conditions($_POST['wpr_single_conditions']) ); // phpcs:ignore
80
+ }
81
+
82
+ // Product Archive
83
+ if ( isset($_POST['wpr_product_archive_conditions']) ) {
84
+ update_option( 'wpr_product_archive_conditions', $this->sanitize_conditions($_POST['wpr_product_archive_conditions']) ); // phpcs:ignore
85
+ }
86
+
87
+ // Product Single
88
+ if ( isset($_POST['wpr_product_single_conditions']) ) {
89
+ update_option( 'wpr_product_single_conditions', $this->sanitize_conditions($_POST['wpr_product_single_conditions']) ); // phpcs:ignore
90
+ }
91
+
92
+ // Popup
93
+ if ( isset($_POST['wpr_popup_conditions']) ) {
94
+ update_option( 'wpr_popup_conditions', $this->sanitize_conditions($_POST['wpr_popup_conditions']) ); // phpcs:ignore
95
+ }
96
+ }
97
+
98
+ public function sanitize_conditions( $data ) {
99
+ return wp_unslash( json_encode( array_filter( json_decode(stripcslashes($data), true) ) ) );
100
+ }
101
+
102
+ /**
103
+ ** Create Template
104
+ */
105
+ public function wpr_create_template() {
106
+ $user_template_type = isset($_POST['user_template_type']) ? sanitize_text_field(wp_unslash($_POST['user_template_type'])): false;
107
+ $user_template_library = isset($_POST['user_template_library']) ? sanitize_text_field(wp_unslash($_POST['user_template_library'])): false;
108
+ $user_template_title = isset($_POST['user_template_title']) ? sanitize_text_field(wp_unslash($_POST['user_template_title'])): false;
109
+ $user_template_slug = isset($_POST['user_template_slug']) ? sanitize_text_field(wp_unslash($_POST['user_template_slug'])): false;
110
+
111
+ if ( $user_template_title ) {
112
+ // Create
113
+ $template_id = wp_insert_post(array (
114
+ 'post_type' => $user_template_library,
115
+ 'post_title' => $user_template_title,
116
+ 'post_name' => $user_template_slug,
117
+ 'post_content' => '',
118
+ 'post_status' => 'publish'
119
+ ));
120
+
121
+ // Set Types
122
+ if ( 'wpr_templates' === $_POST['user_template_library'] ) {
123
+
124
+ wp_set_object_terms( $template_id, [$user_template_type, 'user'], 'wpr_template_type' );
125
+
126
+ if ( 'popup' === $_POST['user_template_type'] ) {
127
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-popups' );
128
+ } else {
129
+ if ( 'header' === $_POST['user_template_type'] ) {
130
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-header' );
131
+ } elseif ( 'footer' === $_POST['user_template_type'] ) {
132
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder-footer' );
133
+ } else {
134
+ update_post_meta( $template_id, '_elementor_template_type', 'wpr-theme-builder' );
135
+ }
136
+
137
+ update_post_meta( $template_id, '_wpr_template_type', $user_template_type );
138
+ }
139
+ } else {
140
+ update_post_meta( $template_id, '_elementor_template_type', 'page' );
141
+ }
142
+
143
+ // Set Canvas Template
144
+ update_post_meta( $template_id, '_wp_page_template', 'elementor_canvas' ); //tmp - maybe set for wpr_templates only
145
+
146
+ // Send ID to JS
147
+ echo esc_html($template_id);
148
+ }
149
+ }
150
+
151
+ /**
152
+ ** Import Library Template
153
+ */
154
+ public function wpr_import_library_template() {
155
+ $source = new WPR_Library_Source();
156
+ $slug = isset($_POST['slug']) ? sanitize_text_field(wp_unslash($_POST['slug'])): '';
157
+
158
+ $data = $source->get_data([
159
+ 'template_id' => $slug
160
+ ]);
161
+
162
+ echo json_encode($data);
163
+ }
164
+
165
+ /**
166
+ ** Reset Template
167
+ */
168
+ public function wpr_delete_template() {
169
+ $template_slug = isset($_POST['template_slug']) ? sanitize_text_field(wp_unslash($_POST['template_slug'])): '';
170
+ $template_library = isset($_POST['template_library']) ? sanitize_text_field(wp_unslash($_POST['template_library'])): '';
171
+
172
+ $post = get_page_by_path( $template_slug, OBJECT, $template_library );
173
+ wp_delete_post( $post->ID, true );
174
+ }
175
+
176
+ /**
177
+ ** Enqueue Scripts and Styles
178
+ */
179
+ public function templates_library_scripts( $hook ) {
180
+
181
+ // Get Plugin Version
182
+ $version = Plugin::instance()->get_version();
183
+
184
+ // Deny if NOT Plugin Page
185
+ if ( 'toplevel_page_wpr-addons' == $hook || strpos($hook, 'wpr-theme-builder') || strpos($hook, 'wpr-popups') ) {
186
+
187
+ // Color Picker
188
+ wp_enqueue_style( 'wp-color-picker' );
189
+ wp_enqueue_script( 'wp-color-picker-alpha', WPR_ADDONS_URL .'assets/js/admin/lib/wp-color-picker-alpha.min.js', ['jquery', 'wp-color-picker'], $version, true );
190
+
191
+ // Media Upload
192
+ if ( ! did_action( 'wp_enqueue_media' ) ) {
193
+ wp_enqueue_media();
194
+ }
195
+
196
+ // enqueue CSS
197
+ wp_enqueue_style( 'wpr-plugin-options-css', WPR_ADDONS_URL .'assets/css/admin/plugin-options.css', [], $version );
198
+
199
+ // enqueue JS
200
+ wp_enqueue_script( 'wpr-plugin-options-js', WPR_ADDONS_URL .'assets/js/admin/plugin-options.js', ['jquery'], $version );
201
+
202
+ }
203
+
204
+ if ( strpos($hook, 'wpr-templates-kit') ) {
205
+ wp_enqueue_style( 'wpr-templates-kit-css', WPR_ADDONS_URL .'assets/css/admin/templates-kit.css', [], $version );
206
+ wp_enqueue_script( 'wpr-templates-kit-js', WPR_ADDONS_URL .'assets/js/admin/templates-kit.js', ['jquery', 'updates'], $version );
207
+ }
208
+
209
+ if ( strpos($hook, 'wpr-premade-blocks') ) {
210
+ wp_enqueue_style( 'wpr-premade-blocks-css', WPR_ADDONS_URL .'assets/css/admin/premade-blocks.css', [], $version );
211
+
212
+ wp_enqueue_script( 'wpr-macy-js', WPR_ADDONS_URL .'assets/js/lib/macy/macy.js', ['jquery'], $version );
213
+ wp_enqueue_script( 'wpr-premade-blocks-js', WPR_ADDONS_URL .'assets/js/admin/premade-blocks.js', ['jquery'], $version );
214
+ }
215
+ }
216
+
217
+ /**
218
+ ** Register Elementor AJAX Actions
219
+ */
220
+ public function register_elementor_ajax_actions( Ajax $ajax ) {
221
+
222
+ // Elementor Search Data
223
+ $ajax->register_ajax_action( 'wpr_elementor_search_data', function( $data ) {
224
+ // Freemius OptIn
225
+ if ( ! (wpr_fs()->is_registered() && wpr_fs()->is_tracking_allowed() || wpr_fs()->is_pending_activation() )) {
226
+ return;
227
+ }
228
+
229
+ if ( strlen($data['search_query']) > 25 ) {
230
+ return;
231
+ }
232
+
233
+ // Send Search Query
234
+ wp_remote_post( 'https://reastats.kinsta.cloud/wp-json/elementor-search/data', [
235
+ 'body' => [
236
+ 'search_query' => $data['search_query']
237
+ ]
238
+ ] );
239
+ } );
240
+ }
241
+ }
242
+
243
+ /**
244
+ * WPR_Templates_Actions setup
245
+ *
246
+ * @since 1.0
247
+ */
248
+ class WPR_Library_Source extends \Elementor\TemplateLibrary\Source_Base {
249
+
250
+ public function get_id() {
251
+ return 'wpr-layout-manager';
252
+ }
253
+
254
+ public function get_title() {
255
+ return 'WPR Layout Manager';
256
+ }
257
+
258
+ public function register_data() {}
259
+
260
+ public function save_item( $template_data ) {
261
+ return new \WP_Error( 'invalid_request', 'Cannot save template to a WPR layout manager' );
262
+ }
263
+
264
+ public function update_item( $new_data ) {
265
+ return new \WP_Error( 'invalid_request', 'Cannot update template to a WPR layout manager' );
266
+ }
267
+
268
+ public function delete_template( $template_id ) {
269
+ return new \WP_Error( 'invalid_request', 'Cannot delete template from a WPR layout manager' );
270
+ }
271
+
272
+ public function export_template( $template_id ) {
273
+ return new \WP_Error( 'invalid_request', 'Cannot export template from a WPR layout manager' );
274
+ }
275
+
276
+ public function get_items( $args = [] ) {
277
+ return [];
278
+ }
279
+
280
+ public function get_item( $template_id ) {
281
+ $templates = $this->get_items();
282
+
283
+ return $templates[ $template_id ];
284
+ }
285
+
286
+ public function request_template_data( $template_id ) {
287
+ if ( empty( $template_id ) ) {
288
+ return;
289
+ }
290
+
291
+ $response = wp_remote_get( 'https://royal-elementor-addons.com/library/premade-styles/'. $template_id .'.json', [
292
+ 'timeout' => 60,
293
+ 'sslverify' => false
294
+ ] );
295
+
296
+ return wp_remote_retrieve_body( $response );
297
+ }
298
+
299
+ public function get_data( array $args ) {//TODO: FIX - This function imports placeholder images in library
300
+ $data = $this->request_template_data( $args['template_id'] );
301
+
302
+ $data = json_decode( $data, true );
303
+
304
+ if ( empty( $data ) || empty( $data['content'] ) ) {
305
+ throw new \Exception( 'Template does not have any content' );
306
+ }
307
+
308
+ $data['content'] = $this->replace_elements_ids( $data['content'] );
309
+ $data['content'] = $this->process_export_import_content( $data['content'], 'on_import' );
310
+
311
+ return $data;
312
+ }
313
+
314
  }
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-modal-popups.php CHANGED
@@ -1,234 +1,234 @@
1
- <?php
2
- namespace WprAddons\Admin\Includes;
3
-
4
- use WprAddons\Plugin;
5
- use WprAddons\Classes\Utilities;
6
-
7
- if ( ! defined( 'ABSPATH' ) ) {
8
- exit; // Exit if accessed directly.
9
- }
10
-
11
- /**
12
- * WPR_Templates_Modal_Popups setup
13
- *
14
- * @since 1.0
15
- */
16
- class WPR_Templates_Modal_Popups {
17
-
18
- /**
19
- ** Instance of Elemenntor Frontend class.
20
- *
21
- ** @var \Elementor\Frontend()
22
- */
23
- private static $elementor_instance;
24
-
25
- /**
26
- ** Constructor
27
- */
28
- public function __construct() {
29
- // Elementor Frontend
30
- self::$elementor_instance = \Elementor\Plugin::instance();
31
-
32
- add_action( 'template_include', [ $this, 'set_post_type_template' ], 9999 );
33
-
34
- add_action( 'wp_footer', [ $this, 'render_popups' ] );
35
- }
36
-
37
- /**
38
- * Set blank template for editor
39
- */
40
- public function set_post_type_template( $template ) {
41
-
42
- if ( is_singular( 'wpr_templates' ) ) {
43
- if ( 'wpr-popups' === Utilities::get_elementor_template_type(get_the_ID()) && self::$elementor_instance->preview->is_preview_mode() ) {
44
- $template = WPR_ADDONS_PATH . 'modules/popup/editor.php';
45
- }
46
-
47
- return $template;
48
- }
49
-
50
- return $template;
51
- }
52
-
53
- /**
54
- ** Popups
55
- */
56
- public function render_popups() {
57
- $conditions = json_decode( get_option('wpr_popup_conditions'), true );
58
-
59
- if ( ! empty( $conditions ) ) {
60
- $conditions = $this->reverse_template_conditions( $conditions );
61
-
62
- // Global
63
- if ( isset( $conditions['global'] ) ) {
64
- WPR_Templates_Modal_Popups::display_popups_by_location( $conditions, 'global' );
65
- }
66
-
67
- // Custom
68
- if ( wpr_fs()->can_use_premium_code() ) {
69
- // Archive
70
- \WprAddonsPro\Classes\Pro_Modules::archive_pages_popup_conditions( $conditions );
71
-
72
- // Single
73
- \WprAddonsPro\Classes\Pro_Modules::single_pages_popup_conditions( $conditions );
74
- }
75
-
76
-
77
- // Enqueue ScrolBar JS //TODO - check if displayed multiple times
78
- wp_enqueue_script( 'wpr-popup-scroll-js', WPR_ADDONS_URL .'assets/js/lib/perfect-scrollbar/perfect-scrollbar.min.js', [ 'jquery' ], '0.4.9' );
79
- }
80
- }
81
-
82
- /**
83
- ** Reverse Template Conditions
84
- */
85
- public function reverse_template_conditions( $conditions ) {
86
- $reverse = [];
87
-
88
- foreach ( $conditions as $key => $condition ) {
89
- foreach( $condition as $location ) {
90
- if ( ! isset( $reverse[$location] ) ) {
91
- $reverse[$location] = [ $key ];
92
- } else {
93
- array_push( $reverse[$location], $key );
94
- }
95
- }
96
- }
97
-
98
- return $reverse;
99
- }
100
-
101
- /**
102
- ** Display Popups by Location
103
- */
104
- public static function display_popups_by_location( $conditions, $page ) {
105
- foreach ( $conditions[$page] as $key => $popup ) {
106
- WPR_Templates_Modal_Popups::render_popup_content( $popup );
107
- }
108
- }
109
-
110
- /**
111
- ** Display Elementor Content
112
- */
113
- public static function render_popup_content( $slug ) {
114
- $template_name = '';
115
-
116
- $template_id = Utilities::get_template_id( $slug );
117
- $get_settings = WPR_Templates_Modal_Popups::get_template_settings( $slug );
118
- $get_elementor_content = self::$elementor_instance->frontend->get_builder_content( $template_id, false );
119
-
120
- if ( '' === $get_elementor_content ) {
121
- return;
122
- }
123
-
124
- // Encode Settings
125
- $get_encoded_settings = ! empty( $get_settings ) ? wp_json_encode( $get_settings ) : '[]';
126
-
127
- // Template Settings Attribute
128
- $template_settings_attr = "data-settings='". esc_attr($get_encoded_settings) ."'";
129
-
130
- // Return if NOT available for current user
131
- if ( ! WPR_Templates_Modal_Popups::check_available_user_roles( $get_settings['popup_show_for_roles'] ) ) {
132
- return;
133
- }
134
-
135
- if ( ! self::$elementor_instance->preview->is_preview_mode() ) {
136
- echo '<div id="wpr-popup-id-'. esc_attr($template_id) .'" class="wpr-template-popup" '. $template_settings_attr .'>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
137
- echo '<div class="wpr-template-popup-inner">';
138
-
139
- // Popup Overlay & Close Button
140
- echo '<div class="wpr-popup-overlay"></div>';
141
-
142
- // Template Container
143
- echo '<div class="wpr-popup-container">';
144
-
145
- // Close Button
146
- echo '<div class="wpr-popup-close-btn"><i class="eicon-close"></i></div>';
147
-
148
- // Elementor Template Content
149
- echo '<div class="wpr-popup-container-inner">';
150
- echo ''. $get_elementor_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
151
- echo '</div>';
152
-
153
- echo '</div>';
154
-
155
- echo '</div>';
156
- echo '</div>';
157
- }
158
- }
159
-
160
- /**
161
- ** Get Template Settings
162
- */
163
- public static function get_template_settings( $slug ) {
164
- $settings = [];
165
- $defaults = [];
166
-
167
- $template_id = Utilities::get_template_id( $slug );
168
- $meta_settings = get_post_meta( $template_id, '_elementor_page_settings', true );
169
-
170
- $popup_defaults = [
171
- 'popup_trigger' => 'load',
172
- 'popup_load_delay' => 1,
173
- 'popup_scroll_progress' => 10,
174
- 'popup_inactivity_time' => 15,
175
- 'popup_element_scroll' => '',
176
- 'popup_custom_trigger' => '',
177
- 'popup_specific_date' => date( 'Y-m-d H:i', strtotime( '+1 month' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
178
- 'popup_stop_after_date' => false,
179
- 'popup_stop_after_date_select' => date( 'Y-m-d H:i', strtotime( '+1 day' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
180
- 'popup_show_again_delay' => 1,
181
- 'popup_disable_esc_key' => false,
182
- 'popup_automatic_close_switch' => false,
183
- 'popup_automatic_close_delay' => 10,
184
- 'popup_animation' => 'fade',
185
- 'popup_animation_duration' => 1,
186
- 'popup_show_for_roles' => '',
187
- 'popup_show_via_referral' => false,
188
- 'popup_referral_keyword' => '',
189
- 'popup_display_as' => 'modal',
190
- 'popup_show_on_device' => true,
191
- 'popup_show_on_device_mobile' => true,
192
- 'popup_show_on_device_tablet' => true,
193
- 'popup_disable_page_scroll' => true,
194
- 'popup_overlay_disable_close' => false,
195
- 'popup_close_button_display_delay' => 0,
196
- ];
197
-
198
- // Determine Template
199
- if ( strpos( $slug, 'popup') ) {
200
- $defaults = $popup_defaults;
201
- }
202
-
203
- foreach( $defaults as $option => $value ) {
204
- if ( isset($meta_settings[$option]) ) {
205
- $settings[$option] = $meta_settings[$option];
206
- }
207
- }
208
-
209
- return array_merge( $defaults, $settings );
210
- }
211
-
212
- /**
213
- ** Check Available User Rols
214
- */
215
- public static function check_available_user_roles( $selected_roles ) {
216
- if ( empty( $selected_roles ) ) {
217
- return true;
218
- }
219
-
220
- $current_user = wp_get_current_user();
221
-
222
- if ( ! empty( $current_user->roles ) ) {
223
- $role = $current_user->roles[0];
224
- } else {
225
- $role = 'guest';
226
- }
227
-
228
- if ( in_array( $role, $selected_roles ) ) {
229
- return true;
230
- }
231
-
232
- return false;
233
- }
234
  }
1
+ <?php
2
+ namespace WprAddons\Admin\Includes;
3
+
4
+ use WprAddons\Plugin;
5
+ use WprAddons\Classes\Utilities;
6
+
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit; // Exit if accessed directly.
9
+ }
10
+
11
+ /**
12
+ * WPR_Templates_Modal_Popups setup
13
+ *
14
+ * @since 1.0
15
+ */
16
+ class WPR_Templates_Modal_Popups {
17
+
18
+ /**
19
+ ** Instance of Elemenntor Frontend class.
20
+ *
21
+ ** @var \Elementor\Frontend()
22
+ */
23
+ private static $elementor_instance;
24
+
25
+ /**
26
+ ** Constructor
27
+ */
28
+ public function __construct() {
29
+ // Elementor Frontend
30
+ self::$elementor_instance = \Elementor\Plugin::instance();
31
+
32
+ add_action( 'template_include', [ $this, 'set_post_type_template' ], 9999 );
33
+
34
+ add_action( 'wp_footer', [ $this, 'render_popups' ] );
35
+ }
36
+
37
+ /**
38
+ * Set blank template for editor
39
+ */
40
+ public function set_post_type_template( $template ) {
41
+
42
+ if ( is_singular( 'wpr_templates' ) ) {
43
+ if ( 'wpr-popups' === Utilities::get_elementor_template_type(get_the_ID()) && self::$elementor_instance->preview->is_preview_mode() ) {
44
+ $template = WPR_ADDONS_PATH . 'modules/popup/editor.php';
45
+ }
46
+
47
+ return $template;
48
+ }
49
+
50
+ return $template;
51
+ }
52
+
53
+ /**
54
+ ** Popups
55
+ */
56
+ public function render_popups() {
57
+ $conditions = json_decode( get_option('wpr_popup_conditions'), true );
58
+
59
+ if ( ! empty( $conditions ) ) {
60
+ $conditions = $this->reverse_template_conditions( $conditions );
61
+
62
+ // Global
63
+ if ( isset( $conditions['global'] ) ) {
64
+ WPR_Templates_Modal_Popups::display_popups_by_location( $conditions, 'global' );
65
+ }
66
+
67
+ // Custom
68
+ if ( wpr_fs()->can_use_premium_code() ) {
69
+ // Archive
70
+ \WprAddonsPro\Classes\Pro_Modules::archive_pages_popup_conditions( $conditions );
71
+
72
+ // Single
73
+ \WprAddonsPro\Classes\Pro_Modules::single_pages_popup_conditions( $conditions );
74
+ }
75
+
76
+
77
+ // Enqueue ScrolBar JS //TODO - check if displayed multiple times
78
+ wp_enqueue_script( 'wpr-popup-scroll-js', WPR_ADDONS_URL .'assets/js/lib/perfect-scrollbar/perfect-scrollbar.min.js', [ 'jquery' ], '0.4.9' );
79
+ }
80
+ }
81
+
82
+ /**
83
+ ** Reverse Template Conditions
84
+ */
85
+ public function reverse_template_conditions( $conditions ) {
86
+ $reverse = [];
87
+
88
+ foreach ( $conditions as $key => $condition ) {
89
+ foreach( $condition as $location ) {
90
+ if ( ! isset( $reverse[$location] ) ) {
91
+ $reverse[$location] = [ $key ];
92
+ } else {
93
+ array_push( $reverse[$location], $key );
94
+ }
95
+ }
96
+ }
97
+
98
+ return $reverse;
99
+ }
100
+
101
+ /**
102
+ ** Display Popups by Location
103
+ */
104
+ public static function display_popups_by_location( $conditions, $page ) {
105
+ foreach ( $conditions[$page] as $key => $popup ) {
106
+ WPR_Templates_Modal_Popups::render_popup_content( $popup );
107
+ }
108
+ }
109
+
110
+ /**
111
+ ** Display Elementor Content
112
+ */
113
+ public static function render_popup_content( $slug ) {
114
+ $template_name = '';
115
+
116
+ $template_id = Utilities::get_template_id( $slug );
117
+ $get_settings = WPR_Templates_Modal_Popups::get_template_settings( $slug );
118
+ $get_elementor_content = self::$elementor_instance->frontend->get_builder_content( $template_id, false );
119
+
120
+ if ( '' === $get_elementor_content ) {
121
+ return;
122
+ }
123
+
124
+ // Encode Settings
125
+ $get_encoded_settings = ! empty( $get_settings ) ? wp_json_encode( $get_settings ) : '[]';
126
+
127
+ // Template Settings Attribute
128
+ $template_settings_attr = "data-settings='". esc_attr($get_encoded_settings) ."'";
129
+
130
+ // Return if NOT available for current user
131
+ if ( ! WPR_Templates_Modal_Popups::check_available_user_roles( $get_settings['popup_show_for_roles'] ) ) {
132
+ return;
133
+ }
134
+
135
+ if ( ! self::$elementor_instance->preview->is_preview_mode() ) {
136
+ echo '<div id="wpr-popup-id-'. esc_attr($template_id) .'" class="wpr-template-popup" '. $template_settings_attr .'>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
137
+ echo '<div class="wpr-template-popup-inner">';
138
+
139
+ // Popup Overlay & Close Button
140
+ echo '<div class="wpr-popup-overlay"></div>';
141
+
142
+ // Template Container
143
+ echo '<div class="wpr-popup-container">';
144
+
145
+ // Close Button
146
+ echo '<div class="wpr-popup-close-btn"><i class="eicon-close"></i></div>';
147
+
148
+ // Elementor Template Content
149
+ echo '<div class="wpr-popup-container-inner">';
150
+ echo ''. $get_elementor_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
151
+ echo '</div>';
152
+
153
+ echo '</div>';
154
+
155
+ echo '</div>';
156
+ echo '</div>';
157
+ }
158
+ }
159
+
160
+ /**
161
+ ** Get Template Settings
162
+ */
163
+ public static function get_template_settings( $slug ) {
164
+ $settings = [];
165
+ $defaults = [];
166
+
167
+ $template_id = Utilities::get_template_id( $slug );
168
+ $meta_settings = get_post_meta( $template_id, '_elementor_page_settings', true );
169
+
170
+ $popup_defaults = [
171
+ 'popup_trigger' => 'load',
172
+ 'popup_load_delay' => 1,
173
+ 'popup_scroll_progress' => 10,
174
+ 'popup_inactivity_time' => 15,
175
+ 'popup_element_scroll' => '',
176
+ 'popup_custom_trigger' => '',
177
+ 'popup_specific_date' => date( 'Y-m-d H:i', strtotime( '+1 month' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
178
+ 'popup_stop_after_date' => false,
179
+ 'popup_stop_after_date_select' => date( 'Y-m-d H:i', strtotime( '+1 day' ) + ( get_option( 'gmt_offset' ) * HOUR_IN_SECONDS ) ),
180
+ 'popup_show_again_delay' => 1,
181
+ 'popup_disable_esc_key' => false,
182
+ 'popup_automatic_close_switch' => false,
183
+ 'popup_automatic_close_delay' => 10,
184
+ 'popup_animation' => 'fade',
185
+ 'popup_animation_duration' => 1,
186
+ 'popup_show_for_roles' => '',
187
+ 'popup_show_via_referral' => false,
188
+ 'popup_referral_keyword' => '',
189
+ 'popup_display_as' => 'modal',
190
+ 'popup_show_on_device' => true,
191
+ 'popup_show_on_device_mobile' => true,
192
+ 'popup_show_on_device_tablet' => true,
193
+ 'popup_disable_page_scroll' => true,
194
+ 'popup_overlay_disable_close' => false,
195
+ 'popup_close_button_display_delay' => 0,
196
+ ];
197
+
198
+ // Determine Template
199
+ if ( strpos( $slug, 'popup') ) {
200
+ $defaults = $popup_defaults;
201
+ }
202
+
203
+ foreach( $defaults as $option => $value ) {
204
+ if ( isset($meta_settings[$option]) ) {
205
+ $settings[$option] = $meta_settings[$option];
206
+ }
207
+ }
208
+
209
+ return array_merge( $defaults, $settings );
210
+ }
211
+
212
+ /**
213
+ ** Check Available User Rols
214
+ */
215
+ public static function check_available_user_roles( $selected_roles ) {
216
+ if ( empty( $selected_roles ) ) {
217
+ return true;
218
+ }
219
+
220
+ $current_user = wp_get_current_user();
221
+
222
+ if ( ! empty( $current_user->roles ) ) {
223
+ $role = $current_user->roles[0];
224
+ } else {
225
+ $role = 'guest';
226
+ }
227
+
228
+ if ( in_array( $role, $selected_roles ) ) {
229
+ return true;
230
+ }
231
+
232
+ return false;
233
+ }
234
  }
admin/plugin-options.php CHANGED
@@ -1,556 +1,566 @@
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_'. WPR_ADDONS_PLUGIN_BASE, '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_enable_product_image_zoom' );
52
- register_setting( 'wpr-settings', 'wpr_woo_shop_ppp' );
53
- register_setting( 'wpr-settings', 'wpr_woo_shop_cat_ppp' );
54
- register_setting( 'wpr-settings', 'wpr_woo_shop_tag_ppp' );
55
-
56
- // Integrations
57
- register_setting( 'wpr-settings', 'wpr_google_map_api_key' );
58
- register_setting( 'wpr-settings', 'wpr_mailchimp_api_key' );
59
-
60
- // Lightbox
61
- register_setting( 'wpr-settings', 'wpr_lb_bg_color' );
62
- register_setting( 'wpr-settings', 'wpr_lb_toolbar_color' );
63
- register_setting( 'wpr-settings', 'wpr_lb_caption_color' );
64
- register_setting( 'wpr-settings', 'wpr_lb_gallery_color' );
65
- register_setting( 'wpr-settings', 'wpr_lb_pb_color' );
66
- register_setting( 'wpr-settings', 'wpr_lb_ui_color' );
67
- register_setting( 'wpr-settings', 'wpr_lb_ui_hr_color' );
68
- register_setting( 'wpr-settings', 'wpr_lb_text_color' );
69
- register_setting( 'wpr-settings', 'wpr_lb_icon_size' );
70
- register_setting( 'wpr-settings', 'wpr_lb_arrow_size' );
71
- register_setting( 'wpr-settings', 'wpr_lb_text_size' );
72
-
73
- // White Label
74
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_logo' );
75
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_name' );
76
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_desc' );
77
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_author' );
78
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_website' );
79
- register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_links' );
80
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_elements_tab' );
81
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_extensions_tab' );
82
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_settings_tab' );
83
- register_setting( 'wpr-wh-settings', 'wpr_wl_hide_white_label_tab' );
84
-
85
- // Extensions
86
- register_setting('wpr-extension-settings', 'wpr-particles');
87
- register_setting('wpr-extension-settings', 'wpr-parallax-background');
88
- register_setting('wpr-extension-settings', 'wpr-parallax-multi-layer');
89
- register_setting('wpr-extension-settings', 'wpr-sticky-section');
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">
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 class="wpr-woo-template-info">
357
- <div class="wpr-woo-template-title">
358
- <h3>Product Image Zoom</h3>
359
- <span>Enable/Disable Image Zoom Effect on Woocommerce products</span>
360
- </div>
361
- <input type="checkbox" name="wpr_enable_product_image_zoom" id="wpr_enable_product_image_zoom" <?php echo checked( get_option('wpr_enable_product_image_zoom', 'on'), 'on', false ); ?>>
362
- <label for="wpr_enable_product_image_zoom"></label>
363
- </div>
364
-
365
- </div>
366
-
367
- <div class="wpr-settings-group">
368
- <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Integrations', 'wpr-addons' ); ?></h3>
369
-
370
- <div class="wpr-setting">
371
- <h4>
372
- <span><?php esc_html_e( 'Google Map API Key', 'wpr-addons' ); ?></span>
373
- <br>
374
- <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>
375
- </h4>
376
-
377
- <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')); ?>">
378
- </div>
379
-
380
- <div class="wpr-setting">
381
- <h4>
382
- <span><?php esc_html_e( 'MailChimp API Key', 'wpr-addons' ); ?></span>
383
- <br>
384
- <a href="https://mailchimp.com/help/about-api-keys/" target="_blank"><?php esc_html_e( 'How to get MailChimp API Key?', 'wpr-addons' ); ?></a>
385
- </h4>
386
-
387
- <input type="text" name="wpr_mailchimp_api_key" id="wpr_mailchimp_api_key" value="<?php echo esc_attr(get_option('wpr_mailchimp_api_key')); ?>">
388
- </div>
389
- </div>
390
-
391
- <div class="wpr-settings-group">
392
- <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Lightbox', 'wpr-addons' ); ?></h3>
393
-
394
- <div class="wpr-setting">
395
- <h4><?php esc_html_e( 'Background Color', 'wpr-addons' ); ?></h4>
396
- <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)')); ?>">
397
- </div>
398
-
399
- <div class="wpr-setting">
400
- <h4><?php esc_html_e( 'Toolbar BG Color', 'wpr-addons' ); ?></h4>
401
- <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)')); ?>">
402
- </div>
403
-
404
- <div class="wpr-setting">
405
- <h4><?php esc_html_e( 'Caption BG Color', 'wpr-addons' ); ?></h4>
406
- <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)')); ?>">
407
- </div>
408
-
409
- <div class="wpr-setting">
410
- <h4><?php esc_html_e( 'Gallery BG Color', 'wpr-addons' ); ?></h4>
411
- <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')); ?>">
412
- </div>
413
-
414
- <div class="wpr-setting">
415
- <h4><?php esc_html_e( 'Progress Bar Color', 'wpr-addons' ); ?></h4>
416
- <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')); ?>">
417
- </div>
418
-
419
- <div class="wpr-setting">
420
- <h4><?php esc_html_e( 'UI Color', 'wpr-addons' ); ?></h4>
421
- <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')); ?>">
422
- </div>
423
-
424
- <div class="wpr-setting">
425
- <h4><?php esc_html_e( 'UI Hover Color', 'wpr-addons' ); ?></h4>
426
- <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')); ?>">
427
- </div>
428
-
429
- <div class="wpr-setting">
430
- <h4><?php esc_html_e( 'Text Color', 'wpr-addons' ); ?></h4>
431
- <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')); ?>">
432
- </div>
433
-
434
- <div class="wpr-setting">
435
- <h4><?php esc_html_e( 'UI Icon Size', 'wpr-addons' ); ?></h4>
436
- <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')); ?>">
437
- </div>
438
-
439
- <div class="wpr-setting">
440
- <h4><?php esc_html_e( 'Navigation Arrow Size', 'wpr-addons' ); ?></h4>
441
- <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')); ?>">
442
- </div>
443
-
444
- <div class="wpr-setting">
445
- <h4><?php esc_html_e( 'Text Size', 'wpr-addons' ); ?></h4>
446
- <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')); ?>">
447
- </div>
448
- </div>
449
-
450
- <?php submit_button( '', 'wpr-options-button' ); ?>
451
-
452
- </div>
453
-
454
- <?php elseif ( $active_tab == 'wpr_tab_extensions' ) :
455
-
456
- // Extensions
457
- settings_fields( 'wpr-extension-settings' );
458
- do_settings_sections( 'wpr-extension-settings' );
459
-
460
- global $new_allowed_options;
461
-
462
- // array of option names
463
- $option_names = $new_allowed_options[ 'wpr-extension-settings' ];
464
-
465
- echo '<div class="wpr-elements">';
466
-
467
- foreach ($option_names as $option_name) {
468
- $option_title = ucwords( preg_replace( '/-/i', ' ', preg_replace('/wpr-||-toggle/i', '', $option_name ) ));
469
-
470
- echo '<div class="wpr-element">';
471
- echo '<div class="wpr-element-info">';
472
- echo '<h3>'. esc_html($option_title) .'</h3>';
473
- echo '<input type="checkbox" name="'. esc_attr($option_name) .'" id="'. esc_attr($option_name) .'" '. checked( get_option(''. $option_name .'', 'on'), 'on', false ) .'>';
474
- echo '<label for="'. esc_attr($option_name) .'"></label>';
475
-
476
- if ( 'wpr-parallax-background' === $option_name ) {
477
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
478
- echo '<a href="https://www.youtube.com/watch?v=DcDeQ__lJbw" target="_blank">Watch Video Tutorial</a>';
479
- } elseif ( 'wpr-parallax-multi-layer' === $option_name ) {
480
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
481
- echo '<a href="https://youtu.be/DcDeQ__lJbw?t=121" target="_blank">Watch Video Tutorial</a>';
482
- } elseif ( 'wpr-particles' === $option_name ) {
483
- echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
484
- echo '<a href="https://www.youtube.com/watch?v=8OdnaoFSj94" target="_blank">Watch Video Tutorial</a>';
485
- } elseif ( 'wpr-sticky-section' === $option_name ) {
486
- echo '<br><span>Tip: Edit any Section > Navigate to Advanced tab</span>';
487
- echo '<a href="https://www.youtube.com/watch?v=at0CPKtklF0&t=375s" target="_blank">Watch Video Tutorial</a>';
488
- }
489
-
490
- // 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>';
491
- echo '</div>';
492
- echo '</div>';
493
- }
494
-
495
- echo '</div>';
496
-
497
- submit_button( '', 'wpr-options-button' );
498
-
499
- elseif ( $active_tab == 'wpr_tab_white_label' ) :
500
-
501
- do_action('wpr_white_label_tab_content');
502
-
503
- endif; ?>
504
-
505
- </form>
506
- </div>
507
-
508
- </div>
509
-
510
-
511
- <?php
512
-
513
- } // End wpr_addons_settings_page()
514
-
515
-
516
-
517
- // Add Support Sub Menu item that will redirect to wp.org
518
- function wpr_addons_add_support_menu() {
519
- add_submenu_page( 'wpr-addons', 'Support', 'Support', 'manage_options', 'wpr-support', 'wpr_addons_support_page', 99 );
520
- }
521
- add_action( 'admin_menu', 'wpr_addons_add_support_menu', 99 );
522
-
523
- function wpr_addons_support_page() {}
524
-
525
- function wpr_redirect_support_page() {
526
- ?>
527
- <script type="text/javascript">
528
- jQuery(document).ready( function($) {
529
- $( 'ul#adminmenu a[href*="page=wpr-support"]' ).attr('href', 'https://wordpress.org/support/plugin/royal-elementor-addons/').attr( 'target', '_blank' );
530
- });
531
- </script>
532
- <?php
533
- }
534
- add_action( 'admin_head', 'wpr_redirect_support_page' );
535
-
536
-
537
- // Add Upgrade Sub Menu item that will redirect to royal-elementor-addons.com
538
- function wpr_addons_add_upgrade_menu() {
539
- if ( defined('WPR_ADDONS_PRO_VERSION') ) return;
540
- add_submenu_page( 'wpr-addons', 'Upgrade', 'Upgrade', 'manage_options', 'wpr-upgrade', 'wpr_addons_upgrade_page', 99 );
541
- }
542
- add_action( 'admin_menu', 'wpr_addons_add_upgrade_menu', 99 );
543
-
544
- function wpr_addons_upgrade_page() {}
545
-
546
- function wpr_redirect_upgrade_page() {
547
- ?>
548
- <script type="text/javascript">
549
- jQuery(document).ready( function($) {
550
- $( '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' );
551
- $( 'ul#adminmenu a[href*="#purchasepro"]' ).css('color', 'greenyellow');
552
- });
553
- </script>
554
- <?php
555
- }
 
 
 
 
 
 
 
 
 
 
556
  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_'. WPR_ADDONS_PLUGIN_BASE, '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_enable_product_image_zoom' );
52
+ register_setting( 'wpr-settings', 'wpr_enable_woo_flexslider_navigation' );
53
+ register_setting( 'wpr-settings', 'wpr_woo_shop_ppp' );
54
+ register_setting( 'wpr-settings', 'wpr_woo_shop_cat_ppp' );
55
+ register_setting( 'wpr-settings', 'wpr_woo_shop_tag_ppp' );
56
+
57
+ // Integrations
58
+ register_setting( 'wpr-settings', 'wpr_google_map_api_key' );
59
+ register_setting( 'wpr-settings', 'wpr_mailchimp_api_key' );
60
+
61
+ // Lightbox
62
+ register_setting( 'wpr-settings', 'wpr_lb_bg_color' );
63
+ register_setting( 'wpr-settings', 'wpr_lb_toolbar_color' );
64
+ register_setting( 'wpr-settings', 'wpr_lb_caption_color' );
65
+ register_setting( 'wpr-settings', 'wpr_lb_gallery_color' );
66
+ register_setting( 'wpr-settings', 'wpr_lb_pb_color' );
67
+ register_setting( 'wpr-settings', 'wpr_lb_ui_color' );
68
+ register_setting( 'wpr-settings', 'wpr_lb_ui_hr_color' );
69
+ register_setting( 'wpr-settings', 'wpr_lb_text_color' );
70
+ register_setting( 'wpr-settings', 'wpr_lb_icon_size' );
71
+ register_setting( 'wpr-settings', 'wpr_lb_arrow_size' );
72
+ register_setting( 'wpr-settings', 'wpr_lb_text_size' );
73
+
74
+ // White Label
75
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_logo' );
76
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_name' );
77
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_desc' );
78
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_author' );
79
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_website' );
80
+ register_setting( 'wpr-wh-settings', 'wpr_wl_plugin_links' );
81
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_elements_tab' );
82
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_extensions_tab' );
83
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_settings_tab' );
84
+ register_setting( 'wpr-wh-settings', 'wpr_wl_hide_white_label_tab' );
85
+
86
+ // Extensions
87
+ register_setting('wpr-extension-settings', 'wpr-particles');
88
+ register_setting('wpr-extension-settings', 'wpr-parallax-background');
89
+ register_setting('wpr-extension-settings', 'wpr-parallax-multi-layer');
90
+ register_setting('wpr-extension-settings', 'wpr-sticky-section');
91
+
92
+ // Element Toggle
93
+ register_setting( 'wpr-elements-settings', 'wpr-element-toggle-all', [ 'default' => 'on' ] );
94
+
95
+ // Widgets
96
+ foreach ( Utilities::get_registered_modules() as $title => $data ) {
97
+ $slug = $data[0];
98
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
99
+ }
100
+
101
+ // Theme Builder
102
+ foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
103
+ $slug = $data[0];
104
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
105
+ }
106
+
107
+
108
+ // WooCommerce Builder
109
+ foreach ( Utilities::get_woocommerce_builder_modules() as $title => $data ) {
110
+ $slug = $data[0];
111
+ register_setting( 'wpr-elements-settings', 'wpr-element-'. $slug, [ 'default' => 'on' ] );
112
+ }
113
+
114
+ }
115
+
116
+ function wpr_addons_settings_page() {
117
+
118
+ ?>
119
+
120
+ <div class="wrap wpr-settings-page-wrap">
121
+
122
+ <div class="wpr-settings-page-header">
123
+ <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
124
+ <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
125
+
126
+ <?php if ( empty(get_option('wpr_wl_plugin_links')) ) : ?>
127
+ <div class="wpr-preview-buttons">
128
+ <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-plugin-prev-btn#widgets" target="_blank" class="button wpr-options-button">
129
+ <span><?php echo esc_html__( 'View Plugin Demo', 'wpr-addons' ); ?></span>
130
+ <span class="dashicons dashicons-external"></span>
131
+ </a>
132
+
133
+ <a href="https://www.youtube.com/watch?v=rkYQfn3tUc0" class="wpr-options-button button" target="_blank">
134
+ <?php echo esc_html__( 'How to use Widgets', 'wpr-addons' ); ?>
135
+ <span class="dashicons dashicons-video-alt3"></span>
136
+ </a>
137
+ </div>
138
+ <?php endif; ?>
139
+ </div>
140
+
141
+ <div class="wpr-settings-page">
142
+ <form method="post" action="options.php">
143
+ <?php
144
+
145
+ // Active Tab
146
+ if ( empty(get_option('wpr_wl_hide_elements_tab')) ) {
147
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_elements';
148
+ } elseif ( empty(get_option('wpr_wl_hide_extensions_tab')) ) {
149
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_extensions';
150
+ } elseif ( empty(get_option('wpr_wl_hide_settings_tab')) ) {
151
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_settings';
152
+ } elseif ( empty(get_option('wpr_wl_hide_white_label_tab')) ) {
153
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_white_label';
154
+ }
155
+
156
+
157
+ // Render Create Templte Popup
158
+ WPR_Templates_Loop::render_create_template_popup();
159
+
160
+ ?>
161
+
162
+ <!-- Tabs -->
163
+ <div class="nav-tab-wrapper wpr-nav-tab-wrapper">
164
+ <?php if ( empty(get_option('wpr_wl_hide_elements_tab')) ) : ?>
165
+ <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' : ''; ?>">
166
+ <?php esc_html_e( 'Widgets', 'wpr-addons' ); ?>
167
+ </a>
168
+ <?php endif; ?>
169
+
170
+ <?php if ( empty(get_option('wpr_wl_hide_extensions_tab')) ) : ?>
171
+ <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' : ''; ?>">
172
+ <?php esc_html_e( 'Extensions', 'wpr-addons' ); ?>
173
+ </a>
174
+ <?php endif; ?>
175
+
176
+ <?php if ( empty(get_option('wpr_wl_hide_settings_tab')) ) : ?>
177
+ <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' : ''; ?>">
178
+ <?php esc_html_e( 'Settings', 'wpr-addons' ); ?>
179
+ </a>
180
+ <?php endif; ?>
181
+
182
+ <?php // White Label
183
+ echo !empty(get_option('wpr_wl_hide_white_label_tab')) ? '<div style="display: none;">' : '<div>';
184
+ do_action('wpr_white_label_tab');
185
+ echo '</div>';
186
+ ?>
187
+ </div>
188
+
189
+ <?php if ( $active_tab == 'wpr_tab_elements' ) : ?>
190
+
191
+ <?php
192
+
193
+ // Settings
194
+ settings_fields( 'wpr-elements-settings' );
195
+ do_settings_sections( 'wpr-elements-settings' );
196
+
197
+ ?>
198
+
199
+ <div class="wpr-elements-toggle">
200
+ <div>
201
+ <h3><?php esc_html_e( 'Toggle all Widgets', 'wpr-addons' ); ?></h3>
202
+ <input type="checkbox" name="wpr-element-toggle-all" id="wpr-element-toggle-all" <?php checked( get_option('wpr-element-toggle-all', 'on'), 'on', true ); ?>>
203
+ <label for="wpr-element-toggle-all"></label>
204
+ </div>
205
+ <p><?php esc_html_e( 'You can disable some widgets for faster page speed.', 'wpr-addons' ); ?></p>
206
+ </div>
207
+ <div class="wpr-elements">
208
+ <?php
209
+ foreach ( Utilities::get_registered_modules() as $title => $data ) {
210
+ $slug = $data[0];
211
+ $url = $data[1];
212
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
213
+ $class = 'new' === $data[3] ? ' wpr-new-element' : '';
214
+
215
+ echo '<div class="wpr-element'. esc_attr($class) .'">';
216
+ echo '<div class="wpr-element-info">';
217
+ echo '<h3>'. esc_html($title) .'</h3>';
218
+ 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 ) .'>';
219
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
220
+ 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>' : '';
221
+ echo '</div>';
222
+ echo '</div>';
223
+ }
224
+ ?>
225
+ </div>
226
+
227
+ <div class="wpr-elements-heading">
228
+ <h3><?php esc_html_e( 'Theme Builder Widgets', 'wpr-addons' ); ?></h3>
229
+ <p><?php esc_html_e( 'Post (CPT) Archive Pages, Post (CPT) Single Pages', 'wpr-addons' ); ?></p>
230
+ </div>
231
+ <div class="wpr-elements">
232
+ <?php
233
+ foreach ( Utilities::get_theme_builder_modules() as $title => $data ) {
234
+ $slug = $data[0];
235
+ $url = $data[1];
236
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[2];
237
+ $class = 'new' === $data[3] ? ' wpr-new-element' : '';
238
+
239
+ echo '<div class="wpr-element'. esc_attr($class) .'">';
240
+ echo '<div class="wpr-element-info">';
241
+ echo '<h3>'. esc_html($title) .'</h3>';
242
+ 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 ) .'>';
243
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
244
+ 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>' : '';
245
+ echo '</div>';
246
+ echo '</div>';
247
+ }
248
+ ?>
249
+ </div>
250
+
251
+ <div class="wpr-elements-heading">
252
+ <h3><?php esc_html_e( 'WooCommerce Builder Widgets', 'wpr-addons' ); ?></h3>
253
+ <p><?php esc_html_e( 'Product Archive Pages, Product Single Pages. Cart, Checkout and My Account Pages', 'wpr-addons' ); ?></p>
254
+ <?php if (!class_exists('WooCommerce')) : ?>
255
+ <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>
256
+ <?php endif; ?>
257
+ </div>
258
+ <div class="wpr-elements">
259
+ <?php
260
+ $woocommerce_builder_modules = Utilities::get_woocommerce_builder_modules();
261
+ $premium_woo_modules = [
262
+ 'Product Filters' => ['product-filters-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-prodfilter-widgets-pro#purchasepro', '', 'pro'],
263
+ 'Product Breadcrumbs' => ['product-breadcrumbs-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-breadcru-widgets-pro#purchasepro', '', 'pro'],
264
+ 'Page My Account' => ['page-my-account-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-myacc-widgets-pro#purchasepro', '', 'pro'],
265
+ 'Woo Category Grid' => ['woo-category-grid-pro', 'https://royal-elementor-addons.com/?ref=rea-plugin-backend-elements-woo-catgrid-widgets-pro#purchasepro', '', 'pro'],
266
+ ];
267
+
268
+ foreach ( array_merge($woocommerce_builder_modules, $premium_woo_modules) as $title => $data ) {
269
+ $slug = $data[0];
270
+ $url = $data[1];
271
+ $reff = '?ref=rea-plugin-backend-elements-widget-prev'. $data[1];
272
+ $class = 'new' === $data[3] ? 'wpr-new-element' : '';
273
+ $class = ('pro' === $data[3] && !wpr_fs()->can_use_premium_code()) ? 'wpr-pro-element' : '';
274
+ $default_value = class_exists( 'WooCommerce' ) ? 'on' : 'off';
275
+
276
+ if ( 'wpr-pro-element' === $class ) {
277
+ $default_value = 'off';
278
+ $reff = '';
279
+ }
280
+
281
+ echo '<div class="wpr-element '. esc_attr($class) .'">';
282
+ echo '<a href="'. esc_url($url . $reff) .'" target="_blank"></a>';
283
+ echo '<div class="wpr-element-info">';
284
+ echo '<h3>'. esc_html($title) .'</h3>';
285
+ 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 ) .'>';
286
+ echo '<label for="wpr-element-'. esc_attr($slug) .'"></label>';
287
+ // 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>' : '';
288
+ echo '</div>';
289
+ echo '</div>';
290
+ }
291
+ ?>
292
+ </div>
293
+
294
+ <?php submit_button( '', 'wpr-options-button' ); ?>
295
+
296
+ <?php elseif ( $active_tab == 'wpr_tab_settings' ) : ?>
297
+
298
+ <?php
299
+
300
+ // Settings
301
+ settings_fields( 'wpr-settings' );
302
+ do_settings_sections( 'wpr-settings' );
303
+
304
+ ?>
305
+
306
+ <div class="wpr-settings">
307
+
308
+ <?php submit_button( '', 'wpr-options-button' ); ?>
309
+
310
+ <div class="wpr-settings-group wpr-settings-group-woo">
311
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'WooCommerce', 'wpr-addons' ); ?></h3>
312
+
313
+ <div class="wpr-settings-group-inner">
314
+
315
+ <?php if ( !wpr_fs()->can_use_premium_code() ) : ?>
316
+ <a href="https://royal-elementor-addons.com/?ref=rea-plugin-backend-settings-woo-pro#purchasepro" class="wpr-settings-pro-overlay" target="_blank">
317
+ <span class="dashicons dashicons-lock"></span>
318
+ <span class="dashicons dashicons-unlock"></span>
319
+ <span><?php esc_html_e( 'Upgrade to Pro', 'wpr-addons' ); ?></span>
320
+ </a>
321
+ <div class="wpr-setting">
322
+ <h4>
323
+ <span><?php esc_html_e( 'Shop Page: 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 Category: Products Per Page', 'wpr-addons' ); ?></span>
331
+ <br>
332
+ </h4>
333
+ <input type="text" value="9">
334
+ </div>
335
+ <div class="wpr-setting">
336
+ <h4>
337
+ <span><?php esc_html_e( 'Product Tag: Products Per Page', 'wpr-addons' ); ?></span>
338
+ <br>
339
+ </h4>
340
+ <input type="text" value="9">
341
+ </div>
342
+ <?php else: ?>
343
+ <?php do_action('wpr_woocommerce_settings'); ?>
344
+ <?php endif; ?>
345
+
346
+ </div>
347
+
348
+ <div class="wpr-woo-template-info">
349
+ <div class="wpr-woo-template-title">
350
+ <h3>Royal Templates</h3>
351
+ <span>Enable/Disable Royal addons Cart, Minicart, Notifications Templates</span>
352
+ </div>
353
+ <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 ); ?>>
354
+ <label for="wpr_override_woo_templates"></label>
355
+ </div>
356
+
357
+ <div class="wpr-woo-template-info">
358
+ <div class="wpr-woo-template-title">
359
+ <h3>Product Image Zoom</h3>
360
+ <span>Enable/Disable Image Zoom Effect on Woocommerce products</span>
361
+ </div>
362
+ <input type="checkbox" name="wpr_enable_product_image_zoom" id="wpr_enable_product_image_zoom" <?php echo checked( get_option('wpr_enable_product_image_zoom', 'on'), 'on', false ); ?>>
363
+ <label for="wpr_enable_product_image_zoom"></label>
364
+ </div>
365
+
366
+ <div class="wpr-woo-template-info">
367
+ <div class="wpr-woo-template-title">
368
+ <h3>Product Slider Nav</h3>
369
+ <span>Enable/Disable Navigation Arrows on Woocommerce products slider</span>
370
+ </div>
371
+ <input type="checkbox" name="wpr_enable_woo_flexslider_navigation" id="wpr_enable_woo_flexslider_navigation" <?php echo checked( get_option('wpr_enable_woo_flexslider_navigation', 'on'), 'on', false ); ?>>
372
+ <label for="wpr_enable_woo_flexslider_navigation"></label>
373
+ </div>
374
+
375
+ </div>
376
+
377
+ <div class="wpr-settings-group">
378
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Integrations', 'wpr-addons' ); ?></h3>
379
+
380
+ <div class="wpr-setting">
381
+ <h4>
382
+ <span><?php esc_html_e( 'Google Map API Key', 'wpr-addons' ); ?></span>
383
+ <br>
384
+ <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>
385
+ </h4>
386
+
387
+ <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')); ?>">
388
+ </div>
389
+
390
+ <div class="wpr-setting">
391
+ <h4>
392
+ <span><?php esc_html_e( 'MailChimp API Key', 'wpr-addons' ); ?></span>
393
+ <br>
394
+ <a href="https://mailchimp.com/help/about-api-keys/" target="_blank"><?php esc_html_e( 'How to get MailChimp API Key?', 'wpr-addons' ); ?></a>
395
+ </h4>
396
+
397
+ <input type="text" name="wpr_mailchimp_api_key" id="wpr_mailchimp_api_key" value="<?php echo esc_attr(get_option('wpr_mailchimp_api_key')); ?>">
398
+ </div>
399
+ </div>
400
+
401
+ <div class="wpr-settings-group">
402
+ <h3 class="wpr-settings-group-title"><?php esc_html_e( 'Lightbox', 'wpr-addons' ); ?></h3>
403
+
404
+ <div class="wpr-setting">
405
+ <h4><?php esc_html_e( 'Background Color', 'wpr-addons' ); ?></h4>
406
+ <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)')); ?>">
407
+ </div>
408
+
409
+ <div class="wpr-setting">
410
+ <h4><?php esc_html_e( 'Toolbar BG Color', 'wpr-addons' ); ?></h4>
411
+ <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)')); ?>">
412
+ </div>
413
+
414
+ <div class="wpr-setting">
415
+ <h4><?php esc_html_e( 'Caption BG Color', 'wpr-addons' ); ?></h4>
416
+ <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)')); ?>">
417
+ </div>
418
+
419
+ <div class="wpr-setting">
420
+ <h4><?php esc_html_e( 'Gallery BG Color', 'wpr-addons' ); ?></h4>
421
+ <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')); ?>">
422
+ </div>
423
+
424
+ <div class="wpr-setting">
425
+ <h4><?php esc_html_e( 'Progress Bar Color', 'wpr-addons' ); ?></h4>
426
+ <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')); ?>">
427
+ </div>
428
+
429
+ <div class="wpr-setting">
430
+ <h4><?php esc_html_e( 'UI Color', 'wpr-addons' ); ?></h4>
431
+ <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')); ?>">
432
+ </div>
433
+
434
+ <div class="wpr-setting">
435
+ <h4><?php esc_html_e( 'UI Hover Color', 'wpr-addons' ); ?></h4>
436
+ <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')); ?>">
437
+ </div>
438
+
439
+ <div class="wpr-setting">
440
+ <h4><?php esc_html_e( 'Text Color', 'wpr-addons' ); ?></h4>
441
+ <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')); ?>">
442
+ </div>
443
+
444
+ <div class="wpr-setting">
445
+ <h4><?php esc_html_e( 'UI Icon Size', 'wpr-addons' ); ?></h4>
446
+ <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')); ?>">
447
+ </div>
448
+
449
+ <div class="wpr-setting">
450
+ <h4><?php esc_html_e( 'Navigation Arrow Size', 'wpr-addons' ); ?></h4>
451
+ <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')); ?>">
452
+ </div>
453
+
454
+ <div class="wpr-setting">
455
+ <h4><?php esc_html_e( 'Text Size', 'wpr-addons' ); ?></h4>
456
+ <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')); ?>">
457
+ </div>
458
+ </div>
459
+
460
+ <?php submit_button( '', 'wpr-options-button' ); ?>
461
+
462
+ </div>
463
+
464
+ <?php elseif ( $active_tab == 'wpr_tab_extensions' ) :
465
+
466
+ // Extensions
467
+ settings_fields( 'wpr-extension-settings' );
468
+ do_settings_sections( 'wpr-extension-settings' );
469
+
470
+ global $new_allowed_options;
471
+
472
+ // array of option names
473
+ $option_names = $new_allowed_options[ 'wpr-extension-settings' ];
474
+
475
+ echo '<div class="wpr-elements">';
476
+
477
+ foreach ($option_names as $option_name) {
478
+ $option_title = ucwords( preg_replace( '/-/i', ' ', preg_replace('/wpr-||-toggle/i', '', $option_name ) ));
479
+
480
+ echo '<div class="wpr-element">';
481
+ echo '<div class="wpr-element-info">';
482
+ echo '<h3>'. esc_html($option_title) .'</h3>';
483
+ echo '<input type="checkbox" name="'. esc_attr($option_name) .'" id="'. esc_attr($option_name) .'" '. checked( get_option(''. $option_name .'', 'on'), 'on', false ) .'>';
484
+ echo '<label for="'. esc_attr($option_name) .'"></label>';
485
+
486
+ if ( 'wpr-parallax-background' === $option_name ) {
487
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
488
+ echo '<a href="https://www.youtube.com/watch?v=DcDeQ__lJbw" target="_blank">Watch Video Tutorial</a>';
489
+ } elseif ( 'wpr-parallax-multi-layer' === $option_name ) {
490
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
491
+ echo '<a href="https://youtu.be/DcDeQ__lJbw?t=121" target="_blank">Watch Video Tutorial</a>';
492
+ } elseif ( 'wpr-particles' === $option_name ) {
493
+ echo '<br><span>Tip: Edit any Section > Navigate to Style tab</span>';
494
+ echo '<a href="https://www.youtube.com/watch?v=8OdnaoFSj94" target="_blank">Watch Video Tutorial</a>';
495
+ } elseif ( 'wpr-sticky-section' === $option_name ) {
496
+ echo '<br><span>Tip: Edit any Section > Navigate to Advanced tab</span>';
497
+ echo '<a href="https://www.youtube.com/watch?v=at0CPKtklF0&t=375s" target="_blank">Watch Video Tutorial</a>';
498
+ }
499
+
500
+ // 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>';
501
+ echo '</div>';
502
+ echo '</div>';
503
+ }
504
+
505
+ echo '</div>';
506
+
507
+ submit_button( '', 'wpr-options-button' );
508
+
509
+ elseif ( $active_tab == 'wpr_tab_white_label' ) :
510
+
511
+ do_action('wpr_white_label_tab_content');
512
+
513
+ endif; ?>
514
+
515
+ </form>
516
+ </div>
517
+
518
+ </div>
519
+
520
+
521
+ <?php
522
+
523
+ } // End wpr_addons_settings_page()
524
+
525
+
526
+
527
+ // Add Support Sub Menu item that will redirect to wp.org
528
+ function wpr_addons_add_support_menu() {
529
+ add_submenu_page( 'wpr-addons', 'Support', 'Support', 'manage_options', 'wpr-support', 'wpr_addons_support_page', 99 );
530
+ }
531
+ add_action( 'admin_menu', 'wpr_addons_add_support_menu', 99 );
532
+
533
+ function wpr_addons_support_page() {}
534
+
535
+ function wpr_redirect_support_page() {
536
+ ?>
537
+ <script type="text/javascript">
538
+ jQuery(document).ready( function($) {
539
+ $( 'ul#adminmenu a[href*="page=wpr-support"]' ).attr('href', 'https://wordpress.org/support/plugin/royal-elementor-addons/').attr( 'target', '_blank' );
540
+ });
541
+ </script>
542
+ <?php
543
+ }
544
+ add_action( 'admin_head', 'wpr_redirect_support_page' );
545
+
546
+
547
+ // Add Upgrade Sub Menu item that will redirect to royal-elementor-addons.com
548
+ function wpr_addons_add_upgrade_menu() {
549
+ if ( defined('WPR_ADDONS_PRO_VERSION') ) return;
550
+ add_submenu_page( 'wpr-addons', 'Upgrade', 'Upgrade', 'manage_options', 'wpr-upgrade', 'wpr_addons_upgrade_page', 99 );
551
+ }
552
+ add_action( 'admin_menu', 'wpr_addons_add_upgrade_menu', 99 );
553
+
554
+ function wpr_addons_upgrade_page() {}
555
+
556
+ function wpr_redirect_upgrade_page() {
557
+ ?>
558
+ <script type="text/javascript">
559
+ jQuery(document).ready( function($) {
560
+ $( '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' );
561
+ $( 'ul#adminmenu a[href*="#purchasepro"]' ).css('color', 'greenyellow');
562
+ });
563
+ </script>
564
+ <?php
565
+ }
566
  add_action( 'admin_head', 'wpr_redirect_upgrade_page' );
admin/popups.php CHANGED
@@ -1,82 +1,82 @@
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 WprAddons\Classes\Utilities;
9
-
10
- // Register Menus
11
- function wpr_addons_add_popups_menu() {
12
- add_submenu_page( 'wpr-addons', 'Popups', 'Popups', 'manage_options', 'wpr-popups', 'wpr_addons_popups_page' );
13
- }
14
- add_action( 'admin_menu', 'wpr_addons_add_popups_menu' );
15
-
16
- function wpr_addons_popups_page() {
17
-
18
- ?>
19
-
20
- <div class="wrap wpr-settings-page-wrap">
21
-
22
- <div class="wpr-settings-page-header">
23
- <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
24
- <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
25
-
26
- <!-- Custom Template -->
27
- <div class="wpr-preview-buttons">
28
- <div class="wpr-user-template">
29
- <span><?php esc_html_e( 'Create Template', 'wpr-addons' ); ?></span>
30
- <span class="plus-icon">+</span>
31
- </div>
32
-
33
- <a href="https://www.youtube.com/watch?v=TbKTNpuXM68" class="wpr-options-button button" target="_blank" style="padding: 8px 22px;">
34
- <?php echo esc_html__( 'How to use Popups', 'wpr-addons' ); ?>
35
- <span class="dashicons dashicons-video-alt3"></span>
36
- </a>
37
- </div>
38
- </div>
39
-
40
- <div class="wpr-settings-page">
41
- <form method="post" action="options.php">
42
- <?php
43
-
44
- // Active Tab
45
- $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_popups';
46
-
47
- ?>
48
-
49
- <!-- Template ID Holder -->
50
- <input type="hidden" name="wpr_template" id="wpr_template" value="">
51
-
52
- <!-- Conditions Popup -->
53
- <?php WPR_Templates_Loop::render_conditions_popup(); ?>
54
-
55
- <!-- Create Templte Popup -->
56
- <?php WPR_Templates_Loop::render_create_template_popup(); ?>
57
-
58
- <!-- Tabs -->
59
- <div class="nav-tab-wrapper wpr-nav-tab-wrapper">
60
- <a href="?page=wpr-theme-builder&tab=wpr_tab_popups" data-title="popup" class="nav-tab <?php echo ($active_tab == 'wpr_tab_popups') ? 'nav-tab-active' : ''; ?>">
61
- <?php esc_html_e( 'Popups', 'wpr-addons' ); ?>
62
- </a>
63
- </div>
64
-
65
- <?php if ( $active_tab == 'wpr_tab_popups' ) : ?>
66
-
67
- <!-- Save Conditions -->
68
- <input type="hidden" name="wpr_popup_conditions" id="wpr_popup_conditions" value="<?php echo esc_attr(get_option('wpr_popup_conditions', '[]')); ?>">
69
-
70
- <?php WPR_Templates_Loop::render_theme_builder_templates( 'popup' ); ?>
71
-
72
- <?php endif; ?>
73
-
74
- </form>
75
- </div>
76
-
77
- </div>
78
-
79
-
80
- <?php
81
-
82
  } // End wpr_addons_popups_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 WprAddons\Classes\Utilities;
9
+
10
+ // Register Menus
11
+ function wpr_addons_add_popups_menu() {
12
+ add_submenu_page( 'wpr-addons', 'Popups', 'Popups', 'manage_options', 'wpr-popups', 'wpr_addons_popups_page' );
13
+ }
14
+ add_action( 'admin_menu', 'wpr_addons_add_popups_menu' );
15
+
16
+ function wpr_addons_popups_page() {
17
+
18
+ ?>
19
+
20
+ <div class="wrap wpr-settings-page-wrap">
21
+
22
+ <div class="wpr-settings-page-header">
23
+ <h1><?php echo esc_html(Utilities::get_plugin_name(true)); ?></h1>
24
+ <p><?php esc_html_e( 'The most powerful Elementor Addons in the universe.', 'wpr-addons' ); ?></p>
25
+
26
+ <!-- Custom Template -->
27
+ <div class="wpr-preview-buttons">
28
+ <div class="wpr-user-template">
29
+ <span><?php esc_html_e( 'Create Template', 'wpr-addons' ); ?></span>
30
+ <span class="plus-icon">+</span>
31
+ </div>
32
+
33
+ <a href="https://www.youtube.com/watch?v=TbKTNpuXM68" class="wpr-options-button button" target="_blank" style="padding: 8px 22px;">
34
+ <?php echo esc_html__( 'How to use Popups', 'wpr-addons' ); ?>
35
+ <span class="dashicons dashicons-video-alt3"></span>
36
+ </a>
37
+ </div>
38
+ </div>
39
+
40
+ <div class="wpr-settings-page">
41
+ <form method="post" action="options.php">
42
+ <?php
43
+
44
+ // Active Tab
45
+ $active_tab = isset( $_GET['tab'] ) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'wpr_tab_popups';
46
+
47
+ ?>
48
+
49
+ <!-- Template ID Holder -->
50
+ <input type="hidden" name="wpr_template" id="wpr_template" value="">
51
+
52
+ <!-- Conditions Popup -->
53
+ <?php WPR_Templates_Loop::render_conditions_popup(); ?>
54
+
55
+ <!-- Create Templte Popup -->
56
+ <?php WPR_Templates_Loop::render_create_template_popup(); ?>
57
+
58
+ <!-- Tabs -->
59
+ <div class="nav-tab-wrapper wpr-nav-tab-wrapper">
60
+ <a href="?page=wpr-theme-builder&tab=wpr_tab_popups" data-title="popup" class="nav-tab <?php echo ($active_tab == 'wpr_tab_popups') ? 'nav-tab-active' : ''; ?>">
61
+ <?php esc_html_e( 'Popups', 'wpr-addons' ); ?>
62
+ </a>
63
+ </div>
64
+
65
+ <?php if ( $active_tab == 'wpr_tab_popups' ) : ?>
66
+
67
+ <!-- Save Conditions -->
68
+ <input type="hidden" name="wpr_popup_conditions" id="wpr_popup_conditions" value="<?php echo esc_attr(get_option('wpr_popup_conditions', '[]')); ?>">
69
+
70
+ <?php WPR_Templates_Loop::render_theme_builder_templates( 'popup' ); ?>
71
+
72
+ <?php endif; ?>
73
+
74
+ </form>
75
+ </div>
76
+
77
+ </div>
78
+
79
+
80
+ <?php
81
+
82
  } // End wpr_addons_popups_page()
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/theme-header.php CHANGED
@@ -1,32 +1,32 @@
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_header_conditions', '[]'), true );
10
- $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
11
-
12
- ?><!DOCTYPE html>
13
- <html <?php language_attributes(); ?>>
14
- <head>
15
- <meta charset="<?php bloginfo( 'charset' ); ?>">
16
- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
17
- <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
18
- <title>
19
- <?php echo esc_html(wp_get_document_title()); ?>
20
- </title>
21
- <?php endif; ?>
22
- <?php wp_head(); ?>
23
- </head>
24
-
25
- <body <?php body_class(); ?>>
26
-
27
- <?php
28
-
29
- do_action( 'wp_body_open' );
30
-
31
- // Render WPR Header
32
- Utilities::render_elementor_template($template_slug);
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_header_conditions', '[]'), true );
10
+ $template_slug = WPR_Conditions_Manager::header_footer_display_conditions($conditions);
11
+
12
+ ?><!DOCTYPE html>
13
+ <html <?php language_attributes(); ?>>
14
+ <head>
15
+ <meta charset="<?php bloginfo( 'charset' ); ?>">
16
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
17
+ <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
18
+ <title>
19
+ <?php echo esc_html(wp_get_document_title()); ?>
20
+ </title>
21
+ <?php endif; ?>
22
+ <?php wp_head(); ?>
23
+ </head>
24
+
25
+ <body <?php body_class(); ?>>
26
+
27
+ <?php
28
+
29
+ do_action( 'wp_body_open' );
30
+
31
+ // Render WPR Header
32
+ Utilities::render_elementor_template($template_slug);
admin/templates/wpr-canvas.php CHANGED
@@ -1,66 +1,66 @@
1
- <?php
2
-
3
- use Elementor\Utils;
4
- use WprAddons\Classes\Utilities;
5
-
6
- if ( ! defined( 'ABSPATH' ) ) {
7
- exit; // Exit if accessed directly.
8
- }
9
-
10
- \Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
11
-
12
- $is_preview_mode = \Elementor\Plugin::$instance->preview->is_preview_mode();
13
- // $woocommerce_class = $is_preview_mode && class_exists( 'WooCommerce' ) ? 'woocommerce woocommerce-page woocommerce-shop canvas-test' : '';
14
- $woocommerce_class = $is_preview_mode && class_exists( 'WooCommerce' ) ? 'woocommerce woocommerce-page' : '';
15
-
16
- ?>
17
- <!DOCTYPE html>
18
- <html <?php language_attributes(); ?>>
19
- <head>
20
- <meta charset="<?php bloginfo( 'charset' ); ?>">
21
- <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
22
- <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
23
- <?php endif; ?>
24
- <?php wp_head(); ?>
25
- <?php
26
-
27
- // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
28
- Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
29
- ?>
30
- </head>
31
-
32
- <body <?php body_class($woocommerce_class); ?>>
33
- <?php
34
- Elementor\Modules\PageTemplates\Module::body_open();
35
- /**
36
- * Before canvas page template content.
37
- *
38
- * Fires before the content of Elementor canvas page template.
39
- *
40
- * @since 1.0.0
41
- */
42
- do_action( 'elementor/page_templates/canvas/before_content' );
43
-
44
- // Elementor Editor
45
- if ( \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ) {
46
- \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
47
-
48
- // Frontend
49
- } else {
50
- // Display Custom Elementor Templates
51
- do_action( 'elementor/page_templates/canvas/wpr_print_content' );
52
- }
53
-
54
- /**
55
- * After canvas page template content.
56
- *
57
- * Fires after the content of Elementor canvas page template.
58
- *
59
- * @since 1.0.0
60
- */
61
- do_action( 'elementor/page_templates/canvas/after_content' );
62
-
63
- wp_footer();
64
- ?>
65
- </body>
66
- </html>
1
+ <?php
2
+
3
+ use Elementor\Utils;
4
+ use WprAddons\Classes\Utilities;
5
+
6
+ if ( ! defined( 'ABSPATH' ) ) {
7
+ exit; // Exit if accessed directly.
8
+ }
9
+
10
+ \Elementor\Plugin::$instance->frontend->add_body_class( 'elementor-template-canvas' );
11
+
12
+ $is_preview_mode = \Elementor\Plugin::$instance->preview->is_preview_mode();
13
+ // $woocommerce_class = $is_preview_mode && class_exists( 'WooCommerce' ) ? 'woocommerce woocommerce-page woocommerce-shop canvas-test' : '';
14
+ $woocommerce_class = $is_preview_mode && class_exists( 'WooCommerce' ) ? 'woocommerce woocommerce-page' : '';
15
+
16
+ ?>
17
+ <!DOCTYPE html>
18
+ <html <?php language_attributes(); ?>>
19
+ <head>
20
+ <meta charset="<?php bloginfo( 'charset' ); ?>">
21
+ <?php if ( ! current_theme_supports( 'title-tag' ) ) : ?>
22
+ <title><?php echo wp_get_document_title(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></title>
23
+ <?php endif; ?>
24
+ <?php wp_head(); ?>
25
+ <?php
26
+
27
+ // Keep the following line after `wp_head()` call, to ensure it's not overridden by another templates.
28
+ Utils::print_unescaped_internal_string( Utils::get_meta_viewport( 'canvas' ) );
29
+ ?>
30
+ </head>
31
+
32
+ <body <?php body_class($woocommerce_class); ?>>
33
+ <?php
34
+ Elementor\Modules\PageTemplates\Module::body_open();
35
+ /**
36
+ * Before canvas page template content.
37
+ *
38
+ * Fires before the content of Elementor canvas page template.
39
+ *
40
+ * @since 1.0.0
41
+ */
42
+ do_action( 'elementor/page_templates/canvas/before_content' );
43
+
44
+ // Elementor Editor
45
+ if ( \Elementor\Plugin::$instance->preview->is_preview_mode() && Utilities::is_theme_builder_template() ) {
46
+ \Elementor\Plugin::$instance->modules_manager->get_modules( 'page-templates' )->print_content();
47
+
48
+ // Frontend
49
+ } else {
50
+ // Display Custom Elementor Templates
51
+ do_action( 'elementor/page_templates/canvas/wpr_print_content' );
52
+ }
53
+
54
+ /**
55
+ * After canvas page template content.
56
+ *
57
+ * Fires after the content of Elementor canvas page template.
58
+ *
59
+ * @since 1.0.0
60
+ */
61
+ do_action( 'elementor/page_templates/canvas/after_content' );
62
+
63
+ wp_footer();
64
+ ?>
65
+ </body>
66
+ </html>
admin/templates/wpr-templates-data.php CHANGED
@@ -176,6 +176,19 @@ class WPR_Templates_Data {
176
  'priority' => 60,
177
  ],
178
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  'digital-marketing-agency' => [
180
  'v1' => [
181
  'name' => 'Digital Marketing Agency',
176
  'priority' => 60,
177
  ],
178
  ],
179
+ 'travel-agency' => [
180
+ 'v1' => [
181
+ 'name' => 'Travel agency',
182
+ 'pages' => 'home,tours,gallery,services,reviews,about,contact,',
183
+ 'plugins' => '{"contact-form-7":'. $is_cf7_active .'}',
184
+ '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 travel agency company office travel services',
185
+ 'theme-builder' => true,
186
+ 'woo-builder' => false,
187
+ 'off-canvas' => false,
188
+ 'price' => $is_pro_active ? 'free' : 'free',
189
+ 'priority' => 61,
190
+ ],
191
+ ],
192
  'digital-marketing-agency' => [
193
  'v1' => [
194
  'name' => 'Digital Marketing Agency',
admin/templates/wpr-templates-library-blocks.php CHANGED
@@ -64,7 +64,8 @@ class WPR_Templates_Library_Blocks {
64
  'elementor-template',
65
  'flip-carousel',
66
  'feature-list',
67
- 'dual-color-heading'
 
68
  ];
69
 
70
  foreach ($modules as $title => $slug) {
64
  'elementor-template',
65
  'flip-carousel',
66
  'feature-list',
67
+ 'dual-color-heading',
68
+ 'data-table',
69
  ];
70
 
71
  foreach ($modules as $title => $slug) {
admin/theme-builder.php CHANGED
@@ -36,10 +36,14 @@ function wpr_addons_theme_builder_page() {
36
  ?>
37
  </div>
38
 
39
- <a href="https://www.youtube.com/watch?v=cwkhwO_rPuo" class="wpr-options-button button" target="_blank" style="padding: 8px 22px;">
40
  <?php echo esc_html__( 'How to use Theme Builder', 'wpr-addons' ); ?>
41
  <span class="dashicons dashicons-video-alt3"></span>
42
  </a>
 
 
 
 
43
  </div>
44
  </div>
45
 
36
  ?>
37
  </div>
38
 
39
+ <a href="https://www.youtube.com/watch?v=cwkhwO_rPuo" class="wpr-how-to-use-theme-builder wpr-options-button button" target="_blank" style="padding: 8px 22px;">
40
  <?php echo esc_html__( 'How to use Theme Builder', 'wpr-addons' ); ?>
41
  <span class="dashicons dashicons-video-alt3"></span>
42
  </a>
43
+ <a href="https://www.youtube.com/watch?v=o6DUra6Arvk" class="wpr-how-to-use-woo-builder wpr-options-button button" target="_blank" style="padding: 8px 22px;">
44
+ <?php echo esc_html__( 'How to use WooCommerce Builder', 'wpr-addons' ); ?>
45
+ <span class="dashicons dashicons-video-alt3"></span>
46
+ </a>
47
  </div>
48
  </div>
49
 
assets/css/admin/plugin-options.css CHANGED
@@ -1,1065 +1,1080 @@
1
- #wpwrap {
2
- background: #fff;
3
- }
4
-
5
- #wpcontent {
6
- padding: 0;
7
- }
8
-
9
- .wpr-settings-page-wrap {
10
- margin: 0;
11
- }
12
-
13
- .wpr-settings-page-header {
14
- display: -webkit-box;
15
- display: -ms-flexbox;
16
- display: flex;
17
- -webkit-box-orient: vertical;
18
- -webkit-box-direction: normal;
19
- -ms-flex-direction: column;
20
- flex-direction: column;
21
- padding: 10px 30px 130px;
22
- background: #f6f6f6
23
- }
24
-
25
- .wpr-settings-page-header h1,
26
- .wpr-settings-page-header p,
27
- .wpr-settings-page-header .wpr-preview-buttons,
28
- .wpr-settings-page-header .wpr-user-template {
29
- -webkit-box-ordinal-group: 3;
30
- -ms-flex-order: 2;
31
- order: 2;
32
- }
33
-
34
- .wpr-settings-page-header .wpr-options-button {
35
- -ms-flex-item-align: start;
36
- align-self: flex-start;
37
- }
38
-
39
- .button.wpr-options-button .dashicons {
40
- line-height: 30px;
41
- font-size: 16px;
42
- }
43
-
44
- .wpr-preview-buttons a:last-child {
45
- background-color: transparent;
46
- border: 2px solid #6A4BFF !important;
47
- color: #6A4BFF;
48
- padding: 5px 22px;
49
- }
50
-
51
- .wpr-settings-page-header h1 {
52
- font-size: 42px;
53
- }
54
-
55
- .wpr-settings-page-header p {
56
- margin-top: 5px;
57
- color: #5a5a5a;
58
- font-size: 16px;
59
- margin-bottom: 30px;
60
- }
61
-
62
- .wpr-user-template {
63
- position: relative;
64
- -webkit-box-sizing: border-box;
65
- box-sizing: border-box;
66
- overflow: hidden;
67
- display: inline-block;
68
- width: 220px;
69
- height: 50px;
70
- line-height: 50px;
71
- padding: 0 20px;
72
- color: #fff;
73
- background: #6A4BFF;
74
- font-size: 15px;
75
- -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
76
- box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
77
- border-radius: 5px;
78
- cursor: pointer;
79
- }
80
-
81
- .wpr-user-template .plus-icon {
82
- float: right;
83
- display: block;
84
- width: 30px;
85
- height: 30px;
86
- line-height: 28px;
87
- margin-top: 10px;
88
- border-radius: 50%;
89
- color: #333;
90
- background-color: #fff;
91
- font-size: 18px;
92
- text-align: center;
93
- }
94
-
95
- .wpr-user-template > div {
96
- position: absolute;
97
- top: 0;
98
- left: 0;
99
- width: 100%;
100
- height: 100%;
101
- background: rgba(0,0,0,0.5);
102
- }
103
-
104
- .wpr-settings-page {
105
- padding: 0 30px;
106
- }
107
-
108
- .wpr-nav-tab-wrapper {
109
- padding-top: 0;
110
- border-bottom: 0;
111
- -webkit-transform: translateY(-100%);
112
- -ms-transform: translateY(-100%);
113
- transform: translateY(-100%);
114
- }
115
-
116
- .wpr-nav-tab-wrapper a {
117
- border: 0 !important;
118
- padding: 13px 35px;
119
- background-color: transparent;
120
- font-size: 16px;
121
- margin-left: 0;
122
- margin-right: 15px;
123
- border-radius: 3px 4px 0 0;
124
- color: #333;
125
- }
126
-
127
- .wpr-nav-tab-wrapper a:hover {
128
- color: #6A4BFF;
129
- background: #fff;
130
- }
131
-
132
- .wpr-nav-tab-wrapper .nav-tab-active {
133
- color: #6A4BFF;
134
- background: #fff;
135
- -webkit-box-shadow: 3px -2px 5px rgba(0,0,0,0.03);
136
- box-shadow: 3px -2px 5px rgba(0,0,0,0.03);
137
- }
138
-
139
- .wpr-nav-tab-wrapper a:focus {
140
- -webkit-box-shadow: none;
141
- box-shadow: none;
142
- }
143
-
144
- .button.wpr-options-button {
145
- padding: 7px 22px;
146
- border: 0;
147
- color: #fff;
148
- background: #6A4BFF;
149
- -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
150
- box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
151
- font-size: 14px;
152
- }
153
-
154
- .button.wpr-options-button:hover,
155
- .button.wpr-options-button:focus {
156
- color: #fff;
157
- background: #6A4BFF;
158
- border: none;
159
- }
160
-
161
- @media screen and (max-width: 1355px) {
162
- .wpr-nav-tab-wrapper a {
163
- padding: 13px 25px;
164
- font-size: 14px;
165
- }
166
- }
167
-
168
-
169
- /*--------------------------------------------------------------
170
- == Elements
171
- --------------------------------------------------------------*/
172
- .wpr-elements-toggle {
173
- overflow: hidden;
174
- text-align: center;
175
- }
176
-
177
- .wpr-elements-toggle > div {
178
- display: inline-block;
179
- }
180
-
181
- .wpr-elements-toggle h3 {
182
- float: left;
183
- font-size: 18px;
184
- margin: 0 20px 0 0;
185
- }
186
-
187
- .wpr-elements-toggle p {
188
- margin: 10px 0 60px 0;
189
- }
190
-
191
- .wpr-elements-heading {
192
- text-align: center;
193
- margin-bottom: 30px;
194
- }
195
-
196
- .wpr-elements-heading h3 {
197
- font-size: 18px;
198
- text-align: center;
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;
215
- display: flex;
216
- -ms-flex-wrap: wrap;
217
- flex-wrap: wrap;
218
- width: 100%;
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;
230
- position: relative;
231
- width: 24%;
232
- padding: 22px 30px;
233
- margin-right: 1%;
234
- margin-bottom: 20px;
235
- -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.05);
236
- box-shadow: 0 0 15px rgba(0,0,0,0.05);
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
- margin-top: 10px;
248
- }
249
-
250
- .wpr-woo-template-info .wpr-woo-template-title {
251
- display: inline-flex;
252
- flex-direction: column;
253
- }
254
-
255
- .wpr-woo-template-title p {
256
- margin: 0;
257
- font-size: 12px;
258
- }
259
-
260
- .wpr-woo-template-info h3,
261
- .wpr-element-info h3 {
262
- float: left;
263
- margin: 0;
264
- color: #3a3a3a;
265
- font-size: 16px;
266
- }
267
-
268
- .wpr-woo-template-info label {
269
- min-width: 45px;
270
- }
271
-
272
- .wpr-woo-template-info label,
273
- .wpr-element-info label,
274
- .wpr-elements-toggle label {
275
- float: right;
276
- }
277
-
278
- .wpr-woo-template-info span,
279
- .wpr-element-info span {
280
- display: block;
281
- margin-top: 3px;
282
- color: #999;
283
- font-style: normal;
284
- font-size: 12px;
285
- }
286
-
287
- .wpr-woo-template-info a,
288
- .wpr-element-info a {
289
- display: block;
290
- clear: both;
291
- font-size: 12px;
292
- -webkit-box-shadow: none !important;
293
- box-shadow: none !important;
294
- }
295
-
296
- .wpr-woo-template-info input,
297
- .wpr-element-info input,
298
- .wpr-elements-toggle input,
299
- .wpr-setting-custom-ckbox input {
300
- position: absolute;
301
- z-index: -1000;
302
- left: -1000px;
303
- overflow: hidden;
304
- clip: rect(0 0 0 0);
305
- height: 1px;
306
- width: 1px;
307
- margin: -1px;
308
- padding: 0;
309
- border: 0;
310
- }
311
-
312
- .wpr-woo-template-info label,
313
- .wpr-element-info label,
314
- .wpr-elements-toggle label,
315
- .wpr-setting-custom-ckbox label {
316
- position: relative;
317
- display: block;
318
- width: 45px;
319
- height: 23px;
320
- border-radius: 20px;
321
- background: #e8e8e8;
322
- cursor: pointer;
323
- -webkit-touch-callout: none;
324
- -webkit-user-select: none;
325
- -moz-user-select: none;
326
- -ms-user-select: none;
327
- user-select: none;
328
- -webkit-transition: all 0.2s ease-in;
329
- -o-transition: all 0.2s ease-in;
330
- transition: all 0.2s ease-in;
331
- }
332
-
333
- .wpr-woo-template-info input + label:after,
334
- .wpr-element-info input + label:after,
335
- .wpr-elements-toggle input + label:after,
336
- .wpr-setting-custom-ckbox input + label:after {
337
- content: ' ';
338
- display: block;
339
- position: absolute;
340
- top: 3px;
341
- left: 3px;
342
- width: 17px;
343
- height: 17px;
344
- border-radius: 50%;
345
- background: #fff;
346
- -webkit-transition: all 0.2s ease-in;
347
- -o-transition: all 0.2s ease-in;
348
- transition: all 0.2s ease-in;
349
- }
350
-
351
- .wpr-woo-template-info input:checked + label,
352
- .wpr-element-info input:checked + label,
353
- .wpr-elements-toggle input:checked + label,
354
- .wpr-setting-custom-ckbox input:checked + label {
355
- background: #6A4BFF;
356
- }
357
-
358
- .wpr-woo-template-info input:checked + label:after,
359
- .wpr-element-info input:checked + label:after,
360
- .wpr-elements-toggle input:checked + label:after,
361
- .wpr-setting-custom-ckbox input:checked + label:after {
362
- left: 24px;
363
- }
364
-
365
- .wpr-new-element:before {
366
- content: 'NEW';
367
- position: absolute;
368
- top: -10px;
369
- left: 28px;
370
- padding: 1px 7px;
371
- color: #fff;
372
- background-color: #f44;
373
- border-radius: 3px;
374
- font-size: 10px;
375
- font-weight: bold;
376
- letter-spacing: 1px;
377
- }
378
-
379
- .wpr-pro-element:before {
380
- content: 'PRO';
381
- position: absolute;
382
- top: -10px;
383
- left: 28px;
384
- z-index: 10;
385
- padding: 1px 7px;
386
- color: #fff;
387
- background-color: #f44;
388
- border-radius: 3px;
389
- font-size: 10px;
390
- font-weight: bold;
391
- letter-spacing: 1px;
392
- }
393
-
394
- .wpr-pro-element > a {
395
- display: block;
396
- position: absolute;
397
- top: 0;
398
- left: 0;
399
- z-index: 1;
400
- width: 100%;
401
- height: 100%;
402
- background: rgba(0,0,0,0.1);
403
- }
404
-
405
- /*--------------------------------------------------------------
406
- == My Templates
407
- --------------------------------------------------------------*/
408
- .wpr-my-templates-list {
409
- width: 65%;
410
- }
411
-
412
- @media screen and (max-width: 1400px) {
413
- .wpr-my-templates-list {
414
- width: 100%;
415
- }
416
- }
417
-
418
- .wpr-activate-woo-notice,
419
- .wpr-my-templates-list li {
420
- overflow: hidden;
421
- padding: 20px 35px;
422
- margin-bottom: 15px;
423
- -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2);
424
- box-shadow: 0 0 2px rgba(0,0,0,0.2);
425
- }
426
-
427
- .wpr-my-templates-list li h3 {
428
- float: left;
429
- margin: 0;
430
- color: #555;
431
- font-size: 16px;
432
- line-height: 34px;
433
- text-transform: capitalize;
434
- }
435
-
436
- .wpr-my-templates-list .wpr-action-buttons {
437
- float: right;
438
- }
439
-
440
- .wpr-my-templates-list .wpr-template-conditions {
441
- background: #b3b3b3;
442
- }
443
-
444
- .wpr-active-conditions-template .wpr-template-conditions {
445
- background: #7a5ffd;
446
- }
447
-
448
- .wpr-my-templates-list .wpr-template-conditions:hover,
449
- .wpr-active-conditions-template .wpr-template-conditions:hover {
450
- background: #6A4BFF;
451
- }
452
-
453
- .wpr-my-templates-list .wpr-edit-template {
454
- background: #646464;
455
- }
456
-
457
- .wpr-my-templates-list .wpr-edit-template:hover {
458
- background: #535353;
459
- }
460
-
461
- .wpr-edit-template:focus {
462
- -webkit-box-shadow: none !important;
463
- box-shadow: none !important;
464
- }
465
-
466
- .wpr-my-templates-list .wpr-delete-template {
467
- background: #ff5a4b;
468
- }
469
-
470
- .wpr-my-templates-list .wpr-delete-template:hover {
471
- background: #FF4635;
472
- }
473
-
474
- .wpr-my-templates-list .wpr-action-buttons > * {
475
- display: inline-block;
476
- padding: 3px 20px;
477
- margin-right: 10px;
478
- border: 0;
479
- letter-spacing: 0.5px;
480
- }
481
-
482
- .wpr-my-templates-list .wpr-action-buttons > *:last-child {
483
- margin-right: 0;
484
- }
485
-
486
- .wpr-my-templates-list .wpr-action-buttons .dashicons {
487
- font-size: 16px;
488
- line-height: 30px;
489
- }
490
-
491
- .wpr-active-conditions-template {
492
- border-left: 5px solid #6A4BFF;
493
- background: #F6F7F7;
494
- }
495
-
496
- .wpr-my-templates-list .wpr-no-templates {
497
- background: #fff !important;
498
- }
499
-
500
-
501
- /*--------------------------------------------------------------
502
- == Settings
503
- --------------------------------------------------------------*/
504
- .wpr-settings-group:first-of-type {
505
- margin-top: 50px;
506
- }
507
-
508
- .wpr-settings-group {
509
- position: relative;
510
- width: 35%;
511
- background: #f9f9f9;
512
- padding: 30px;
513
- margin-bottom: 80px;
514
- -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
515
- box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
516
- border-radius: 0 3px 3px 3px;
517
- }
518
-
519
- .wpr-settings-group-inner {
520
- position: relative;
521
- }
522
-
523
- .wpr-settings-group-title {
524
- position: absolute;
525
- top: 0;
526
- left: 0;
527
- -webkit-transform: translateY(-100%);
528
- -ms-transform: translateY(-100%);
529
- transform: translateY(-100%);
530
- padding: 10px 30px;
531
- background: #f9f9f9;
532
- margin: 0;
533
- -webkit-box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
534
- box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
535
- border-radius: 3px 3px 0 0;
536
- color: #6A4BFF;
537
- font-size: 14px;
538
- }
539
-
540
- .wpr-setting {
541
- margin-bottom: 20px;
542
- }
543
-
544
- .wpr-setting h4 {
545
- margin-bottom: 8px;
546
- }
547
-
548
- .wpr-setting input:not(input[type='checkbox']) {
549
- border: 1px solid #e8e8e8;
550
- width: 100%;
551
- padding: 5px 15px;
552
- }
553
-
554
- .wpr-setting input[type='checkbox'] {
555
- margin-right: 8px;
556
- }
557
-
558
- .wpr-settings .submit:first-of-type {
559
- margin-top: 0;
560
- padding-top: 0;
561
- margin-bottom: 70px;
562
- }
563
-
564
- .wp-picker-clear {
565
- width: 100px !important;
566
- }
567
-
568
-
569
- /*--------------------------------------------------------------
570
- == Conditions
571
- --------------------------------------------------------------*/
572
- .wpr-admin-popup-wrap {
573
- display: none;
574
- position: fixed;
575
- top: 0;
576
- left: 0;
577
- z-index: 9999;
578
- background-color: rgba(0, 0, 0, 0.6);
579
- width: 100%;
580
- height: 100%;
581
- }
582
-
583
- .wpr-admin-popup {
584
- display: -webkit-box;
585
- display: -ms-flexbox;
586
- display: flex;
587
- -ms-flex-pack: distribute;
588
- justify-content: space-around;
589
- -webkit-box-align: center;
590
- -ms-flex-align: center;
591
- align-items: center;
592
- -webkit-box-orient: vertical;
593
- -webkit-box-direction: normal;
594
- -ms-flex-direction: column;
595
- flex-direction: column;
596
- position: absolute;
597
- top: 50%;
598
- left: 50%;
599
- -webkit-transform: translate(-50%,-50%);
600
- -ms-transform: translate(-50%,-50%);
601
- transform: translate(-50%,-50%);
602
- width: 80%;
603
- max-width: 850px;
604
- padding: 70px 20px 20px 20px;
605
- background-color: #F1F3F5;
606
- }
607
-
608
-
609
- .wpr-admin-popup .close-popup {
610
- position: absolute;
611
- top: 10px;
612
- right: 15px;
613
- font-size: 26px;
614
- cursor: pointer;
615
- color: #59626a;
616
- }
617
-
618
- .wpr-conditions.wpr-tab-archive .global-condition-select,
619
- .wpr-conditions.wpr-tab-archive .singles-condition-select,
620
- .wpr-conditions.wpr-tab-product_archive .global-condition-select,
621
- .wpr-conditions.wpr-tab-product_archive .singles-condition-select,
622
- .wpr-conditions.wpr-tab-single .global-condition-select,
623
- .wpr-conditions.wpr-tab-single .archives-condition-select,
624
- .wpr-conditions.wpr-tab-product_single .global-condition-select,
625
- .wpr-conditions.wpr-tab-product_single .archives-condition-select {
626
- display: none !important;
627
- }
628
-
629
- .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(1),
630
- .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(2),
631
- .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(3) {
632
- /*display: none;*/
633
- }
634
-
635
- .wpr-conditions.wpr-tab-archive .archives-condition-select,
636
- .wpr-conditions.wpr-tab-product_archive .archives-condition-select,
637
- .wpr-conditions.wpr-tab-single .singles-condition-select,
638
- .wpr-conditions.wpr-tab-product_single .singles-condition-select {
639
- display: block !important;
640
- }
641
-
642
- .wpr-conditions-sample {
643
- display: none !important;
644
- }
645
-
646
- .wpr-conditions {
647
- position: relative;
648
- display: -webkit-box;
649
- display: -ms-flexbox;
650
- display: flex;
651
- -webkit-box-align: center;
652
- -ms-flex-align: center;
653
- align-items: center;
654
- margin-top: 10px;
655
- width: 600px;
656
- border-radius: 3px;
657
- border: 1px solid #e8e8e8;
658
- background: #fff;
659
- }
660
-
661
- .wpr-admin-popup header {
662
- margin-top: 0;
663
- margin-bottom: 20px;
664
- text-align: center;
665
- }
666
-
667
- .wpr-admin-popup header h2 {
668
- margin: 25px auto;
669
- font-size: 26px;
670
- color: #59626a;
671
- }
672
-
673
- .wpr-admin-popup header p {
674
- margin-top: 0;
675
- margin-bottom: 0;
676
- color: #7f8b96;
677
- }
678
-
679
- .wpr-conditions select {
680
- height: 35px;
681
- height: 100%;
682
- padding-top: 5px;
683
- padding-bottom: 5px;
684
- border-radius: 0;
685
- border: none;
686
- -webkit-box-flex: 1;
687
- -ms-flex-positive: 1;
688
- flex-grow: 1;
689
- border-right: 1px solid #e8e8e8 !important;
690
- background-size: 14px 14px;
691
- }
692
-
693
- span.wpr-add-conditions {
694
- margin-top: 30px;
695
- background: #A4AFB7;
696
- color: #fff;
697
- font-weight: 600;
698
- letter-spacing: 1px;
699
- text-transform: uppercase;
700
- padding: 8px 20px;
701
- border-radius: 3px;
702
- cursor: pointer;
703
- }
704
-
705
- span.wpr-add-conditions:hover {
706
- background: #848c92;
707
- }
708
-
709
- input.wpr-condition-input-ids {
710
- display: none;
711
- padding: 5px;
712
- outline: none;
713
- border: none;
714
- border-radius: 0;
715
- }
716
-
717
- input.wpr-condition-input-ids,
718
- .wpr-conditions select {
719
- -ms-flex-negative: 0;
720
- flex-shrink: 0;
721
- -webkit-box-flex: 1;
722
- -ms-flex-positive: 1;
723
- flex-grow: 1;
724
- max-width: none;
725
- border: none;
726
- -webkit-box-shadow: none !important;
727
- box-shadow: none !important;
728
- outline: none;
729
- margin: 0;
730
- text-indent: 5px;
731
- }
732
-
733
- .wpr-canvas-condition {
734
- display: none;
735
- margin-top: 20px;
736
- }
737
-
738
- .wpr-canvas-condition label {
739
- display: inline-block;
740
- }
741
-
742
- .wpr-canvas-condition span {
743
- margin-right: 20px;
744
- }
745
-
746
- #wpr-woo-products-per-page {
747
- width: 40px;
748
- border: 1px solid #e8e8e8;
749
- text-align: center;
750
- -webkit-box-shadow: none !important;
751
- box-shadow: none !important;
752
- margin-left: 10px;
753
- }
754
-
755
- .wpr-delete-template-conditions {
756
- margin-left: auto;
757
- position: absolute;
758
- right: -30px;
759
- color: #C2CBD2;
760
- font-size: 22px;
761
- cursor: pointer;
762
- }
763
-
764
- .wpr-delete-template-conditions:hover {
765
- color: #81868a;
766
- }
767
-
768
- .wpr-save-conditions {
769
- padding: 8px 20px;
770
- color: #fff;
771
- background: #6A4BFF;
772
- margin-left: auto;
773
- border-radius: 3px;
774
- margin-top: 80px;
775
- text-transform: uppercase;
776
- letter-spacing: 0.5px;
777
- font-weight: 600;
778
- cursor: pointer;
779
- }
780
-
781
- .wpr-user-template-popup {
782
- padding-top: 40px;
783
- }
784
-
785
- .wpr-user-template-popup header {
786
- margin-bottom: 27px;
787
- }
788
-
789
- .wpr-user-template-popup .wpr-create-template {
790
- padding: 11px 20px;
791
- margin: 25px auto;
792
- color: #fff;
793
- background: #6A4BFF;
794
- border-radius: 3px;
795
- cursor: pointer;
796
- }
797
-
798
- .wpr-user-template-popup p {
799
- max-width: 70%;
800
- margin: auto;
801
- }
802
-
803
- input.wpr-user-template-title {
804
- width: 350px;
805
- border: 1px solid #d1d1d1;
806
- padding: 5px 10px;
807
- border-radius: 3px;
808
- }
809
-
810
- input.wpr-user-template-title::-webkit-input-placeholder,
811
- input.wpr-condition-input-ids::-webkit-input-placeholder {
812
- color: #9a9a9a;
813
- }
814
-
815
- input.wpr-user-template-title::-moz-placeholder,
816
- input.wpr-condition-input-ids::-moz-placeholder {
817
- color: #9a9a9a;
818
- }
819
-
820
- input.wpr-user-template-title:-ms-input-placeholder,
821
- input.wpr-condition-input-ids:-ms-input-placeholder {
822
- color: #9a9a9a;
823
- }
824
-
825
- input.wpr-user-template-title::-ms-input-placeholder,
826
- input.wpr-condition-input-ids::-ms-input-placeholder {
827
- color: #9a9a9a;
828
- }
829
-
830
- input.wpr-user-template-title::-webkit-input-placeholder, input.wpr-condition-input-ids::-webkit-input-placeholder {
831
- color: #9a9a9a;
832
- }
833
-
834
- input.wpr-user-template-title::-moz-placeholder, input.wpr-condition-input-ids::-moz-placeholder {
835
- color: #9a9a9a;
836
- }
837
-
838
- input.wpr-user-template-title:-ms-input-placeholder, input.wpr-condition-input-ids:-ms-input-placeholder {
839
- color: #9a9a9a;
840
- }
841
-
842
- input.wpr-user-template-title::-ms-input-placeholder, input.wpr-condition-input-ids::-ms-input-placeholder {
843
- color: #9a9a9a;
844
- }
845
-
846
- input.wpr-user-template-title::placeholder,
847
- input.wpr-condition-input-ids::placeholder {
848
- color: #9a9a9a;
849
- }
850
-
851
- input.wpr-user-template-title:focus {
852
- border-color: #6A4BFF;
853
- -webkit-box-shadow: none;
854
- box-shadow: none;
855
- }
856
-
857
- /*--------------------------------------------------------------
858
- == White Label
859
- --------------------------------------------------------------*/
860
- .wpr-wl-tab-content {
861
- display: -webkit-box;
862
- display: -ms-flexbox;
863
- display: flex;
864
- -webkit-box-align: start;
865
- -ms-flex-align: start;
866
- align-items: flex-start;
867
- }
868
-
869
- .wpr-wl-tab-content .wpr-settings-group:last-of-type {
870
- margin-top: 50px;
871
- margin-left: 50px;
872
- }
873
-
874
- .wpr-setting-custom-img-upload div button {
875
- display: -webkit-box;
876
- display: -ms-flexbox;
877
- display: flex;
878
- -webkit-box-align: center;
879
- -ms-flex-align: center;
880
- align-items: center;
881
- margin-top: 10px;
882
- padding: 10px 20px;
883
- background: #ffffff;
884
- border: 1px solid #e8e8e8;
885
- border-radius: 3px;
886
- font-weight: bold;
887
- cursor: pointer;
888
- }
889
-
890
- .wpr-setting-custom-img-upload div button span {
891
- margin-left: 5px;
892
- }
893
-
894
- .wpr-setting-custom-img-upload div button img {
895
- width: 50px;
896
- }
897
-
898
- .wpr-setting-custom-ckbox h4 {
899
- display: -webkit-box;
900
- display: -ms-flexbox;
901
- display: flex;
902
- -webkit-box-orient: horizontal;
903
- -webkit-box-direction: normal;
904
- -ms-flex-direction: row;
905
- flex-direction: row;
906
- -webkit-box-pack: justify;
907
- -ms-flex-pack: justify;
908
- justify-content: space-between;
909
- }
910
-
911
- .wpr-setting-custom-ckbox label {
912
- background: #dddbdb;
913
- }
914
-
915
- .wpr-setting-custom-ckbox p {
916
- color: #a09f9f;
917
- }
918
-
919
- /*--------------------------------------------------------------
920
- == Freemius
921
- --------------------------------------------------------------*/
922
- #fs_connect {
923
- margin: 40px !important;
924
- width: 615px !important;
925
- border-top: 3px solid #2271B1 !important;
926
- }
927
-
928
- #fs_connect .fs-content {
929
- padding: 25px 20px 35px 20px !important;
930
- }
931
-
932
- #fs_connect .fs-visual {
933
- background: transparent !important;
934
- }
935
-
936
- #fs_connect .fs-visual .fs-site-icon,
937
- #fs_connect .fs-visual .fs-plugin-icon,
938
- #fs_connect .fs-visual .fs-connect-logo {
939
- top: 20px !important;
940
- }
941
-
942
- #fs_connect .fs-visual .fs-plugin-icon,
943
- #fs_connect .fs-visual .fs-connect-logo,
944
- #fs_connect .fs-visual .fs-site-icon {
945
- border: none !important;
946
- }
947
-
948
- #fs_connect .fs-visual .fs-site-icon i,
949
- #fs_connect .fs-visual img{
950
- overflow: hidden !important;
951
- border-radius: 100px !important;
952
- }
953
-
954
- #fs_connect .fs-actions {
955
- border-top: 1px solid #F2F2F2 !important;
956
- background: #F2F2F2 !important;
957
- }
958
-
959
- #fs_connect .fs-actions .button {
960
- font-size: 14px !important;
961
- }
962
-
963
- #fs_connect .fs-actions .button.button-secondary {
964
- padding: 0 25px !important;
965
- }
966
-
967
- #fs_connect .fs-permissions {
968
- margin-top: 20px !important;
969
- }
970
-
971
- #fs_connect .fs-permissions>.fs-trigger {
972
- -webkit-box-shadow: none !important;
973
- box-shadow: none !important;
974
- }
975
-
976
- #fs_connect .fs-permissions.fs-open ul {
977
- margin: 30px 20px !important;
978
- }
979
-
980
- #fs_connect .fs-permissions ul li {
981
- margin-bottom: 20px !important;
982
- }
983
-
984
- #fs_connect .fs-permissions ul li .fs-permission-description span {
985
- font-size: 12px !important;
986
- text-transform: capitalize !important;
987
- }
988
-
989
- #fs_connect .fs-permissions ul li .fs-permission-description p {
990
- font-size: 11px !important;
991
- margin-top: 0 !important;
992
- }
993
-
994
- #fs_connect .fs-license-key-container {
995
- width: 100% !important;
996
- margin-top: 20px;
997
- }
998
-
999
- #pframe,
1000
- #fs_connect.require-license-key .fs-permissions,
1001
- #fs_connect.require-license-key .fs-terms,
1002
- #fs_connect .fs-freemium-licensing,
1003
- #license_issues_link {
1004
- display: none !important;
1005
- }
1006
-
1007
- /*--------------------------------------------------------------
1008
- == Settings: Pro Options
1009
- --------------------------------------------------------------*/
1010
- .wpr-settings-pro-overlay {
1011
- display: -webkit-box;
1012
- display: -ms-flexbox;
1013
- display: flex;
1014
- -webkit-box-orient: vertical;
1015
- -webkit-box-direction: normal;
1016
- -ms-flex-direction: column;
1017
- flex-direction: column;
1018
- -webkit-box-align: center;
1019
- -ms-flex-align: center;
1020
- align-items: center;
1021
- -webkit-box-pack: center;
1022
- -ms-flex-pack: center;
1023
- justify-content: center;
1024
- position: absolute;
1025
- top: 0;
1026
- left: 0;
1027
- width: 100%;
1028
- height: 100%;
1029
- background: rgba(0,0,0,0.4);
1030
- color: #f9f9f9;
1031
- font-size: 16px;
1032
- text-decoration: none;
1033
- text-transform: uppercase;
1034
- font-weight: bold;
1035
-
1036
- text-shadow: 1px 1px 1px #000;
1037
- -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,0.3);
1038
- box-shadow: 1px 1px 15px rgba(0,0,0,0.3);
1039
- }
1040
-
1041
- .wpr-settings-pro-overlay:hover,
1042
- .wpr-settings-pro-overlay:focus{
1043
- color: #f9f9f9;
1044
- }
1045
-
1046
- .wpr-settings-pro-overlay .dashicons {
1047
- font-size: 50px;
1048
- line-height: 50px;
1049
- margin-bottom: 40px;
1050
- -webkit-transform: translateX(-50%);
1051
- -ms-transform: translateX(-50%);
1052
- transform: translateX(-50%);
1053
- }
1054
-
1055
- .wpr-settings-pro-overlay .dashicons:nth-child(2) {
1056
- display: none;
1057
- }
1058
-
1059
- .wpr-settings-pro-overlay:hover .dashicons:nth-child(2) {
1060
- display: block;
1061
- }
1062
-
1063
- .wpr-settings-pro-overlay:hover .dashicons:nth-child(1) {
1064
- display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  }
1
+ #wpwrap {
2
+ background: #fff;
3
+ }
4
+
5
+ #wpcontent {
6
+ padding: 0;
7
+ }
8
+
9
+ .wpr-settings-page-wrap {
10
+ margin: 0;
11
+ }
12
+
13
+ .wpr-settings-page-header {
14
+ display: -webkit-box;
15
+ display: -ms-flexbox;
16
+ display: flex;
17
+ -webkit-box-orient: vertical;
18
+ -webkit-box-direction: normal;
19
+ -ms-flex-direction: column;
20
+ flex-direction: column;
21
+ padding: 10px 30px 130px;
22
+ background: #f6f6f6
23
+ }
24
+
25
+ .wpr-settings-page-header h1,
26
+ .wpr-settings-page-header p,
27
+ .wpr-settings-page-header .wpr-preview-buttons,
28
+ .wpr-settings-page-header .wpr-user-template {
29
+ -webkit-box-ordinal-group: 3;
30
+ -ms-flex-order: 2;
31
+ order: 2;
32
+ }
33
+
34
+ .wpr-settings-page-header .wpr-options-button {
35
+ -ms-flex-item-align: start;
36
+ align-self: flex-start;
37
+ }
38
+
39
+ .button.wpr-options-button .dashicons {
40
+ line-height: 30px;
41
+ font-size: 16px;
42
+ }
43
+
44
+ .wpr-preview-buttons a:last-child,
45
+ .wpr-preview-buttons a.wpr-how-to-use-theme-builder {
46
+ background-color: transparent;
47
+ border: 2px solid #6A4BFF !important;
48
+ color: #6A4BFF;
49
+ padding: 5px 22px;
50
+ }
51
+
52
+ .wpr-preview-buttons a.wpr-how-to-use-woo-builder {
53
+ background-color: transparent !important;
54
+ border: 2px solid #96588a !important;
55
+ color: #96588a !important;
56
+ padding: 5px 22px;
57
+ }
58
+
59
+ .wpr-preview-buttons a.wpr-how-to-use-woo-builder:hover,
60
+ .wpr-preview-buttons a.wpr-how-to-use-woo-builder:focus {
61
+ color: #fff !important;
62
+ background: #96588a !important;
63
+ padding: 8px 22px !important;
64
+ }
65
+
66
+ .wpr-settings-page-header h1 {
67
+ font-size: 42px;
68
+ }
69
+
70
+ .wpr-settings-page-header p {
71
+ margin-top: 5px;
72
+ color: #5a5a5a;
73
+ font-size: 16px;
74
+ margin-bottom: 30px;
75
+ }
76
+
77
+ .wpr-user-template {
78
+ position: relative;
79
+ -webkit-box-sizing: border-box;
80
+ box-sizing: border-box;
81
+ overflow: hidden;
82
+ display: inline-block;
83
+ width: 220px;
84
+ height: 50px;
85
+ line-height: 50px;
86
+ padding: 0 20px;
87
+ color: #fff;
88
+ background: #6A4BFF;
89
+ font-size: 15px;
90
+ -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
91
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
92
+ border-radius: 5px;
93
+ cursor: pointer;
94
+ }
95
+
96
+ .wpr-user-template .plus-icon {
97
+ float: right;
98
+ display: block;
99
+ width: 30px;
100
+ height: 30px;
101
+ line-height: 28px;
102
+ margin-top: 10px;
103
+ border-radius: 50%;
104
+ color: #333;
105
+ background-color: #fff;
106
+ font-size: 18px;
107
+ text-align: center;
108
+ }
109
+
110
+ .wpr-user-template > div {
111
+ position: absolute;
112
+ top: 0;
113
+ left: 0;
114
+ width: 100%;
115
+ height: 100%;
116
+ background: rgba(0,0,0,0.5);
117
+ }
118
+
119
+ .wpr-settings-page {
120
+ padding: 0 30px;
121
+ }
122
+
123
+ .wpr-nav-tab-wrapper {
124
+ padding-top: 0;
125
+ border-bottom: 0;
126
+ -webkit-transform: translateY(-100%);
127
+ -ms-transform: translateY(-100%);
128
+ transform: translateY(-100%);
129
+ }
130
+
131
+ .wpr-nav-tab-wrapper a {
132
+ border: 0 !important;
133
+ padding: 13px 35px;
134
+ background-color: transparent;
135
+ font-size: 16px;
136
+ margin-left: 0;
137
+ margin-right: 15px;
138
+ border-radius: 3px 4px 0 0;
139
+ color: #333;
140
+ }
141
+
142
+ .wpr-nav-tab-wrapper a:hover {
143
+ color: #6A4BFF;
144
+ background: #fff;
145
+ }
146
+
147
+ .wpr-nav-tab-wrapper .nav-tab-active {
148
+ color: #6A4BFF;
149
+ background: #fff;
150
+ -webkit-box-shadow: 3px -2px 5px rgba(0,0,0,0.03);
151
+ box-shadow: 3px -2px 5px rgba(0,0,0,0.03);
152
+ }
153
+
154
+ .wpr-nav-tab-wrapper a:focus {
155
+ -webkit-box-shadow: none;
156
+ box-shadow: none;
157
+ }
158
+
159
+ .button.wpr-options-button {
160
+ padding: 7px 22px;
161
+ border: 0;
162
+ color: #fff;
163
+ background: #6A4BFF;
164
+ -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
165
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
166
+ font-size: 14px;
167
+ }
168
+
169
+ .button.wpr-options-button:hover,
170
+ .button.wpr-options-button:focus {
171
+ color: #fff;
172
+ background: #6A4BFF;
173
+ border: none;
174
+ }
175
+
176
+ @media screen and (max-width: 1355px) {
177
+ .wpr-nav-tab-wrapper a {
178
+ padding: 13px 25px;
179
+ font-size: 14px;
180
+ }
181
+ }
182
+
183
+
184
+ /*--------------------------------------------------------------
185
+ == Elements
186
+ --------------------------------------------------------------*/
187
+ .wpr-elements-toggle {
188
+ overflow: hidden;
189
+ text-align: center;
190
+ }
191
+
192
+ .wpr-elements-toggle > div {
193
+ display: inline-block;
194
+ }
195
+
196
+ .wpr-elements-toggle h3 {
197
+ float: left;
198
+ font-size: 18px;
199
+ margin: 0 20px 0 0;
200
+ }
201
+
202
+ .wpr-elements-toggle p {
203
+ margin: 10px 0 60px 0;
204
+ }
205
+
206
+ .wpr-elements-heading {
207
+ text-align: center;
208
+ margin-bottom: 30px;
209
+ }
210
+
211
+ .wpr-elements-heading h3 {
212
+ font-size: 18px;
213
+ text-align: center;
214
+ margin-bottom: 0;
215
+ }
216
+
217
+ .wpr-elements-heading .wpr-install-activate-woocommerce {
218
+ color: red;
219
+ font-weight: 700;
220
+ }
221
+
222
+ .wpr-install-activate-woocommerce .dashicons {
223
+ font-size: 18px;
224
+ }
225
+
226
+ .wpr-woo-templates,
227
+ .wpr-elements {
228
+ display: -webkit-box;
229
+ display: -ms-flexbox;
230
+ display: flex;
231
+ -ms-flex-wrap: wrap;
232
+ flex-wrap: wrap;
233
+ width: 100%;
234
+ margin-bottom: 50px;
235
+ }
236
+
237
+ .wpr-woo-templates {
238
+ margin-bottom: 0;
239
+ }
240
+
241
+ .wpr-woo-template,
242
+ .wpr-element {
243
+ -webkit-box-sizing: border-box;
244
+ box-sizing: border-box;
245
+ position: relative;
246
+ width: 24%;
247
+ padding: 22px 30px;
248
+ margin-right: 1%;
249
+ margin-bottom: 20px;
250
+ -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.05);
251
+ box-shadow: 0 0 15px rgba(0,0,0,0.05);
252
+ border-radius: 4px;
253
+ }
254
+
255
+ .wpr-woo-template {
256
+ width: 100%;
257
+ }
258
+
259
+ .wpr-woo-template-info {
260
+ display: flex;
261
+ justify-content: space-between;
262
+ margin-top: 10px;
263
+ }
264
+
265
+ .wpr-woo-template-info .wpr-woo-template-title {
266
+ display: inline-flex;
267
+ flex-direction: column;
268
+ }
269
+
270
+ .wpr-woo-template-title p {
271
+ margin: 0;
272
+ font-size: 12px;
273
+ }
274
+
275
+ .wpr-woo-template-info h3,
276
+ .wpr-element-info h3 {
277
+ float: left;
278
+ margin: 0;
279
+ color: #3a3a3a;
280
+ font-size: 16px;
281
+ }
282
+
283
+ .wpr-woo-template-info label {
284
+ min-width: 45px;
285
+ }
286
+
287
+ .wpr-woo-template-info label,
288
+ .wpr-element-info label,
289
+ .wpr-elements-toggle label {
290
+ float: right;
291
+ }
292
+
293
+ .wpr-woo-template-info span,
294
+ .wpr-element-info span {
295
+ display: block;
296
+ margin-top: 3px;
297
+ color: #999;
298
+ font-style: normal;
299
+ font-size: 12px;
300
+ }
301
+
302
+ .wpr-woo-template-info a,
303
+ .wpr-element-info a {
304
+ display: block;
305
+ clear: both;
306
+ font-size: 12px;
307
+ -webkit-box-shadow: none !important;
308
+ box-shadow: none !important;
309
+ }
310
+
311
+ .wpr-woo-template-info input,
312
+ .wpr-element-info input,
313
+ .wpr-elements-toggle input,
314
+ .wpr-setting-custom-ckbox input {
315
+ position: absolute;
316
+ z-index: -1000;
317
+ left: -1000px;
318
+ overflow: hidden;
319
+ clip: rect(0 0 0 0);
320
+ height: 1px;
321
+ width: 1px;
322
+ margin: -1px;
323
+ padding: 0;
324
+ border: 0;
325
+ }
326
+
327
+ .wpr-woo-template-info label,
328
+ .wpr-element-info label,
329
+ .wpr-elements-toggle label,
330
+ .wpr-setting-custom-ckbox label {
331
+ position: relative;
332
+ display: block;
333
+ width: 45px;
334
+ height: 23px;
335
+ border-radius: 20px;
336
+ background: #e8e8e8;
337
+ cursor: pointer;
338
+ -webkit-touch-callout: none;
339
+ -webkit-user-select: none;
340
+ -moz-user-select: none;
341
+ -ms-user-select: none;
342
+ user-select: none;
343
+ -webkit-transition: all 0.2s ease-in;
344
+ -o-transition: all 0.2s ease-in;
345
+ transition: all 0.2s ease-in;
346
+ }
347
+
348
+ .wpr-woo-template-info input + label:after,
349
+ .wpr-element-info input + label:after,
350
+ .wpr-elements-toggle input + label:after,
351
+ .wpr-setting-custom-ckbox input + label:after {
352
+ content: ' ';
353
+ display: block;
354
+ position: absolute;
355
+ top: 3px;
356
+ left: 3px;
357
+ width: 17px;
358
+ height: 17px;
359
+ border-radius: 50%;
360
+ background: #fff;
361
+ -webkit-transition: all 0.2s ease-in;
362
+ -o-transition: all 0.2s ease-in;
363
+ transition: all 0.2s ease-in;
364
+ }
365
+
366
+ .wpr-woo-template-info input:checked + label,
367
+ .wpr-element-info input:checked + label,
368
+ .wpr-elements-toggle input:checked + label,
369
+ .wpr-setting-custom-ckbox input:checked + label {
370
+ background: #6A4BFF;
371
+ }
372
+
373
+ .wpr-woo-template-info input:checked + label:after,
374
+ .wpr-element-info input:checked + label:after,
375
+ .wpr-elements-toggle input:checked + label:after,
376
+ .wpr-setting-custom-ckbox input:checked + label:after {
377
+ left: 24px;
378
+ }
379
+
380
+ .wpr-new-element:before {
381
+ content: 'NEW';
382
+ position: absolute;
383
+ top: -10px;
384
+ left: 28px;
385
+ padding: 1px 7px;
386
+ color: #fff;
387
+ background-color: #f44;
388
+ border-radius: 3px;
389
+ font-size: 10px;
390
+ font-weight: bold;
391
+ letter-spacing: 1px;
392
+ }
393
+
394
+ .wpr-pro-element:before {
395
+ content: 'PRO';
396
+ position: absolute;
397
+ top: -10px;
398
+ left: 28px;
399
+ z-index: 10;
400
+ padding: 1px 7px;
401
+ color: #fff;
402
+ background-color: #f44;
403
+ border-radius: 3px;
404
+ font-size: 10px;
405
+ font-weight: bold;
406
+ letter-spacing: 1px;
407
+ }
408
+
409
+ .wpr-pro-element > a {
410
+ display: block;
411
+ position: absolute;
412
+ top: 0;
413
+ left: 0;
414
+ z-index: 1;
415
+ width: 100%;
416
+ height: 100%;
417
+ background: rgba(0,0,0,0.1);
418
+ }
419
+
420
+ /*--------------------------------------------------------------
421
+ == My Templates
422
+ --------------------------------------------------------------*/
423
+ .wpr-my-templates-list {
424
+ width: 65%;
425
+ }
426
+
427
+ @media screen and (max-width: 1400px) {
428
+ .wpr-my-templates-list {
429
+ width: 100%;
430
+ }
431
+ }
432
+
433
+ .wpr-activate-woo-notice,
434
+ .wpr-my-templates-list li {
435
+ overflow: hidden;
436
+ padding: 20px 35px;
437
+ margin-bottom: 15px;
438
+ -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2);
439
+ box-shadow: 0 0 2px rgba(0,0,0,0.2);
440
+ }
441
+
442
+ .wpr-my-templates-list li h3 {
443
+ float: left;
444
+ margin: 0;
445
+ color: #555;
446
+ font-size: 16px;
447
+ line-height: 34px;
448
+ text-transform: capitalize;
449
+ }
450
+
451
+ .wpr-my-templates-list .wpr-action-buttons {
452
+ float: right;
453
+ }
454
+
455
+ .wpr-my-templates-list .wpr-template-conditions {
456
+ background: #b3b3b3;
457
+ }
458
+
459
+ .wpr-active-conditions-template .wpr-template-conditions {
460
+ background: #7a5ffd;
461
+ }
462
+
463
+ .wpr-my-templates-list .wpr-template-conditions:hover,
464
+ .wpr-active-conditions-template .wpr-template-conditions:hover {
465
+ background: #6A4BFF;
466
+ }
467
+
468
+ .wpr-my-templates-list .wpr-edit-template {
469
+ background: #646464;
470
+ }
471
+
472
+ .wpr-my-templates-list .wpr-edit-template:hover {
473
+ background: #535353;
474
+ }
475
+
476
+ .wpr-edit-template:focus {
477
+ -webkit-box-shadow: none !important;
478
+ box-shadow: none !important;
479
+ }
480
+
481
+ .wpr-my-templates-list .wpr-delete-template {
482
+ background: #ff5a4b;
483
+ }
484
+
485
+ .wpr-my-templates-list .wpr-delete-template:hover {
486
+ background: #FF4635;
487
+ }
488
+
489
+ .wpr-my-templates-list .wpr-action-buttons > * {
490
+ display: inline-block;
491
+ padding: 3px 20px;
492
+ margin-right: 10px;
493
+ border: 0;
494
+ letter-spacing: 0.5px;
495
+ }
496
+
497
+ .wpr-my-templates-list .wpr-action-buttons > *:last-child {
498
+ margin-right: 0;
499
+ }
500
+
501
+ .wpr-my-templates-list .wpr-action-buttons .dashicons {
502
+ font-size: 16px;
503
+ line-height: 30px;
504
+ }
505
+
506
+ .wpr-active-conditions-template {
507
+ border-left: 5px solid #6A4BFF;
508
+ background: #F6F7F7;
509
+ }
510
+
511
+ .wpr-my-templates-list .wpr-no-templates {
512
+ background: #fff !important;
513
+ }
514
+
515
+
516
+ /*--------------------------------------------------------------
517
+ == Settings
518
+ --------------------------------------------------------------*/
519
+ .wpr-settings-group:first-of-type {
520
+ margin-top: 50px;
521
+ }
522
+
523
+ .wpr-settings-group {
524
+ position: relative;
525
+ width: 35%;
526
+ background: #f9f9f9;
527
+ padding: 30px;
528
+ margin-bottom: 80px;
529
+ -webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
530
+ box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
531
+ border-radius: 0 3px 3px 3px;
532
+ }
533
+
534
+ .wpr-settings-group-inner {
535
+ position: relative;
536
+ }
537
+
538
+ .wpr-settings-group-title {
539
+ position: absolute;
540
+ top: 0;
541
+ left: 0;
542
+ -webkit-transform: translateY(-100%);
543
+ -ms-transform: translateY(-100%);
544
+ transform: translateY(-100%);
545
+ padding: 10px 30px;
546
+ background: #f9f9f9;
547
+ margin: 0;
548
+ -webkit-box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
549
+ box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
550
+ border-radius: 3px 3px 0 0;
551
+ color: #6A4BFF;
552
+ font-size: 14px;
553
+ }
554
+
555
+ .wpr-setting {
556
+ margin-bottom: 20px;
557
+ }
558
+
559
+ .wpr-setting h4 {
560
+ margin-bottom: 8px;
561
+ }
562
+
563
+ .wpr-setting input:not(input[type='checkbox']) {
564
+ border: 1px solid #e8e8e8;
565
+ width: 100%;
566
+ padding: 5px 15px;
567
+ }
568
+
569
+ .wpr-setting input[type='checkbox'] {
570
+ margin-right: 8px;
571
+ }
572
+
573
+ .wpr-settings .submit:first-of-type {
574
+ margin-top: 0;
575
+ padding-top: 0;
576
+ margin-bottom: 70px;
577
+ }
578
+
579
+ .wp-picker-clear {
580
+ width: 100px !important;
581
+ }
582
+
583
+
584
+ /*--------------------------------------------------------------
585
+ == Conditions
586
+ --------------------------------------------------------------*/
587
+ .wpr-admin-popup-wrap {
588
+ display: none;
589
+ position: fixed;
590
+ top: 0;
591
+ left: 0;
592
+ z-index: 9999;
593
+ background-color: rgba(0, 0, 0, 0.6);
594
+ width: 100%;
595
+ height: 100%;
596
+ }
597
+
598
+ .wpr-admin-popup {
599
+ display: -webkit-box;
600
+ display: -ms-flexbox;
601
+ display: flex;
602
+ -ms-flex-pack: distribute;
603
+ justify-content: space-around;
604
+ -webkit-box-align: center;
605
+ -ms-flex-align: center;
606
+ align-items: center;
607
+ -webkit-box-orient: vertical;
608
+ -webkit-box-direction: normal;
609
+ -ms-flex-direction: column;
610
+ flex-direction: column;
611
+ position: absolute;
612
+ top: 50%;
613
+ left: 50%;
614
+ -webkit-transform: translate(-50%,-50%);
615
+ -ms-transform: translate(-50%,-50%);
616
+ transform: translate(-50%,-50%);
617
+ width: 80%;
618
+ max-width: 850px;
619
+ padding: 70px 20px 20px 20px;
620
+ background-color: #F1F3F5;
621
+ }
622
+
623
+
624
+ .wpr-admin-popup .close-popup {
625
+ position: absolute;
626
+ top: 10px;
627
+ right: 15px;
628
+ font-size: 26px;
629
+ cursor: pointer;
630
+ color: #59626a;
631
+ }
632
+
633
+ .wpr-conditions.wpr-tab-archive .global-condition-select,
634
+ .wpr-conditions.wpr-tab-archive .singles-condition-select,
635
+ .wpr-conditions.wpr-tab-product_archive .global-condition-select,
636
+ .wpr-conditions.wpr-tab-product_archive .singles-condition-select,
637
+ .wpr-conditions.wpr-tab-single .global-condition-select,
638
+ .wpr-conditions.wpr-tab-single .archives-condition-select,
639
+ .wpr-conditions.wpr-tab-product_single .global-condition-select,
640
+ .wpr-conditions.wpr-tab-product_single .archives-condition-select {
641
+ display: none !important;
642
+ }
643
+
644
+ .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(1),
645
+ .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(2),
646
+ .wpr-conditions-wrap.blog-posts .singles-condition-select option:nth-child(3) {
647
+ /*display: none;*/
648
+ }
649
+
650
+ .wpr-conditions.wpr-tab-archive .archives-condition-select,
651
+ .wpr-conditions.wpr-tab-product_archive .archives-condition-select,
652
+ .wpr-conditions.wpr-tab-single .singles-condition-select,
653
+ .wpr-conditions.wpr-tab-product_single .singles-condition-select {
654
+ display: block !important;
655
+ }
656
+
657
+ .wpr-conditions-sample {
658
+ display: none !important;
659
+ }
660
+
661
+ .wpr-conditions {
662
+ position: relative;
663
+ display: -webkit-box;
664
+ display: -ms-flexbox;
665
+ display: flex;
666
+ -webkit-box-align: center;
667
+ -ms-flex-align: center;
668
+ align-items: center;
669
+ margin-top: 10px;
670
+ width: 600px;
671
+ border-radius: 3px;
672
+ border: 1px solid #e8e8e8;
673
+ background: #fff;
674
+ }
675
+
676
+ .wpr-admin-popup header {
677
+ margin-top: 0;
678
+ margin-bottom: 20px;
679
+ text-align: center;
680
+ }
681
+
682
+ .wpr-admin-popup header h2 {
683
+ margin: 25px auto;
684
+ font-size: 26px;
685
+ color: #59626a;
686
+ }
687
+
688
+ .wpr-admin-popup header p {
689
+ margin-top: 0;
690
+ margin-bottom: 0;
691
+ color: #7f8b96;
692
+ }
693
+
694
+ .wpr-conditions select {
695
+ height: 35px;
696
+ height: 100%;
697
+ padding-top: 5px;
698
+ padding-bottom: 5px;
699
+ border-radius: 0;
700
+ border: none;
701
+ -webkit-box-flex: 1;
702
+ -ms-flex-positive: 1;
703
+ flex-grow: 1;
704
+ border-right: 1px solid #e8e8e8 !important;
705
+ background-size: 14px 14px;
706
+ }
707
+
708
+ span.wpr-add-conditions {
709
+ margin-top: 30px;
710
+ background: #A4AFB7;
711
+ color: #fff;
712
+ font-weight: 600;
713
+ letter-spacing: 1px;
714
+ text-transform: uppercase;
715
+ padding: 8px 20px;
716
+ border-radius: 3px;
717
+ cursor: pointer;
718
+ }
719
+
720
+ span.wpr-add-conditions:hover {
721
+ background: #848c92;
722
+ }
723
+
724
+ input.wpr-condition-input-ids {
725
+ display: none;
726
+ padding: 5px;
727
+ outline: none;
728
+ border: none;
729
+ border-radius: 0;
730
+ }
731
+
732
+ input.wpr-condition-input-ids,
733
+ .wpr-conditions select {
734
+ -ms-flex-negative: 0;
735
+ flex-shrink: 0;
736
+ -webkit-box-flex: 1;
737
+ -ms-flex-positive: 1;
738
+ flex-grow: 1;
739
+ max-width: none;
740
+ border: none;
741
+ -webkit-box-shadow: none !important;
742
+ box-shadow: none !important;
743
+ outline: none;
744
+ margin: 0;
745
+ text-indent: 5px;
746
+ }
747
+
748
+ .wpr-canvas-condition {
749
+ display: none;
750
+ margin-top: 20px;
751
+ }
752
+
753
+ .wpr-canvas-condition label {
754
+ display: inline-block;
755
+ }
756
+
757
+ .wpr-canvas-condition span {
758
+ margin-right: 20px;
759
+ }
760
+
761
+ #wpr-woo-products-per-page {
762
+ width: 40px;
763
+ border: 1px solid #e8e8e8;
764
+ text-align: center;
765
+ -webkit-box-shadow: none !important;
766
+ box-shadow: none !important;
767
+ margin-left: 10px;
768
+ }
769
+
770
+ .wpr-delete-template-conditions {
771
+ margin-left: auto;
772
+ position: absolute;
773
+ right: -30px;
774
+ color: #C2CBD2;
775
+ font-size: 22px;
776
+ cursor: pointer;
777
+ }
778
+
779
+ .wpr-delete-template-conditions:hover {
780
+ color: #81868a;
781
+ }
782
+
783
+ .wpr-save-conditions {
784
+ padding: 8px 20px;
785
+ color: #fff;
786
+ background: #6A4BFF;
787
+ margin-left: auto;
788
+ border-radius: 3px;
789
+ margin-top: 80px;
790
+ text-transform: uppercase;
791
+ letter-spacing: 0.5px;
792
+ font-weight: 600;
793
+ cursor: pointer;
794
+ }
795
+
796
+ .wpr-user-template-popup {
797
+ padding-top: 40px;
798
+ }
799
+
800
+ .wpr-user-template-popup header {
801
+ margin-bottom: 27px;
802
+ }
803
+
804
+ .wpr-user-template-popup .wpr-create-template {
805
+ padding: 11px 20px;
806
+ margin: 25px auto;
807
+ color: #fff;
808
+ background: #6A4BFF;
809
+ border-radius: 3px;
810
+ cursor: pointer;
811
+ }
812
+
813
+ .wpr-user-template-popup p {
814
+ max-width: 70%;
815
+ margin: auto;
816
+ }
817
+
818
+ input.wpr-user-template-title {
819
+ width: 350px;
820
+ border: 1px solid #d1d1d1;
821
+ padding: 5px 10px;
822
+ border-radius: 3px;
823
+ }
824
+
825
+ input.wpr-user-template-title::-webkit-input-placeholder,
826
+ input.wpr-condition-input-ids::-webkit-input-placeholder {
827
+ color: #9a9a9a;
828
+ }
829
+
830
+ input.wpr-user-template-title::-moz-placeholder,
831
+ input.wpr-condition-input-ids::-moz-placeholder {
832
+ color: #9a9a9a;
833
+ }
834
+
835
+ input.wpr-user-template-title:-ms-input-placeholder,
836
+ input.wpr-condition-input-ids:-ms-input-placeholder {
837
+ color: #9a9a9a;
838
+ }
839
+
840
+ input.wpr-user-template-title::-ms-input-placeholder,
841
+ input.wpr-condition-input-ids::-ms-input-placeholder {
842
+ color: #9a9a9a;
843
+ }
844
+
845
+ input.wpr-user-template-title::-webkit-input-placeholder, input.wpr-condition-input-ids::-webkit-input-placeholder {
846
+ color: #9a9a9a;
847
+ }
848
+
849
+ input.wpr-user-template-title::-moz-placeholder, input.wpr-condition-input-ids::-moz-placeholder {
850
+ color: #9a9a9a;
851
+ }
852
+
853
+ input.wpr-user-template-title:-ms-input-placeholder, input.wpr-condition-input-ids:-ms-input-placeholder {
854
+ color: #9a9a9a;
855
+ }
856
+
857
+ input.wpr-user-template-title::-ms-input-placeholder, input.wpr-condition-input-ids::-ms-input-placeholder {
858
+ color: #9a9a9a;
859
+ }
860
+
861
+ input.wpr-user-template-title::placeholder,
862
+ input.wpr-condition-input-ids::placeholder {
863
+ color: #9a9a9a;
864
+ }
865
+
866
+ input.wpr-user-template-title:focus {
867
+ border-color: #6A4BFF;
868
+ -webkit-box-shadow: none;
869
+ box-shadow: none;
870
+ }
871
+
872
+ /*--------------------------------------------------------------
873
+ == White Label
874
+ --------------------------------------------------------------*/
875
+ .wpr-wl-tab-content {
876
+ display: -webkit-box;
877
+ display: -ms-flexbox;
878
+ display: flex;
879
+ -webkit-box-align: start;
880
+ -ms-flex-align: start;
881
+ align-items: flex-start;
882
+ }
883
+
884
+ .wpr-wl-tab-content .wpr-settings-group:last-of-type {
885
+ margin-top: 50px;
886
+ margin-left: 50px;
887
+ }
888
+
889
+ .wpr-setting-custom-img-upload div button {
890
+ display: -webkit-box;
891
+ display: -ms-flexbox;
892
+ display: flex;
893
+ -webkit-box-align: center;
894
+ -ms-flex-align: center;
895
+ align-items: center;
896
+ margin-top: 10px;
897
+ padding: 10px 20px;
898
+ background: #ffffff;
899
+ border: 1px solid #e8e8e8;
900
+ border-radius: 3px;
901
+ font-weight: bold;
902
+ cursor: pointer;
903
+ }
904
+
905
+ .wpr-setting-custom-img-upload div button span {
906
+ margin-left: 5px;
907
+ }
908
+
909
+ .wpr-setting-custom-img-upload div button img {
910
+ width: 50px;
911
+ }
912
+
913
+ .wpr-setting-custom-ckbox h4 {
914
+ display: -webkit-box;
915
+ display: -ms-flexbox;
916
+ display: flex;
917
+ -webkit-box-orient: horizontal;
918
+ -webkit-box-direction: normal;
919
+ -ms-flex-direction: row;
920
+ flex-direction: row;
921
+ -webkit-box-pack: justify;
922
+ -ms-flex-pack: justify;
923
+ justify-content: space-between;
924
+ }
925
+
926
+ .wpr-setting-custom-ckbox label {
927
+ background: #dddbdb;
928
+ }
929
+
930
+ .wpr-setting-custom-ckbox p {
931
+ color: #a09f9f;
932
+ }
933
+
934
+ /*--------------------------------------------------------------
935
+ == Freemius
936
+ --------------------------------------------------------------*/
937
+ #fs_connect {
938
+ margin: 40px !important;
939
+ width: 615px !important;
940
+ border-top: 3px solid #2271B1 !important;
941
+ }
942
+
943
+ #fs_connect .fs-content {
944
+ padding: 25px 20px 35px 20px !important;
945
+ }
946
+
947
+ #fs_connect .fs-visual {
948
+ background: transparent !important;
949
+ }
950
+
951
+ #fs_connect .fs-visual .fs-site-icon,
952
+ #fs_connect .fs-visual .fs-plugin-icon,
953
+ #fs_connect .fs-visual .fs-connect-logo {
954
+ top: 20px !important;
955
+ }
956
+
957
+ #fs_connect .fs-visual .fs-plugin-icon,
958
+ #fs_connect .fs-visual .fs-connect-logo,
959
+ #fs_connect .fs-visual .fs-site-icon {
960
+ border: none !important;
961
+ }
962
+
963
+ #fs_connect .fs-visual .fs-site-icon i,
964
+ #fs_connect .fs-visual img{
965
+ overflow: hidden !important;
966
+ border-radius: 100px !important;
967
+ }
968
+
969
+ #fs_connect .fs-actions {
970
+ border-top: 1px solid #F2F2F2 !important;
971
+ background: #F2F2F2 !important;
972
+ }
973
+
974
+ #fs_connect .fs-actions .button {
975
+ font-size: 14px !important;
976
+ }
977
+
978
+ #fs_connect .fs-actions .button.button-secondary {
979
+ padding: 0 25px !important;
980
+ }
981
+
982
+ #fs_connect .fs-permissions {
983
+ margin-top: 20px !important;
984
+ }
985
+
986
+ #fs_connect .fs-permissions>.fs-trigger {
987
+ -webkit-box-shadow: none !important;
988
+ box-shadow: none !important;
989
+ }
990
+
991
+ #fs_connect .fs-permissions.fs-open ul {
992
+ margin: 30px 20px !important;
993
+ }
994
+
995
+ #fs_connect .fs-permissions ul li {
996
+ margin-bottom: 20px !important;
997
+ }
998
+
999
+ #fs_connect .fs-permissions ul li .fs-permission-description span {
1000
+ font-size: 12px !important;
1001
+ text-transform: capitalize !important;
1002
+ }
1003
+
1004
+ #fs_connect .fs-permissions ul li .fs-permission-description p {
1005
+ font-size: 11px !important;
1006
+ margin-top: 0 !important;
1007
+ }
1008
+
1009
+ #fs_connect .fs-license-key-container {
1010
+ width: 100% !important;
1011
+ margin-top: 20px;
1012
+ }
1013
+
1014
+ #pframe,
1015
+ #fs_connect.require-license-key .fs-permissions,
1016
+ #fs_connect.require-license-key .fs-terms,
1017
+ #fs_connect .fs-freemium-licensing,
1018
+ #license_issues_link {
1019
+ display: none !important;
1020
+ }
1021
+
1022
+ /*--------------------------------------------------------------
1023
+ == Settings: Pro Options
1024
+ --------------------------------------------------------------*/
1025
+ .wpr-settings-pro-overlay {
1026
+ display: -webkit-box;
1027
+ display: -ms-flexbox;
1028
+ display: flex;
1029
+ -webkit-box-orient: vertical;
1030
+ -webkit-box-direction: normal;
1031
+ -ms-flex-direction: column;
1032
+ flex-direction: column;
1033
+ -webkit-box-align: center;
1034
+ -ms-flex-align: center;
1035
+ align-items: center;
1036
+ -webkit-box-pack: center;
1037
+ -ms-flex-pack: center;
1038
+ justify-content: center;
1039
+ position: absolute;
1040
+ top: 0;
1041
+ left: 0;
1042
+ width: 100%;
1043
+ height: 100%;
1044
+ background: rgba(0,0,0,0.4);
1045
+ color: #f9f9f9;
1046
+ font-size: 16px;
1047
+ text-decoration: none;
1048
+ text-transform: uppercase;
1049
+ font-weight: bold;
1050
+
1051
+ text-shadow: 1px 1px 1px #000;
1052
+ -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,0.3);
1053
+ box-shadow: 1px 1px 15px rgba(0,0,0,0.3);
1054
+ }
1055
+
1056
+ .wpr-settings-pro-overlay:hover,
1057
+ .wpr-settings-pro-overlay:focus{
1058
+ color: #f9f9f9;
1059
+ }
1060
+
1061
+ .wpr-settings-pro-overlay .dashicons {
1062
+ font-size: 50px;
1063
+ line-height: 50px;
1064
+ margin-bottom: 40px;
1065
+ -webkit-transform: translateX(-50%);
1066
+ -ms-transform: translateX(-50%);
1067
+ transform: translateX(-50%);
1068
+ }
1069
+
1070
+ .wpr-settings-pro-overlay .dashicons:nth-child(2) {
1071
+ display: none;
1072
+ }
1073
+
1074
+ .wpr-settings-pro-overlay:hover .dashicons:nth-child(2) {
1075
+ display: block;
1076
+ }
1077
+
1078
+ .wpr-settings-pro-overlay:hover .dashicons:nth-child(1) {
1079
+ display: none;
1080
  }
assets/css/admin/premade-blocks.css CHANGED
@@ -1,437 +1,437 @@
1
- #wpcontent {
2
- padding: 0;
3
- }
4
-
5
- .wpr-settings-page-header {
6
- padding: 10px 30px 30px;
7
- }
8
-
9
- .wpr-settings-page-header h1 {
10
- font-size: 42px;
11
- }
12
-
13
- .wpr-settings-page-header p {
14
- margin-top: 5px;
15
- color: #5a5a5a;
16
- font-size: 16px;
17
- margin-bottom: 30px;
18
- }
19
-
20
- .wpr-premade-blocks-tutorial {
21
- display: inline-block;
22
- margin-left: 45px;
23
- padding: 9px 25px;
24
- border: 0;
25
- color: #fff;
26
- background: #6A4BFF;
27
- -webkit-box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
28
- box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
29
- font-size: 14px;
30
- text-decoration: none;
31
- border-radius: 3px;
32
- }
33
-
34
- .wpr-premade-blocks-tutorial:hover,
35
- .wpr-premade-blocks-tutorial:focus {
36
- color: #fff;
37
- background: #5a39fb;
38
- }
39
-
40
- .wpr-tplib-content-wrap {
41
- }
42
-
43
- .wpr-tplib-sidebar {
44
- padding: 30px;
45
- display: -webkit-box;
46
- display: -ms-flexbox;
47
- display: flex;
48
- }
49
-
50
- .wpr-tplib-sidebar .wpr-tplib-search {
51
- display: none;
52
- position: relative;
53
- margin: 30px 0;
54
- }
55
-
56
- .wpr-tplib-sidebar .wpr-tplib-search i {
57
- position: absolute;
58
- top: 50%;
59
- right: 10px;
60
- font-size: 12px;
61
- -webkit-transform: translateY(-50%);
62
- -ms-transform: translateY(-50%);
63
- transform: translateY(-50%);
64
- }
65
-
66
- .wpr-tplib-sidebar .wpr-tplib-search input {
67
- width: 100%;
68
- padding: 8px 10px;
69
- border: 0;
70
- border-bottom: 1px solid #efefef;
71
- }
72
-
73
- .wpr-tplib-sidebar .wpr-tplib-search input::-webkit-input-placeholder {
74
- color: #9a9a9a;
75
- }
76
-
77
- .wpr-tplib-sidebar .wpr-tplib-search input::-moz-placeholder {
78
- color: #9a9a9a;
79
- }
80
-
81
- .wpr-tplib-sidebar .wpr-tplib-search input:-ms-input-placeholder {
82
- color: #9a9a9a;
83
- }
84
-
85
- .wpr-tplib-sidebar .wpr-tplib-search input::-ms-input-placeholder {
86
- color: #9a9a9a;
87
- }
88
-
89
- .wpr-tplib-sidebar .wpr-tplib-search input::placeholder {
90
- color: #9a9a9a;
91
- }
92
-
93
- .wpr-tplib-filters-wrap {
94
- display: -webkit-box;
95
- display: -ms-flexbox;
96
- display: flex;
97
- }
98
-
99
- .wpr-tplib-sub-filters {
100
- display: none;
101
- margin-left: 20px;
102
- }
103
-
104
- .wpr-tplib-sub-filters ul {
105
- display: -webkit-box;
106
- display: -ms-flexbox;
107
- display: flex;
108
- }
109
-
110
- .wpr-tplib-sub-filters ul li {
111
- padding: 10px 25px;
112
- margin-right: 7px;
113
- line-height: 15px;
114
- font-size: 13px;
115
- font-weight: normal;
116
- background: #fff;
117
- -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
118
- box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
119
- cursor: pointer;
120
- border-radius: 3px;
121
- }
122
-
123
- .wpr-tplib-sub-filters ul li:hover,
124
- .wpr-tplib-sub-filters ul .wpr-tplib-activ-filter {
125
- background: #6A4BFF;
126
- color: #fff;
127
- }
128
-
129
- .wpr-tplib-filters {
130
- -webkit-box-sizing: border-box;
131
- box-sizing: border-box;
132
- display: -webkit-box;
133
- display: -ms-flexbox;
134
- display: flex;
135
- -webkit-box-orient: vertical;
136
- -webkit-box-direction: normal;
137
- -ms-flex-direction: column;
138
- flex-direction: column;
139
- -webkit-box-align: start;
140
- -ms-flex-align: start;
141
- align-items: flex-start;
142
- position: relative;
143
- width: 200px;
144
- font-size: 14px;
145
- font-weight: normal;
146
- font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
147
- color: #6d7882;
148
- }
149
-
150
- .wpr-tplib-filters h3 {
151
- display: -webkit-box;
152
- display: -ms-flexbox;
153
- display: flex;
154
- width: 100%;
155
- padding: 10px 15px;
156
- margin: 0;
157
- font-size: 13px;
158
- font-weight: normal;
159
- font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
160
- background: #fff;
161
- -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
162
- box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
163
- cursor: pointer;
164
- border-radius: 3px;
165
- }
166
-
167
- .wpr-tplib-filters h3 span {
168
- width: 100%;
169
- }
170
-
171
- .wpr-tplib-filters h3 i.fa-angle-down:before {
172
- content: "\f347";
173
- font-family: dashicons;
174
- line-height: 18px;
175
- font-weight: 400;
176
- font-style: normal;
177
- speak: never;
178
- text-decoration: inherit;
179
- text-transform: none;
180
- text-rendering: auto;
181
- -webkit-font-smoothing: antialiased;
182
- -moz-osx-font-smoothing: grayscale;
183
- font-size: 15px;
184
- vertical-align: top;
185
- text-align: center;
186
- }
187
-
188
- .wpr-tplib-filters-list {
189
- visibility: hidden;
190
- opacity: 0;
191
- position: absolute;
192
- top: 38px;
193
- z-index: 999;
194
- width: 700px;
195
- padding: 20px 30px;
196
- background: #fff;
197
- -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
198
- box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
199
- -webkit-transition: all 0.2s ease-in;
200
- -o-transition: all 0.2s ease-in;
201
- transition: all 0.2s ease-in;
202
- border-radius: 3px;
203
- }
204
-
205
- .wpr-tplib-filters-list ul {
206
- display: -webkit-box;
207
- display: -ms-flexbox;
208
- display: flex;
209
- -ms-flex-wrap: wrap;
210
- flex-wrap: wrap;
211
- margin-top: 0;
212
- }
213
-
214
- .wpr-tplib-filters-list ul li {
215
- -webkit-box-sizing: border-box;
216
- box-sizing: border-box;
217
- width: 25%;
218
- padding: 12px;
219
- color: #6d7882;
220
- background: #fff;
221
- font-size: 13px;
222
- line-height: 1;
223
- cursor: pointer;
224
- }
225
-
226
- .wpr-tplib-filters-list ul li:hover {
227
- background: #f9f9f9;
228
- color: #222;
229
- }
230
-
231
- .wpr-tplib-template-gird {
232
- overflow: auto;
233
- margin-left: -10px;
234
- padding: 0 30px;
235
- }
236
-
237
- .elementor-clearfix:after {
238
- content: '';
239
- display: block;
240
- clear: both;
241
- width: 0;
242
- height: 0;
243
- }
244
-
245
- .wpr-tplib-template-wrap {
246
- position: relative;
247
- float: left;
248
- overflow: hidden;
249
- width: 18.5%;
250
- margin: 10px;
251
- border-radius: 3px;
252
- -webkit-box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
253
- box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
254
- }
255
-
256
- .wpr-tplib-template-wrap:not(.wpr-tplib-pro-active):before {
257
- content: 'Free';
258
- display: block;
259
- position: absolute;
260
- top: 10px;
261
- right: 10px;
262
- z-index: 1;
263
- width: 45px;
264
- padding: 4px;
265
- font-size: 11px;
266
- font-weight: bold;
267
- letter-spacing: 0.3px;
268
- text-transform: uppercase;
269
- text-align: center;
270
- background: #555;
271
- color: #fff;
272
- -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
273
- box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
274
- border-radius: 3px;
275
- }
276
-
277
- .wpr-tplib-pro-wrap:not(.wpr-tplib-pro-active):before {
278
- content: 'Pro';
279
- background: #6A4BFF;
280
- }
281
-
282
- @media screen and ( max-width: 1364px ) {
283
- .wpr-tplib-template-wrap {
284
- width: 23%;
285
- }
286
- }
287
-
288
- .wpr-tplib-template {
289
- }
290
-
291
- .wpr-tplib-insert-template:not(.wpr-tplib-insert-pro) {
292
- display: none;
293
- }
294
-
295
- .wpr-tplib-template-wrap:hover .wpr-tplib-insert-pro {
296
- opacity: 1;
297
- visibility: visible;
298
- }
299
-
300
- .wpr-tplib-template-media {
301
- position: relative;
302
- background-color: #e8e8e8;
303
- }
304
-
305
- .wpr-tplib-template-media img {
306
- display: block;
307
- width: 100%;
308
- max-width: 100%;
309
- height: auto;
310
- }
311
-
312
- .wpr-tplib-template-media:hover .wpr-tplib-template-media-overlay {
313
- opacity: 1;
314
- }
315
-
316
- .wpr-tplib-template-media-overlay {
317
- opacity: 0;
318
- position: absolute;
319
- top: 0;
320
- left: 0;
321
- width: 100%;
322
- height: 100%;
323
- background-color: rgba(0, 0, 0, 0.5);
324
- color: #fff;
325
- cursor: pointer;
326
- -webkit-transition: opacity 0.1s ease-in;
327
- -o-transition: opacity 0.1s ease-in;
328
- transition: opacity 0.1s ease-in;
329
- }
330
-
331
- .wpr-tplib-template-media-overlay i {
332
- position: absolute;
333
- top: 50%;
334
- left: 50%;
335
- -webkit-transform: translate(-50%, -50%);
336
- -ms-transform: translate(-50%, -50%);
337
- transform: translate(-50%, -50%);
338
- font-size: 25px;
339
- }
340
-
341
- .wpr-tplib-preview-wrap {
342
- display: none;
343
- }
344
-
345
- .wpr-tplib-image {
346
- display: -webkit-box;
347
- display: -ms-flexbox;
348
- display: flex;
349
- -webkit-box-pack: center;
350
- -ms-flex-pack: center;
351
- justify-content: center;
352
- padding: 20px;
353
- }
354
-
355
- .wpr-tplib-iframe {
356
- position: relative;
357
- padding-top: 56.25%;
358
- }
359
-
360
- .wpr-tplib-iframe iframe {
361
- position: absolute;
362
- top: 0;
363
- left: 0;
364
- width: 100%;
365
- height: 100%;
366
- border: none;
367
- }
368
-
369
- .wpr-tplib-template-footer {
370
- display: -webkit-box;
371
- display: -ms-flexbox;
372
- display: flex;
373
- -webkit-box-orient: vertical;
374
- -webkit-box-direction: normal;
375
- -ms-flex-flow: column wrap;
376
- flex-flow: column wrap;
377
- -ms-flex-line-pack: justify;
378
- align-content: space-between;
379
- -webkit-box-pack: center;
380
- -ms-flex-pack: center;
381
- justify-content: center;
382
- height: 45px;
383
- padding: 5px 15px;
384
- background-color: #fff;
385
- border-top: 1px solid #efefef;
386
- }
387
-
388
- .wpr-tplib-template-footer h3 {
389
- overflow: hidden;
390
- color: #6d7882;
391
- font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
392
- font-size: 13px;
393
- font-weight: normal;
394
- white-space: nowrap;
395
- -o-text-overflow: ellipsis;
396
- text-overflow: ellipsis;
397
- }
398
-
399
- .wpr-tplib-template-footer .wpr-tplib-insert-template {
400
- opacity: 0;
401
- visibility: hidden;
402
- padding: 6px 10px;
403
- color: #fff;
404
- background-color: #6A4BFF;
405
- font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
406
- font-size: 13px;
407
- line-height: 1;
408
- letter-spacing: 0.3px;
409
- border-radius: 3px;
410
- cursor: pointer;
411
- -webkit-transition: all 0.1s ease-in;
412
- -o-transition: all 0.1s ease-in;
413
- transition: all 0.1s ease-in;
414
- }
415
-
416
-
417
- #masonry-effect {
418
- display: -webkit-box;
419
- display: -ms-flexbox;
420
- display: flex;
421
- -webkit-box-orient: horizontal;
422
- -webkit-box-direction: normal;
423
- -ms-flex-direction: row;
424
- flex-direction: row;
425
- -ms-flex-wrap: wrap;
426
- flex-wrap: wrap;
427
- }
428
- .item {
429
- -webkit-box-sizing: border-box;
430
- box-sizing: border-box;
431
- -webkit-box-orient: vertical;
432
- -webkit-box-direction: normal;
433
- -ms-flex-direction: column;
434
- flex-direction: column;
435
- position: relative;
436
- width: calc(33.3%);
437
  }
1
+ #wpcontent {
2
+ padding: 0;
3
+ }
4
+
5
+ .wpr-settings-page-header {
6
+ padding: 10px 30px 30px;
7
+ }
8
+
9
+ .wpr-settings-page-header h1 {
10
+ font-size: 42px;
11
+ }
12
+
13
+ .wpr-settings-page-header p {
14
+ margin-top: 5px;
15
+ color: #5a5a5a;
16
+ font-size: 16px;
17
+ margin-bottom: 30px;
18
+ }
19
+
20
+ .wpr-premade-blocks-tutorial {
21
+ display: inline-block;
22
+ margin-left: 45px;
23
+ padding: 9px 25px;
24
+ border: 0;
25
+ color: #fff;
26
+ background: #6A4BFF;
27
+ -webkit-box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
28
+ box-shadow: 2px 2px 5px rgb(0 0 0 / 30%);
29
+ font-size: 14px;
30
+ text-decoration: none;
31
+ border-radius: 3px;
32
+ }
33
+
34
+ .wpr-premade-blocks-tutorial:hover,
35
+ .wpr-premade-blocks-tutorial:focus {
36
+ color: #fff;
37
+ background: #5a39fb;
38
+ }
39
+
40
+ .wpr-tplib-content-wrap {
41
+ }
42
+
43
+ .wpr-tplib-sidebar {
44
+ padding: 30px;
45
+ display: -webkit-box;
46
+ display: -ms-flexbox;
47
+ display: flex;
48
+ }
49
+
50
+ .wpr-tplib-sidebar .wpr-tplib-search {
51
+ display: none;
52
+ position: relative;
53
+ margin: 30px 0;
54
+ }
55
+
56
+ .wpr-tplib-sidebar .wpr-tplib-search i {
57
+ position: absolute;
58
+ top: 50%;
59
+ right: 10px;
60
+ font-size: 12px;
61
+ -webkit-transform: translateY(-50%);
62
+ -ms-transform: translateY(-50%);
63
+ transform: translateY(-50%);
64
+ }
65
+
66
+ .wpr-tplib-sidebar .wpr-tplib-search input {
67
+ width: 100%;
68
+ padding: 8px 10px;
69
+ border: 0;
70
+ border-bottom: 1px solid #efefef;
71
+ }
72
+
73
+ .wpr-tplib-sidebar .wpr-tplib-search input::-webkit-input-placeholder {
74
+ color: #9a9a9a;
75
+ }
76
+
77
+ .wpr-tplib-sidebar .wpr-tplib-search input::-moz-placeholder {
78
+ color: #9a9a9a;
79
+ }
80
+
81
+ .wpr-tplib-sidebar .wpr-tplib-search input:-ms-input-placeholder {
82
+ color: #9a9a9a;
83
+ }
84
+
85
+ .wpr-tplib-sidebar .wpr-tplib-search input::-ms-input-placeholder {
86
+ color: #9a9a9a;
87
+ }
88
+
89
+ .wpr-tplib-sidebar .wpr-tplib-search input::placeholder {
90
+ color: #9a9a9a;
91
+ }
92
+
93
+ .wpr-tplib-filters-wrap {
94
+ display: -webkit-box;
95
+ display: -ms-flexbox;
96
+ display: flex;
97
+ }
98
+
99
+ .wpr-tplib-sub-filters {
100
+ display: none;
101
+ margin-left: 20px;
102
+ }
103
+
104
+ .wpr-tplib-sub-filters ul {
105
+ display: -webkit-box;
106
+ display: -ms-flexbox;
107
+ display: flex;
108
+ }
109
+
110
+ .wpr-tplib-sub-filters ul li {
111
+ padding: 10px 25px;
112
+ margin-right: 7px;
113
+ line-height: 15px;
114
+ font-size: 13px;
115
+ font-weight: normal;
116
+ background: #fff;
117
+ -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
118
+ box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
119
+ cursor: pointer;
120
+ border-radius: 3px;
121
+ }
122
+
123
+ .wpr-tplib-sub-filters ul li:hover,
124
+ .wpr-tplib-sub-filters ul .wpr-tplib-activ-filter {
125
+ background: #6A4BFF;
126
+ color: #fff;
127
+ }
128
+
129
+ .wpr-tplib-filters {
130
+ -webkit-box-sizing: border-box;
131
+ box-sizing: border-box;
132
+ display: -webkit-box;
133
+ display: -ms-flexbox;
134
+ display: flex;
135
+ -webkit-box-orient: vertical;
136
+ -webkit-box-direction: normal;
137
+ -ms-flex-direction: column;
138
+ flex-direction: column;
139
+ -webkit-box-align: start;
140
+ -ms-flex-align: start;
141
+ align-items: flex-start;
142
+ position: relative;
143
+ width: 200px;
144
+ font-size: 14px;
145
+ font-weight: normal;
146
+ font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
147
+ color: #6d7882;
148
+ }
149
+
150
+ .wpr-tplib-filters h3 {
151
+ display: -webkit-box;
152
+ display: -ms-flexbox;
153
+ display: flex;
154
+ width: 100%;
155
+ padding: 10px 15px;
156
+ margin: 0;
157
+ font-size: 13px;
158
+ font-weight: normal;
159
+ font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
160
+ background: #fff;
161
+ -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
162
+ box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
163
+ cursor: pointer;
164
+ border-radius: 3px;
165
+ }
166
+
167
+ .wpr-tplib-filters h3 span {
168
+ width: 100%;
169
+ }
170
+
171
+ .wpr-tplib-filters h3 i.fa-angle-down:before {
172
+ content: "\f347";
173
+ font-family: dashicons;
174
+ line-height: 18px;
175
+ font-weight: 400;
176
+ font-style: normal;
177
+ speak: never;
178
+ text-decoration: inherit;
179
+ text-transform: none;
180
+ text-rendering: auto;
181
+ -webkit-font-smoothing: antialiased;
182
+ -moz-osx-font-smoothing: grayscale;
183
+ font-size: 15px;
184
+ vertical-align: top;
185
+ text-align: center;
186
+ }
187
+
188
+ .wpr-tplib-filters-list {
189
+ visibility: hidden;
190
+ opacity: 0;
191
+ position: absolute;
192
+ top: 38px;
193
+ z-index: 999;
194
+ width: 700px;
195
+ padding: 20px 30px;
196
+ background: #fff;
197
+ -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
198
+ box-shadow: 0 2px 5px 0 rgba(0,0,0,0.05);
199
+ -webkit-transition: all 0.2s ease-in;
200
+ -o-transition: all 0.2s ease-in;
201
+ transition: all 0.2s ease-in;
202
+ border-radius: 3px;
203
+ }
204
+
205
+ .wpr-tplib-filters-list ul {
206
+ display: -webkit-box;
207
+ display: -ms-flexbox;
208
+ display: flex;
209
+ -ms-flex-wrap: wrap;
210
+ flex-wrap: wrap;
211
+ margin-top: 0;
212
+ }
213
+
214
+ .wpr-tplib-filters-list ul li {
215
+ -webkit-box-sizing: border-box;
216
+ box-sizing: border-box;
217
+ width: 25%;
218
+ padding: 12px;
219
+ color: #6d7882;
220
+ background: #fff;
221
+ font-size: 13px;
222
+ line-height: 1;
223
+ cursor: pointer;
224
+ }
225
+
226
+ .wpr-tplib-filters-list ul li:hover {
227
+ background: #f9f9f9;
228
+ color: #222;
229
+ }
230
+
231
+ .wpr-tplib-template-gird {
232
+ overflow: auto;
233
+ margin-left: -10px;
234
+ padding: 0 30px;
235
+ }
236
+
237
+ .elementor-clearfix:after {
238
+ content: '';
239
+ display: block;
240
+ clear: both;
241
+ width: 0;
242
+ height: 0;
243
+ }
244
+
245
+ .wpr-tplib-template-wrap {
246
+ position: relative;
247
+ float: left;
248
+ overflow: hidden;
249
+ width: 18.5%;
250
+ margin: 10px;
251
+ border-radius: 3px;
252
+ -webkit-box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
253
+ box-shadow: 0 1px 20px 0 rgba(0,0,0,0.07);
254
+ }
255
+
256
+ .wpr-tplib-template-wrap:not(.wpr-tplib-pro-active):before {
257
+ content: 'Free';
258
+ display: block;
259
+ position: absolute;
260
+ top: 10px;
261
+ right: 10px;
262
+ z-index: 1;
263
+ width: 45px;
264
+ padding: 4px;
265
+ font-size: 11px;
266
+ font-weight: bold;
267
+ letter-spacing: 0.3px;
268
+ text-transform: uppercase;
269
+ text-align: center;
270
+ background: #555;
271
+ color: #fff;
272
+ -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
273
+ box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
274
+ border-radius: 3px;
275
+ }
276
+
277
+ .wpr-tplib-pro-wrap:not(.wpr-tplib-pro-active):before {
278
+ content: 'Pro';
279
+ background: #6A4BFF;
280
+ }
281
+
282
+ @media screen and ( max-width: 1364px ) {
283
+ .wpr-tplib-template-wrap {
284
+ width: 23%;
285
+ }
286
+ }
287
+
288
+ .wpr-tplib-template {
289
+ }
290
+
291
+ .wpr-tplib-insert-template:not(.wpr-tplib-insert-pro) {
292
+ display: none;
293
+ }
294
+
295
+ .wpr-tplib-template-wrap:hover .wpr-tplib-insert-pro {
296
+ opacity: 1;
297
+ visibility: visible;
298
+ }
299
+
300
+ .wpr-tplib-template-media {
301
+ position: relative;
302
+ background-color: #e8e8e8;
303
+ }
304
+
305
+ .wpr-tplib-template-media img {
306
+ display: block;
307
+ width: 100%;
308
+ max-width: 100%;
309
+ height: auto;
310
+ }
311
+
312
+ .wpr-tplib-template-media:hover .wpr-tplib-template-media-overlay {
313
+ opacity: 1;
314
+ }
315
+
316
+ .wpr-tplib-template-media-overlay {
317
+ opacity: 0;
318
+ position: absolute;
319
+ top: 0;
320
+ left: 0;
321
+ width: 100%;
322
+ height: 100%;
323
+ background-color: rgba(0, 0, 0, 0.5);
324
+ color: #fff;
325
+ cursor: pointer;
326
+ -webkit-transition: opacity 0.1s ease-in;
327
+ -o-transition: opacity 0.1s ease-in;
328
+ transition: opacity 0.1s ease-in;
329
+ }
330
+
331
+ .wpr-tplib-template-media-overlay i {
332
+ position: absolute;
333
+ top: 50%;
334
+ left: 50%;
335
+ -webkit-transform: translate(-50%, -50%);
336
+ -ms-transform: translate(-50%, -50%);
337
+ transform: translate(-50%, -50%);
338
+ font-size: 25px;
339
+ }
340
+
341
+ .wpr-tplib-preview-wrap {
342
+ display: none;
343
+ }
344
+
345
+ .wpr-tplib-image {
346
+ display: -webkit-box;
347
+ display: -ms-flexbox;
348
+ display: flex;
349
+ -webkit-box-pack: center;
350
+ -ms-flex-pack: center;
351
+ justify-content: center;
352
+ padding: 20px;
353
+ }
354
+
355
+ .wpr-tplib-iframe {
356
+ position: relative;
357
+ padding-top: 56.25%;
358
+ }
359
+
360
+ .wpr-tplib-iframe iframe {
361
+ position: absolute;
362
+ top: 0;
363
+ left: 0;
364
+ width: 100%;
365
+ height: 100%;
366
+ border: none;
367
+ }
368
+
369
+ .wpr-tplib-template-footer {
370
+ display: -webkit-box;
371
+ display: -ms-flexbox;
372
+ display: flex;
373
+ -webkit-box-orient: vertical;
374
+ -webkit-box-direction: normal;
375
+ -ms-flex-flow: column wrap;
376
+ flex-flow: column wrap;
377
+ -ms-flex-line-pack: justify;
378
+ align-content: space-between;
379
+ -webkit-box-pack: center;
380
+ -ms-flex-pack: center;
381
+ justify-content: center;
382
+ height: 45px;
383
+ padding: 5px 15px;
384
+ background-color: #fff;
385
+ border-top: 1px solid #efefef;
386
+ }
387
+
388
+ .wpr-tplib-template-footer h3 {
389
+ overflow: hidden;
390
+ color: #6d7882;
391
+ font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
392
+ font-size: 13px;
393
+ font-weight: normal;
394
+ white-space: nowrap;
395
+ -o-text-overflow: ellipsis;
396
+ text-overflow: ellipsis;
397
+ }
398
+
399
+ .wpr-tplib-template-footer .wpr-tplib-insert-template {
400
+ opacity: 0;
401
+ visibility: hidden;
402
+ padding: 6px 10px;
403
+ color: #fff;
404
+ background-color: #6A4BFF;
405
+ font-family: "Roboto",Arial,Helvetica,Verdana,sans-serif;
406
+ font-size: 13px;
407
+ line-height: 1;
408
+ letter-spacing: 0.3px;
409
+ border-radius: 3px;
410
+ cursor: pointer;
411
+ -webkit-transition: all 0.1s ease-in;
412
+ -o-transition: all 0.1s ease-in;
413
+ transition: all 0.1s ease-in;
414
+ }
415
+
416
+
417
+ #masonry-effect {
418
+ display: -webkit-box;
419
+ display: -ms-flexbox;
420
+ display: flex;
421
+ -webkit-box-orient: horizontal;
422
+ -webkit-box-direction: normal;
423
+ -ms-flex-direction: row;
424
+ flex-direction: row;
425
+ -ms-flex-wrap: wrap;
426
+ flex-wrap: wrap;
427
+ }
428
+ .item {
429
+ -webkit-box-sizing: border-box;
430
+ box-sizing: border-box;
431
+ -webkit-box-orient: vertical;
432
+ -webkit-box-direction: normal;
433
+ -ms-flex-direction: column;
434
+ flex-direction: column;
435
+ position: relative;
436
+ width: calc(33.3%);
437
  }
assets/css/admin/templates-kit.css CHANGED
@@ -1,571 +1,571 @@
1
- .royal-addons_page_wpr-templates-kit #wpwrap {
2
- background: #F6F6F6;
3
- }
4
-
5
- .royal-addons_page_wpr-templates-kit #wpcontent {
6
- padding: 0;
7
- }
8
-
9
- img {
10
- display: block;
11
- max-width: 100%;
12
- width: 100%;
13
- }
14
-
15
- .wpr-templates-kit-page > header {
16
- position: sticky;
17
- top: 32px;
18
- z-index: 99;
19
- display: -webkit-box;
20
- display: -ms-flexbox;
21
- display: flex;
22
- -webkit-box-pack: justify;
23
- -ms-flex-pack: justify;
24
- justify-content: space-between;
25
- background: #fff;
26
- -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
27
- box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
28
- }
29
-
30
- .wpr-templates-kit-logo {
31
- display: -webkit-box;
32
- display: -ms-flexbox;
33
- display: flex;
34
- }
35
-
36
- .wpr-templates-kit-logo div {
37
- padding: 20px;
38
- border-right: 1px solid #e8e8e8;
39
- }
40
-
41
- .wpr-templates-kit-logo .back-btn {
42
- display: none;
43
- -webkit-box-align: center;
44
- -ms-flex-align: center;
45
- align-items: center;
46
- font-weight: bold;
47
- color: #6d7882;
48
- cursor: pointer;
49
- }
50
-
51
- .wpr-templates-kit-logo .back-btn:hover {
52
- color: #222;
53
- }
54
-
55
- .wpr-templates-kit-search {
56
- display: -webkit-box;
57
- display: -ms-flexbox;
58
- display: flex;
59
- -webkit-box-align: center;
60
- -ms-flex-align: center;
61
- align-items: center;
62
- position: absolute;
63
- top: 20px;
64
- left: 50%;
65
- -webkit-transform: translateX(-50%);
66
- -ms-transform: translateX(-50%);
67
- transform: translateX(-50%);
68
- }
69
-
70
- .wpr-templates-kit-search input {
71
- width: 500px;
72
- height: 45px;
73
- padding-left: 15px;
74
- border: 2px solid #e8e8e8 !important;
75
- -webkit-box-shadow: none !important;
76
- box-shadow: none !important;
77
- }
78
-
79
- .wpr-templates-kit-search .dashicons {
80
- margin-left: -32px;
81
- color: #777;
82
- }
83
-
84
- .wpr-templates-kit-price-filter {
85
- position: relative;
86
- width: 110px;
87
- height: 40px;
88
- margin: 20px;
89
- border: 2px solid #e8e8e8;
90
- line-height: 40px;
91
- padding: 0 20px;
92
- border-radius: 3px;
93
- font-size: 14px;
94
- cursor: pointer;
95
- }
96
-
97
- .wpr-templates-kit-price-filter .dashicons {
98
- position: absolute;
99
- right: 12px;
100
- line-height: 40px;
101
- font-size: 14px;
102
- }
103
-
104
- .wpr-templates-kit-price-filter:hover ul {
105
- display: block;
106
- }
107
-
108
- .wpr-templates-kit-price-filter ul {
109
- display: none;
110
- background: #fff;
111
- position: absolute;
112
- width: 100%;
113
- top: 26px;
114
- left: -2px;
115
- padding: 0;
116
- border: 2px solid #e8e8e8;
117
- }
118
-
119
- .wpr-templates-kit-price-filter ul li {
120
- padding: 0 20px;
121
- line-height: 32px;
122
- margin-bottom: 0 !important;
123
- border-bottom: 1px solid #e8e8e8;
124
- }
125
-
126
- .wpr-templates-kit-price-filter ul li:last-child {
127
- border-bottom: 0;
128
- }
129
-
130
- .wpr-templates-kit-price-filter ul li:hover {
131
- background: #e8e8e8;
132
- }
133
-
134
- .wpr-templates-kit-filters {
135
- display: none;
136
- padding: 20px;
137
- }
138
-
139
- .wpr-templates-kit-filters div {
140
- padding: 10px 20px;
141
- border: 2px solid #e8e8e8;
142
- border-radius: 3px;
143
- font-size: 16px;
144
- }
145
-
146
- .wpr-templates-kit-filters ul {
147
- display: none;
148
- }
149
-
150
- .wpr-templates-kit-page-title {
151
- text-align: center;
152
- margin-top: 65px;
153
- margin-bottom: 35px;
154
- }
155
-
156
- .wpr-templates-kit-page-title h1 {
157
- font-size: 35px;
158
- color: #555;
159
- }
160
-
161
- .button.wpr-options-button {
162
- padding: 3px 18px;
163
- border: 0;
164
- color: #fff;
165
- background: #6A4BFF;
166
- -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
167
- box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
168
- font-size: 14px;
169
- }
170
-
171
- .button.wpr-options-button:hover,
172
- .button.wpr-options-button:focus {
173
- color: #fff;
174
- background: #6A4BFF;
175
- border: none;
176
- }
177
-
178
- .button.wpr-options-button .dashicons {
179
- font-size: 16px;
180
- line-height: 32px;
181
- }
182
-
183
- .wpr-templates-kit-grid {
184
- display: -ms-grid;
185
- display: grid;
186
- -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
187
- grid-template-columns: repeat(4, 1fr);
188
- grid-column-gap: 30px;
189
- grid-row-gap: 30px;
190
- padding: 30px;
191
- }
192
-
193
-
194
- @media screen and (max-width: 1400px) {
195
- .wpr-templates-kit-grid {
196
- grid-template-columns: repeat(3, 1fr);
197
- }
198
- }
199
-
200
- .wpr-templates-kit-grid .grid-item {
201
- position: relative;
202
- overflow: hidden;
203
- border: 1px solid #e8e8e8;
204
- -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
205
- box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
206
- background: #fff;
207
- }
208
-
209
-
210
- .wpr-templates-kit-grid .grid-item[data-price="pro"]:before {
211
- content: 'Premium';
212
- display: block;
213
- position: absolute;
214
- top: 20px;
215
- right: -30px;
216
- z-index: 10;
217
- -webkit-transform: rotate(45deg);
218
- -ms-transform: rotate(45deg);
219
- transform: rotate(45deg);
220
- padding: 7px 40px;
221
- font-size: 13px;
222
- letter-spacing: .4px;
223
- background: #6a4bff;
224
- color: #fff;
225
- -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 70%);
226
- box-shadow: 0 0 5px 0 rgb(0 0 0 / 70%);
227
- }
228
-
229
- .wpr-templates-kit-grid .image-wrap {
230
- position: relative;
231
- border-bottom: 1px solid #e8e8e8;
232
- }
233
-
234
- .wpr-templates-kit-grid .image-wrap:hover .image-overlay {
235
- opacity: 1;
236
- }
237
-
238
- .wpr-templates-kit-grid .image-overlay {
239
- opacity: 0;
240
- display: -webkit-box;
241
- display: -ms-flexbox;
242
- display: flex;
243
- -webkit-box-align: center;
244
- -ms-flex-align: center;
245
- align-items: center;
246
- -webkit-box-pack: center;
247
- -ms-flex-pack: center;
248
- justify-content: center;
249
- position: absolute;
250
- top: 0;
251
- left: 0;
252
- width: 100%;
253
- height: 100%;
254
- background: rgba(0,0,0,0.2);
255
- cursor: pointer;
256
- -webkit-transition: opacity 0.2s ease-in;
257
- -o-transition: opacity 0.2s ease-in;
258
- transition: opacity 0.2s ease-in;
259
- }
260
-
261
- .wpr-templates-kit-grid .image-overlay .dashicons {
262
- font-size: 30px;
263
- color: #fff;
264
- }
265
-
266
- .wpr-templates-kit-grid .grid-item footer {
267
- display: -webkit-box;
268
- display: -ms-flexbox;
269
- display: flex;
270
- padding: 15px;
271
- -webkit-box-pack: justify;
272
- -ms-flex-pack: justify;
273
- justify-content: space-between;
274
- }
275
-
276
- .wpr-templates-kit-grid .grid-item footer h3 {
277
- margin: 0;
278
- font-size: 16px;
279
- text-transform: capitalize;
280
- }
281
-
282
- .wpr-templates-kit-grid .grid-item footer span {
283
- position: relative;
284
- min-width: 77px;
285
- height: 20px;
286
- background-color: #5130ef;
287
- color: #fff;
288
- font-size: 12px;
289
- padding: 2px 10px;
290
- border-radius: 3px;
291
- }
292
-
293
- span.wpr-woo-builder-label {
294
- background-color: #7B51AD !important;
295
- text-align: center;
296
- }
297
-
298
- .wpr-templates-kit-grid .grid-item footer span:after {
299
- content: "This Kit includes Theme Builder templates.";
300
- display: none;
301
- width: 125px;
302
- position: absolute;
303
- top: -50px;
304
- left: 30%;
305
- -webkit-transform: translateX(-50%);
306
- -ms-transform: translateX(-50%);
307
- transform: translateX(-50%);
308
- padding: 7px 10px;
309
- border-radius: 3px;
310
- background-color: #333;
311
- font-size: 12px;
312
- line-height: 15px;
313
- -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.4);
314
- box-shadow: 0 0 5px rgba(0,0,0,0.4);
315
- }
316
-
317
- .wpr-templates-kit-grid .grid-item footer span:hover:after {
318
- display: block;
319
- }
320
-
321
- .wpr-templates-kit-single {
322
- display: none;
323
- }
324
-
325
- .wpr-templates-kit-single .grid-item a {
326
- text-decoration: none;
327
- }
328
-
329
- .wpr-templates-kit-single .action-buttons-wrap {
330
- display: -webkit-box;
331
- display: -ms-flexbox;
332
- display: flex;
333
- -webkit-box-pack: justify;
334
- -ms-flex-pack: justify;
335
- justify-content: space-between;
336
- position: fixed;
337
- bottom: 0;
338
- left: 0;
339
- right: 0;
340
- z-index: 10;
341
- padding: 25px 30px;
342
- background: #fff;
343
- -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
344
- box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
345
- }
346
-
347
- .action-buttons-wrap a,
348
- .action-buttons-wrap button {
349
- padding: 5px 25px !important;
350
- }
351
-
352
- .wpr-templates-kit-single .preview-demo .dashicons {
353
- font-size: 14px;
354
- line-height: 28px;
355
- }
356
-
357
- .wpr-templates-kit-single .import-kit,
358
- .wpr-templates-kit-single .get-access {
359
- background: #6A4BFF;
360
- color: #fff;
361
- }
362
-
363
- .wpr-templates-kit-single .import-kit:hover,
364
- .wpr-templates-kit-single .import-kit:focus,
365
- .wpr-templates-kit-single .get-access:hover,
366
- .wpr-templates-kit-single .get-access:focus {
367
- background: #5130ef;
368
- color: #fff;
369
- -webkit-box-shadow: none !important;
370
- box-shadow: none !important;
371
- }
372
-
373
- .wpr-templates-kit-single .import-kit .dashicons,
374
- .wpr-templates-kit-single .get-access .dashicons {
375
- font-size: 14px;
376
- line-height: 30px;
377
- }
378
-
379
- .wpr-templates-kit-single .selected-template {
380
- border: 1px solid #2271B1;
381
- -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
382
- box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
383
- }
384
-
385
- .import-template-buttons .import-template {
386
- display: none;
387
- }
388
-
389
- .wpr-templates-kit-single .import-template strong {
390
- text-transform: capitalize;
391
- }
392
-
393
- .wpr-import-kit-popup-wrap {
394
- display: none;
395
- position: relative;
396
- z-index: 9999999;
397
- }
398
-
399
- .wpr-import-kit-popup-wrap .overlay {
400
- position: fixed;
401
- top: 0;
402
- left: 0;
403
- z-index: 9999999;
404
- width: 100%;
405
- height: 100%;
406
- background: rgba(0,0,0,0.5);
407
- }
408
-
409
- .wpr-import-kit-popup {
410
- overflow: hidden;
411
- position: fixed;
412
- top: 50%;
413
- left: 50%;
414
- -webkit-transform: translate(-50%,-50%);
415
- -ms-transform: translate(-50%,-50%);
416
- transform: translate(-50%,-50%);
417
- z-index: 9999999;
418
- width: 555px;
419
- background: #f5f5f5;
420
- border-radius: 3px;
421
- }
422
-
423
- .wpr-import-kit-popup header {
424
- display: -webkit-box;
425
- display: -ms-flexbox;
426
- display: flex;
427
- -webkit-box-pack: justify;
428
- -ms-flex-pack: justify;
429
- justify-content: space-between;
430
- padding-left: 25px;
431
- -webkit-box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2);
432
- box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2);
433
- }
434
-
435
- .wpr-import-kit-popup .close-btn {
436
- display: none;
437
- height: 50px;
438
- line-height: 50px;
439
- width: 50px;
440
- cursor: pointer;
441
- border-left: 1px solid #eee;
442
- color: #aaa;
443
- font-size: 22px;
444
- }
445
-
446
- .wpr-import-kit-popup .content {
447
- padding: 25px;
448
- }
449
-
450
- .wpr-import-kit-popup .content p:first-child {
451
- margin-top: 0;
452
- }
453
-
454
- .wpr-import-kit-popup .progress-wrap {
455
- background: #fff;
456
- border-radius: 3px;
457
- margin-top: 25px;
458
- }
459
-
460
- .wpr-import-kit-popup .progress-wrap strong {
461
- padding: 10px;
462
- display: block;
463
- }
464
-
465
- .wpr-import-kit-popup .progress-bar {
466
- width: 30px;
467
- height: 4px;
468
- background: #2271B1;
469
- }
470
-
471
- .dot-flashing {
472
- display: inline-block;
473
- margin-left: 10px;
474
- margin-bottom: -1px;
475
- position: relative;
476
- width: 3px;
477
- height: 3px;
478
- border-radius: 10px;
479
- background-color: #3c434a;
480
- color: #3c434a;
481
- -webkit-animation: dotFlashing 1s infinite linear alternate;
482
- animation: dotFlashing 1s infinite linear alternate;
483
- -webkit-animation-delay: .5s;
484
- animation-delay: .5s;
485
- }
486
-
487
- .dot-flashing::before, .dot-flashing::after {
488
- content: '';
489
- display: inline-block;
490
- position: absolute;
491
- top: 0;
492
- }
493
-
494
- .dot-flashing::before {
495
- left: -6px;
496
- width: 3px;
497
- height: 3px;
498
- border-radius: 10px;
499
- background-color: #3c434a;
500
- color: #3c434a;
501
- -webkit-animation: dotFlashing 1s infinite alternate;
502
- animation: dotFlashing 1s infinite alternate;
503
- -webkit-animation-delay: 0s;
504
- animation-delay: 0s;
505
- }
506
-
507
- .dot-flashing::after {
508
- left: 6px;
509
- width: 3px;
510
- height: 3px;
511
- border-radius: 10px;
512
- background-color: #3c434a;
513
- color: #3c434a;
514
- -webkit-animation: dotFlashing 1s infinite alternate;
515
- animation: dotFlashing 1s infinite alternate;
516
- -webkit-animation-delay: 1s;
517
- animation-delay: 1s;
518
- }
519
-
520
- @-webkit-keyframes dotFlashing {
521
- 0% {
522
- background-color: #3c434a;
523
- }
524
- 50%,
525
- 100% {
526
- background-color: #ebe6ff;
527
- }
528
- }
529
-
530
- @keyframes dotFlashing {
531
- 0% {
532
- background-color: #3c434a;
533
- }
534
- 50%,
535
- 100% {
536
- background-color: #ebe6ff;
537
- }
538
- }
539
-
540
- .wpr-templates-kit-not-found {
541
- display: none;
542
- -webkit-box-orient: vertical;
543
- -webkit-box-direction: normal;
544
- -ms-flex-direction: column;
545
- flex-direction: column;
546
- -webkit-box-align: center;
547
- -ms-flex-align: center;
548
- align-items: center
549
- }
550
-
551
- .wpr-templates-kit-not-found img {
552
- width: 180px;
553
- }
554
-
555
- .wpr-templates-kit-not-found h1 {
556
- margin: 0;
557
- }
558
-
559
- .wpr-templates-kit-not-found a {
560
- display: inline-block;
561
- padding: 10px 25px;
562
- margin-top: 15px;
563
- background: #6A4BFF;
564
- color: #fff;
565
- text-decoration: none;
566
- border-radius: 3px;
567
- }
568
-
569
- .wpr-templates-kit-not-found a:hover {
570
- background: #5836fd;
571
  }
1
+ .royal-addons_page_wpr-templates-kit #wpwrap {
2
+ background: #F6F6F6;
3
+ }
4
+
5
+ .royal-addons_page_wpr-templates-kit #wpcontent {
6
+ padding: 0;
7
+ }
8
+
9
+ img {
10
+ display: block;
11
+ max-width: 100%;
12
+ width: 100%;
13
+ }
14
+
15
+ .wpr-templates-kit-page > header {
16
+ position: sticky;
17
+ top: 32px;
18
+ z-index: 99;
19
+ display: -webkit-box;
20
+ display: -ms-flexbox;
21
+ display: flex;
22
+ -webkit-box-pack: justify;
23
+ -ms-flex-pack: justify;
24
+ justify-content: space-between;
25
+ background: #fff;
26
+ -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
27
+ box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
28
+ }
29
+
30
+ .wpr-templates-kit-logo {
31
+ display: -webkit-box;
32
+ display: -ms-flexbox;
33
+ display: flex;
34
+ }
35
+
36
+ .wpr-templates-kit-logo div {
37
+ padding: 20px;
38
+ border-right: 1px solid #e8e8e8;
39
+ }
40
+
41
+ .wpr-templates-kit-logo .back-btn {
42
+ display: none;
43
+ -webkit-box-align: center;
44
+ -ms-flex-align: center;
45
+ align-items: center;
46
+ font-weight: bold;
47
+ color: #6d7882;
48
+ cursor: pointer;
49
+ }
50
+
51
+ .wpr-templates-kit-logo .back-btn:hover {
52
+ color: #222;
53
+ }
54
+
55
+ .wpr-templates-kit-search {
56
+ display: -webkit-box;
57
+ display: -ms-flexbox;
58
+ display: flex;
59
+ -webkit-box-align: center;
60
+ -ms-flex-align: center;
61
+ align-items: center;
62
+ position: absolute;
63
+ top: 20px;
64
+ left: 50%;
65
+ -webkit-transform: translateX(-50%);
66
+ -ms-transform: translateX(-50%);
67
+ transform: translateX(-50%);
68
+ }
69
+
70
+ .wpr-templates-kit-search input {
71
+ width: 500px;
72
+ height: 45px;
73
+ padding-left: 15px;
74
+ border: 2px solid #e8e8e8 !important;
75
+ -webkit-box-shadow: none !important;
76
+ box-shadow: none !important;
77
+ }
78
+
79
+ .wpr-templates-kit-search .dashicons {
80
+ margin-left: -32px;
81
+ color: #777;
82
+ }
83
+
84
+ .wpr-templates-kit-price-filter {
85
+ position: relative;
86
+ width: 110px;
87
+ height: 40px;
88
+ margin: 20px;
89
+ border: 2px solid #e8e8e8;
90
+ line-height: 40px;
91
+ padding: 0 20px;
92
+ border-radius: 3px;
93
+ font-size: 14px;
94
+ cursor: pointer;
95
+ }
96
+
97
+ .wpr-templates-kit-price-filter .dashicons {
98
+ position: absolute;
99
+ right: 12px;
100
+ line-height: 40px;
101
+ font-size: 14px;
102
+ }
103
+
104
+ .wpr-templates-kit-price-filter:hover ul {
105
+ display: block;
106
+ }
107
+
108
+ .wpr-templates-kit-price-filter ul {
109
+ display: none;
110
+ background: #fff;
111
+ position: absolute;
112
+ width: 100%;
113
+ top: 26px;
114
+ left: -2px;
115
+ padding: 0;
116
+ border: 2px solid #e8e8e8;
117
+ }
118
+
119
+ .wpr-templates-kit-price-filter ul li {
120
+ padding: 0 20px;
121
+ line-height: 32px;
122
+ margin-bottom: 0 !important;
123
+ border-bottom: 1px solid #e8e8e8;
124
+ }
125
+
126
+ .wpr-templates-kit-price-filter ul li:last-child {
127
+ border-bottom: 0;
128
+ }
129
+
130
+ .wpr-templates-kit-price-filter ul li:hover {
131
+ background: #e8e8e8;
132
+ }
133
+
134
+ .wpr-templates-kit-filters {
135
+ display: none;
136
+ padding: 20px;
137
+ }
138
+
139
+ .wpr-templates-kit-filters div {
140
+ padding: 10px 20px;
141
+ border: 2px solid #e8e8e8;
142
+ border-radius: 3px;
143
+ font-size: 16px;
144
+ }
145
+
146
+ .wpr-templates-kit-filters ul {
147
+ display: none;
148
+ }
149
+
150
+ .wpr-templates-kit-page-title {
151
+ text-align: center;
152
+ margin-top: 65px;
153
+ margin-bottom: 35px;
154
+ }
155
+
156
+ .wpr-templates-kit-page-title h1 {
157
+ font-size: 35px;
158
+ color: #555;
159
+ }
160
+
161
+ .button.wpr-options-button {
162
+ padding: 3px 18px;
163
+ border: 0;
164
+ color: #fff;
165
+ background: #6A4BFF;
166
+ -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
167
+ box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
168
+ font-size: 14px;
169
+ }
170
+
171
+ .button.wpr-options-button:hover,
172
+ .button.wpr-options-button:focus {
173
+ color: #fff;
174
+ background: #6A4BFF;
175
+ border: none;
176
+ }
177
+
178
+ .button.wpr-options-button .dashicons {
179
+ font-size: 16px;
180
+ line-height: 32px;
181
+ }
182
+
183
+ .wpr-templates-kit-grid {
184
+ display: -ms-grid;
185
+ display: grid;
186
+ -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
187
+ grid-template-columns: repeat(4, 1fr);
188
+ grid-column-gap: 30px;
189
+ grid-row-gap: 30px;
190
+ padding: 30px;
191
+ }
192
+
193
+
194
+ @media screen and (max-width: 1400px) {
195
+ .wpr-templates-kit-grid {
196
+ grid-template-columns: repeat(3, 1fr);
197
+ }
198
+ }
199
+
200
+ .wpr-templates-kit-grid .grid-item {
201
+ position: relative;
202
+ overflow: hidden;
203
+ border: 1px solid #e8e8e8;
204
+ -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
205
+ box-shadow: 0 0 3px 0 rgba(0,0,0,0.1);
206
+ background: #fff;
207
+ }
208
+
209
+
210
+ .wpr-templates-kit-grid .grid-item[data-price="pro"]:before {
211
+ content: 'Premium';
212
+ display: block;
213
+ position: absolute;
214
+ top: 20px;
215
+ right: -30px;
216
+ z-index: 10;
217
+ -webkit-transform: rotate(45deg);
218
+ -ms-transform: rotate(45deg);
219
+ transform: rotate(45deg);
220
+ padding: 7px 40px;
221
+ font-size: 13px;
222
+ letter-spacing: .4px;
223
+ background: #6a4bff;
224
+ color: #fff;
225
+ -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 70%);
226
+ box-shadow: 0 0 5px 0 rgb(0 0 0 / 70%);
227
+ }
228
+
229
+ .wpr-templates-kit-grid .image-wrap {
230
+ position: relative;
231
+ border-bottom: 1px solid #e8e8e8;
232
+ }
233
+
234
+ .wpr-templates-kit-grid .image-wrap:hover .image-overlay {
235
+ opacity: 1;
236
+ }
237
+
238
+ .wpr-templates-kit-grid .image-overlay {
239
+ opacity: 0;
240
+ display: -webkit-box;
241
+ display: -ms-flexbox;
242
+ display: flex;
243
+ -webkit-box-align: center;
244
+ -ms-flex-align: center;
245
+ align-items: center;
246
+ -webkit-box-pack: center;
247
+ -ms-flex-pack: center;
248
+ justify-content: center;
249
+ position: absolute;
250
+ top: 0;
251
+ left: 0;
252
+ width: 100%;
253
+ height: 100%;
254
+ background: rgba(0,0,0,0.2);
255
+ cursor: pointer;
256
+ -webkit-transition: opacity 0.2s ease-in;
257
+ -o-transition: opacity 0.2s ease-in;
258
+ transition: opacity 0.2s ease-in;
259
+ }
260
+
261
+ .wpr-templates-kit-grid .image-overlay .dashicons {
262
+ font-size: 30px;
263
+ color: #fff;
264
+ }
265
+
266
+ .wpr-templates-kit-grid .grid-item footer {
267
+ display: -webkit-box;
268
+ display: -ms-flexbox;
269
+ display: flex;
270
+ padding: 15px;
271
+ -webkit-box-pack: justify;
272
+ -ms-flex-pack: justify;
273
+ justify-content: space-between;
274
+ }
275
+
276
+ .wpr-templates-kit-grid .grid-item footer h3 {
277
+ margin: 0;
278
+ font-size: 16px;
279
+ text-transform: capitalize;
280
+ }
281
+
282
+ .wpr-templates-kit-grid .grid-item footer span {
283
+ position: relative;
284
+ min-width: 77px;
285
+ height: 20px;
286
+ background-color: #5130ef;
287
+ color: #fff;
288
+ font-size: 12px;
289
+ padding: 2px 10px;
290
+ border-radius: 3px;
291
+ }
292
+
293
+ span.wpr-woo-builder-label {
294
+ background-color: #7B51AD !important;
295
+ text-align: center;
296
+ }
297
+
298
+ .wpr-templates-kit-grid .grid-item footer span:after {
299
+ content: "This Kit includes Theme Builder templates.";
300
+ display: none;
301
+ width: 125px;
302
+ position: absolute;
303
+ top: -50px;
304
+ left: 30%;
305
+ -webkit-transform: translateX(-50%);
306
+ -ms-transform: translateX(-50%);
307
+ transform: translateX(-50%);
308
+ padding: 7px 10px;
309
+ border-radius: 3px;
310
+ background-color: #333;
311
+ font-size: 12px;
312
+ line-height: 15px;
313
+ -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.4);
314
+ box-shadow: 0 0 5px rgba(0,0,0,0.4);
315
+ }
316
+
317
+ .wpr-templates-kit-grid .grid-item footer span:hover:after {
318
+ display: block;
319
+ }
320
+
321
+ .wpr-templates-kit-single {
322
+ display: none;
323
+ }
324
+
325
+ .wpr-templates-kit-single .grid-item a {
326
+ text-decoration: none;
327
+ }
328
+
329
+ .wpr-templates-kit-single .action-buttons-wrap {
330
+ display: -webkit-box;
331
+ display: -ms-flexbox;
332
+ display: flex;
333
+ -webkit-box-pack: justify;
334
+ -ms-flex-pack: justify;
335
+ justify-content: space-between;
336
+ position: fixed;
337
+ bottom: 0;
338
+ left: 0;
339
+ right: 0;
340
+ z-index: 10;
341
+ padding: 25px 30px;
342
+ background: #fff;
343
+ -webkit-box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
344
+ box-shadow: 0 0 7px 0 rgba(0,0,0,0.2);
345
+ }
346
+
347
+ .action-buttons-wrap a,
348
+ .action-buttons-wrap button {
349
+ padding: 5px 25px !important;
350
+ }
351
+
352
+ .wpr-templates-kit-single .preview-demo .dashicons {
353
+ font-size: 14px;
354
+ line-height: 28px;
355
+ }
356
+
357
+ .wpr-templates-kit-single .import-kit,
358
+ .wpr-templates-kit-single .get-access {
359
+ background: #6A4BFF;
360
+ color: #fff;
361
+ }
362
+
363
+ .wpr-templates-kit-single .import-kit:hover,
364
+ .wpr-templates-kit-single .import-kit:focus,
365
+ .wpr-templates-kit-single .get-access:hover,
366
+ .wpr-templates-kit-single .get-access:focus {
367
+ background: #5130ef;
368
+ color: #fff;
369
+ -webkit-box-shadow: none !important;
370
+ box-shadow: none !important;
371
+ }
372
+
373
+ .wpr-templates-kit-single .import-kit .dashicons,
374
+ .wpr-templates-kit-single .get-access .dashicons {
375
+ font-size: 14px;
376
+ line-height: 30px;
377
+ }
378
+
379
+ .wpr-templates-kit-single .selected-template {
380
+ border: 1px solid #2271B1;
381
+ -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
382
+ box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
383
+ }
384
+
385
+ .import-template-buttons .import-template {
386
+ display: none;
387
+ }
388
+
389
+ .wpr-templates-kit-single .import-template strong {
390
+ text-transform: capitalize;
391
+ }
392
+
393
+ .wpr-import-kit-popup-wrap {
394
+ display: none;
395
+ position: relative;
396
+ z-index: 9999999;
397
+ }
398
+
399
+ .wpr-import-kit-popup-wrap .overlay {
400
+ position: fixed;
401
+ top: 0;
402
+ left: 0;
403
+ z-index: 9999999;
404
+ width: 100%;
405
+ height: 100%;
406
+ background: rgba(0,0,0,0.5);
407
+ }
408
+
409
+ .wpr-import-kit-popup {
410
+ overflow: hidden;
411
+ position: fixed;
412
+ top: 50%;
413
+ left: 50%;
414
+ -webkit-transform: translate(-50%,-50%);
415
+ -ms-transform: translate(-50%,-50%);
416
+ transform: translate(-50%,-50%);
417
+ z-index: 9999999;
418
+ width: 555px;
419
+ background: #f5f5f5;
420
+ border-radius: 3px;
421
+ }
422
+
423
+ .wpr-import-kit-popup header {
424
+ display: -webkit-box;
425
+ display: -ms-flexbox;
426
+ display: flex;
427
+ -webkit-box-pack: justify;
428
+ -ms-flex-pack: justify;
429
+ justify-content: space-between;
430
+ padding-left: 25px;
431
+ -webkit-box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2);
432
+ box-shadow: 2px 0 5px 0 rgba(0,0,0,0.2);
433
+ }
434
+
435
+ .wpr-import-kit-popup .close-btn {
436
+ display: none;
437
+ height: 50px;
438
+ line-height: 50px;
439
+ width: 50px;
440
+ cursor: pointer;
441
+ border-left: 1px solid #eee;
442
+ color: #aaa;
443
+ font-size: 22px;
444
+ }
445
+
446
+ .wpr-import-kit-popup .content {
447
+ padding: 25px;
448
+ }
449
+
450
+ .wpr-import-kit-popup .content p:first-child {
451
+ margin-top: 0;
452
+ }
453
+
454
+ .wpr-import-kit-popup .progress-wrap {
455
+ background: #fff;
456
+ border-radius: 3px;
457
+ margin-top: 25px;
458
+ }
459
+
460
+ .wpr-import-kit-popup .progress-wrap strong {
461
+ padding: 10px;
462
+ display: block;
463
+ }
464
+
465
+ .wpr-import-kit-popup .progress-bar {
466
+ width: 30px;
467
+ height: 4px;
468
+ background: #2271B1;
469
+ }
470
+
471
+ .dot-flashing {
472
+ display: inline-block;
473
+ margin-left: 10px;
474
+ margin-bottom: -1px;
475
+ position: relative;
476
+ width: 3px;
477
+ height: 3px;
478
+ border-radius: 10px;
479
+ background-color: #3c434a;
480
+ color: #3c434a;
481
+ -webkit-animation: dotFlashing 1s infinite linear alternate;
482
+ animation: dotFlashing 1s infinite linear alternate;
483
+ -webkit-animation-delay: .5s;
484
+ animation-delay: .5s;
485
+ }
486
+
487
+ .dot-flashing::before, .dot-flashing::after {
488
+ content: '';
489
+ display: inline-block;
490
+ position: absolute;
491
+ top: 0;
492
+ }
493
+
494
+ .dot-flashing::before {
495
+ left: -6px;
496
+ width: 3px;
497
+ height: 3px;
498
+ border-radius: 10px;
499
+ background-color: #3c434a;
500
+ color: #3c434a;
501
+ -webkit-animation: dotFlashing 1s infinite alternate;
502
+ animation: dotFlashing 1s infinite alternate;
503
+ -webkit-animation-delay: 0s;
504
+ animation-delay: 0s;
505
+ }
506
+
507
+ .dot-flashing::after {
508
+ left: 6px;
509
+ width: 3px;
510
+ height: 3px;
511
+ border-radius: 10px;
512
+ background-color: #3c434a;
513
+ color: #3c434a;
514
+ -webkit-animation: dotFlashing 1s infinite alternate;
515
+ animation: dotFlashing 1s infinite alternate;
516
+ -webkit-animation-delay: 1s;
517
+ animation-delay: 1s;
518
+ }
519
+
520
+ @-webkit-keyframes dotFlashing {
521
+ 0% {
522
+ background-color: #3c434a;
523
+ }
524
+ 50%,
525
+ 100% {
526
+ background-color: #ebe6ff;
527
+ }
528
+ }
529
+
530
+ @keyframes dotFlashing {
531
+ 0% {
532
+ background-color: #3c434a;
533
+ }
534
+ 50%,
535
+ 100% {
536
+ background-color: #ebe6ff;
537
+ }
538
+ }
539
+
540
+ .wpr-templates-kit-not-found {
541
+ display: none;
542
+ -webkit-box-orient: vertical;
543
+ -webkit-box-direction: normal;
544
+ -ms-flex-direction: column;
545
+ flex-direction: column;
546
+ -webkit-box-align: center;
547
+ -ms-flex-align: center;
548
+ align-items: center
549
+ }
550
+
551
+ .wpr-templates-kit-not-found img {
552
+ width: 180px;
553
+ }
554
+
555
+ .wpr-templates-kit-not-found h1 {
556
+ margin: 0;
557
+ }
558
+
559
+ .wpr-templates-kit-not-found a {
560
+ display: inline-block;
561
+ padding: 10px 25px;
562
+ margin-top: 15px;
563
+ background: #6A4BFF;
564
+ color: #fff;
565
+ text-decoration: none;
566
+ border-radius: 3px;
567
+ }
568
+
569
+ .wpr-templates-kit-not-found a:hover {
570
+ background: #5836fd;
571
  }
assets/css/admin/wporg-theme-notice.css CHANGED
@@ -1,3 +1,3 @@
1
- .rek-notice {
2
- display: none !important;
3
  }
1
+ .rek-notice {
2
+ display: none !important;
3
  }
assets/css/editor.min.css CHANGED
@@ -690,7 +690,8 @@
690
  .elementor-control.elementor-control-comments_form_layout_pro_notice,
691
  .elementor-control.elementor-control-sharing_repeater_pro_notice,
692
  .elementor-control.elementor-control-mini_cart_style_pro_notice,
693
- .elementor-control.elementor-control-tabs_position_pro_notice {
 
694
  padding-bottom: 0 !important;
695
  }
696
 
@@ -733,7 +734,8 @@
733
  .elementor-control-comments_form_layout_pro_notice .wpr-pro-notice,
734
  .elementor-control-sharing_repeater_pro_notice .wpr-pro-notice,
735
  .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice,
736
- .elementor-control-tabs_position_pro_notice .wpr-pro-notice {
 
737
  border-bottom: none !important;
738
  }
739
 
@@ -813,6 +815,47 @@
813
  font-size: 16px;
814
  }
815
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
816
 
817
  /*--------------------------------------------------------------
818
  == Theme Builder Widgets
690
  .elementor-control.elementor-control-comments_form_layout_pro_notice,
691
  .elementor-control.elementor-control-sharing_repeater_pro_notice,
692
  .elementor-control.elementor-control-mini_cart_style_pro_notice,
693
+ .elementor-control.elementor-control-tabs_position_pro_notice,
694
+ .elementor-control.elementor-control-choose_table_type_pro_notice {
695
  padding-bottom: 0 !important;
696
  }
697
 
734
  .elementor-control-comments_form_layout_pro_notice .wpr-pro-notice,
735
  .elementor-control-sharing_repeater_pro_notice .wpr-pro-notice,
736
  .elementor-control-mini_cart_style_pro_notice .wpr-pro-notice,
737
+ .elementor-control-tabs_position_pro_notice .wpr-pro-notice,
738
+ .elementor-control-choose_table_type_pro_notice .wpr-pro-notice {
739
  border-bottom: none !important;
740
  }
741
 
815
  font-size: 16px;
816
  }
817
 
818
+ /* Pro Control Class */
819
+ .elementor-control.wpr-pro-control label i {
820
+ color: #aeaeae;
821
+ font-size: 14px;
822
+ margin-left: 3px;
823
+ }
824
+
825
+ .elementor-control.wpr-pro-control .elementor-control-content:before {
826
+ content: '';
827
+ position: absolute;
828
+ width: 100%;
829
+ height: 100%;
830
+ z-index: 9;
831
+ background: transparent;
832
+ }
833
+
834
+ .elementor-control.wpr-pro-control .elementor-control-content:after {
835
+ content: "This option is available in the Pro Version.";
836
+ visibility: hidden;
837
+ opacity: 0;
838
+ position: absolute;
839
+ top: 30px;
840
+ padding: 15px;
841
+ z-index: 99;
842
+ margin-top: 10px;
843
+ font-size: 12px;
844
+ color: #93003c;
845
+ background-color: #ffffff;
846
+ border-radius: 5px;
847
+ -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
848
+ box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
849
+ border: 1px solid #e6e9ec;
850
+ -webkit-transition: all 0.2s ease-in;
851
+ -o-transition: all 0.2s ease-in;
852
+ transition: all 0.2s ease-in;
853
+ }
854
+
855
+ .elementor-control.wpr-pro-control .elementor-control-content:hover:after {
856
+ visibility: visible;
857
+ opacity: 1;
858
+ }
859
 
860
  /*--------------------------------------------------------------
861
  == Theme Builder Widgets
assets/css/frontend.css CHANGED
@@ -1,13908 +1,14261 @@
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
- display: block;
2897
- }
2898
-
2899
- .wpr-grid-sorting-wrap form .orderby {
2900
- /* for Firefox */
2901
- -moz-appearance: none;
2902
- /* for Chrome */
2903
- -webkit-appearance: none;
2904
- }
2905
-
2906
- .wpr-grid-sorting-wrap .wpr-orderby-icon {
2907
- position: absolute;
2908
- top: 50%;
2909
- -webkit-transform: translateY(-50%);
2910
- -ms-transform: translateY(-50%);
2911
- transform: translateY(-50%);
2912
- font-family: "Font Awesome 5 Free";
2913
- font-weight: 600 !important;
2914
- }
2915
-
2916
- /* Defaults */
2917
- .elementor-widget-wpr-grid .wpr-grid-media-hover-bg,
2918
- .elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,
2919
- .elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg {
2920
- background-color: rgba(0, 0, 0, 0.25);
2921
- }
2922
-
2923
- .elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg {
2924
- background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2925
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(46%, rgba(255, 255, 255, 0)), to(rgba(96, 91, 229, 0.87)));
2926
- background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2927
- }
2928
-
2929
- .elementor-widget-wpr-grid .wpr-grid-item-title,
2930
- .elementor-widget-wpr-woo-grid .wpr-grid-item-title,
2931
- .elementor-widget-wpr-woo-category-grid-pro .wpr-grid-item-title {
2932
- font-size: 21px;
2933
- font-weight: 700;
2934
- line-height: 23px;
2935
- margin: 0;
2936
- }
2937
-
2938
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-title {
2939
- font-size: 22px;
2940
- margin: 0;
2941
- }
2942
-
2943
- .elementor-widget-wpr-media-grid .wpr-grid-item-title {
2944
- font-size: 15px;
2945
- font-weight: 500;
2946
- margin: 0;
2947
- }
2948
-
2949
- .elementor-widget-wpr-grid .wpr-grid-item-content,
2950
- .elementor-widget-wpr-grid .wpr-grid-item-excerpt,
2951
- .elementor-widget-wpr-grid .wpr-grid-item-author,
2952
- .elementor-widget-wpr-grid .wpr-grid-item-time,
2953
- .elementor-widget-wpr-grid .wpr-grid-item-read-more a,
2954
- .elementor-widget-wpr-grid .wpr-grid-item-likes,
2955
- .elementor-widget-wpr-grid .wpr-grid-item-sharing,
2956
- .elementor-widget-wpr-grid .wpr-grid-tax-style-1,
2957
- .elementor-widget-wpr-grid .wpr-grid-cf-style-1,
2958
- .elementor-widget-wpr-grid .wpr-grid-filters li,
2959
- .elementor-widget-wpr-grid .wpr-grid-pagination,
2960
- .elementor-widget-wpr-grid .wpr-grid-item-protected p,
2961
- .elementor-widget-wpr-media-grid .wpr-grid-item-sharing,
2962
- .elementor-widget-wpr-media-grid .wpr-grid-filters li,
2963
- .elementor-widget-wpr-woo-grid .wpr-grid-item-content,
2964
- .elementor-widget-wpr-woo-grid .wpr-grid-product-categories,
2965
- .elementor-widget-wpr-woo-grid .wpr-grid-product-tags,
2966
- .elementor-widget-wpr-woo-grid .wpr-woo-rating span,
2967
- .elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,
2968
- .elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,
2969
- .elementor-widget-wpr-woo-grid .wpr-grid-item-likes,
2970
- .elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,
2971
- .elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,
2972
- .elementor-widget-wpr-woo-grid .wpr-grid-pagination,
2973
- .elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,
2974
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-content,
2975
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt {
2976
- font-size: 14px;
2977
- }
2978
-
2979
- .elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1 {
2980
- font-size: 12px;
2981
- list-style-position: 0.5px;
2982
- }
2983
-
2984
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-date,
2985
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-time,
2986
- .elementor-widget-wpr-magazine-grid .wpr-grid-item-author {
2987
- font-size: 12px;
2988
- list-style-position: 0.3px;
2989
- }
2990
-
2991
- .elementor-widget-wpr-grid .wpr-grid-item-date,
2992
- .elementor-widget-wpr-grid .wpr-grid-item-comments,
2993
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2,
2994
- .elementor-widget-wpr-media-grid .wpr-grid-item-caption,
2995
- .elementor-widget-wpr-media-grid .wpr-grid-item-date,
2996
- .elementor-widget-wpr-media-grid .wpr-grid-item-time,
2997
- .elementor-widget-wpr-media-grid .wpr-grid-item-author,
2998
- .elementor-widget-wpr-media-grid .wpr-grid-item-likes,
2999
- .elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,
3000
- .elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,
3001
- .elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2 {
3002
- font-size: 14px;
3003
- }
3004
-
3005
- .elementor-widget-wpr-grid .wpr-grid-item-lightbox,
3006
- .elementor-widget-wpr-media-grid .wpr-grid-item-lightbox {
3007
- font-size: 18px;
3008
- }
3009
-
3010
- .elementor-widget-wpr-grid .wpr-grid-cf-style-2,
3011
- .elementor-widget-wpr-media-grid .wpr-grid-pagination {
3012
- font-size: 15px;
3013
- }
3014
-
3015
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a {
3016
- background-color: #605BE5;
3017
- }
3018
-
3019
- .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover {
3020
- background-color: #4A45D2;
3021
- }
3022
-
3023
- @media screen and (max-width: 580px) {
3024
- .wpr-grid-sorting-inner-wrap {
3025
- flex-direction: column;
3026
- align-items: flex-start;
3027
- }
3028
-
3029
- .wpr-products-result-count {
3030
- margin-bottom: 5px;
3031
- }
3032
-
3033
- .wpr-grid-orderby,
3034
- .wpr-grid-orderby select.orderby,
3035
- .wpr-products-result-count {
3036
- width: 100% !important;
3037
- }
3038
- }
3039
-
3040
-
3041
- /*--------------------------------------------------------------
3042
- == Magazine Grid
3043
- --------------------------------------------------------------*/
3044
-
3045
- .wpr-magazine-grid {
3046
- display: -ms-grid;
3047
- display: grid;
3048
- -webkit-box-pack: stretch;
3049
- -ms-flex-pack: stretch;
3050
- justify-content: stretch;
3051
- -ms-grid-rows: 1fr 1fr;
3052
- grid-template-rows: 1fr 1fr;
3053
- }
3054
-
3055
- .wpr-mgzn-grid-item {
3056
- padding: 0 !important;
3057
- text-align: center;
3058
- }
3059
-
3060
- .wpr-mgzn-grid-1vh-3h {
3061
- -ms-grid-rows: auto;
3062
- grid-template-rows: auto;
3063
- }
3064
-
3065
- .wpr-mgzn-grid-1-1-1 {
3066
- -ms-grid-rows: 1fr;
3067
- grid-template-rows: 1fr;
3068
- }
3069
-
3070
- .wpr-mgzn-grid-2-3,
3071
- .wpr-mgzn-grid-1-1-3 {
3072
- -ms-grid-columns: (1fr)[6];
3073
- grid-template-columns: repeat(6, 1fr);
3074
- }
3075
-
3076
- .wpr-mgzn-grid-2-h {
3077
- -ms-grid-columns: (1fr)[2];
3078
- grid-template-columns: repeat(2, 1fr);
3079
- }
3080
-
3081
- .wpr-mgzn-grid-3-h {
3082
- -ms-grid-columns: (1fr)[3];
3083
- grid-template-columns: repeat(3, 1fr);
3084
- }
3085
-
3086
- .wpr-mgzn-grid-4-h {
3087
- -ms-grid-columns: (1fr)[4];
3088
- grid-template-columns: repeat(4, 1fr);
3089
- }
3090
-
3091
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1) {
3092
- -ms-grid-column: 1;
3093
- grid-column-start: 1;
3094
- -ms-grid-row: 1;
3095
- grid-row-start: 1;
3096
- -ms-grid-row-span: 3;
3097
- grid-row-end: 4;
3098
- }
3099
-
3100
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2) {
3101
- -ms-grid-column: 2;
3102
- grid-column-start: 2;
3103
- }
3104
-
3105
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3) {
3106
- -ms-grid-column: 2;
3107
- grid-column-start: 2;
3108
- }
3109
-
3110
- .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4) {
3111
- -ms-grid-column: 2;
3112
- grid-column-start: 2;
3113
- }
3114
-
3115
- .wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),
3116
- .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),
3117
- .wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1),
3118
- .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1) {
3119
- -ms-grid-column: 1;
3120
- grid-column-start: 1;
3121
- -ms-grid-row: 1;
3122
- grid-row-start: 1;
3123
- -ms-grid-row-span: 2;
3124
- grid-row-end: 3;
3125
- }
3126
-
3127
- .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3128
- -ms-grid-row: 1;
3129
- grid-row-start: 1;
3130
- -ms-grid-row-span: 2;
3131
- grid-row-end: 3;
3132
- }
3133
-
3134
- .wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3135
- -ms-grid-column: 2;
3136
- grid-column-start: 2;
3137
- -ms-grid-row: 1;
3138
- grid-row-start: 1;
3139
- -ms-grid-row-span: 2;
3140
- grid-row-end: 3;
3141
- }
3142
-
3143
- .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3144
- -ms-grid-column: 2;
3145
- grid-column-start: 2;
3146
- -ms-grid-column-span: 2;
3147
- grid-column-end: 4;
3148
- }
3149
-
3150
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),
3151
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2),
3152
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),
3153
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3154
- -ms-grid-row: 1;
3155
- grid-row-start: 1;
3156
- -ms-grid-row-span: 1;
3157
- grid-row-end: 2;
3158
- }
3159
-
3160
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1) {
3161
- -ms-grid-column: 1;
3162
- grid-column-start: 1;
3163
- -ms-grid-column-span: 3;
3164
- grid-column-end: 4;
3165
- }
3166
-
3167
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2) {
3168
- -ms-grid-column: 4;
3169
- grid-column-start: 4;
3170
- -ms-grid-column-span: 3;
3171
- grid-column-end: 7;
3172
- }
3173
-
3174
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1) {
3175
- -ms-grid-column: 1;
3176
- grid-column-start: 1;
3177
- -ms-grid-column-span: 4;
3178
- grid-column-end: 5;
3179
- }
3180
-
3181
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3182
- -ms-grid-column: 5;
3183
- grid-column-start: 5;
3184
- -ms-grid-column-span: 2;
3185
- grid-column-end: 7;
3186
- }
3187
-
3188
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3189
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3190
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3191
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),
3192
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),
3193
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3194
- -ms-grid-row: 2;
3195
- grid-row-start: 2;
3196
- -ms-grid-row-span: 1;
3197
- grid-row-end: 3;
3198
- }
3199
-
3200
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3201
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3) {
3202
- -ms-grid-column: 1;
3203
- grid-column-start: 1;
3204
- -ms-grid-column-span: 2;
3205
- grid-column-end: 3;
3206
- }
3207
-
3208
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3209
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4) {
3210
- -ms-grid-column: 3;
3211
- grid-column-start: 3;
3212
- -ms-grid-column-span: 2;
3213
- grid-column-end: 5;
3214
- }
3215
-
3216
- .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3217
- .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3218
- -ms-grid-column: 5;
3219
- grid-column-start: 5;
3220
- -ms-grid-column-span: 2;
3221
- grid-column-end: 7;
3222
- }
3223
-
3224
- .wpr-magazine-grid .wpr-grid-item-inner,
3225
- .wpr-magazine-grid .wpr-grid-media-wrap,
3226
- .wpr-magazine-grid .wpr-grid-image-wrap {
3227
- height: 100%;
3228
- }
3229
-
3230
- .wpr-magazine-grid .wpr-grid-image-wrap {
3231
- background-size: cover;
3232
- background-position: center center;
3233
- }
3234
-
3235
- .wpr-magazine-grid .wpr-grid-media-hover {
3236
- z-index: 1;
3237
- }
3238
-
3239
-
3240
- /* Responsive */
3241
-
3242
- @media screen and ( max-width: 1024px) {
3243
- /* Layout 1 */
3244
- .wpr-magazine-grid.wpr-mgzn-grid-1-2 {
3245
- -ms-grid-columns: 1fr 1fr !important;
3246
- grid-template-columns: 1fr 1fr !important;
3247
- -ms-grid-rows: 1fr 1fr 1fr;
3248
- grid-template-rows: 1fr 1fr 1fr;
3249
- }
3250
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(1) {
3251
- -ms-grid-row: 1;
3252
- -ms-grid-column: 1;
3253
- }
3254
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(2) {
3255
- -ms-grid-row: 1;
3256
- -ms-grid-column: 2;
3257
- }
3258
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(3) {
3259
- -ms-grid-row: 2;
3260
- -ms-grid-column: 1;
3261
- }
3262
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(4) {
3263
- -ms-grid-row: 2;
3264
- -ms-grid-column: 2;
3265
- }
3266
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(5) {
3267
- -ms-grid-row: 3;
3268
- -ms-grid-column: 1;
3269
- }
3270
- .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(6) {
3271
- -ms-grid-row: 3;
3272
- -ms-grid-column: 2;
3273
- }
3274
- .wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1) {
3275
- -ms-grid-column-span: 3 !important;
3276
- grid-column-end: 3 !important;
3277
- }
3278
- /* Layout 2 */
3279
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 {
3280
- -ms-grid-columns: 1fr 1fr !important;
3281
- grid-template-columns: 1fr 1fr !important;
3282
- -ms-grid-rows: 1fr 1fr 1fr !important;
3283
- grid-template-rows: 1fr 1fr 1fr !important;
3284
- }
3285
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(1) {
3286
- -ms-grid-row: 1;
3287
- -ms-grid-column: 1;
3288
- }
3289
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(2) {
3290
- -ms-grid-row: 1;
3291
- -ms-grid-column: 2;
3292
- }
3293
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(3) {
3294
- -ms-grid-row: 2;
3295
- -ms-grid-column: 1;
3296
- }
3297
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(4) {
3298
- -ms-grid-row: 2;
3299
- -ms-grid-column: 2;
3300
- }
3301
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(5) {
3302
- -ms-grid-row: 3;
3303
- -ms-grid-column: 1;
3304
- }
3305
- .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(6) {
3306
- -ms-grid-row: 3;
3307
- -ms-grid-column: 2;
3308
- }
3309
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1) {
3310
- -ms-grid-column-span: 3 !important;
3311
- grid-column-end: 3 !important;
3312
- -ms-grid-row-span: 2 !important;
3313
- grid-row-end: 2 !important;
3314
- }
3315
- .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2) {
3316
- -ms-grid-column: 1 !important;
3317
- grid-column-start: 1 !important;
3318
- -ms-grid-column-span: 2 !important;
3319
- grid-column-end: 3 !important;
3320
- }
3321
- /* Layout 3 */
3322
- .wpr-magazine-grid.wpr-mgzn-grid-1-4 {
3323
- -ms-grid-columns: 1fr 1fr !important;
3324
- grid-template-columns: 1fr 1fr !important;
3325
- -ms-grid-rows: (1fr)[3];
3326
- grid-template-rows: repeat(3, 1fr);
3327
- }
3328
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(1) {
3329
- -ms-grid-row: 1;
3330
- -ms-grid-column: 1;
3331
- }
3332
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(2) {
3333
- -ms-grid-row: 1;
3334
- -ms-grid-column: 2;
3335
- }
3336
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(3) {
3337
- -ms-grid-row: 2;
3338
- -ms-grid-column: 1;
3339
- }
3340
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(4) {
3341
- -ms-grid-row: 2;
3342
- -ms-grid-column: 2;
3343
- }
3344
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(5) {
3345
- -ms-grid-row: 3;
3346
- -ms-grid-column: 1;
3347
- }
3348
- .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(6) {
3349
- -ms-grid-row: 3;
3350
- -ms-grid-column: 2;
3351
- }
3352
- .wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1) {
3353
- -ms-grid-column: 1;
3354
- grid-column-start: 1;
3355
- -ms-grid-column-span: 2;
3356
- grid-column-end: 3;
3357
- -ms-grid-row-span: 1 !important;
3358
- grid-row-end: 1 !important;
3359
- }
3360
- /* Layout 4 */
3361
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 {
3362
- -ms-grid-columns: 1fr 1fr !important;
3363
- grid-template-columns: 1fr 1fr !important;
3364
- -ms-grid-rows: 1fr 1fr 1fr !important;
3365
- grid-template-rows: 1fr 1fr 1fr !important;
3366
- }
3367
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(1) {
3368
- -ms-grid-row: 1;
3369
- -ms-grid-column: 1;
3370
- }
3371
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(2) {
3372
- -ms-grid-row: 1;
3373
- -ms-grid-column: 2;
3374
- }
3375
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(3) {
3376
- -ms-grid-row: 2;
3377
- -ms-grid-column: 1;
3378
- }
3379
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(4) {
3380
- -ms-grid-row: 2;
3381
- -ms-grid-column: 2;
3382
- }
3383
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(5) {
3384
- -ms-grid-row: 3;
3385
- -ms-grid-column: 1;
3386
- }
3387
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(6) {
3388
- -ms-grid-row: 3;
3389
- -ms-grid-column: 2;
3390
- }
3391
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1) {
3392
- -ms-grid-column-span: 3;
3393
- grid-column-end: 3;
3394
- -ms-grid-row: 1;
3395
- grid-row-start: 1;
3396
- -ms-grid-row-span: 1;
3397
- grid-row-end: 2;
3398
- }
3399
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2) {
3400
- -ms-grid-column: 1;
3401
- grid-column-start: 1;
3402
- -ms-grid-column-span: 2;
3403
- grid-column-end: 3;
3404
- -ms-grid-row: 2;
3405
- grid-row-start: 2;
3406
- -ms-grid-row-span: 1;
3407
- grid-row-end: 3;
3408
- }
3409
- /* Layout 5 */
3410
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 {
3411
- -ms-grid-columns: 1fr 1fr !important;
3412
- grid-template-columns: 1fr 1fr !important;
3413
- -ms-grid-rows: 1fr 1fr 1fr !important;
3414
- grid-template-rows: 1fr 1fr 1fr !important;
3415
- }
3416
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(1) {
3417
- -ms-grid-row: 1;
3418
- -ms-grid-column: 1;
3419
- }
3420
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(2) {
3421
- -ms-grid-row: 1;
3422
- -ms-grid-column: 2;
3423
- }
3424
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(3) {
3425
- -ms-grid-row: 2;
3426
- -ms-grid-column: 1;
3427
- }
3428
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(4) {
3429
- -ms-grid-row: 2;
3430
- -ms-grid-column: 2;
3431
- }
3432
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(5) {
3433
- -ms-grid-row: 3;
3434
- -ms-grid-column: 1;
3435
- }
3436
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(6) {
3437
- -ms-grid-row: 3;
3438
- -ms-grid-column: 2;
3439
- }
3440
- .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2) {
3441
- -ms-grid-column: 1;
3442
- grid-column-start: 1;
3443
- -ms-grid-column-span: 2;
3444
- grid-column-end: 3;
3445
- -ms-grid-row: 2;
3446
- grid-row-start: 2;
3447
- }
3448
- /* Layout 6 */
3449
- .wpr-magazine-grid.wpr-mgzn-grid-1vh-3h {
3450
- -ms-grid-columns: 1fr 1fr !important;
3451
- grid-template-columns: 1fr 1fr !important;
3452
- }
3453
- /* Layout 7 */
3454
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 {
3455
- -ms-grid-columns: 1fr 1fr !important;
3456
- grid-template-columns: 1fr 1fr !important;
3457
- -ms-grid-rows: 1fr 1fr !important;
3458
- grid-template-rows: 1fr 1fr !important;
3459
- }
3460
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(1) {
3461
- -ms-grid-row: 1;
3462
- -ms-grid-column: 1;
3463
- }
3464
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(2) {
3465
- -ms-grid-row: 1;
3466
- -ms-grid-column: 2;
3467
- }
3468
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(3) {
3469
- -ms-grid-row: 2;
3470
- -ms-grid-column: 1;
3471
- }
3472
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(4) {
3473
- -ms-grid-row: 2;
3474
- -ms-grid-column: 2;
3475
- }
3476
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2) {
3477
- -ms-grid-column: 1;
3478
- grid-column-start: 1;
3479
- -ms-grid-column-span: 2;
3480
- grid-column-end: 3;
3481
- -ms-grid-row: 1;
3482
- grid-row-start: 1
3483
- }
3484
- /* Layout 8 */
3485
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 {
3486
- -ms-grid-columns: 1fr 1fr !important;
3487
- grid-template-columns: 1fr 1fr !important;
3488
- -ms-grid-rows: (1fr)[3];
3489
- grid-template-rows: repeat(3, 1fr);
3490
- }
3491
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(1) {
3492
- -ms-grid-row: 1;
3493
- -ms-grid-column: 1;
3494
- }
3495
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(2) {
3496
- -ms-grid-row: 1;
3497
- -ms-grid-column: 2;
3498
- }
3499
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(3) {
3500
- -ms-grid-row: 2;
3501
- -ms-grid-column: 1;
3502
- }
3503
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(4) {
3504
- -ms-grid-row: 2;
3505
- -ms-grid-column: 2;
3506
- }
3507
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(5) {
3508
- -ms-grid-row: 3;
3509
- -ms-grid-column: 1;
3510
- }
3511
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(6) {
3512
- -ms-grid-row: 3;
3513
- -ms-grid-column: 2;
3514
- }
3515
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1) {
3516
- -ms-grid-column: 1;
3517
- grid-column-start: 1;
3518
- -ms-grid-column-span: 2;
3519
- grid-column-end: 3;
3520
- -ms-grid-row-span: 2;
3521
- grid-row-end: 2;
3522
- }
3523
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2) {
3524
- -ms-grid-row: 2;
3525
- grid-row-start: 2;
3526
- -ms-grid-column: 1;
3527
- grid-column-start: 1;
3528
- -ms-grid-column-span: 1;
3529
- grid-column-end: 2;
3530
- }
3531
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3) {
3532
- -ms-grid-row: 2;
3533
- grid-row-start: 2;
3534
- -ms-grid-column: 2;
3535
- grid-column-start: 2;
3536
- -ms-grid-column-span: 1;
3537
- grid-column-end: 3;
3538
- }
3539
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4) {
3540
- -ms-grid-row: 3;
3541
- grid-row-start: 3;
3542
- -ms-grid-column: 1;
3543
- grid-column-start: 1;
3544
- -ms-grid-column-span: 1;
3545
- grid-column-end: 2;
3546
- }
3547
- .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5) {
3548
- -ms-grid-row: 3;
3549
- grid-row-start: 3;
3550
- -ms-grid-column: 2;
3551
- grid-column-start: 2;
3552
- -ms-grid-column-span: 1;
3553
- grid-column-end: 3;
3554
- }
3555
- /* Layout 9 */
3556
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 {
3557
- -ms-grid-columns: 1fr 1fr !important;
3558
- grid-template-columns: 1fr 1fr !important;
3559
- -ms-grid-rows: (1fr)[6] !important;
3560
- grid-template-rows: repeat(6, 1fr) !important;
3561
- }
3562
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(1) {
3563
- -ms-grid-row: 1;
3564
- -ms-grid-column: 1;
3565
- }
3566
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(2) {
3567
- -ms-grid-row: 1;
3568
- -ms-grid-column: 2;
3569
- }
3570
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(3) {
3571
- -ms-grid-row: 2;
3572
- -ms-grid-column: 1;
3573
- }
3574
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(4) {
3575
- -ms-grid-row: 2;
3576
- -ms-grid-column: 2;
3577
- }
3578
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(5) {
3579
- -ms-grid-row: 3;
3580
- -ms-grid-column: 1;
3581
- }
3582
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(6) {
3583
- -ms-grid-row: 3;
3584
- -ms-grid-column: 2;
3585
- }
3586
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(7) {
3587
- -ms-grid-row: 4;
3588
- -ms-grid-column: 1;
3589
- }
3590
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(8) {
3591
- -ms-grid-row: 4;
3592
- -ms-grid-column: 2;
3593
- }
3594
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(9) {
3595
- -ms-grid-row: 5;
3596
- -ms-grid-column: 1;
3597
- }
3598
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(10) {
3599
- -ms-grid-row: 5;
3600
- -ms-grid-column: 2;
3601
- }
3602
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(11) {
3603
- -ms-grid-row: 6;
3604
- -ms-grid-column: 1;
3605
- }
3606
- .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(12) {
3607
- -ms-grid-row: 6;
3608
- -ms-grid-column: 2;
3609
- }
3610
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1) {
3611
- -ms-grid-column: 1;
3612
- grid-column-start: 1;
3613
- -ms-grid-column-span: 1;
3614
- grid-column-end: 2;
3615
- -ms-grid-row: 1;
3616
- grid-row-start: 1;
3617
- -ms-grid-row-span: 3;
3618
- grid-row-end: 4;
3619
- }
3620
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2) {
3621
- -ms-grid-column: 1;
3622
- grid-column-start: 1;
3623
- -ms-grid-column-span: 1;
3624
- grid-column-end: 2;
3625
- -ms-grid-row: 4;
3626
- grid-row-start: 4;
3627
- -ms-grid-row-span: 3;
3628
- grid-row-end: 7;
3629
- }
3630
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3) {
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: 1;
3636
- grid-row-start: 1;
3637
- -ms-grid-row-span: 2;
3638
- grid-row-end: 3;
3639
- }
3640
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4) {
3641
- -ms-grid-column: 2;
3642
- grid-column-start: 2;
3643
- -ms-grid-column-span: 1;
3644
- grid-column-end: 3;
3645
- -ms-grid-row: 3;
3646
- grid-row-start: 3;
3647
- -ms-grid-row-span: 2;
3648
- grid-row-end: 5;
3649
- }
3650
- .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5) {
3651
- -ms-grid-column: 2;
3652
- grid-column-start: 2;
3653
- -ms-grid-column-span: 1;
3654
- grid-column-end: 3;
3655
- -ms-grid-row: 5;
3656
- grid-row-start: 5;
3657
- -ms-grid-row-span: 2;
3658
- grid-row-end: 7;
3659
- }
3660
- /* Layout 12 */
3661
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1 {
3662
- -ms-grid-columns: 1fr 1fr !important;
3663
- grid-template-columns: 1fr 1fr !important;
3664
- -ms-grid-rows: (1fr)[2] !important;
3665
- grid-template-rows: repeat(2, 1fr) !important;
3666
- }
3667
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3668
- -ms-grid-row: 1;
3669
- -ms-grid-column: 1;
3670
- }
3671
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3672
- -ms-grid-row: 1;
3673
- -ms-grid-column: 2;
3674
- }
3675
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3676
- -ms-grid-row: 2;
3677
- -ms-grid-column: 1;
3678
- }
3679
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(4) {
3680
- -ms-grid-row: 2;
3681
- -ms-grid-column: 2;
3682
- }
3683
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2 {
3684
- -ms-grid-columns: 1fr 1fr !important;
3685
- grid-template-columns: 1fr 1fr !important;
3686
- -ms-grid-rows: (1fr)[4] !important;
3687
- grid-template-rows: repeat(4, 1fr) !important;
3688
- }
3689
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3690
- -ms-grid-row: 1;
3691
- -ms-grid-column: 1;
3692
- }
3693
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3694
- -ms-grid-row: 1;
3695
- -ms-grid-column: 2;
3696
- }
3697
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3698
- -ms-grid-row: 2;
3699
- -ms-grid-column: 1;
3700
- }
3701
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3702
- -ms-grid-row: 2;
3703
- -ms-grid-column: 2;
3704
- }
3705
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3706
- -ms-grid-row: 3;
3707
- -ms-grid-column: 1;
3708
- }
3709
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3710
- -ms-grid-row: 3;
3711
- -ms-grid-column: 2;
3712
- }
3713
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(7) {
3714
- -ms-grid-row: 4;
3715
- -ms-grid-column: 1;
3716
- }
3717
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(8) {
3718
- -ms-grid-row: 4;
3719
- -ms-grid-column: 2;
3720
- }
3721
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3 {
3722
- -ms-grid-columns: 1fr 1fr !important;
3723
- grid-template-columns: 1fr 1fr !important;
3724
- -ms-grid-rows: (1fr)[6] !important;
3725
- grid-template-rows: repeat(6, 1fr) !important;
3726
- }
3727
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3728
- -ms-grid-row: 1;
3729
- -ms-grid-column: 1;
3730
- }
3731
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3732
- -ms-grid-row: 1;
3733
- -ms-grid-column: 2;
3734
- }
3735
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3736
- -ms-grid-row: 2;
3737
- -ms-grid-column: 1;
3738
- }
3739
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3740
- -ms-grid-row: 2;
3741
- -ms-grid-column: 2;
3742
- }
3743
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3744
- -ms-grid-row: 3;
3745
- -ms-grid-column: 1;
3746
- }
3747
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3748
- -ms-grid-row: 3;
3749
- -ms-grid-column: 2;
3750
- }
3751
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3752
- -ms-grid-row: 4;
3753
- -ms-grid-column: 1;
3754
- }
3755
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3756
- -ms-grid-row: 4;
3757
- -ms-grid-column: 2;
3758
- }
3759
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3760
- -ms-grid-row: 5;
3761
- -ms-grid-column: 1;
3762
- }
3763
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(10) {
3764
- -ms-grid-row: 5;
3765
- -ms-grid-column: 2;
3766
- }
3767
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(11) {
3768
- -ms-grid-row: 6;
3769
- -ms-grid-column: 1;
3770
- }
3771
- .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(12) {
3772
- -ms-grid-row: 6;
3773
- -ms-grid-column: 2;
3774
- }
3775
- }
3776
-
3777
- @media screen and ( max-width: 767px) {
3778
- /* Layout 11 */
3779
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1 {
3780
- -ms-grid-columns: 1fr !important;
3781
- grid-template-columns: 1fr !important;
3782
- -ms-grid-rows: (1fr)[3] !important;
3783
- grid-template-rows: repeat(3, 1fr) !important;
3784
- }
3785
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3786
- -ms-grid-row: 1;
3787
- -ms-grid-column: 1;
3788
- }
3789
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3790
- -ms-grid-row: 2;
3791
- -ms-grid-column: 1;
3792
- }
3793
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3794
- -ms-grid-row: 3;
3795
- -ms-grid-column: 1;
3796
- }
3797
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2 {
3798
- -ms-grid-columns: 1fr !important;
3799
- grid-template-columns: 1fr !important;
3800
- -ms-grid-rows: (1fr)[6] !important;
3801
- grid-template-rows: repeat(6, 1fr) !important;
3802
- }
3803
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3804
- -ms-grid-row: 1;
3805
- -ms-grid-column: 1;
3806
- }
3807
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3808
- -ms-grid-row: 2;
3809
- -ms-grid-column: 1;
3810
- }
3811
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3812
- -ms-grid-row: 3;
3813
- -ms-grid-column: 1;
3814
- }
3815
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3816
- -ms-grid-row: 4;
3817
- -ms-grid-column: 1;
3818
- }
3819
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3820
- -ms-grid-row: 5;
3821
- -ms-grid-column: 1;
3822
- }
3823
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3824
- -ms-grid-row: 6;
3825
- -ms-grid-column: 1;
3826
- }
3827
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3 {
3828
- -ms-grid-columns: 1fr !important;
3829
- grid-template-columns: 1fr !important;
3830
- -ms-grid-rows: (1fr)[9] !important;
3831
- grid-template-rows: repeat(9, 1fr) !important;
3832
- }
3833
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3834
- -ms-grid-row: 1;
3835
- -ms-grid-column: 1;
3836
- }
3837
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3838
- -ms-grid-row: 2;
3839
- -ms-grid-column: 1;
3840
- }
3841
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3842
- -ms-grid-row: 3;
3843
- -ms-grid-column: 1;
3844
- }
3845
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3846
- -ms-grid-row: 4;
3847
- -ms-grid-column: 1;
3848
- }
3849
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3850
- -ms-grid-row: 5;
3851
- -ms-grid-column: 1;
3852
- }
3853
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3854
- -ms-grid-row: 6;
3855
- -ms-grid-column: 1;
3856
- }
3857
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3858
- -ms-grid-row: 7;
3859
- -ms-grid-column: 1;
3860
- }
3861
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3862
- -ms-grid-row: 8;
3863
- -ms-grid-column: 1;
3864
- }
3865
- .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3866
- -ms-grid-row: 9;
3867
- -ms-grid-column: 1;
3868
- }
3869
- }
3870
-
3871
-
3872
- /*--------------------------------------------------------------
3873
- == Sharing Buttons
3874
- --------------------------------------------------------------*/
3875
-
3876
- .wpr-sharing-buttons .wpr-sharing-icon {
3877
- overflow: hidden;
3878
- position: relative;
3879
- display: -webkit-box;
3880
- display: -ms-flexbox;
3881
- display: flex;
3882
- color: #ffffff !important;
3883
- }
3884
-
3885
- .wpr-sharing-buttons .wpr-sharing-icon i {
3886
- display: block;
3887
- text-align: center;
3888
- }
3889
-
3890
- .wpr-sharing-label {
3891
- -webkit-box-flex: 1;
3892
- -ms-flex-positive: 1;
3893
- flex-grow: 1;
3894
- }
3895
-
3896
- .elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,
3897
- .elementor-widget-wpr-sharing-buttons[class*="elementor-grid-pro-"] .wpr-sharing-buttons {
3898
- display: -webkit-box;
3899
- display: -ms-flexbox;
3900
- display: flex;
3901
- }
3902
-
3903
- .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 {
3904
- width: 100% !important;
3905
- }
3906
-
3907
- .wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon {
3908
- width: 100%;
3909
- margin-right: 0 !important;
3910
- }
3911
-
3912
- .wpr-sharing-buttons .wpr-sharing-icon:last-child,
3913
- .wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,
3914
- .wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),
3915
- .wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),
3916
- .wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),
3917
- .wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),
3918
- .wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n) {
3919
- margin-right: 0 !important;
3920
- }
3921
-
3922
- .wpr-sharing-buttons .wpr-sharing-icon {
3923
- transition-propery: opacity, border-color;
3924
- -webkit-transition-timing-function: linear;
3925
- -o-transition-timing-function: linear;
3926
- transition-timing-function: linear;
3927
- }
3928
-
3929
- .wpr-sharing-buttons .wpr-sharing-icon i,
3930
- .wpr-sharing-buttons .wpr-sharing-icon span {
3931
- transition-propery: color, background-color;
3932
- -webkit-transition-timing-function: linear;
3933
- -o-transition-timing-function: linear;
3934
- transition-timing-function: linear;
3935
- }
3936
-
3937
- .wpr-sharing-official .wpr-sharing-icon:hover {
3938
- opacity: 0.85;
3939
- }
3940
-
3941
- .wpr-sharing-official .wpr-sharing-facebook-f i,
3942
- .wpr-sharing-official .wpr-sharing-facebook-f span {
3943
- background-color: #3b5998;
3944
- }
3945
-
3946
- .wpr-sharing-official .wpr-sharing-twitter i,
3947
- .wpr-sharing-official .wpr-sharing-twitter span {
3948
- background-color: #1da1f2;
3949
- }
3950
-
3951
- .wpr-sharing-official .wpr-sharing-linkedin-in i,
3952
- .wpr-sharing-official .wpr-sharing-linkedin-in span {
3953
- background-color: #0077b5;
3954
- }
3955
-
3956
- .wpr-sharing-official .wpr-sharing-pinterest-p i,
3957
- .wpr-sharing-official .wpr-sharing-pinterest-p span {
3958
- background-color: #bd081c;
3959
- }
3960
-
3961
- .wpr-sharing-official .wpr-sharing-reddit i,
3962
- .wpr-sharing-official .wpr-sharing-reddit span {
3963
- background-color: #ff4500;
3964
- }
3965
-
3966
- .wpr-sharing-official .wpr-sharing-tumblr i,
3967
- .wpr-sharing-official .wpr-sharing-tumblr span {
3968
- background-color: #35465c;
3969
- }
3970
-
3971
- .wpr-sharing-official .wpr-sharing-digg i,
3972
- .wpr-sharing-official .wpr-sharing-digg span {
3973
- background-color: #005be2;
3974
- }
3975
-
3976
- .wpr-sharing-official .wpr-sharing-xing i,
3977
- .wpr-sharing-official .wpr-sharing-xing span {
3978
- background-color: #026466;
3979
- }
3980
-
3981
- .wpr-sharing-official .wpr-sharing-stumbleupon i,
3982
- .wpr-sharing-official .wpr-sharing-stumbleupon span {
3983
- background-color: #eb4924;
3984
- }
3985
-
3986
- .wpr-sharing-official .wpr-sharing-vk i,
3987
- .wpr-sharing-official .wpr-sharing-vk span {
3988
- background-color: #45668e;
3989
- }
3990
-
3991
- .wpr-sharing-official .wpr-sharing-odnoklassniki i,
3992
- .wpr-sharing-official .wpr-sharing-odnoklassniki span {
3993
- background-color: #f4731c;
3994
- }
3995
-
3996
- .wpr-sharing-official .wpr-sharing-get-pocket i,
3997
- .wpr-sharing-official .wpr-sharing-get-pocket span {
3998
- background-color: #ef3f56;
3999
- }
4000
-
4001
- .wpr-sharing-official .wpr-sharing-skype i,
4002
- .wpr-sharing-official .wpr-sharing-skype span {
4003
- background-color: #00aff0;
4004
- }
4005
-
4006
- .wpr-sharing-official .wpr-sharing-whatsapp i,
4007
- .wpr-sharing-official .wpr-sharing-whatsapp span {
4008
- background-color: #25d366;
4009
- }
4010
-
4011
- .wpr-sharing-official .wpr-sharing-telegram i,
4012
- .wpr-sharing-official .wpr-sharing-telegram span {
4013
- background-color: #2ca5e0;
4014
- }
4015
-
4016
- .wpr-sharing-official .wpr-sharing-delicious i,
4017
- .wpr-sharing-official .wpr-sharing-delicious span {
4018
- background-color: #3399ff;
4019
- }
4020
-
4021
- .wpr-sharing-official .wpr-sharing-envelope i,
4022
- .wpr-sharing-official .wpr-sharing-envelope span {
4023
- background-color: #c13B2c;
4024
- }
4025
-
4026
- .wpr-sharing-official .wpr-sharing-print i,
4027
- .wpr-sharing-official .wpr-sharing-print span {
4028
- background-color: #96c859;
4029
- }
4030
-
4031
- .wpr-sharing-official .wpr-sharing-facebook-f {
4032
- border-color: #3b5998;
4033
- }
4034
-
4035
- .wpr-sharing-official .wpr-sharing-twitter {
4036
- border-color: #1da1f2;
4037
- }
4038
-
4039
- .wpr-sharing-official .wpr-sharing-linkedin-in {
4040
- border-color: #0077b5;
4041
- }
4042
-
4043
- .wpr-sharing-official .wpr-sharing-pinterest-p {
4044
- border-color: #bd081c;
4045
- }
4046
-
4047
- .wpr-sharing-official .wpr-sharing-reddit {
4048
- border-color: #ff4500;
4049
- }
4050
-
4051
- .wpr-sharing-official .wpr-sharing-tumblr {
4052
- border-color: #35465c;
4053
- }
4054
-
4055
- .wpr-sharing-official .wpr-sharing-digg {
4056
- border-color: #005be2;
4057
- }
4058
-
4059
- .wpr-sharing-official .wpr-sharing-xing {
4060
- border-color: #026466;
4061
- }
4062
-
4063
- .wpr-sharing-official .wpr-sharing-stumbleupon {
4064
- border-color: #eb4924;
4065
- }
4066
-
4067
- .wpr-sharing-official .wpr-sharing-vk {
4068
- border-color: #45668e;
4069
- }
4070
-
4071
- .wpr-sharing-official .wpr-sharing-odnoklassniki {
4072
- border-color: #f4731c;
4073
- }
4074
-
4075
- .wpr-sharing-official .wpr-sharing-get-pocket {
4076
- border-color: #ef3f56;
4077
- }
4078
-
4079
- .wpr-sharing-official .wpr-sharing-skype {
4080
- border-color: #00aff0;
4081
- }
4082
-
4083
- .wpr-sharing-official .wpr-sharing-whatsapp {
4084
- border-color: #25d366;
4085
- }
4086
-
4087
- .wpr-sharing-official .wpr-sharing-telegram {
4088
- border-color: #2ca5e0;
4089
- }
4090
-
4091
- .wpr-sharing-official .wpr-sharing-delicious {
4092
- border-color: #3399ff;
4093
- }
4094
-
4095
- .wpr-sharing-official .wpr-sharing-envelope {
4096
- border-color: #c13B2c;
4097
- }
4098
-
4099
- .wpr-sharing-official .wpr-sharing-print {
4100
- border-color: #96c859;
4101
- }
4102
-
4103
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,
4104
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span {
4105
- color: #3b5998;
4106
- background-color: transparent;
4107
- }
4108
-
4109
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,
4110
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span {
4111
- color: #1da1f2;
4112
- background-color: transparent;
4113
- }
4114
-
4115
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,
4116
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span {
4117
- color: #0077b5;
4118
- background-color: transparent;
4119
- }
4120
-
4121
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,
4122
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span {
4123
- color: #bd081c;
4124
- background-color: transparent;
4125
- }
4126
-
4127
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,
4128
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span {
4129
- color: #ff4500;
4130
- background-color: transparent;
4131
- }
4132
-
4133
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,
4134
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span {
4135
- color: #35465c;
4136
- background-color: transparent;
4137
- }
4138
-
4139
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,
4140
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span {
4141
- color: #005be2;
4142
- background-color: transparent;
4143
- }
4144
-
4145
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,
4146
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span {
4147
- color: #026466;
4148
- background-color: transparent;
4149
- }
4150
-
4151
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,
4152
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span {
4153
- color: #eb4924;
4154
- background-color: transparent;
4155
- }
4156
-
4157
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,
4158
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span {
4159
- color: #45668e;
4160
- background-color: transparent;
4161
- }
4162
-
4163
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,
4164
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span {
4165
- color: #f4731c;
4166
- background-color: transparent;
4167
- }
4168
-
4169
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,
4170
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span {
4171
- color: #ef3f56;
4172
- background-color: transparent;
4173
- }
4174
-
4175
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,
4176
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span {
4177
- color: #00aff0;
4178
- background-color: transparent;
4179
- }
4180
-
4181
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,
4182
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span {
4183
- color: #25d366;
4184
- background-color: transparent;
4185
- }
4186
-
4187
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,
4188
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span {
4189
- color: #2ca5e0;
4190
- background-color: transparent;
4191
- }
4192
-
4193
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,
4194
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span {
4195
- color: #3399ff;
4196
- background-color: transparent;
4197
- }
4198
-
4199
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,
4200
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span {
4201
- color: #c13B2c;
4202
- background-color: transparent;
4203
- }
4204
-
4205
- .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,
4206
- .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span {
4207
- color: #96c859;
4208
- background-color: transparent;
4209
- }
4210
-
4211
-
4212
- /*--------------------------------------------------------------
4213
- == CountDown
4214
- --------------------------------------------------------------*/
4215
-
4216
- .wpr-countdown-wrap {
4217
- display: -webkit-box;
4218
- display: -ms-flexbox;
4219
- display: flex;
4220
- -webkit-box-orient: horizontal;
4221
- -webkit-box-direction: normal;
4222
- -ms-flex-direction: row;
4223
- flex-direction: row;
4224
- margin: 0 auto;
4225
- }
4226
-
4227
- .wpr-countdown-item {
4228
- -webkit-box-flex: 1;
4229
- -ms-flex-positive: 1;
4230
- flex-grow: 1;
4231
- -ms-flex-preferred-size: 0;
4232
- flex-basis: 0;
4233
- overflow: hidden;
4234
- color: #fff;
4235
- text-align: center;
4236
- }
4237
-
4238
- .wpr-countdown-item:first-child {
4239
- margin-left: 0 !important;
4240
- }
4241
-
4242
- .wpr-countdown-item:last-of-type {
4243
- margin-right: 0 !important;
4244
- }
4245
-
4246
- .wpr-countdown-number {
4247
- display: block;
4248
- }
4249
-
4250
- .wpr-countdown-separator {
4251
- -ms-flex-item-align: center;
4252
- -ms-grid-row-align: center;
4253
- align-self: center;
4254
- }
4255
-
4256
- .wpr-countdown-separator span {
4257
- display: block;
4258
- }
4259
-
4260
- .wpr-countdown-separator:last-of-type {
4261
- display: none !important;
4262
- }
4263
-
4264
- .wpr-countdown-wrap+div:not(.wpr-countdown-message) {
4265
- display: none;
4266
- }
4267
-
4268
- .wpr-countdown-message+div {
4269
- display: none;
4270
- }
4271
-
4272
-
4273
- /* Defaults */
4274
-
4275
- .elementor-widget-wpr-countdown .wpr-countdown-item {
4276
- background-color: #605BE5;
4277
- }
4278
-
4279
- .elementor-widget-wpr-countdown .wpr-countdown-number {
4280
- font-size: 70px;
4281
- }
4282
-
4283
- .elementor-widget-wpr-countdown .wpr-countdown-label {
4284
- font-size: 19px;
4285
- line-height: 45px;
4286
- }
4287
-
4288
-
4289
- /*--------------------------------------------------------------
4290
- == Google Maps
4291
- --------------------------------------------------------------*/
4292
-
4293
- .wpr-google-map .gm-style-iw-c {
4294
- padding: 0 !important;
4295
- }
4296
-
4297
- .wpr-google-map .gm-style-iw-c>button {
4298
- top: 0 !important;
4299
- right: 0 !important;
4300
- }
4301
-
4302
- .wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3 {
4303
- margin-bottom: 7px;
4304
- }
4305
-
4306
- .wpr-google-map .gm-style-iw-d {
4307
- overflow: hidden !important;
4308
- }
4309
-
4310
- .wpr-google-map .gm-style img {
4311
- max-width: none !important;
4312
- }
4313
-
4314
-
4315
- /*--------------------------------------------------------------
4316
- == Forms
4317
- --------------------------------------------------------------*/
4318
-
4319
- .wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap {
4320
- display: block !important;
4321
- }
4322
-
4323
- .wpcf7 label,
4324
- .wpcf7-quiz-label {
4325
- width: 100%;
4326
- }
4327
-
4328
- .wpr-forms-container .wpcf7 p {
4329
- margin-bottom: 0;
4330
- }
4331
-
4332
- .wpr-forms-container .wpcf7-form .ajax-loader {
4333
- display: block;
4334
- visibility: hidden;
4335
- height: 0;
4336
- overflow: hidden;
4337
- clear: both;
4338
- }
4339
-
4340
- .wpr-forms-container .wpcf7-select,
4341
- .wpr-forms-container .wpcf7-number,
4342
- .wpr-forms-container .wpcf7-date,
4343
- .wpr-forms-container select.wpforms-field-medium,
4344
- .wpr-forms-container .nf-field-container select,
4345
- .wpr-forms-container .caldera-grid select.form-control {
4346
- padding: 7px 10px !important;
4347
- }
4348
-
4349
- .wpr-forms-container .wpcf7-date {
4350
- width: auto !important;
4351
- }
4352
-
4353
- .wpr-forms-container .wpcf7-number {
4354
- width: 100px !important;
4355
- }
4356
-
4357
- .wpr-forms-container .wpcf7-form .wpcf7-submit {
4358
- display: block;
4359
- }
4360
-
4361
- .wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
4362
- .wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
4363
- .wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
4364
- margin-left: 0;
4365
- margin-right: 10px;
4366
- }
4367
-
4368
- .wpr-forms-container .wpcf7-response-output {
4369
- clear: both;
4370
- margin: 0;
4371
- }
4372
-
4373
- .wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium {
4374
- display: inline-block !important;
4375
- max-width: 100% !important;
4376
- }
4377
-
4378
- .wpr-forms-container .wpforms-field-phone,
4379
- .wpr-forms-container .wpforms-field-address,
4380
- .wpr-forms-container .wpforms-page-indicator {
4381
- display: inline-block;
4382
- }
4383
-
4384
- .wpr-forms-container .wpforms-field-address .wpforms-field-medium {
4385
- max-width: 100% !important;
4386
- }
4387
-
4388
- .wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,
4389
- .wpr-forms-container .wpforms-field-address div.wpforms-field-medium {
4390
- width: 100% !important;
4391
- max-width: 100% !important;
4392
- }
4393
-
4394
- .wpr-forms-container .intl-tel-input.allow-dropdown {
4395
- display: inline-block !important;
4396
- max-width: 100% !important;
4397
- }
4398
-
4399
- .wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child {
4400
- margin-right: 0 !important;
4401
- }
4402
-
4403
- .wpr-forms-container .wpcf7-mail-sent-ok,
4404
- .wpr-forms-container .wpforms-confirmation-container-full,
4405
- .wpr-forms-container .nf-response-msg,
4406
- .wpr-forms-container .caldera-grid .alert-success {
4407
- padding: 10px 15px;
4408
- border: 2px solid;
4409
- }
4410
-
4411
- .wpr-forms-container label.wpforms-error a {
4412
- text-decoration: underline;
4413
- }
4414
-
4415
- .wpr-forms-container .wpforms-smart-phone-field {
4416
- text-indent: 0 !important;
4417
- }
4418
-
4419
- .wpr-forms-container select.ninja-forms-field {
4420
- line-height: 1 !important;
4421
- }
4422
-
4423
- .wpr-forms-container .nf-form-wrap .checkbox-wrap label {
4424
- display: inline-block !important;
4425
- }
4426
-
4427
- .wpr-forms-container .nf-form-wrap .starrating .stars {
4428
- display: inline-block;
4429
- }
4430
-
4431
- .wpr-forms-submit-center .wpcf7-submit,
4432
- .wpr-forms-submit-center .wpforms-submit,
4433
- .wpr-forms-submit-center .wpforms-page-next,
4434
- .wpr-forms-submit-center .wpforms-page-previous,
4435
- .wpr-forms-submit-center .submit-wrap .ninja-forms-field,
4436
- .wpr-forms-submit-center .caldera-grid .btn-default:not(a) {
4437
- display: block !important;
4438
- margin-left: auto !important;
4439
- margin-right: auto !important;
4440
- }
4441
-
4442
- .wpr-forms-submit-left .wpcf7-submit,
4443
- .wpr-forms-submit-left .wpforms-submit,
4444
- .wpr-forms-submit-left .wpforms-page-next,
4445
- .wpr-forms-submit-left .wpforms-page-previous,
4446
- .wpr-forms-submit-left .submit-wrap .ninja-forms-field,
4447
- .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4448
- float: left !important;
4449
- }
4450
-
4451
- .wpr-forms-submit-right .wpcf7-submit,
4452
- .wpr-forms-submit-right .wpforms-submit,
4453
- .wpr-forms-submit-right .wpforms-page-next,
4454
- .wpr-forms-submit-right .wpforms-page-previous,
4455
- .wpr-forms-submit-right .submit-wrap .ninja-forms-field,
4456
- .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4457
- float: right !important;
4458
- }
4459
-
4460
- .wpr-forms-submit-justify .wpcf7-submit,
4461
- .wpr-forms-submit-justify .wpforms-submit,
4462
- .wpr-forms-submit-justify .wpforms-page-next,
4463
- .wpr-forms-submit-justify .wpforms-page-previous,
4464
- .wpr-forms-submit-justify .submit-wrap .ninja-forms-field,
4465
- .wpr-forms-submit-justify .caldera-grid .btn-default:not(a) {
4466
- display: block !important;
4467
- width: 100% !important;
4468
- text-align: center !important;
4469
- }
4470
-
4471
- .wpr-custom-chk-radio .wpcf7-checkbox input,
4472
- .wpr-custom-chk-radio .wpcf7-radio input,
4473
- .wpr-custom-chk-radio .wpcf7-acceptance input,
4474
- .wpr-custom-chk-radio .wpforms-field-radio input,
4475
- .wpr-custom-chk-radio .wpforms-field-checkbox input,
4476
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input {
4477
- display: none !important;
4478
- }
4479
-
4480
- .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,
4481
- .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,
4482
- .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,
4483
- .wpr-custom-chk-radio .wpforms-field-checkbox input+label,
4484
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,
4485
- .wpr-custom-chk-radio .wpforms-field-radio input+label,
4486
- .wpr-custom-chk-radio .wpforms-field-radio input+span {
4487
- cursor: pointer;
4488
- -webkit-user-select: none;
4489
- -moz-user-select: none;
4490
- -ms-user-select: none;
4491
- -o-user-select: none;
4492
- user-select: none;
4493
- }
4494
-
4495
- .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4496
- .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4497
- .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4498
- .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4499
- .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4500
- .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4501
- .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4502
- content: "\2714";
4503
- display: inline-block;
4504
- position: relative;
4505
- top: -1px;
4506
- text-align: center;
4507
- border: 1px solid;
4508
- margin-right: 5px;
4509
- color: transparent;
4510
- }
4511
-
4512
- .wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,
4513
- .wpr-forms-align-right .wpforms-field-radio ul li input:first-child,
4514
- .wpr-forms-align-right .wpforms-image-choices label input:first-of-type,
4515
- .wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child {
4516
- float: right;
4517
- margin-right: 0 !important;
4518
- margin-left: 10px !important;
4519
- }
4520
-
4521
- .wpr-forms-align-right .wpr-forms-container,
4522
- .wpr-forms-align-right .wpr-forms-container .wpcf7-form-control {
4523
- direction: rtl;
4524
- }
4525
-
4526
- .wpr-forms-align-right .nf-form-wrap .field-wrap {
4527
- -webkit-box-pack: end;
4528
- -ms-flex-pack: end;
4529
- justify-content: flex-end;
4530
- }
4531
-
4532
- .wpr-forms-align-right .label-right .nf-field-description {
4533
- margin-right: 0 !important;
4534
- }
4535
-
4536
- .wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after {
4537
- right: auto !important;
4538
- left: 1px !important;
4539
- }
4540
-
4541
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4542
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4543
- .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4544
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4545
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4546
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4547
- .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4548
- margin-right: 0;
4549
- margin-left: 5px;
4550
- }
4551
-
4552
- .wpr-forms-align-right .wpcf7-list-item.last,
4553
- .wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,
4554
- .wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child {
4555
- margin-right: 0 !important;
4556
- }
4557
-
4558
- .wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container {
4559
- left: auto !important;
4560
- right: 0 !important;
4561
- }
4562
-
4563
- .wpr-forms-align-right .caldera-grid .col-sm-4,
4564
- .wpr-forms-align-right .caldera-grid .col-sm-6 {
4565
- float: right;
4566
- }
4567
-
4568
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,
4569
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,
4570
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label {
4571
- padding-left: 0 !important;
4572
- padding-right: 20px;
4573
- }
4574
-
4575
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,
4576
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input {
4577
- margin-right: -20px !important;
4578
- margin-left: 0 !important;
4579
- }
4580
-
4581
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card {
4582
- background-position: 99% center !important;
4583
- }
4584
-
4585
- .wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar {
4586
- text-align: right !important;
4587
- }
4588
-
4589
- .wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar {
4590
- text-align: left !important;
4591
- }
4592
-
4593
- .wpr-forms-container .nf-form-content {
4594
- padding: 0;
4595
- max-width: none;
4596
- }
4597
-
4598
- .wpr-forms-container .nf-form-content .label-above .field-wrap {
4599
- -webkit-box-orient: vertical;
4600
- -webkit-box-direction: normal;
4601
- -ms-flex-direction: column;
4602
- flex-direction: column;
4603
- }
4604
-
4605
- .wpr-forms-container .nf-form-content .label-above .nf-field-label {
4606
- margin-top: 0;
4607
- }
4608
-
4609
- .wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field {
4610
- border-radius: 0;
4611
- }
4612
-
4613
- .wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field {
4614
- display: block;
4615
- }
4616
-
4617
- .wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field {
4618
- cursor: pointer;
4619
- }
4620
-
4621
- .wpr-forms-container .listselect-wrap>div select.ninja-forms-field {
4622
- -webkit-appearance: menulist;
4623
- -moz-appearance: menulist;
4624
- appearance: menulist;
4625
- }
4626
-
4627
- .wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,
4628
- .wpr-forms-container .nf-form-content input:not([type=button]),
4629
- .wpr-forms-container .nf-form-content textarea {
4630
- background: transparent;
4631
- border: none;
4632
- }
4633
-
4634
- .wpr-forms-container .checkbox-container.label-right .field-wrap {
4635
- display: block;
4636
- }
4637
-
4638
- .wpr-forms-container .listradio-wrap ul li,
4639
- .wpr-forms-container .listcheckbox-wrap ul li {
4640
- display: inline-block;
4641
- margin-right: 10px !important;
4642
- margin-bottom: 7px !important;
4643
- }
4644
-
4645
- .wpr-forms-container .listcheckbox-container .nf-field-element label:after {
4646
- top: 1px;
4647
- }
4648
-
4649
- .wpr-forms-container .listradio-wrap .nf-field-element label {
4650
- margin-left: 25px !important;
4651
- }
4652
-
4653
- .wpr-forms-container .listradio-wrap .nf-field-element label:after {
4654
- top: 0;
4655
- left: -25px;
4656
- }
4657
-
4658
- .wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before {
4659
- top: 4px;
4660
- left: -21px;
4661
- }
4662
-
4663
- .wpr-forms-container .listradio-wrap label,
4664
- .wpr-forms-container .checkbox-wrap label,
4665
- .wpr-forms-container .listcheckbox-wrap label {
4666
- cursor: pointer;
4667
- -webkit-user-select: none;
4668
- -moz-user-select: none;
4669
- -ms-user-select: none;
4670
- -o-user-select: none;
4671
- user-select: none;
4672
- }
4673
-
4674
- .wpr-forms-container .nf-error.field-wrap .nf-field-element:after {
4675
- top: 0 !important;
4676
- bottom: 0 !important;
4677
- height: auto !important;
4678
- }
4679
-
4680
- .wpr-forms-container .wpforms-form .wpforms-field,
4681
- .wpr-forms-container .wpforms-submit-container {
4682
- padding: 0 !important;
4683
- }
4684
-
4685
- .wpr-forms-container .wpforms-container,
4686
- .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row,
4687
- .wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2) {
4688
- margin-bottom: 0 !important;
4689
- }
4690
-
4691
- .wpr-forms-container .wpforms-submit-container:after {
4692
- content: " ";
4693
- clear: both;
4694
- display: table;
4695
- }
4696
-
4697
- .wpr-forms-container .caldera-grid .help-block {
4698
- margin-bottom: 0;
4699
- }
4700
-
4701
- .wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a {
4702
- text-decoration: underline;
4703
- }
4704
-
4705
- .wpr-forms-container .caldera-grid .intl-tel-input input {
4706
- text-indent: 40px;
4707
- }
4708
-
4709
- .wpr-forms-container .caldera-grid input.cf-credit-card {
4710
- text-indent: 33px;
4711
- }
4712
-
4713
- .wpr-forms-container .caldera-grid .cf-credit-card {
4714
- background-position: 5px center !important;
4715
- }
4716
-
4717
- .wpr-forms-container .cf2-dropzone .form-control {
4718
- height: auto;
4719
- }
4720
-
4721
- .wpr-forms-container .caldera-grid .form-group input,
4722
- .wpr-forms-container .caldera-grid .form-group textarea {
4723
- -webkit-box-shadow: none;
4724
- box-shadow: none;
4725
- }
4726
-
4727
- .wpr-forms-container .caldera-grid .has-error .form-control {
4728
- -webkit-box-shadow: none;
4729
- box-shadow: none;
4730
- }
4731
-
4732
- .wpr-forms-container .caldera-grid .alert-success {
4733
- text-shadow: none;
4734
- }
4735
-
4736
-
4737
- /* Defaults */
4738
-
4739
- .elementor-widget-wpr-forms .wpforms-head-container .wpforms-title,
4740
- .elementor-widget-wpr-forms .nf-form-title h3 {
4741
- font-size: 28px;
4742
- font-weight: 800;
4743
- }
4744
-
4745
- .elementor-widget-wpr-forms .wpforms-head-container .wpforms-description,
4746
- .elementor-widget-wpr-forms .nf-form-fields-required {
4747
- font-size: 14px;
4748
- }
4749
-
4750
- .elementor-widget-wpr-forms .wpcf7-form,
4751
- .elementor-widget-wpr-forms .nf-field-container label,
4752
- .elementor-widget-wpr-forms .wpforms-field-label,
4753
- .elementor-widget-wpr-forms .wpforms-image-choices-label,
4754
- .elementor-widget-wpr-forms .wpforms-field-label-inline,
4755
- .elementor-widget-wpr-forms .wpforms-captcha-question,
4756
- .elementor-widget-wpr-forms .wpforms-captcha-equation,
4757
- .elementor-widget-wpr-forms .wpforms-payment-total,
4758
- .elementor-widget-wpr-forms .caldera-grid .control-label,
4759
- .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4760
- .elementor-widget-wpr-forms .caldera-grid .total-line,
4761
- .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4762
- .elementor-widget-wpr-forms .caldera-grid .radio label,
4763
- .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4764
- .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4765
- .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4766
- font-size: 14px;
4767
- }
4768
-
4769
- .elementor-widget-wpr-forms .wpcf7-text,
4770
- .elementor-widget-wpr-forms .wpcf7-textarea,
4771
- .elementor-widget-wpr-forms .wpcf7-date,
4772
- .elementor-widget-wpr-forms .wpcf7-number,
4773
- .elementor-widget-wpr-forms .wpcf7-select,
4774
- .elementor-widget-wpr-forms .wpcf7-quiz,
4775
- .elementor-widget-wpr-forms .ninja-forms-field,
4776
- .elementor-widget-wpr-forms .wpforms-form input[type=date],
4777
- .elementor-widget-wpr-forms .wpforms-form input[type=datetime],
4778
- .elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],
4779
- .elementor-widget-wpr-forms .wpforms-form input[type=email],
4780
- .elementor-widget-wpr-forms .wpforms-form input[type=month],
4781
- .elementor-widget-wpr-forms .wpforms-form input[type=number],
4782
- .elementor-widget-wpr-forms .wpforms-form input[type=password],
4783
- .elementor-widget-wpr-forms .wpforms-form input[type=range],
4784
- .elementor-widget-wpr-forms .wpforms-form input[type=search],
4785
- .elementor-widget-wpr-forms .wpforms-form input[type=tel],
4786
- .elementor-widget-wpr-forms .wpforms-form input[type=text],
4787
- .elementor-widget-wpr-forms .wpforms-form input[type=time],
4788
- .elementor-widget-wpr-forms .wpforms-form input[type=url],
4789
- .elementor-widget-wpr-forms .wpforms-form input[type=week],
4790
- .elementor-widget-wpr-forms .wpforms-form select,
4791
- .elementor-widget-wpr-forms .wpforms-form textarea,
4792
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=text],
4793
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=email],
4794
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],
4795
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],
4796
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=number],
4797
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=url],
4798
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],
4799
- .elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],
4800
- .elementor-widget-wpr-forms .caldera-grid select.form-control,
4801
- .elementor-widget-wpr-forms .caldera-grid textarea.form-control {
4802
- font-size: 13px;
4803
- letter-spacing: 0.2px;
4804
- }
4805
-
4806
- .elementor-widget-wpr-forms .wpcf7-submit,
4807
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4808
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4809
- .elementor-widget-wpr-forms .wpforms-submit,
4810
- .elementor-widget-wpr-forms .wpforms-page-next,
4811
- .elementor-widget-wpr-forms .wpforms-page-previous,
4812
- .elementor-widget-wpr-forms .caldera-grid .btn-default,
4813
- .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button {
4814
- background-color: #605BE5;
4815
- }
4816
-
4817
- .elementor-widget-wpr-forms .wpcf7-submit:hover,
4818
- .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,
4819
- .elementor-widget-wpr-forms .wpforms-submit:hover,
4820
- .elementor-widget-wpr-forms .wpforms-page-next:hover,
4821
- .elementor-widget-wpr-forms .wpforms-page-previous:hover,
4822
- .elementor-widget-wpr-forms .caldera-grid .btn-default:hover,
4823
- .elementor-widget-wpr-forms .caldera-grid .btn-success,
4824
- .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover {
4825
- background-color: #4A45D2;
4826
- }
4827
-
4828
- .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,
4829
- .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,
4830
- .elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error,
4831
- .elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,
4832
- .elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg {
4833
- font-size: 14px;
4834
- }
4835
-
4836
- .elementor-widget-wpr-forms .wpcf7-form,
4837
- .elementor-widget-wpr-forms .nf-field-container label,
4838
- .elementor-widget-wpr-forms .wpforms-field-label,
4839
- .elementor-widget-wpr-forms .wpforms-image-choices-label,
4840
- .elementor-widget-wpr-forms .wpforms-field-label-inline,
4841
- .elementor-widget-wpr-forms .wpforms-captcha-question,
4842
- .elementor-widget-wpr-forms .wpforms-captcha-equation,
4843
- .elementor-widget-wpr-forms .wpforms-payment-total,
4844
- .elementor-widget-wpr-forms .caldera-grid .control-label,
4845
- .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4846
- .elementor-widget-wpr-forms .caldera-grid .total-line,
4847
- .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4848
- .elementor-widget-wpr-forms .caldera-grid .radio label,
4849
- .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4850
- .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4851
- .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4852
- font-weight: normal;
4853
- }
4854
-
4855
- .elementor-widget-wpr-forms.nf-field-description,
4856
- .elementor-widget-wpr-forms.wpforms-field-sublabel,
4857
- .elementor-widget-wpr-forms.wpforms-field-description,
4858
- .elementor-widget-wpr-forms.caldera-grid .help-block {
4859
- font-size: 14px;
4860
- }
4861
-
4862
-
4863
- /*--------------------------------------------------------------
4864
- == Before After
4865
- --------------------------------------------------------------*/
4866
-
4867
- .wpr-ba-image-container {
4868
- position: relative;
4869
- overflow: hidden;
4870
- }
4871
-
4872
- .wpr-ba-image-container * {
4873
- -webkit-user-select: none;
4874
- -moz-user-select: none;
4875
- -ms-user-select: none;
4876
- user-select: none;
4877
- }
4878
-
4879
- .wpr-ba-image-1 img,
4880
- .wpr-ba-image-2 img {
4881
- max-width: 100%;
4882
- width: 100%;
4883
- }
4884
-
4885
- .wpr-ba-image-2 {
4886
- position: absolute;
4887
- top: 0;
4888
- left: 0;
4889
- width: 100%;
4890
- height: 100%;
4891
- overflow: hidden;
4892
- }
4893
-
4894
- .wpr-ba-image-2 img {
4895
- position: absolute;
4896
- top: 0;
4897
- }
4898
-
4899
- .wpr-ba-divider {
4900
- display: -webkit-box;
4901
- display: -ms-flexbox;
4902
- display: flex;
4903
- -webkit-box-align: center;
4904
- -ms-flex-align: center;
4905
- align-items: center;
4906
- -webkit-box-pack: center;
4907
- -ms-flex-pack: center;
4908
- justify-content: center;
4909
- position: absolute;
4910
- top: 0;
4911
- left: 50%;
4912
- z-index: 3;
4913
- height: 100%;
4914
- cursor: pointer;
4915
- -ms-touch-action: none;
4916
- touch-action: none;
4917
- }
4918
-
4919
- .wpr-ba-divider-icons {
4920
- display: -webkit-box;
4921
- display: -ms-flexbox;
4922
- display: flex;
4923
- }
4924
-
4925
- .wpr-ba-vertical .wpr-ba-divider-icons {
4926
- -webkit-box-orient: vertical;
4927
- -webkit-box-direction: normal;
4928
- -ms-flex-direction: column;
4929
- flex-direction: column;
4930
- }
4931
-
4932
- .wpr-ba-horizontal .wpr-ba-divider-icons i:first-child {
4933
- text-align: right;
4934
- padding-right: 10%;
4935
- }
4936
-
4937
- .wpr-ba-horizontal .wpr-ba-divider-icons i:last-child {
4938
- text-align: left;
4939
- padding-left: 10%;
4940
- }
4941
-
4942
- .wpr-ba-divider-icons .fa {
4943
- text-align: center;
4944
- }
4945
-
4946
- .wpr-ba-vertical .wpr-ba-divider {
4947
- top: 50%;
4948
- left: auto;
4949
- width: 100%;
4950
- height: auto;
4951
- }
4952
-
4953
- .wpr-ba-vertical .wpr-ba-image-2 img {
4954
- top: auto;
4955
- }
4956
-
4957
- .wpr-ba-horizontal .wpr-ba-divider-icons:before,
4958
- .wpr-ba-horizontal .wpr-ba-divider-icons:after {
4959
- content: '';
4960
- display: block;
4961
- position: absolute;
4962
- height: 100%;
4963
- }
4964
-
4965
- .wpr-ba-vertical .wpr-ba-divider-icons:before,
4966
- .wpr-ba-vertical .wpr-ba-divider-icons:after {
4967
- content: '';
4968
- display: block;
4969
- position: absolute;
4970
- width: 100%;
4971
- }
4972
-
4973
- .wpr-ba-label {
4974
- position: absolute;
4975
- display: -webkit-box;
4976
- display: -ms-flexbox;
4977
- display: flex;
4978
- padding: 15px;
4979
- }
4980
-
4981
- .wpr-ba-labels-none .wpr-ba-label {
4982
- display: none;
4983
- }
4984
-
4985
- .wpr-ba-labels-hover .wpr-ba-label {
4986
- opacity: 0;
4987
- -webkit-transition: 0.1s ease-in;
4988
- -o-transition: 0.1s ease-in;
4989
- transition: 0.1s ease-in;
4990
- }
4991
-
4992
- .wpr-ba-labels-hover:hover .wpr-ba-label {
4993
- opacity: 1;
4994
- }
4995
-
4996
- .wpr-ba-horizontal .wpr-ba-label {
4997
- top: 0;
4998
- height: 100%;
4999
- -webkit-box-orient: vertical;
5000
- -webkit-box-direction: normal;
5001
- -ms-flex-direction: column;
5002
- flex-direction: column;
5003
- }
5004
-
5005
- .wpr-ba-horizontal .wpr-ba-label-1 {
5006
- left: 0;
5007
- }
5008
-
5009
- .wpr-ba-horizontal .wpr-ba-label-2 {
5010
- right: 0;
5011
- }
5012
-
5013
- .wpr-ba-vertical .wpr-ba-label {
5014
- left: 0;
5015
- width: 100%;
5016
- }
5017
-
5018
- .wpr-ba-vertical .wpr-ba-label-1 {
5019
- top: 0;
5020
- }
5021
-
5022
- .wpr-ba-vertical .wpr-ba-label-2 {
5023
- bottom: 0;
5024
- }
5025
-
5026
-
5027
- /* Defaults */
5028
-
5029
- .elementor-widget-wpr-before-after .wpr-ba-label>div {
5030
- background-color: #605BE5;
5031
- font-size: 14px;
5032
- }
5033
-
5034
-
5035
- /*--------------------------------------------------------------
5036
- == Popups
5037
- --------------------------------------------------------------*/
5038
-
5039
- body:not(.elementor-editor-active) .wpr-template-popup {
5040
- display: none;
5041
- }
5042
-
5043
- .wpr-template-popup {
5044
- position: fixed;
5045
- top: 0;
5046
- left: 0;
5047
- width: 100%;
5048
- height: 100%;
5049
- z-index: 99999999;
5050
- }
5051
-
5052
- .wpr-template-popup-inner {
5053
- display: -webkit-box;
5054
- display: -ms-flexbox;
5055
- display: flex;
5056
- position: fixed;
5057
- top: 0;
5058
- left: 0;
5059
- width: 100%;
5060
- height: 100%;
5061
- }
5062
-
5063
- .wpr-popup-container {
5064
- position: relative;
5065
- }
5066
-
5067
- .wpr-popup-container-inner {
5068
- display: -webkit-box;
5069
- display: -ms-flexbox;
5070
- display: flex;
5071
- overflow: hidden;
5072
- position: relative;
5073
- background: #ffffff;
5074
- }
5075
-
5076
- .wpr-popup-container-inner>div {
5077
- width: 100%;
5078
- -ms-flex-negative: 0;
5079
- flex-shrink: 0;
5080
- }
5081
-
5082
- .wpr-popup-container>div {
5083
- width: 100%;
5084
- }
5085
-
5086
- .wpr-popup-image-overlay {
5087
- position: absolute;
5088
- top: 0;
5089
- left: 0;
5090
- width: 100%;
5091
- height: 100%;
5092
- background: #ffffff;
5093
- }
5094
-
5095
- .wpr-popup-overlay {
5096
- position: absolute;
5097
- top: 0;
5098
- left: 0;
5099
- z-index: -1;
5100
- width: 100%;
5101
- height: 100%;
5102
- background: rgba( 0, 0, 0, 0.7);
5103
- }
5104
-
5105
- .wpr-popup-close-btn {
5106
- display: -webkit-box;
5107
- display: -ms-flexbox;
5108
- display: flex;
5109
- position: absolute;
5110
- top: 0;
5111
- right: 0;
5112
- z-index: 99;
5113
- text-align: center;
5114
- cursor: pointer;
5115
- }
5116
-
5117
- .wpr-popup-notification.wpr-template-popup,
5118
- .wpr-popup-notification .wpr-template-popup-inner {
5119
- height: auto !important;
5120
- }
5121
-
5122
- .wpr-popup-notification .wpr-popup-overlay {
5123
- display: none !important;
5124
- }
5125
-
5126
- .wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,
5127
- .wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y {
5128
- display: block;
5129
- background-color: transparent;
5130
- }
5131
-
5132
- .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,
5133
- .wpr-popup-container-inner.ps>.ps__rail-y {
5134
- display: none;
5135
- position: absolute;
5136
- right: 3px;
5137
- width: 3px;
5138
- }
5139
-
5140
- .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,
5141
- .wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y {
5142
- position: absolute;
5143
- cursor: pointer;
5144
- right: 0;
5145
- width: 3px;
5146
- }
5147
-
5148
- .wpr-popup-container .ps-scrollbar-x-rail {
5149
- display: none !important;
5150
- }
5151
-
5152
- .wpr-popup-notification .wpr-popup-container .slideInDown {
5153
- -webkit-animation-timing-function: linear;
5154
- animation-timing-function: linear;
5155
- }
5156
-
5157
- .wpr-popup-notification .wpr-popup-container {
5158
- width: 100% !important;
5159
- -webkit-box-align: start !important;
5160
- -ms-flex-align: start !important;
5161
- align-items: flex-start !important;
5162
- }
5163
-
5164
- .wpr-popup-trigger-button {
5165
- display: inline-block;
5166
- font-size: 14px;
5167
- font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
5168
- cursor: pointer;
5169
- }
5170
-
5171
-
5172
- /* Only For Editing */
5173
-
5174
- .wpr-popup-container .elementor-editor-section-settings {
5175
- -webkit-transform: translateX(-50%);
5176
- -ms-transform: translateX(-50%);
5177
- transform: translateX(-50%);
5178
- border-radius: 0 0 5px 5px;
5179
- }
5180
-
5181
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child {
5182
- border-radius: 0 0 0 5px;
5183
- }
5184
-
5185
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before {
5186
- top: 0;
5187
- border-width: 0 12px 22px 0;
5188
- }
5189
-
5190
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child {
5191
- border-radius: 0 0 5px 0;
5192
- }
5193
-
5194
- .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after {
5195
- top: 0;
5196
- border-width: 0 0 22px 12px;
5197
- }
5198
-
5199
- .elementor-editor-active [data-elementor-type="wpr-popups"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5200
- .elementor-editor-active [data-elementor-type="wpr-popups"]:not(.elementor-edit-mode) {
5201
- display: none;
5202
- }
5203
-
5204
- .elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button {
5205
- display: inline-block;
5206
- font-size: 14px;
5207
- font-weight: 500;
5208
- cursor: pointer;
5209
- }
5210
-
5211
- .elementor-editor-active [data-elementor-type="wpr-popup"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5212
- .elementor-editor-active [data-elementor-type="wpr-popup"]:not(.elementor-edit-mode) {
5213
- display: none;
5214
- }
5215
-
5216
-
5217
- /* Template Edit button */
5218
-
5219
- .wpr-template-edit-btn {
5220
- position: absolute;
5221
- top: 0;
5222
- right: 40px;
5223
- display: none;
5224
- line-height: 1;
5225
- padding: 8px 13px;
5226
- cursor: pointer;
5227
- background: #333;
5228
- color: #fff;
5229
- border: 1px solid #000;
5230
- }
5231
-
5232
- .elementor-editor-active .wpr-template-edit-btn {
5233
- display: inline-block;
5234
- opacity: 0;
5235
- visibility: hidden;
5236
- }
5237
-
5238
- .elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn {
5239
- opacity: 1;
5240
- visibility: visible;
5241
- }
5242
-
5243
-
5244
- /*--------------------------------------------------------------
5245
- == Mailchimp
5246
- --------------------------------------------------------------*/
5247
-
5248
- .wpr-mailchimp-fields {
5249
- display: -webkit-box;
5250
- display: -ms-flexbox;
5251
- display: flex;
5252
- }
5253
-
5254
- .wpr-mailchimp-email label,
5255
- .wpr-mailchimp-email input,
5256
- .wpr-mailchimp-first-name label,
5257
- .wpr-mailchimp-first-name input,
5258
- .wpr-mailchimp-last-name label,
5259
- .wpr-mailchimp-last-name input {
5260
- display: block;
5261
- width: 100%;
5262
- }
5263
-
5264
- .wpr-mailchimp-layout-hr .wpr-mailchimp-fields {
5265
- -webkit-box-orient: horizontal;
5266
- -webkit-box-direction: normal;
5267
- -ms-flex-direction: row;
5268
- flex-direction: row;
5269
- -webkit-box-align: end;
5270
- -ms-flex-align: end;
5271
- align-items: flex-end;
5272
- }
5273
-
5274
- .wpr-mailchimp-layout-vr .wpr-mailchimp-fields {
5275
- -webkit-box-orient: vertical;
5276
- -webkit-box-direction: normal;
5277
- -ms-flex-direction: column;
5278
- flex-direction: column;
5279
- }
5280
-
5281
- .wpr-mailchimp-layout-hr .wpr-mailchimp-email,
5282
- .wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,
5283
- .wpr-mailchimp-layout-hr .wpr-mailchimp-last-name {
5284
- -webkit-box-flex: 1;
5285
- -ms-flex-positive: 1;
5286
- flex-grow: 1;
5287
- }
5288
-
5289
- .wpr-mailchimp-subscribe-btn {
5290
- width: 100%;
5291
- padding: 0 !important;
5292
- outline: none !important;
5293
- cursor: pointer;
5294
- }
5295
-
5296
- .wpr-mailchimp-message,
5297
- .wpr-mailchimp-success-message,
5298
- .wpr-mailchimp-error-message {
5299
- display: none;
5300
- }
5301
-
5302
-
5303
- /* Defaults */
5304
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3 {
5305
- font-size: 28px;
5306
- font-weight: 800;
5307
- margin-top: 0;
5308
- }
5309
-
5310
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-header p {
5311
- font-size: 14px;
5312
- }
5313
-
5314
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label {
5315
- font-size: 13px;
5316
- }
5317
-
5318
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn {
5319
- background-color: #605BE5;
5320
- }
5321
-
5322
- .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover {
5323
- background-color: #4A45D2;
5324
- }
5325
-
5326
-
5327
- /*--------------------------------------------------------------
5328
- == Advanced Slider
5329
- --------------------------------------------------------------*/
5330
-
5331
- .wpr-advanced-slider-wrap {
5332
- position: relative;
5333
- }
5334
-
5335
- .wpr-advanced-slider {
5336
- position: relative;
5337
- height: 500px;
5338
- overflow: hidden;
5339
- }
5340
-
5341
- .wpr-slider-item {
5342
- position: relative;
5343
- height: 500px;
5344
- overflow: hidden;
5345
- }
5346
-
5347
- .wpr-slider-content {
5348
- position: relative;
5349
- max-width: 750px;
5350
- width: 100%;
5351
- padding: 10px 50px 50px 50px;
5352
- z-index: 90;
5353
- }
5354
-
5355
- .wpr-slider-item-bg {
5356
- position: absolute;
5357
- top: 0;
5358
- left: 0;
5359
- width: 100%;
5360
- height: 100%;
5361
- background-repeat: no-repeat;
5362
- background-position: center;
5363
- }
5364
-
5365
- .wpr-slider-title *,
5366
- .wpr-slider-sub-title h3,
5367
- .wpr-slider-description p {
5368
- display: inline-block;
5369
- }
5370
-
5371
- .wpr-slider-title * {
5372
- color: #ffffff;
5373
- font-size: 40px;
5374
- font-weight: 600;
5375
- line-height: 1.5em;
5376
- padding: 5px 10px 5px 10px;
5377
- margin: 0 0 2px 0;
5378
- }
5379
-
5380
- .wpr-slider-sub-title h3 {
5381
- font-size: 16px;
5382
- padding: 5px 10px 5px 10px;
5383
- margin: 0 0 10px 0;
5384
- }
5385
-
5386
- .wpr-slider-description p {
5387
- padding: 5px 10px 5px 10px;
5388
- margin: 0 0 30px 0;
5389
- }
5390
-
5391
- .wpr-slider-primary-btn,
5392
- .wpr-slider-secondary-btn {
5393
- padding: 12px 25px 12px 25px;
5394
- margin: 0 10px 0 10px;
5395
- border-style: solid;
5396
- border-width: 1px;
5397
- border-color: #ffffff;
5398
- border-radius: 2px;
5399
- }
5400
-
5401
- .wpr-slider-btns svg,
5402
- .wpr-slider-scroll-btn svg {
5403
- vertical-align: bottom;
5404
- }
5405
-
5406
-
5407
- /* Ken burn Effect */
5408
-
5409
- @keyframes ken-burns-in {
5410
- 0% {
5411
- -webkit-transform: scale(1);
5412
- transform: scale(1)
5413
- }
5414
- 100% {
5415
- -webkit-transform: scale(1.3);
5416
- transform: scale(1.3);
5417
- }
5418
- }
5419
-
5420
- @-webkit-keyframes ken-burns-in {
5421
- 0% {
5422
- -webkit-transform: scale(1);
5423
- transform: scale(1)
5424
- }
5425
- 100% {
5426
- -webkit-transform: scale(1.3);
5427
- transform: scale(1.3);
5428
- }
5429
- }
5430
-
5431
- @keyframes ken-burns-out {
5432
- 0% {
5433
- -webkit-transform: scale(1.3);
5434
- transform: scale(1.3);
5435
- }
5436
- 100% {
5437
- -webkit-transform: scale(1);
5438
- transform: scale(1);
5439
- }
5440
- }
5441
-
5442
- @-webkit-keyframes ken-burns-out {
5443
- 0% {
5444
- -webkit-transform: scale(1.3);
5445
- transform: scale(1.3);
5446
- }
5447
- 100% {
5448
- -webkit-transform: scale(1);
5449
- transform: scale(1);
5450
- }
5451
- }
5452
-
5453
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg {
5454
- -webkit-animation-timing-function: linear;
5455
- animation-timing-function: linear;
5456
- -webkit-animation-duration: 10s;
5457
- animation-duration: 10s;
5458
- }
5459
-
5460
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in {
5461
- -webkit-animation-name: ken-burns-in;
5462
- animation-name: ken-burns-in;
5463
- -webkit-transform: scale(1.3);
5464
- -ms-transform: scale(1.3);
5465
- transform: scale(1.3);
5466
- }
5467
-
5468
- .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out {
5469
- -webkit-animation-name: ken-burns-out;
5470
- animation-name: ken-burns-out;
5471
- -webkit-transform: scale(1);
5472
- -ms-transform: scale(1);
5473
- transform: scale(1)
5474
- }
5475
-
5476
- .wpr-ken-burns-in {
5477
- -webkit-transform: scale(1);
5478
- -ms-transform: scale(1);
5479
- transform: scale(1);
5480
- }
5481
-
5482
- .wpr-ken-burns-out {
5483
- -webkit-transform: scale(1.3);
5484
- -ms-transform: scale(1.3);
5485
- transform: scale(1.3);
5486
- }
5487
-
5488
-
5489
- /* Slider Item URL */
5490
-
5491
- .wpr-slider-item-url {
5492
- display: block;
5493
- width: 100%;
5494
- height: 100%;
5495
- position: absolute;
5496
- left: 0;
5497
- top: 0;
5498
- z-index: 90;
5499
- }
5500
-
5501
-
5502
- /* Slider Navigation */
5503
-
5504
- .wpr-slider-nav-position-default .wpr-slider-arrow-container {
5505
- position: absolute;
5506
- display: -webkit-box;
5507
- display: -ms-flexbox;
5508
- display: flex;
5509
- }
5510
-
5511
- .wpr-slider-nav-position-default .wpr-slider-arrow {
5512
- position: static;
5513
- }
5514
-
5515
- .wpr-slider-nav-position-default .wpr-slider-prev-arrow {
5516
- -ms-transform: none;
5517
- transform: none;
5518
- -webkit-transform: none;
5519
- }
5520
-
5521
- .wpr-slider-nav-position-default .wpr-slider-next-arrow {
5522
- -ms-transform: translateY(0) rotate(180deg);
5523
- transform: translateY(0) rotate(180deg);
5524
- -webkit-transform: translateY(0) rotate(180deg);
5525
- }
5526
-
5527
- .wpr-slider-nav-align-top-center .wpr-slider-arrow-container,
5528
- .wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container {
5529
- left: 50%;
5530
- -webkit-transform: translateX(-50%);
5531
- -ms-transform: translateX(-50%);
5532
- transform: translateX(-50%);
5533
- }
5534
-
5535
- .wpr-slider-arrow {
5536
- position: absolute;
5537
- z-index: 120;
5538
- top: 50%;
5539
- -webkit-box-sizing: content-box;
5540
- box-sizing: content-box;
5541
- text-align: center;
5542
- -webkit-transition: all .5s;
5543
- -o-transition: all .5s;
5544
- transition: all .5s;
5545
- cursor: pointer;
5546
- -webkit-box-align: center;
5547
- -ms-flex-align: center;
5548
- align-items: center;
5549
- -webkit-box-pack: center;
5550
- -ms-flex-pack: center;
5551
- justify-content: center;
5552
- }
5553
-
5554
- .wpr-slider-arrow i {
5555
- display: block;
5556
- line-height: inherit;
5557
- }
5558
-
5559
- .wpr-slider-prev-arrow {
5560
- left: 1%;
5561
- -webkit-transform: translateY(-50%);
5562
- -ms-transform: translateY(-50%);
5563
- transform: translateY(-50%);
5564
- }
5565
-
5566
- .wpr-slider-next-arrow {
5567
- right: 1%;
5568
- -webkit-transform: translateY(-50%) rotate(180deg);
5569
- -ms-transform: translateY(-50%) rotate(180deg);
5570
- transform: translateY(-50%) rotate(180deg);
5571
- }
5572
-
5573
- .wpr-slider-nav-fade .wpr-slider-arrow {
5574
- opacity: 0;
5575
- visibility: hidden;
5576
- }
5577
-
5578
- .wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow {
5579
- opacity: 1;
5580
- visibility: visible;
5581
- }
5582
-
5583
-
5584
- /* Slider Pagination */
5585
-
5586
- .wpr-slider-dots {
5587
- display: inline-table;
5588
- position: absolute;
5589
- z-index: 110;
5590
- left: 50%;
5591
- -webkit-transform: translate(-50%, -50%);
5592
- -ms-transform: translate(-50%, -50%);
5593
- transform: translate(-50%, -50%);
5594
- }
5595
-
5596
- .wpr-slider-dots .slick-dots {
5597
- position: static !important;
5598
- }
5599
-
5600
- .wpr-slider-dots ul {
5601
- list-style: none;
5602
- margin: 0;
5603
- padding: 0;
5604
- }
5605
-
5606
- .wpr-advanced-slider.slick-dotted.slick-slider {
5607
- margin-bottom: 0 !important;
5608
- }
5609
-
5610
- .wpr-slider-dots-vertical .slick-dots li {
5611
- display: block;
5612
- width: auto !important;
5613
- height: auto !important;
5614
- margin: 0 !important;
5615
- }
5616
-
5617
- .wpr-slider-dots-horizontal .slick-dots li {
5618
- width: auto !important;
5619
- padding-top: 10px;
5620
- margin: 0 !important;
5621
- }
5622
-
5623
- .wpr-slider-dots-pro-vr .slick-dots li:last-child span,
5624
- .wpr-slider-dots-horizontal .slick-dots li:last-child span {
5625
- margin-right: 0 !important;
5626
- }
5627
-
5628
- .wpr-slider-dots-pro-vr .wpr-slider-dots li,
5629
- .wpr-slider-dots-horizontal .wpr-slider-dots li {
5630
- float: left;
5631
- }
5632
-
5633
- .wpr-slider-dot {
5634
- display: block;
5635
- cursor: pointer;
5636
- }
5637
-
5638
- .wpr-slider-dots li:last-child .wpr-slider-dot {
5639
- margin: 0 !important;
5640
- }
5641
-
5642
-
5643
- /* Slider Scroll Button */
5644
-
5645
- .wpr-slider-scroll-btn {
5646
- position: absolute;
5647
- bottom: 45px;
5648
- left: 50%;
5649
- -webkit-transform: translateX(-50%);
5650
- -ms-transform: translateX(-50%);
5651
- transform: translateX(-50%);
5652
- display: inline-block;
5653
- -webkit-transition-duration: 200ms;
5654
- -o-transition-duration: 200ms;
5655
- transition-duration: 200ms;
5656
- line-height: 1;
5657
- overflow: hidden;
5658
- }
5659
-
5660
- @-webkit-keyframes wpr-scroll-animation {
5661
- 0% {
5662
- opacity: 0;
5663
- -webkit-transform: translate3d(0, -60%, 0);
5664
- transform: translate3d(0, -60%, 0);
5665
- }
5666
- 50% {
5667
- opacity: 1;
5668
- -webkit-transform: translate3d(0, 20%, 0);
5669
- transform: translate3d(0, 20%, 0);
5670
- }
5671
- 100% {
5672
- opacity: 0;
5673
- -webkit-transform: translate3d(0, 20%, 0);
5674
- transform: translate3d(0, 20%, 0);
5675
- }
5676
- }
5677
-
5678
- @keyframes wpr-scroll-animation {
5679
- 0% {
5680
- opacity: 0;
5681
- -webkit-transform: translate3d(0, -60%, 0);
5682
- transform: translate3d(0, -60%, 0);
5683
- }
5684
- 50% {
5685
- opacity: 1;
5686
- -webkit-transform: translate3d(0, 20%, 0);
5687
- transform: translate3d(0, 20%, 0);
5688
- }
5689
- 100% {
5690
- opacity: 0;
5691
- -webkit-transform: translate3d(0, 20%, 0);
5692
- transform: translate3d(0, 20%, 0);
5693
- }
5694
- }
5695
-
5696
- .wpr-scroll-animation {
5697
- -webkit-animation-name: wpr-scroll-animation;
5698
- animation-name: wpr-scroll-animation;
5699
- -webkit-animation-duration: 1300ms;
5700
- animation-duration: 1300ms;
5701
- -webkit-animation-iteration-count: infinite;
5702
- animation-iteration-count: infinite;
5703
- }
5704
-
5705
-
5706
- /* Slider Video */
5707
-
5708
- .wpr-slider-video {
5709
- position: absolute;
5710
- width: 100%;
5711
- height: 100%;
5712
- top: 0;
5713
- left: 0;
5714
- z-index: 90;
5715
- }
5716
-
5717
- .wpr-slider-video-btn {
5718
- margin: 0 auto;
5719
- }
5720
-
5721
- .wpr-slider-video-btn i {
5722
- display: block;
5723
- }
5724
-
5725
- .wpr-slider-video-icon-size-none .wpr-slider-video-btn {
5726
- display: none;
5727
- }
5728
-
5729
- .wpr-slider-video-icon-size-small .wpr-slider-video-btn {
5730
- height: 50px;
5731
- width: 50px;
5732
- font-size: 16px;
5733
- padding: 16px 0 0 4px;
5734
- border-width: 1px;
5735
- }
5736
-
5737
- .wpr-slider-video-icon-size-medium .wpr-slider-video-btn {
5738
- height: 80px;
5739
- width: 80px;
5740
- font-size: 26px;
5741
- padding: 25px 0 0 5px;
5742
- border-width: 2px;
5743
- }
5744
-
5745
- .wpr-slider-video-icon-size-large .wpr-slider-video-btn {
5746
- height: 100px;
5747
- width: 100px;
5748
- font-size: 30px;
5749
- padding: 33px 0 0 7px;
5750
- border-width: 2px;
5751
- }
5752
-
5753
- .wpr-slider-video-btn {
5754
- text-align: center;
5755
- border-style: solid;
5756
- border-radius: 50%;
5757
- cursor: pointer;
5758
- }
5759
-
5760
-
5761
- /* Slider Overlay */
5762
-
5763
- .wpr-slider-item-overlay {
5764
- position: absolute;
5765
- left: 0;
5766
- top: 0;
5767
- width: 100%;
5768
- height: 100%;
5769
- z-index: 80;
5770
- }
5771
-
5772
-
5773
- /* Slick Slider */
5774
-
5775
- .slick-slider {
5776
- position: relative;
5777
- display: block;
5778
- -webkit-box-sizing: border-box;
5779
- box-sizing: border-box;
5780
- -webkit-user-select: none;
5781
- -moz-user-select: none;
5782
- -ms-user-select: none;
5783
- user-select: none;
5784
- -webkit-touch-callout: none;
5785
- -khtml-user-select: none;
5786
- -ms-touch-action: pan-y;
5787
- touch-action: pan-y;
5788
- -webkit-tap-highlight-color: transparent;
5789
- }
5790
-
5791
- .slick-list {
5792
- position: relative;
5793
- display: block;
5794
- overflow: hidden;
5795
- margin: 0;
5796
- padding: 0;
5797
- }
5798
-
5799
- .slick-list:focus {
5800
- outline: none;
5801
- }
5802
-
5803
- .slick-list.dragging {
5804
- cursor: pointer;
5805
- cursor: hand;
5806
- }
5807
-
5808
- .slick-slider .slick-track,
5809
- .slick-slider .slick-list {
5810
- -webkit-transform: translate3d(0, 0, 0);
5811
- -ms-transform: translate3d(0, 0, 0);
5812
- transform: translate3d(0, 0, 0);
5813
- }
5814
-
5815
- .slick-track {
5816
- position: relative;
5817
- top: 0;
5818
- left: 0;
5819
- display: block;
5820
- margin-left: auto;
5821
- margin-right: auto;
5822
- }
5823
-
5824
- .slick-track:before,
5825
- .slick-track:after {
5826
- display: table;
5827
- content: '';
5828
- }
5829
-
5830
- .slick-track:after {
5831
- clear: both;
5832
- }
5833
-
5834
- .slick-loading .slick-track {
5835
- visibility: hidden;
5836
- }
5837
-
5838
- .slick-slide {
5839
- display: none;
5840
- float: left;
5841
- height: 100%;
5842
- min-height: 1px;
5843
- }
5844
-
5845
- [dir='rtl'] .slick-slide {
5846
- float: right;
5847
- }
5848
-
5849
- .slick-slide img {
5850
- display: block;
5851
- }
5852
-
5853
- .slick-slide.slick-loading img {
5854
- display: none;
5855
- }
5856
-
5857
- .slick-slide.dragging img {
5858
- pointer-events: none;
5859
- }
5860
-
5861
- .slick-initialized .slick-slide {
5862
- display: block;
5863
- }
5864
-
5865
- .slick-loading .slick-slide {
5866
- visibility: hidden;
5867
- }
5868
-
5869
- .slick-vertical .slick-slide {
5870
- display: block;
5871
- height: auto;
5872
- border: 1px solid transparent;
5873
- }
5874
-
5875
- .slick-arrow.slick-hidden {
5876
- display: none;
5877
- }
5878
-
5879
-
5880
- /*--------------------------------------------------------------
5881
- == Pricing Table
5882
- --------------------------------------------------------------*/
5883
-
5884
- .wpr-pricing-table {
5885
- position: relative;
5886
- }
5887
-
5888
-
5889
- /* Heading */
5890
-
5891
- .wpr-pricing-table-heading {
5892
- text-align: center;
5893
- }
5894
-
5895
- .wpr-pricing-table-headding-inner {
5896
- display: inline-block;
5897
- }
5898
-
5899
- .wpr-pricing-table-heading-left .wpr-pricing-table-headding-inner>div,
5900
- .wpr-pricing-table-heading-right .wpr-pricing-table-headding-inner>div {
5901
- display: inline-block;
5902
- vertical-align: top;
5903
- }
5904
-
5905
- .wpr-pricing-table-heading-left .wpr-pricing-table-icon {
5906
- float: left;
5907
- }
5908
-
5909
- .wpr-pricing-table-heading-right .wpr-pricing-table-icon {
5910
- float: right;
5911
- }
5912
-
5913
- .wpr-pricing-table-heading-left .wpr-pricing-table-title-wrap,
5914
- .wpr-pricing-table-heading-right .wpr-pricing-table-title-wrap {
5915
- text-align: left;
5916
- }
5917
-
5918
- .wpr-pricing-table-heading-center .wpr-pricing-table-icon img {
5919
- margin: 0 auto;
5920
- }
5921
-
5922
- .wpr-pricing-table-icon img {
5923
- display: block;
5924
- border-style: none;
5925
- }
5926
-
5927
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-title {
5928
- font-size: 26px;
5929
- font-weight: 600;
5930
- }
5931
-
5932
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-sub-title {
5933
- font-size: 14px;
5934
- }
5935
-
5936
- .wpr-pricing-table-price {
5937
- text-align: center;
5938
- font-size: 65px;
5939
- font-weight: 500;
5940
- line-height: 0.9;
5941
- }
5942
-
5943
- .wpr-pricing-table-price-inner {
5944
- -ms-box-orient: horizontal;
5945
- display: -webkit-box;
5946
- display: -ms-flexbox;
5947
- display: -moz-flex;
5948
- display: flex;
5949
- -webkit-box-pack: center;
5950
- -ms-flex-pack: center;
5951
- justify-content: center;
5952
- }
5953
-
5954
- .wpr-pricing-table-sub-price,
5955
- .wpr-pricing-table-currency,
5956
- .wpr-pricing-table-old-price,
5957
- .wpr-pricing-table-preiod {
5958
- line-height: 1;
5959
- }
5960
-
5961
- .wpr-pricing-table-preiod {
5962
- font-size: 17px;
5963
- line-height: 1.5;
5964
- -webkit-align-self: flex-end;
5965
- -ms-flex-item-align: end;
5966
- align-self: flex-end;
5967
- }
5968
-
5969
- .wpr-pricing-table-old-price {
5970
- text-decoration: line-through !important;
5971
- }
5972
-
5973
-
5974
- /* Feature */
5975
-
5976
- .wpr-pricing-table-feature {
5977
- position: relative;
5978
- font-size: 15px;
5979
- }
5980
-
5981
- .wpr-pricing-table-feature-inner {
5982
- display: -webkit-box;
5983
- display: -ms-flexbox;
5984
- display: flex;
5985
- -webkit-box-align: center;
5986
- -ms-flex-align: center;
5987
- align-items: center;
5988
- margin: 0 auto;
5989
- }
5990
-
5991
- .wpr-pricing-table-feature-inner span {
5992
- position: relative;
5993
- }
5994
-
5995
- .wpr-pricing-table-feature-inner span.wpr-pricing-table-ftext-line-yes {
5996
- text-decoration: line-through;
5997
- }
5998
-
5999
- .wpr-pricing-table-feature:after {
6000
- content: "";
6001
- display: block;
6002
- width: 100%;
6003
- margin: 0 auto;
6004
- }
6005
-
6006
- .wpr-pricing-table section:last-of-type:after {
6007
- display: none;
6008
- }
6009
-
6010
- .wpr-pricing-table-feature-text,
6011
- .wpr-pricing-table-feature-icon {
6012
- display: inline;
6013
- }
6014
-
6015
- .wpr-pricing-table-feature-icon {
6016
- margin-right: 8px;
6017
- }
6018
-
6019
- .wpr-pricing-table-feature-tooltip {
6020
- position: absolute;
6021
- top: 0;
6022
- left: 50%;
6023
- border-radius: 4px;
6024
- padding: 6px 10px;
6025
- visibility: hidden;
6026
- opacity: 0;
6027
- font-size: 15px;
6028
- -webkit-transform: translate(-50%, -100%);
6029
- -ms-transform: translate(-50%, -100%);
6030
- transform: translate(-50%, -100%);
6031
- -webkit-transition: all 230ms ease-in-out 0s;
6032
- -o-transition: all 230ms ease-in-out 0s;
6033
- transition: all 230ms ease-in-out 0s;
6034
- text-align: center;
6035
- }
6036
-
6037
- .wpr-pricing-table-feature-tooltip:before {
6038
- content: "";
6039
- position: absolute;
6040
- left: 10px;
6041
- bottom: -5px;
6042
- width: 0;
6043
- height: 0;
6044
- border-left: 6px solid transparent;
6045
- border-right: 6px solid transparent;
6046
- border-top-style: solid;
6047
- border-top-width: 6px;
6048
- }
6049
-
6050
- .wpr-pricing-table-feature:hover .wpr-pricing-table-feature-tooltip {
6051
- visibility: visible;
6052
- opacity: 1;
6053
- top: 5px;
6054
- -ms-transform: translate(-50%, -100%);
6055
- transform: translate(-50%, -100%);
6056
- -webkit-transform: translate(-50%, -100%);
6057
- }
6058
-
6059
- .wpr-pricing-table-feature-tooltip:before {
6060
- left: 50%;
6061
- -ms-transform: translateX(-50%);
6062
- transform: translateX(-50%);
6063
- -webkit-transform: translateX(-50%) !important;
6064
- }
6065
-
6066
-
6067
- /* Button */
6068
-
6069
- .wpr-pricing-table-button {
6070
- text-align: center;
6071
- font-size: 17px;
6072
- }
6073
-
6074
- .wpr-pricing-table-btn {
6075
- position: relative;
6076
- overflow: hidden;
6077
- display: inline-block;
6078
- vertical-align: middle;
6079
- cursor: pointer;
6080
- }
6081
-
6082
- .wpr-pricing-table-btn span {
6083
- position: relative;
6084
- z-index: 2;
6085
- opacity: 1 !important;
6086
- }
6087
-
6088
- .wpr-pricing-table-btn:before,
6089
- .wpr-pricing-table-btn:after {
6090
- z-index: 1 !important;
6091
- }
6092
-
6093
-
6094
- /* Badge */
6095
-
6096
- .wpr-pricing-table-badge {
6097
- position: absolute;
6098
- display: inline-block;
6099
- text-align: center;
6100
- z-index: 2;
6101
- }
6102
-
6103
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-badge .wpr-pricing-table-badge-inner {
6104
- font-size: 15px;
6105
- font-weight: 900;
6106
- }
6107
-
6108
- .wpr-pricing-table-badge-left {
6109
- left: 0;
6110
- right: auto;
6111
- }
6112
-
6113
- .wpr-pricing-table-badge-right {
6114
- left: auto;
6115
- right: 0;
6116
- }
6117
-
6118
- .wpr-pricing-table-badge-corner {
6119
- top: 0;
6120
- width: 200px;
6121
- height: 200px;
6122
- overflow: hidden;
6123
- }
6124
-
6125
- .wpr-pricing-table-badge-corner .wpr-pricing-table-badge-inner {
6126
- width: 200%;
6127
- }
6128
-
6129
- .wpr-pricing-table-badge-corner.wpr-pricing-table-badge-right {
6130
- -ms-transform: rotate(90deg);
6131
- transform: rotate(90deg);
6132
- -webkit-transform: rotate(90deg);
6133
- }
6134
-
6135
- .wpr-pricing-table-badge-cyrcle {
6136
- top: 0;
6137
- }
6138
-
6139
- .wpr-pricing-table-badge-cyrcle .wpr-pricing-table-badge-inner {
6140
- border-radius: 100%;
6141
- }
6142
-
6143
- .wpr-pricing-table-badge-flag {
6144
- border-right: 5px;
6145
- }
6146
-
6147
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left {
6148
- margin-left: -10px;
6149
- }
6150
-
6151
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right {
6152
- margin-right: -10px;
6153
- }
6154
-
6155
- .wpr-pricing-table-badge-flag:before {
6156
- content: "";
6157
- position: absolute;
6158
- z-index: 1;
6159
- bottom: -5px;
6160
- width: 0;
6161
- height: 0;
6162
- margin-left: -10px;
6163
- border-left: 10px solid transparent;
6164
- border-right: 10px solid transparent;
6165
- border-top-style: solid;
6166
- border-top-width: 10px;
6167
- }
6168
-
6169
- .wpr-pricing-table-badge-flag .wpr-pricing-table-badge-inner {
6170
- position: relative;
6171
- z-index: 2;
6172
- border-top-left-radius: 3px;
6173
- border-top-right-radius: 3px;
6174
- }
6175
-
6176
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left:before {
6177
- left: 5px;
6178
- -ms-transform: rotate(90deg);
6179
- transform: rotate(90deg);
6180
- -webkit-transform: rotate(90deg);
6181
- }
6182
-
6183
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right:before {
6184
- right: -5px;
6185
- -ms-transform: rotate(-90deg);
6186
- transform: rotate(-90deg);
6187
- -webkit-transform: rotate(-90deg);
6188
- }
6189
-
6190
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left .wpr-pricing-table-badge-inner {
6191
- border-bottom-right-radius: 3px;
6192
- }
6193
-
6194
- .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right .wpr-pricing-table-badge-inner {
6195
- border-bottom-left-radius: 3px;
6196
- }
6197
-
6198
-
6199
- /* Text */
6200
- .wpr-pricing-table-text {
6201
- font-size: 13px;
6202
- line-height: 1.3;
6203
- }
6204
-
6205
-
6206
- /* Divider */
6207
- .wpr-pricing-table-divider {
6208
- margin: 0 auto;
6209
- border: 0;
6210
- }
6211
-
6212
-
6213
- /* Animation */
6214
- .wpr-pricing-table-animation-slide {
6215
- -webkit-transition-property: margin;
6216
- -o-transition-property: margin;
6217
- transition-property: margin;
6218
- -webkit-transition-timing-function: ease-in-out;
6219
- -o-transition-timing-function: ease-in-out;
6220
- transition-timing-function: ease-in-out;
6221
- }
6222
-
6223
- .wpr-pricing-table-animation-bounce {
6224
- -webkit-animation-iteration-count: 1;
6225
- animation-iteration-count: 1;
6226
- }
6227
-
6228
- .wpr-pricing-table-animation-slide:hover {
6229
- margin-top: -5px;
6230
- }
6231
-
6232
- .wpr-pricing-table-animation-bounce:hover {
6233
- -webkit-animation-name: bounce;
6234
- animation-name: bounce;
6235
- }
6236
-
6237
-
6238
- /* Defaults */
6239
-
6240
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-heading {
6241
- background-color: #f9f9f9;
6242
- }
6243
-
6244
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-price {
6245
- background-color: #605be5;
6246
- }
6247
-
6248
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-button {
6249
- background-color: #f9f9f9;
6250
- }
6251
-
6252
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn {
6253
- background-color: #2B2B2B;
6254
- }
6255
-
6256
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn:hover {
6257
- background-color: #4A45D2;
6258
- }
6259
-
6260
- .elementor-widget-wpr-pricing-table .wpr-pricing-table-text {
6261
- background-color: #f9f9f9;
6262
- }
6263
-
6264
-
6265
- /*--------------------------------------------------------------
6266
- == Logo
6267
- --------------------------------------------------------------*/
6268
-
6269
- .wpr-logo {
6270
- position: relative;
6271
- display: inline-table;
6272
- overflow: hidden;
6273
- }
6274
-
6275
- .wpr-logo-image img {
6276
- display: block;
6277
- }
6278
-
6279
- .wpr-logo-description {
6280
- margin: 0;
6281
- }
6282
-
6283
- .wpr-logo-image,
6284
- .wpr-logo-text {
6285
- position: relative;
6286
- display: block;
6287
- width: 100%;
6288
- z-index: 7;
6289
- }
6290
-
6291
- .wpr-logo-url {
6292
- position: absolute;
6293
- display: block;
6294
- width: 100%;
6295
- height: 100%;
6296
- top: 0;
6297
- left: 0;
6298
- z-index: 5;
6299
- }
6300
-
6301
- .wpr-logo-position-left .wpr-logo-image,
6302
- .wpr-logo-position-left .wpr-logo-text {
6303
- float: left;
6304
- }
6305
-
6306
- .wpr-logo-position-right .wpr-logo-image,
6307
- .wpr-logo-position-right .wpr-logo-text {
6308
- float: right;
6309
- }
6310
-
6311
- .wpr-logo-position-center .wpr-logo-image {
6312
- margin: 0 auto;
6313
- }
6314
-
6315
- .wpr-logo-position-center .wpr-logo-text {
6316
- text-align: center;
6317
- }
6318
-
6319
- .wpr-logo-position-left .wpr-logo-text,
6320
- .wpr-logo-position-right .wpr-logo-text {
6321
- text-align: left;
6322
- }
6323
-
6324
-
6325
- /* Defaults */
6326
-
6327
- .elementor-widget-wpr-logo .wpr-logo-title {
6328
- font-size: 16px;
6329
- line-height: 1.5;
6330
- }
6331
-
6332
- .elementor-widget-wpr-logo .wpr-logo-description {
6333
- font-size: 13px;
6334
- }
6335
-
6336
-
6337
- /*--------------------------------------------------------------
6338
- == Testimonial
6339
- --------------------------------------------------------------*/
6340
-
6341
- .wpr-testimonial-carousel .slick-slider {
6342
- cursor: drag;
6343
- }
6344
-
6345
- .wpr-testimonial-carousel .slick-track {
6346
- display: -webkit-box !important;
6347
- display: flex !important;
6348
- display: -ms-flexbox !important;
6349
- }
6350
-
6351
- .wpr-testimonial-carousel .slick-slide {
6352
- height: inherit !important;
6353
- }
6354
-
6355
- .wpr-testimonial-carousel-wrap .slick-list {
6356
- padding-right: 1px !important;
6357
- }
6358
-
6359
-
6360
- /* Testimonial Navigation */
6361
- .wpr-testimonial-nav-position-default .wpr-testimonial-arrow-container {
6362
- position: absolute;
6363
- display: -webkit-box;
6364
- display: -ms-flexbox;
6365
- display: flex;
6366
- }
6367
-
6368
- .wpr-testimonial-nav-position-default .wpr-testimonial-arrow {
6369
- position: static;
6370
- }
6371
-
6372
- .wpr-testimonial-nav-position-default .wpr-testimonial-prev-arrow {
6373
- -ms-transform: none;
6374
- transform: none;
6375
- -webkit-transform: none;
6376
- }
6377
-
6378
- .wpr-testimonial-nav-position-default .wpr-testimonial-next-arrow {
6379
- -ms-transform: translateY(0) rotate(180deg);
6380
- transform: translateY(0) rotate(180deg);
6381
- -webkit-transform: translateY(0) rotate(180deg);
6382
- }
6383
-
6384
- .wpr-testimonial-nav-align-top-center .wpr-testimonial-arrow-container,
6385
- .wpr-testimonial-nav-align-bottom-center .wpr-testimonial-arrow-container {
6386
- left: 50%;
6387
- -webkit-transform: translateX(-50%);
6388
- -ms-transform: translateX(-50%);
6389
- transform: translateX(-50%);
6390
- }
6391
-
6392
- .wpr-testimonial-arrow {
6393
- position: absolute;
6394
- z-index: 120;
6395
- top: 52%;
6396
- -webkit-box-sizing: content-box;
6397
- box-sizing: content-box;
6398
- -webkit-box-align: center;
6399
- -ms-flex-align: center;
6400
- align-items: center;
6401
- -webkit-box-pack: center;
6402
- -ms-flex-pack: center;
6403
- justify-content: center;
6404
- text-align: center;
6405
- -webkit-transition: all .5s;
6406
- -o-transition: all .5s;
6407
- transition: all .5s;
6408
- cursor: pointer;
6409
- }
6410
-
6411
- .wpr-testimonial-arrow i {
6412
- display: block;
6413
- line-height: inherit;
6414
- }
6415
-
6416
- .wpr-testimonial-prev-arrow {
6417
- left: 2%;
6418
- -webkit-transform: translateY(-50%);
6419
- -ms-transform: translateY(-50%);
6420
- transform: translateY(-50%);
6421
- }
6422
-
6423
- .wpr-testimonial-next-arrow {
6424
- right: 2%;
6425
- -webkit-transform: translateY(-50%) rotate(180deg);
6426
- -ms-transform: translateY(-50%) rotate(180deg);
6427
- transform: translateY(-50%) rotate(180deg);
6428
- }
6429
-
6430
- .wpr-testimonial-nav-fade .wpr-testimonial-arrow {
6431
- opacity: 0;
6432
- }
6433
-
6434
-
6435
- /* Testimonial Pagination */
6436
-
6437
- .wpr-testimonial-dots {
6438
- display: inline-table;
6439
- position: absolute;
6440
- z-index: 110;
6441
- left: 50%;
6442
- -webkit-transform: translate(-50%, -50%);
6443
- -ms-transform: translate(-50%, -50%);
6444
- transform: translate(-50%, -50%);
6445
- }
6446
-
6447
- .wpr-testimonial-dots ul {
6448
- list-style: none;
6449
- padding: 0;
6450
- margin: 0;
6451
- }
6452
-
6453
- .wpr-testimonial-dots li {
6454
- float: left;
6455
- width: auto !important;
6456
- margin: 0 !important;
6457
- }
6458
-
6459
- .wpr-testimonial-dot {
6460
- display: block;
6461
- cursor: pointer;
6462
- }
6463
-
6464
- .wpr-testimonial-dots li:last-child .wpr-testimonial-dot {
6465
- margin: 0 !important;
6466
- }
6467
-
6468
-
6469
- /* Social Media */
6470
-
6471
- .wpr-testimonial-social-media {
6472
- display: inline-block;
6473
- }
6474
-
6475
- .wpr-testimonial-social {
6476
- display: block;
6477
- float: left;
6478
- width: 45px;
6479
- height: 45px;
6480
- line-height: 45px;
6481
- font-size: 45px;
6482
- -webkit-box-sizing: content-box;
6483
- box-sizing: content-box;
6484
- text-align: center;
6485
- -webkit-transition: all .5s;
6486
- -o-transition: all .5s;
6487
- transition: all .5s;
6488
- cursor: pointer;
6489
- }
6490
-
6491
- .wpr-testimonial-social i {
6492
- display: block;
6493
- width: 100%;
6494
- height: 100%;
6495
- line-height: inherit;
6496
- }
6497
-
6498
- .wpr-testimonial-social:last-child {
6499
- margin-right: 0 !important;
6500
- }
6501
-
6502
-
6503
- /* Rating */
6504
-
6505
- .wpr-testimonial-rating i {
6506
- display: inline;
6507
- position: relative;
6508
- font-family: "eicons";
6509
- font-style: normal;
6510
- line-height: 1;
6511
- overflow: hidden;
6512
- }
6513
-
6514
- .wpr-testimonial-rating i:before {
6515
- content: '\e934';
6516
- font-weight: 900;
6517
- display: block;
6518
- position: absolute;
6519
- top: 0;
6520
- left: 0;
6521
- font-size: inherit;
6522
- font-family: inherit;
6523
- overflow: hidden;
6524
- }
6525
-
6526
- .wpr-testimonial-rating-style_2 .wpr-testimonial-rating i:before {
6527
- content: '\002605';
6528
- }
6529
-
6530
- .wpr-testimonial-rating i:last-of-type {
6531
- margin-right: 0 !important;
6532
- }
6533
-
6534
- .wpr-rating-icon-empty:before {
6535
- display: none !important;
6536
- }
6537
-
6538
-
6539
- /* Content */
6540
-
6541
- .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-content-wrap .wpr-testimonial-title {
6542
- font-size: 18px;
6543
- font-weight: 700;
6544
- }
6545
-
6546
- .wpr-testimonial-content {
6547
- position: relative;
6548
- font-size: 15px;
6549
- }
6550
-
6551
- .wpr-testimonial-content p {
6552
- position: relative;
6553
- z-index: 5;
6554
- margin: 0;
6555
- }
6556
-
6557
-
6558
- /* Icon */
6559
-
6560
- .wpr-testimonial-content .wpr-testimonial-icon {
6561
- position: absolute;
6562
- width: 100%;
6563
- z-index: 1;
6564
- }
6565
-
6566
- .wpr-testimonial-date {
6567
- font-size: 10px;
6568
- }
6569
-
6570
-
6571
- /* Triangle */
6572
- .wpr-testimonial-content-inner {
6573
- position: relative;
6574
- background-color: #f9f9f9;
6575
- }
6576
-
6577
- .wpr-testimonial-triangle-yes .wpr-testimonial-content-inner:before {
6578
- content: "";
6579
- position: absolute;
6580
- width: 0;
6581
- height: 0;
6582
- border-left: 15px solid transparent;
6583
- border-right: 15px solid transparent;
6584
- border-top-style: solid;
6585
- border-top-width: 15px;
6586
- }
6587
-
6588
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before,
6589
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before {
6590
- right: calc( 50% - 15px);
6591
- }
6592
-
6593
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before,
6594
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before {
6595
- margin-left: -15px;
6596
- }
6597
-
6598
- .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before,
6599
- .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before {
6600
- margin-right: -15px;
6601
- }
6602
-
6603
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6604
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6605
- margin-top: -7.5px;
6606
- }
6607
-
6608
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6609
- -webkit-transform: rotate(180deg);
6610
- -ms-transform: rotate(180deg);
6611
- transform: rotate(180deg);
6612
- }
6613
-
6614
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner {
6615
- margin-top: 15px;
6616
- }
6617
-
6618
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6619
- -webkit-transform: rotate(-90deg);
6620
- -ms-transform: rotate(-90deg);
6621
- transform: rotate(-90deg);
6622
- }
6623
-
6624
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6625
- margin-right: 15px;
6626
- }
6627
-
6628
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6629
- -webkit-transform: rotate(90deg);
6630
- -ms-transform: rotate(90deg);
6631
- transform: rotate(90deg);
6632
- }
6633
-
6634
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner {
6635
- margin-left: 15px;
6636
- }
6637
-
6638
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6639
- bottom: -15px;
6640
- }
6641
-
6642
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner {
6643
- margin-bottom: 15px;
6644
- }
6645
-
6646
- .wpr-testimonial-meta-position-extra .wpr-testimonial-content-inner:before {
6647
- display: none;
6648
- }
6649
-
6650
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6651
- left: -22px;
6652
- }
6653
-
6654
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6655
- right: -22px;
6656
- }
6657
-
6658
- .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6659
- top: -15px;
6660
- }
6661
-
6662
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6663
- bottom: -15px;
6664
- }
6665
-
6666
-
6667
- /* Meta */
6668
-
6669
- .wpr-testimonial-image {
6670
- overflow: hidden;
6671
- }
6672
-
6673
- .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-meta .wpr-testimonial-name {
6674
- font-size: 14px;
6675
- font-weight: 700;
6676
- }
6677
-
6678
- .wpr-testimonial-logo-image {
6679
- display: block;
6680
- overflow: hidden;
6681
- }
6682
-
6683
-
6684
- /* Meta Position */
6685
-
6686
- .wpr-testimonial-item {
6687
- display: -webkit-box !important;
6688
- display: -ms-flexbox !important;
6689
- display: flex !important;
6690
- -webkit-box-pack: start;
6691
- -ms-flex-pack: start;
6692
- justify-content: flex-start;
6693
- }
6694
-
6695
- .wpr-testimonial-meta-position-extra .wpr-testimonial-item {
6696
- -webkit-box-orient: vertical;
6697
- -webkit-box-direction: normal;
6698
- -ms-flex-direction: column;
6699
- flex-direction: column;
6700
- }
6701
-
6702
- .wpr-testimonial-meta-position-top .wpr-testimonial-item {
6703
- -webkit-box-orient: vertical;
6704
- -webkit-box-direction: normal;
6705
- -ms-flex-direction: column;
6706
- flex-direction: column;
6707
- }
6708
-
6709
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-item {
6710
- -webkit-box-orient: vertical;
6711
- -webkit-box-direction: reverse;
6712
- -ms-flex-direction: column-reverse;
6713
- flex-direction: column-reverse;
6714
- -webkit-box-pack: end;
6715
- -ms-flex-pack: end;
6716
- justify-content: flex-end;
6717
- }
6718
-
6719
- .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6720
- -webkit-box-orient: horizontal;
6721
- -webkit-box-direction: reverse;
6722
- -ms-flex-direction: row-reverse;
6723
- flex-direction: row-reverse;
6724
- }
6725
-
6726
- .wpr-testimonial-meta-position-left .wpr-testimonial-item {
6727
- -webkit-box-orient: horizontal;
6728
- -webkit-box-direction: normal;
6729
- -ms-flex-direction: row;
6730
- flex-direction: row;
6731
- }
6732
-
6733
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta,
6734
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta {
6735
- -ms-flex-negative: 0;
6736
- flex-shrink: 0;
6737
- }
6738
-
6739
- @media screen and ( max-width: 480px) {
6740
- .wpr-testimonial-meta-position-left .wpr-testimonial-item,
6741
- .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6742
- -webkit-box-orient: vertical;
6743
- -webkit-box-direction: normal;
6744
- -ms-flex-direction: column;
6745
- flex-direction: column;
6746
- }
6747
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner,
6748
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6749
- margin-left: 0 !important;
6750
- }
6751
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta,
6752
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta {
6753
- margin-left: 0 !important;
6754
- margin-right: 0 !important;
6755
- padding: 0 !important;
6756
- margin-bottom: 20px;
6757
- }
6758
- .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6759
- .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6760
- display: none;
6761
- }
6762
- }
6763
-
6764
-
6765
- /* Job */
6766
-
6767
- .wpr-testimonial-job {
6768
- font-size: 10px;
6769
- }
6770
-
6771
-
6772
- /* Meta Image Positon */
6773
-
6774
- .wpr-testimonial-image-position-left .wpr-testimonial-meta-inner>div,
6775
- .wpr-testimonial-image-position-right .wpr-testimonial-meta-inner>div {
6776
- display: inline-block;
6777
- vertical-align: top;
6778
- }
6779
-
6780
- .wpr-testimonial-image-position-left .wpr-testimonial-image,
6781
- .wpr-testimonial-image-position-left .wpr-testimonial-logo-image img,
6782
- .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-left .wpr-testimonial-meta img {
6783
- float: left;
6784
- }
6785
-
6786
- .wpr-testimonial-image-position-right .wpr-testimonial-image,
6787
- .wpr-testimonial-image-position-right .wpr-testimonial-logo-image img,
6788
- .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-right .wpr-testimonial-meta img {
6789
- float: right;
6790
- }
6791
-
6792
- .wpr-testimonial-meta-align-left .wpr-testimonial-meta,
6793
- .wpr-testimonial-image-position-left .wpr-testimonial-meta-content-wrap {
6794
- text-align: left;
6795
- }
6796
-
6797
- .wpr-testimonial-meta-align-center .wpr-testimonial-meta {
6798
- text-align: center;
6799
- }
6800
-
6801
- .wpr-testimonial-meta-align-right .wpr-testimonial-meta,
6802
- .wpr-testimonial-image-position-right .wpr-testimonial-meta-content-wrap {
6803
- text-align: right;
6804
- }
6805
-
6806
- .wpr-testimonial-meta-align-center .wpr-testimonial-meta img {
6807
- margin: 0 auto;
6808
- }
6809
-
6810
- .wpr-testimonial-meta-position-extra .wpr-testimonial-meta img {
6811
- display: inline-block;
6812
- }
6813
-
6814
- .wpr-testimonial-meta-inner {
6815
- display: inline-block;
6816
- }
6817
-
6818
- .wpr-testimonial-meta-position-top .wpr-testimonial-meta-content-wrap,
6819
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-meta-content-wrap {
6820
- /*text-align: center !important;*/
6821
- }
6822
-
6823
- .wpr-testimonial-meta-position-top .wpr-testimonial-logo-image img,
6824
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-logo-image img,
6825
- .wpr-testimonial-meta-position-top .wpr-testimonial-social-media,
6826
- .wpr-testimonial-meta-position-bottom .wpr-testimonial-social-media {
6827
- float: none !important;
6828
- display: inline-block !important;
6829
- }
6830
-
6831
- @media screen and (min-width: 480px) {
6832
- .wpr-testimonial-image-position-left .wpr-testimonial-image,
6833
- .wpr-testimonial-image-position-right .wpr-testimonial-image {
6834
- margin-bottom: 0 !important;
6835
- }
6836
- }
6837
-
6838
- @media screen and (max-width: 480px) {
6839
- .wpr-testimonial-meta-position-left .wpr-testimonial-image,
6840
- .wpr-testimonial-meta-position-right .wpr-testimonial-image,
6841
- .wpr-testimonial-meta-position-left .wpr-testimonial-meta-content-wrap,
6842
- .wpr-testimonial-meta-position-right .wpr-testimonial-meta-content-wrap {
6843
- display: block !important;
6844
- float: none !important;
6845
- text-align: center !important;
6846
- }
6847
- .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-left .wpr-testimonial-image,
6848
- .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-left .wpr-testimonial-image,
6849
- .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-right .wpr-testimonial-image,
6850
- .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-right .wpr-testimonial-image {
6851
- margin-left: 0 !important;
6852
- margin-right: 0 !important;
6853
- }
6854
- .wpr-testimonial-meta-position-left .wpr-testimonial-image img,
6855
- .wpr-testimonial-meta-position-right .wpr-testimonial-image img,
6856
- .wpr-testimonial-meta-position-left .wpr-testimonial-logo-image img,
6857
- .wpr-testimonial-meta-position-right .wpr-testimonial-logo-image img {
6858
- display: inline-block !important;
6859
- float: none !important;
6860
- }
6861
- }
6862
-
6863
-
6864
- /*--------------------------------------------------------------
6865
- == Search
6866
- --------------------------------------------------------------*/
6867
-
6868
- .wpr-search-form-input-wrap {
6869
- width: 100%;
6870
- overflow: hidden;
6871
- }
6872
-
6873
- .wpr-search-form .wpr-search-form-input {
6874
- width: 100%;
6875
- height: 100%;
6876
- font-size: 14px;
6877
- background-color: transparent;
6878
- border-style: solid;
6879
- }
6880
-
6881
- .wpr-search-form-style-inner .wpr-search-form-input-wrap,
6882
- .wpr-search-form-style-outer .wpr-search-form {
6883
- display: -webkit-box;
6884
- display: -ms-flexbox;
6885
- display: flex;
6886
- }
6887
-
6888
- .wpr-search-form-style-inner.wpr-search-form-position-left .wpr-search-form-input-wrap,
6889
- .wpr-search-form-style-outer.wpr-search-form-position-left .wpr-search-form {
6890
- -webkit-box-direction: reverse;
6891
- -ms-flex-direction: row-reverse;
6892
- flex-direction: row-reverse;
6893
- }
6894
-
6895
- .wpr-search-form-submit {
6896
- padding: 0 !important;
6897
- cursor: pointer;
6898
- border-style: solid;
6899
- -webkit-transition: all 200ms;
6900
- -o-transition: all 200ms;
6901
- transition: all 200ms;
6902
- }
6903
-
6904
- .wpr-search-form-disable-submit-btn-yes .wpr-search-form-submit {
6905
- pointer-events: none;
6906
- cursor: default;
6907
- }
6908
-
6909
-
6910
- /*--------------------------------------------------------------
6911
- == Team Member
6912
- --------------------------------------------------------------*/
6913
-
6914
- .wpr-team-member {
6915
- overflow: hidden;
6916
- }
6917
-
6918
- .wpr-member-content {
6919
- overflow: hidden;
6920
- }
6921
-
6922
- .wpr-member-name {
6923
- display: block;
6924
- line-height: 1;
6925
- }
6926
-
6927
- .elementor .elementor-widget-wpr-team-member .wpr-member-name {
6928
- font-size: 24px;
6929
- font-weight: 500;
6930
- }
6931
-
6932
- .wpr-member-job {
6933
- font-size: 13px;
6934
- }
6935
-
6936
- .wpr-member-description {
6937
- font-size: 15px;
6938
- line-height: 1.4;
6939
- }
6940
-
6941
- .wpr-member-media {
6942
- position: relative;
6943
- margin: 0 auto;
6944
- width: 100%;
6945
- overflow: hidden;
6946
- }
6947
-
6948
- .wpr-member-image {
6949
- overflow: hidden;
6950
- }
6951
-
6952
-
6953
- /* Image Overlay */
6954
-
6955
- .wpr-member-overlay-content {
6956
- position: relative;
6957
- }
6958
-
6959
- .wpr-member-overlay {
6960
- position: absolute;
6961
- top: 0;
6962
- left: 0;
6963
- width: 100%;
6964
- height: 100%;
6965
- background-color: rgba(255, 255, 255, 0.9);
6966
- }
6967
-
6968
-
6969
- /* Social Media */
6970
-
6971
- .wpr-member-social-media {
6972
- display: -webkit-box;
6973
- display: -ms-flexbox;
6974
- display: flex;
6975
- overflow: hidden;
6976
- }
6977
-
6978
- .wpr-member-social {
6979
- display: block;
6980
- width: 45px;
6981
- height: 45px;
6982
- line-height: 45px;
6983
- font-size: 45px;
6984
- -webkit-box-sizing: content-box;
6985
- box-sizing: content-box;
6986
- text-align: center;
6987
- -webkit-transition: all .5s;
6988
- -o-transition: all .5s;
6989
- transition: all .5s;
6990
- cursor: pointer;
6991
- }
6992
-
6993
- .wpr-member-social i {
6994
- display: block;
6995
- width: 100%;
6996
- height: 100%;
6997
- line-height: inherit;
6998
- }
6999
-
7000
- .wpr-member-social:last-child {
7001
- margin-right: 0 !important;
7002
- }
7003
-
7004
- .wpr-team-member-social-media-left .wpr-member-social-media {
7005
- -webkit-box-pack: start;
7006
- -ms-flex-pack: start;
7007
- justify-content: flex-start;
7008
- }
7009
-
7010
- .wpr-team-member-social-media-right .wpr-member-social-media {
7011
- -webkit-box-pack: end;
7012
- -ms-flex-pack: end;
7013
- justify-content: flex-end;
7014
- }
7015
-
7016
- .wpr-team-member-social-media-center .wpr-member-social-media {
7017
- -webkit-box-pack: center;
7018
- -ms-flex-pack: center;
7019
- justify-content: center;
7020
- }
7021
-
7022
-
7023
- /* Member Button */
7024
-
7025
- .wpr-member-btn {
7026
- display: inline-block;
7027
- position: relative;
7028
- overflow: hidden;
7029
- display: inline-block;
7030
- vertical-align: middle;
7031
- background-color: #222222;
7032
- cursor: pointer;
7033
- font-size: 14px;
7034
- }
7035
-
7036
- .wpr-member-btn span {
7037
- position: relative;
7038
- z-index: 2;
7039
- opacity: 1 !important;
7040
- }
7041
-
7042
- .wpr-member-btn:before,
7043
- .wpr-member-btn:after {
7044
- z-index: 1 !important;
7045
- }
7046
-
7047
-
7048
- /* Divider */
7049
-
7050
- .wpr-member-divider {
7051
- overflow: hidden;
7052
- }
7053
-
7054
- .wpr-member-divider:after {
7055
- content: "";
7056
- display: block;
7057
- width: 100%;
7058
- margin-top: 0;
7059
- overflow: hidden;
7060
- }
7061
-
7062
- .wpr-team-member-divider-left .wpr-member-divider:after {
7063
- float: left;
7064
- }
7065
-
7066
- .wpr-team-member-divider-right .wpr-member-divider:after {
7067
- float: right;
7068
- }
7069
-
7070
- .wpr-team-member-divider-center .wpr-member-divider:after {
7071
- margin-left: auto;
7072
- margin-right: auto;
7073
- }
7074
-
7075
-
7076
- /*--------------------------------------------------------------
7077
- == Button
7078
- --------------------------------------------------------------*/
7079
-
7080
- .wpr-button-wrap {
7081
- position: relative;
7082
- display: inline-table;
7083
- z-index: 1;
7084
- width: 100%;
7085
- }
7086
-
7087
- .wpr-button {
7088
- display: block;
7089
- position: relative;
7090
- width: 100%;
7091
- z-index: 1;
7092
- overflow: hidden;
7093
- }
7094
-
7095
- .elementor .elementor-widget-wpr-button .wpr-button-text {
7096
- font-size: 15px;
7097
- font-weight: 500;
7098
- }
7099
-
7100
- .wpr-button-icon-style-block .wpr-button-text,
7101
- .wpr-button-icon-style-inline-block .wpr-button-text {
7102
- width: 100%;
7103
- }
7104
-
7105
- .wpr-button-icon-style-block .wpr-button-icon,
7106
- .wpr-button-icon-style-inline-block .wpr-button-icon {
7107
- -webkit-box-pack: center;
7108
- -ms-flex-pack: center;
7109
- justify-content: center;
7110
- }
7111
-
7112
- .wpr-button-content {
7113
- display: -webkit-box;
7114
- display: -ms-flexbox;
7115
- display: flex;
7116
- }
7117
-
7118
- .wpr-button-text,
7119
- .wpr-button-icon {
7120
- display: -webkit-box;
7121
- display: -ms-flexbox;
7122
- display: flex;
7123
- -webkit-box-align: center;
7124
- -ms-flex-align: center;
7125
- align-items: center;
7126
- }
7127
-
7128
- .wpr-button-icon-position-left .wpr-button-icon {
7129
- -webkit-box-ordinal-group: 2;
7130
- -ms-flex-order: 1;
7131
- order: 1;
7132
- }
7133
-
7134
- .wpr-button-icon-position-left .wpr-button-text {
7135
- -webkit-box-ordinal-group: 3;
7136
- -ms-flex-order: 2;
7137
- order: 2;
7138
- }
7139
-
7140
-
7141
- /* Tooltip */
7142
-
7143
- .wpr-button-tooltip {
7144
- position: absolute;
7145
- border-radius: 4px;
7146
- visibility: hidden;
7147
- opacity: 0;
7148
- font-size: 13px;
7149
- line-height: 1.5;
7150
- -webkit-transition-property: all;
7151
- -o-transition-property: all;
7152
- transition-property: all;
7153
- -webkit-transition-timing-function: ease-in-out;
7154
- -o-transition-timing-function: ease-in-out;
7155
- transition-timing-function: ease-in-out;
7156
- z-index: 20;
7157
- }
7158
-
7159
- .wpr-button-tooltip:before {
7160
- content: "";
7161
- position: absolute;
7162
- width: 0;
7163
- height: 0;
7164
- border-top-style: solid;
7165
- border-left: 6px solid transparent;
7166
- border-right: 6px solid transparent;
7167
- border-top-width: 6px;
7168
- }
7169
-
7170
- .wpr-button-tooltip p {
7171
- margin: 0;
7172
- }
7173
-
7174
- .wpr-button-wrap:hover .wpr-button-tooltip {
7175
- visibility: visible;
7176
- opacity: 1;
7177
- }
7178
-
7179
- .wpr-button-tooltip-position-top .wpr-button-tooltip {
7180
- top: 0;
7181
- left: 50%;
7182
- -ms-transform: translate(-50%, -120%);
7183
- transform: translate(-50%, -120%);
7184
- -webkit-transform: translate(-50%, -120%);
7185
- margin-top: -5px;
7186
- }
7187
-
7188
- .wpr-button-tooltip-position-top .wpr-button-wrap:hover .wpr-button-tooltip {
7189
- -ms-transform: translate(-50%, -100%);
7190
- transform: translate(-50%, -100%);
7191
- -webkit-transform: translate(-50%, -100%);
7192
- }
7193
-
7194
- .wpr-button-tooltip-position-top .wpr-button-tooltip:before {
7195
- left: 50%;
7196
- -ms-transform: translateX(-50%);
7197
- transform: translateX(-50%);
7198
- -webkit-transform: translateX(-50%);
7199
- bottom: -5px;
7200
- }
7201
-
7202
- .wpr-button-tooltip-position-bottom .wpr-button-tooltip {
7203
- bottom: 0;
7204
- left: 50%;
7205
- -ms-transform: translate(-50%, 120%);
7206
- transform: translate(-50%, 120%);
7207
- -webkit-transform: translate(-50%, 120%);
7208
- margin-bottom: -5px;
7209
- }
7210
-
7211
- .wpr-button-tooltip-position-bottom .wpr-button-wrap:hover .wpr-button-tooltip {
7212
- -ms-transform: translate(-50%, 100%);
7213
- transform: translate(-50%, 100%);
7214
- -webkit-transform: translate(-50%, 100%);
7215
- }
7216
-
7217
- .wpr-button-tooltip-position-bottom .wpr-button-tooltip:before {
7218
- top: -5px;
7219
- left: 50%;
7220
- -webkit-transform: translateX(-50%) rotate(180deg);
7221
- -ms-transform: translateX(-50%) rotate(180deg);
7222
- transform: translateX(-50%) rotate(180deg);
7223
- }
7224
-
7225
- .wpr-button-tooltip-position-left .wpr-button-tooltip {
7226
- top: 50%;
7227
- left: 0;
7228
- -ms-transform: translate(-120%, -50%);
7229
- transform: translate(-120%, -50%);
7230
- -webkit-transform: translate(-120%, -50%);
7231
- margin-left: -5px;
7232
- }
7233
-
7234
- .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip {
7235
- -ms-transform: translate(-100%, -50%);
7236
- transform: translate(-100%, -50%);
7237
- -webkit-transform: translate(-100%, -50%);
7238
- }
7239
-
7240
- .wpr-button-tooltip-position-left .wpr-button-tooltip:before {
7241
- right: -8px;
7242
- top: 50%;
7243
- -webkit-transform: translateY(-50%) rotate(-90deg);
7244
- -ms-transform: translateY(-50%) rotate(-90deg);
7245
- transform: translateY(-50%) rotate(-90deg);
7246
- }
7247
-
7248
- .wpr-button-tooltip-position-right .wpr-button-tooltip {
7249
- top: 50%;
7250
- right: 0;
7251
- -ms-transform: translate(120%, -50%);
7252
- transform: translate(120%, -50%);
7253
- -webkit-transform: translate(120%, -50%);
7254
- margin-right: -5px;
7255
- }
7256
-
7257
- .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip {
7258
- -ms-transform: translate(100%, -50%);
7259
- transform: translate(100%, -50%);
7260
- -webkit-transform: translate(100%, -50%);
7261
- }
7262
-
7263
- .wpr-button-tooltip-position-right .wpr-button-tooltip:before {
7264
- left: -8px;
7265
- top: 50%;
7266
- -ms-transform: translateY(-50%) rotate(90deg);
7267
- transform: translateY(-50%) rotate(90deg);
7268
- -webkit-transform: translateY(-50%) rotate(90deg);
7269
- }
7270
-
7271
-
7272
- /* Defaults */
7273
-
7274
- .elementor-widget-wpr-button .wpr-button {
7275
- background-color: #605BE5;
7276
- }
7277
-
7278
- .elementor-widget-wpr-button .wpr-button-none:hover,
7279
- .elementor-widget-wpr-button [class*="elementor-animation"]:hover,
7280
- .elementor-widget-wpr-button .wpr-button::before,
7281
- .elementor-widget-wpr-button .wpr-button::after {
7282
- background-color: #4A45D2;
7283
- }
7284
-
7285
- .elementor-widget-wpr-button .wpr-button-text,
7286
- .elementor-widget-wpr-button .wpr-button::after {
7287
- font-size: 14px;
7288
- }
7289
-
7290
-
7291
- /*--------------------------------------------------------------
7292
- == Dual Button
7293
- --------------------------------------------------------------*/
7294
-
7295
- .wpr-dual-button {
7296
- display: -moz-flex;
7297
- display: -ms-flex;
7298
- display: -o-flex;
7299
- display: -webkit-box;
7300
- display: -ms-flexbox;
7301
- display: flex;
7302
- }
7303
-
7304
- .wpr-button-a-wrap,
7305
- .wpr-button-b-wrap {
7306
- position: relative;
7307
- width: 100%;
7308
- }
7309
-
7310
- .wpr-button-a-wrap {
7311
- z-index: 5;
7312
- }
7313
-
7314
- .wpr-button-b-wrap {
7315
- z-index: 2;
7316
- }
7317
-
7318
- .wpr-button-a,
7319
- .wpr-button-b {
7320
- display: block;
7321
- position: relative;
7322
- width: 100%;
7323
- z-index: 1;
7324
- overflow: hidden;
7325
- }
7326
-
7327
- .wpr-button-content-a,
7328
- .wpr-button-content-b {
7329
- display: -webkit-box;
7330
- display: -ms-flexbox;
7331
- display: flex;
7332
- }
7333
-
7334
- .wpr-button-text-a,
7335
- .wpr-button-icon-a,
7336
- .wpr-button-text-b,
7337
- .wpr-button-icon-b {
7338
- display: -webkit-box;
7339
- display: -ms-flexbox;
7340
- display: flex;
7341
- -webkit-box-align: center;
7342
- -ms-flex-align: center;
7343
- align-items: center;
7344
- }
7345
-
7346
- .wpr-button-icon-a-position-left .wpr-button-icon-a,
7347
- .wpr-button-icon-b-position-left .wpr-button-icon-b {
7348
- -webkit-box-ordinal-group: 2;
7349
- -ms-flex-order: 1;
7350
- order: 1;
7351
- }
7352
-
7353
- .wpr-button-icon-a-position-left .wpr-button-text-a,
7354
- .wpr-button-icon-b-position-left .wpr-button-text-b {
7355
- -webkit-box-ordinal-group: 3;
7356
- -ms-flex-order: 2;
7357
- order: 2;
7358
- }
7359
-
7360
-
7361
- /* Middle Badge */
7362
-
7363
- .wpr-button-middle-badge {
7364
- display: -webkit-box;
7365
- display: -ms-flexbox;
7366
- display: flex;
7367
- -webkit-box-align: center;
7368
- -ms-flex-align: center;
7369
- align-items: center;
7370
- -webkit-box-pack: center;
7371
- -ms-flex-pack: center;
7372
- justify-content: center;
7373
- position: absolute;
7374
- top: 50%;
7375
- right: 0;
7376
- -webkit-transform: translate(50%, -50%);
7377
- -ms-transform: translate(50%, -50%);
7378
- transform: translate(50%, -50%);
7379
- text-align: center;
7380
- -webkit-box-sizing: content-box;
7381
- box-sizing: content-box;
7382
- z-index: 10;
7383
- border-width: 3px;
7384
- border-color: #00ce1b;
7385
- -webkit-box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7386
- box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7387
- }
7388
-
7389
- .wpr-button-middle-badge i {
7390
- line-height: inherit;
7391
- }
7392
-
7393
-
7394
- /* Tooltip A */
7395
-
7396
- .wpr-button-tooltip-a {
7397
- position: absolute;
7398
- border-radius: 4px;
7399
- visibility: hidden;
7400
- opacity: 0;
7401
- font-size: 13px;
7402
- line-height: 1.5;
7403
- -webkit-transition-property: all;
7404
- -o-transition-property: all;
7405
- transition-property: all;
7406
- -webkit-transition-timing-function: ease-in-out;
7407
- -o-transition-timing-function: ease-in-out;
7408
- transition-timing-function: ease-in-out;
7409
- z-index: 20;
7410
- }
7411
-
7412
- .wpr-button-tooltip-a:before {
7413
- content: "";
7414
- position: absolute;
7415
- width: 0;
7416
- height: 0;
7417
- border-top-style: solid;
7418
- border-left: 6px solid transparent;
7419
- border-right: 6px solid transparent;
7420
- border-top-width: 6px;
7421
- }
7422
-
7423
- .wpr-button-tooltip-a p {
7424
- margin: 0;
7425
- }
7426
-
7427
- .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7428
- visibility: visible;
7429
- opacity: 1;
7430
- }
7431
-
7432
- .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a {
7433
- top: 0;
7434
- left: 50%;
7435
- -ms-transform: translate(-50%, -120%);
7436
- transform: translate(-50%, -120%);
7437
- -webkit-transform: translate(-50%, -120%);
7438
- margin-top: -5px;
7439
- }
7440
-
7441
- .wpr-button-tooltip-a-position-top .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7442
- -ms-transform: translate(-50%, -100%);
7443
- transform: translate(-50%, -100%);
7444
- -webkit-transform: translate(-50%, -100%);
7445
- }
7446
-
7447
- .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a:before {
7448
- left: 50%;
7449
- -ms-transform: translateX(-50%);
7450
- transform: translateX(-50%);
7451
- -webkit-transform: translateX(-50%);
7452
- bottom: -5px;
7453
- }
7454
-
7455
- .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a {
7456
- bottom: 0;
7457
- left: 50%;
7458
- -ms-transform: translate(-50%, 120%);
7459
- transform: translate(-50%, 120%);
7460
- -webkit-transform: translate(-50%, 120%);
7461
- margin-bottom: -5px;
7462
- }
7463
-
7464
- .wpr-button-tooltip-a-position-bottom .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7465
- -ms-transform: translate(-50%, 100%);
7466
- transform: translate(-50%, 100%);
7467
- -webkit-transform: translate(-50%, 100%);
7468
- }
7469
-
7470
- .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a:before {
7471
- top: -5px;
7472
- left: 50%;
7473
- -webkit-transform: translateX(-50%) rotate(180deg);
7474
- -ms-transform: translateX(-50%) rotate(180deg);
7475
- transform: translateX(-50%) rotate(180deg);
7476
- }
7477
-
7478
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a {
7479
- top: 50%;
7480
- left: 0;
7481
- -ms-transform: translate(-120%, -50%);
7482
- transform: translate(-120%, -50%);
7483
- -webkit-transform: translate(-120%, -50%);
7484
- margin-left: -5px;
7485
- }
7486
-
7487
- .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7488
- -ms-transform: translate(-100%, -50%);
7489
- transform: translate(-100%, -50%);
7490
- -webkit-transform: translate(-100%, -50%);
7491
- }
7492
-
7493
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before {
7494
- right: -8px;
7495
- top: 50%;
7496
- -webkit-transform: translateY(-50%) rotate(-90deg);
7497
- -ms-transform: translateY(-50%) rotate(-90deg);
7498
- transform: translateY(-50%) rotate(-90deg);
7499
- }
7500
-
7501
- .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a {
7502
- top: 50%;
7503
- right: 0;
7504
- -ms-transform: translate(120%, -50%);
7505
- transform: translate(120%, -50%);
7506
- -webkit-transform: translate(120%, -50%);
7507
- margin-right: -5px;
7508
- }
7509
-
7510
- .wpr-button-tooltip-a-position-right .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7511
- -ms-transform: translate(100%, -50%);
7512
- transform: translate(100%, -50%);
7513
- -webkit-transform: translate(100%, -50%);
7514
- }
7515
-
7516
- .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a:before {
7517
- left: -8px;
7518
- top: 50%;
7519
- -webkit-transform: translateY(-50%) rotate(90deg);
7520
- -ms-transform: translateY(-50%) rotate(90deg);
7521
- transform: translateY(-50%) rotate(90deg);
7522
- }
7523
-
7524
-
7525
- /* Tooltip B */
7526
-
7527
- .wpr-button-tooltip-b {
7528
- position: absolute;
7529
- border-radius: 4px;
7530
- visibility: hidden;
7531
- opacity: 0;
7532
- font-size: 13px;
7533
- line-height: 1.5;
7534
- -webkit-transition-property: all;
7535
- -o-transition-property: all;
7536
- transition-property: all;
7537
- -webkit-transition-timing-function: ease-in-out;
7538
- -o-transition-timing-function: ease-in-out;
7539
- transition-timing-function: ease-in-out;
7540
- z-index: 20;
7541
- }
7542
-
7543
- .wpr-button-tooltip-b:before {
7544
- content: "";
7545
- position: absolute;
7546
- width: 0;
7547
- height: 0;
7548
- border-top-style: solid;
7549
- border-left: 6px solid transparent;
7550
- border-right: 6px solid transparent;
7551
- border-top-width: 6px;
7552
- }
7553
-
7554
- .wpr-button-tooltip-b p {
7555
- margin: 0;
7556
- }
7557
-
7558
- .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7559
- visibility: visible;
7560
- opacity: 1;
7561
- }
7562
-
7563
- .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b {
7564
- top: 0;
7565
- left: 50%;
7566
- -ms-transform: translate(-50%, -120%);
7567
- transform: translate(-50%, -120%);
7568
- -webkit-transform: translate(-50%, -120%);
7569
- margin-top: -5px;
7570
- }
7571
-
7572
- .wpr-button-tooltip-b-position-top .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7573
- -ms-transform: translate(-50%, -100%);
7574
- transform: translate(-50%, -100%);
7575
- -webkit-transform: translate(-50%, -100%);
7576
- }
7577
-
7578
- .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b:before {
7579
- left: 50%;
7580
- -ms-transform: translateX(-50%);
7581
- transform: translateX(-50%);
7582
- -webkit-transform: translateX(-50%);
7583
- bottom: -5px;
7584
- }
7585
-
7586
- .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b {
7587
- bottom: 0;
7588
- left: 50%;
7589
- -ms-transform: translate(-50%, 120%);
7590
- transform: translate(-50%, 120%);
7591
- -webkit-transform: translate(-50%, 120%);
7592
- margin-bottom: -5px;
7593
- }
7594
-
7595
- .wpr-button-tooltip-b-position-bottom .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7596
- -ms-transform: translate(-50%, 100%);
7597
- transform: translate(-50%, 100%);
7598
- -webkit-transform: translate(-50%, 100%);
7599
- }
7600
-
7601
- .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b:before {
7602
- top: -5px;
7603
- left: 50%;
7604
- -webkit-transform: translateX(-50%) rotate(180deg);
7605
- -ms-transform: translateX(-50%) rotate(180deg);
7606
- transform: translateX(-50%) rotate(180deg);
7607
- }
7608
-
7609
- .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b {
7610
- top: 50%;
7611
- left: 0;
7612
- -ms-transform: translate(-120%, -50%);
7613
- transform: translate(-120%, -50%);
7614
- -webkit-transform: translate(-120%, -50%);
7615
- margin-left: -5px;
7616
- }
7617
-
7618
- .wpr-button-tooltip-b-position-left .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7619
- -ms-transform: translate(-100%, -50%);
7620
- transform: translate(-100%, -50%);
7621
- -webkit-transform: translate(-100%, -50%);
7622
- }
7623
-
7624
- .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b:before {
7625
- right: -8px;
7626
- top: 50%;
7627
- -webkit-transform: translateY(-50%) rotate(-90deg);
7628
- -ms-transform: translateY(-50%) rotate(-90deg);
7629
- transform: translateY(-50%) rotate(-90deg);
7630
- }
7631
-
7632
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7633
- top: 50%;
7634
- right: 0;
7635
- -ms-transform: translate(120%, -50%);
7636
- transform: translate(120%, -50%);
7637
- -webkit-transform: translate(120%, -50%);
7638
- margin-right: -5px;
7639
- }
7640
-
7641
- .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7642
- -ms-transform: translate(100%, -50%);
7643
- transform: translate(100%, -50%);
7644
- -webkit-transform: translate(100%, -50%);
7645
- }
7646
-
7647
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7648
- left: -8px;
7649
- top: 50%;
7650
- -webkit-transform: translateY(-50%) rotate(90deg);
7651
- -ms-transform: translateY(-50%) rotate(90deg);
7652
- transform: translateY(-50%) rotate(90deg);
7653
- }
7654
-
7655
- @media screen and (max-width: 480px) {
7656
- .wpr-button-tooltip-position-left .wpr-button-tooltip,
7657
- .wpr-button-tooltip-position-right .wpr-button-tooltip,
7658
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a,
7659
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7660
- top: 0;
7661
- left: 50% !important;
7662
- right: auto !important;
7663
- -ms-transform: translate(-50%, -120%);
7664
- transform: translate(-50%, -120%);
7665
- -webkit-transform: translate(-50%, -120%);
7666
- margin-top: -5px;
7667
- }
7668
- .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip,
7669
- .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip,
7670
- .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a,
7671
- .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7672
- -ms-transform: translate(-50%, -100%);
7673
- transform: translate(-50%, -100%);
7674
- -webkit-transform: translate(-50%, -100%);
7675
- }
7676
- .wpr-button-tooltip-position-left .wpr-button-tooltip:before,
7677
- .wpr-button-tooltip-position-right .wpr-button-tooltip:before,
7678
- .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before,
7679
- .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7680
- left: 50%;
7681
- -ms-transform: translateX(-50%);
7682
- transform: translateX(-50%);
7683
- -webkit-transform: translateX(-50%);
7684
- bottom: -5px;
7685
- top: auto;
7686
- }
7687
- }
7688
-
7689
-
7690
- /* Default */
7691
-
7692
- .elementor-widget-wpr-dual-button .wpr-button-a,
7693
- .elementor-widget-wpr-dual-button .wpr-button-b {
7694
- background-color: #605BE5;
7695
- }
7696
-
7697
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-none:hover,
7698
- .elementor-widget-wpr-dual-button .wpr-dual-button [class*="elementor-animation"]:hover,
7699
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::before,
7700
- .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::after {
7701
- background-color: #4A45D2;
7702
- }
7703
-
7704
- .elementor-widget-wpr-dual-button .wpr-button-text-a,
7705
- .elementor-widget-wpr-dual-button .wpr-button-a::after,
7706
- .elementor-widget-wpr-dual-button .wpr-button-text-b,
7707
- .elementor-widget-wpr-dual-button .wpr-button-b::after {
7708
- font-size: 14px;
7709
- }
7710
-
7711
- .elementor-widget-wpr-dual-button .wpr-button-middle-badge {
7712
- font-size: 13px;
7713
- }
7714
-
7715
-
7716
- /*--------------------------------------------------------------
7717
- == Advanced Text
7718
- --------------------------------------------------------------*/
7719
-
7720
- .wpr-highlighted-text,
7721
- .wpr-anim-text,
7722
- .wpr-clipped-text {
7723
- display: inline-block;
7724
- vertical-align: middle;
7725
- }
7726
-
7727
- .wpr-advanced-text-preffix,
7728
- .wpr-advanced-text-suffix {
7729
- vertical-align: middle;
7730
- }
7731
-
7732
- .elementor-widget-wpr-advanced-text b {
7733
- font-weight: none;
7734
- }
7735
-
7736
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-preffix,
7737
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-suffix,
7738
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-highlighted-text,
7739
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text,
7740
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text b {
7741
- font-size: 32px;
7742
- font-weight: 700;
7743
- }
7744
-
7745
- .wpr-advanced-text {
7746
- display: block;
7747
- margin: 0;
7748
- }
7749
-
7750
- /* Clipped Text */
7751
- .wpr-clipped-text {
7752
- position: relative;
7753
- -ms-transform: translate(0, 0);
7754
- transform: translate(0, 0);
7755
- -webkit-transform: translate(0, 0);
7756
- z-index: 0;
7757
- }
7758
-
7759
- .wpr-clipped-text-content {
7760
- -webkit-text-fill-color: transparent;
7761
- -webkit-background-clip: text;
7762
- background-clip: text;
7763
- }
7764
-
7765
- .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-clipped-text {
7766
- font-size: 50px;
7767
- font-weight: 700;
7768
- }
7769
-
7770
- .wpr-clipped-text-long-shadow {
7771
- position: absolute;
7772
- display: inline-block;
7773
- top: 0;
7774
- left: 0;
7775
- width: 100%;
7776
- height: 100%;
7777
- z-index: -1;
7778
- }
7779
-
7780
-
7781
- /* Hilight Text */
7782
-
7783
- .wpr-highlighted-text {
7784
- position: relative;
7785
- text-align: left;
7786
- }
7787
-
7788
- .wpr-highlighted-text-inner {
7789
- position: relative;
7790
- z-index: 1;
7791
- }
7792
-
7793
- .wpr-highlighted-text svg {
7794
- position: absolute;
7795
- top: 50%;
7796
- left: 50%;
7797
- width: 100%;
7798
- height: 100%;
7799
- -webkit-transform: translate(-50%, -50%);
7800
- -ms-transform: translate(-50%, -50%);
7801
- transform: translate(-50%, -50%);
7802
- overflow: visible;
7803
- z-index: auto;
7804
- }
7805
-
7806
- .wpr-highlighted-text svg path {
7807
- -webkit-animation-name: wpr-anim-text;
7808
- animation-name: wpr-anim-text;
7809
- -webkit-animation-fill-mode: forwards;
7810
- animation-fill-mode: forwards;
7811
- fill: none;
7812
- stroke-width: 4;
7813
- stroke-dasharray: 1500;
7814
- -webkit-animation-iteration-count: 1;
7815
- -animation-iteration-count: 1;
7816
- opacity: 0;
7817
- }
7818
-
7819
- .wpr-highlighted-text .wpr-highlight-curly {
7820
- -webkit-transform: translate(-50%, 25%);
7821
- -ms-transform: translate(-50%, 25%);
7822
- transform: translate(-50%, 25%);
7823
- }
7824
-
7825
- .wpr-highlighted-text .wpr-highlight-x {
7826
- -webkit-transform: translate(-50%, -35%);
7827
- -ms-transform: translate(-50%, -35%);
7828
- transform: translate(-50%, -35%);
7829
- }
7830
-
7831
- .wpr-highlighted-text .wpr-highlight-strikethrough {
7832
- -webkit-transform: translate(-50%, -47%);
7833
- -ms-transform: translate(-50%, -47%);
7834
- transform: translate(-50%, -47%);
7835
- }
7836
-
7837
- .wpr-highlighted-text .wpr-highlight-underline {
7838
- -webkit-transform: translate(-50%, 27%);
7839
- -ms-transform: translate(-50%, 27%);
7840
- transform: translate(-50%, 27%);
7841
- }
7842
-
7843
- .wpr-highlighted-text .wpr-highlight-double {
7844
- -webkit-transform: translate(-50%, -40%);
7845
- -ms-transform: translate(-50%, -40%);
7846
- transform: translate(-50%, -40%);
7847
- }
7848
-
7849
- .wpr-highlighted-text .wpr-highlight-double-underline {
7850
- -webkit-transform: translate(-50%, 30%);
7851
- -ms-transform: translate(-50%, 30%);
7852
- transform: translate(-50%, 30%);
7853
- }
7854
-
7855
- .wpr-highlighted-text .wpr-highlight-diagonal {
7856
- -webkit-transform: translate(-50%, -40%);
7857
- -ms-transform: translate(-50%, -40%);
7858
- transform: translate(-50%, -40%);
7859
- }
7860
-
7861
- .wpr-animated-text-infinite-yes .wpr-highlighted-text svg path {
7862
- -webkit-animation-name: wpr-anim-text-infinite;
7863
- animation-name: wpr-anim-text-infinite;
7864
- }
7865
-
7866
- @-webkit-keyframes wpr-anim-text-infinite {
7867
- 0% {
7868
- opacity: 1;
7869
- stroke-dasharray: 0 1500;
7870
- }
7871
- 12% {
7872
- stroke-dasharray: 1500 1500;
7873
- }
7874
- 80% {
7875
- opacity: 1;
7876
- }
7877
- 97% {
7878
- opacity: 0;
7879
- stroke-dasharray: 1500 1500;
7880
- }
7881
- 100% {
7882
- stroke-dasharray: 0 1500;
7883
- }
7884
- }
7885
-
7886
- @keyframes wpr-anim-text-infinite {
7887
- 0% {
7888
- opacity: 1;
7889
- stroke-dasharray: 0 1500;
7890
- }
7891
- 12% {
7892
- stroke-dasharray: 1500 1500;
7893
- }
7894
- 80% {
7895
- opacity: 1;
7896
- }
7897
- 97% {
7898
- opacity: 0;
7899
- stroke-dasharray: 1500 1500;
7900
- }
7901
- 100% {
7902
- stroke-dasharray: 0 1500;
7903
- }
7904
- }
7905
-
7906
- @-webkit-keyframes wpr-anim-text {
7907
- 0% {
7908
- opacity: 1;
7909
- stroke-dasharray: 0 1500;
7910
- }
7911
- 12% {
7912
- stroke-dasharray: 1500 1500;
7913
- }
7914
- 100% {
7915
- opacity: 1;
7916
- }
7917
- }
7918
-
7919
- @keyframes wpr-anim-text {
7920
- 0% {
7921
- opacity: 1;
7922
- stroke-dasharray: 0 1500;
7923
- }
7924
- 12% {
7925
- stroke-dasharray: 1500 1500;
7926
- }
7927
- 100% {
7928
- opacity: 1;
7929
- }
7930
- }
7931
-
7932
- @-webkit-keyframes wpr-anim-text-infinite {
7933
- 0% {
7934
- opacity: 1;
7935
- stroke-dasharray: 0 1500;
7936
- }
7937
- 12% {
7938
- stroke-dasharray: 1500 1500;
7939
- }
7940
- 100% {
7941
- opacity: 1;
7942
- }
7943
- }
7944
-
7945
- .wpr-anim-text-inner {
7946
- float: left;
7947
- }
7948
-
7949
- .wpr-anim-text-cursor {
7950
- display: inline-block;
7951
- zoom: 1;
7952
- filter: alpha(opacity=100);
7953
- opacity: 1;
7954
- -webkit-animation-name: wpr-cursor-blink;
7955
- animation-name: wpr-cursor-blink;
7956
- -webkit-animation-iteration-count: infinite;
7957
- animation-iteration-count: infinite;
7958
- }
7959
-
7960
- @-webkit-keyframes wpr-cursor-blink {
7961
- 0% {
7962
- opacity: 1;
7963
- }
7964
- 50% {
7965
- opacity: 0;
7966
- }
7967
- 100% {
7968
- opacity: 1;
7969
- }
7970
- }
7971
-
7972
- @keyframes wpr-cursor-blink {
7973
- 0% {
7974
- opacity: 1;
7975
- }
7976
- 50% {
7977
- opacity: 0;
7978
- }
7979
- 100% {
7980
- opacity: 1;
7981
- }
7982
- }
7983
-
7984
-
7985
- /* Defaults */
7986
-
7987
- .elementor-widget-wpr-advanced-text .wpr-clipped-text-content {
7988
- background-color: #605BE5;
7989
- }
7990
-
7991
-
7992
- /*--------------------------------------------------------------
7993
- == Progress Bar
7994
- --------------------------------------------------------------*/
7995
-
7996
- .wpr-prbar-counter-value-suffix {
7997
- line-height: 1;
7998
- }
7999
-
8000
-
8001
- /* Horizontal Line */
8002
-
8003
- .wpr-prbar-hr-line {
8004
- position: relative;
8005
- width: 100%;
8006
- overflow: hidden;
8007
- }
8008
-
8009
- .wpr-prbar-hr-line-inner {
8010
- position: relative;
8011
- top: 0;
8012
- left: 0;
8013
- width: 0;
8014
- height: 100%;
8015
- -webkit-transition-property: width;
8016
- -o-transition-property: width;
8017
- transition-property: width;
8018
- overflow: hidden;
8019
- }
8020
-
8021
- .wpr-prbar-hr-line .wpr-prbar-content {
8022
- position: absolute;
8023
- top: 0;
8024
- left: 0;
8025
- width: 100%;
8026
- height: 100%;
8027
- }
8028
-
8029
- .wpr-prbar-hr-line .wpr-prbar-title-wrap {
8030
- position: absolute;
8031
- top: 50%;
8032
- left: 12px;
8033
- -webkit-transform: translateY( -50%);
8034
- -ms-transform: translateY( -50%);
8035
- transform: translateY( -50%);
8036
- }
8037
-
8038
- .wpr-prbar-layout-hr-line .wpr-prbar-subtitle {
8039
- text-align: left;
8040
- }
8041
-
8042
- .wpr-prbar-hr-line .wpr-prbar-counter {
8043
- position: absolute;
8044
- top: 50%;
8045
- right: 12px;
8046
- -webkit-transform: translateY( -50%);
8047
- -ms-transform: translateY( -50%);
8048
- transform: translateY( -50%);
8049
- }
8050
-
8051
- .wpr-prbar-layout-hr-line .wpr-prbar-title-wrap {
8052
- float: left;
8053
- }
8054
-
8055
- .wpr-prbar-layout-hr-line .wpr-prbar-counter {
8056
- float: right;
8057
- }
8058
-
8059
-
8060
- /* Vertical Line */
8061
-
8062
- .wpr-prbar-vr-line {
8063
- position: relative;
8064
- display: -webkit-box;
8065
- display: -ms-flexbox;
8066
- display: flex;
8067
- -webkit-box-orient: vertical;
8068
- -webkit-box-direction: normal;
8069
- -ms-flex-direction: column;
8070
- flex-direction: column;
8071
- -webkit-box-pack: end;
8072
- -ms-flex-pack: end;
8073
- justify-content: flex-end;
8074
- width: 100%;
8075
- margin: 0 auto;
8076
- overflow: hidden;
8077
- }
8078
-
8079
- .wpr-prbar-vr-line-inner {
8080
- position: relative;
8081
- width: 100%;
8082
- height: 0;
8083
- -webkit-transition-property: height;
8084
- -o-transition-property: height;
8085
- transition-property: height;
8086
- overflow: hidden;
8087
- }
8088
-
8089
-
8090
- /* Circle */
8091
-
8092
- .wpr-prbar-circle {
8093
- position: relative;
8094
- display: table;
8095
- width: 100%;
8096
- height: auto;
8097
- margin: 0 auto;
8098
- }
8099
-
8100
- .wpr-prbar-circle-svg {
8101
- width: 100%;
8102
- height: auto;
8103
- -webkit-transform: rotate(-90deg);
8104
- -ms-transform: rotate(-90deg);
8105
- transform: rotate(-90deg);
8106
- border-radius: 50%;
8107
- }
8108
-
8109
- .wpr-prbar-circle-prline {
8110
- -webkit-transition-property: stroke-dasharray, stroke-dashoffset;
8111
- -o-transition-property: stroke-dasharray, stroke-dashoffset;
8112
- transition-property: stroke-dasharray, stroke-dashoffset;
8113
- stroke-linecap: butt;
8114
- }
8115
-
8116
- .wpr-prbar-circle .wpr-prbar-content {
8117
- position: absolute;
8118
- top: 50%;
8119
- left: 50%;
8120
- -webkit-transform: translate( -50%, -50%);
8121
- -ms-transform: translate( -50%, -50%);
8122
- transform: translate( -50%, -50%);
8123
- }
8124
-
8125
- .wpr-prbar-content {
8126
- text-align: center;
8127
- overflow: hidden;
8128
- }
8129
-
8130
- .wpr-prbar-counter {
8131
- display: -webkit-box;
8132
- display: -ms-flexbox;
8133
- display: -moz-flex;
8134
- display: flex;
8135
- font-size: 12px;
8136
- -webkit-box-pack: center;
8137
- -ms-flex-pack: center;
8138
- justify-content: center;
8139
- }
8140
-
8141
- .wpr-prbar-title,
8142
- .wpr-prbar-subtitle {
8143
- font-size: 12px;
8144
- text-align: center;
8145
- }
8146
-
8147
-
8148
- /* Stripe */
8149
-
8150
- .wpr-prbar-stripe-yes .wpr-prbar-hr-line-inner:after,
8151
- .wpr-prbar-stripe-yes .wpr-prbar-vr-line-inner:after {
8152
- content: '';
8153
- position: absolute;
8154
- top: 0;
8155
- left: -30px;
8156
- width: calc(100% + 60px);
8157
- height: 100%;
8158
- 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);
8159
- 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);
8160
- background-size: 30px 30px;
8161
- }
8162
-
8163
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-hr-line-inner:after,
8164
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-vr-line-inner:after {
8165
- -webkit-animation: stripe-anim-right 2s linear infinite;
8166
- animation: stripe-anim-right 2s linear infinite;
8167
- }
8168
-
8169
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-hr-line-inner:after,
8170
- .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-vr-line-inner:after {
8171
- -webkit-animation: stripe-anim-left 2s linear infinite;
8172
- animation: stripe-anim-left 2s linear infinite;
8173
- }
8174
-
8175
- @-webkit-keyframes stripe-anim-right {
8176
- 0% {
8177
- -webkit-transform: translate(0, 0);
8178
- transform: translate(0, 0);
8179
- }
8180
- 100% {
8181
- -webkit-transform: translate(30px, 0);
8182
- transform: translate(30px, 0);
8183
- }
8184
- }
8185
-
8186
- @keyframes stripe-anim-right {
8187
- 0% {
8188
- -webkit-transform: translate(0, 0);
8189
- transform: translate(0, 0);
8190
- }
8191
- 100% {
8192
- -webkit-transform: translate(30px, 0);
8193
- transform: translate(30px, 0);
8194
- }
8195
- }
8196
-
8197
- @-webkit-keyframes stripe-anim-left {
8198
- 0% {
8199
- -webkit-transform: translate(0, 0);
8200
- transform: translate(0, 0);
8201
- }
8202
- 100% {
8203
- -webkit-transform: translate(-30px, 0);
8204
- transform: translate(-30px, 0);
8205
- }
8206
- }
8207
-
8208
- @keyframes stripe-anim-left {
8209
- 0% {
8210
- -webkit-transform: translate(0, 0);
8211
- transform: translate(0, 0);
8212
- }
8213
- 100% {
8214
- -webkit-transform: translate(-30px, 0);
8215
- transform: translate(-30px, 0);
8216
- }
8217
- }
8218
-
8219
-
8220
- /* Defaults */
8221
-
8222
- .elementor-widget-wpr-progress-bar .wpr-prbar-hr-line-inner,
8223
- .elementor-widget-wpr-progress-bar .wpr-prbar-vr-line-inner {
8224
- background-color: #605BE5;
8225
- }
8226
-
8227
-
8228
- /*--------------------------------------------------------------
8229
- == Price List
8230
- --------------------------------------------------------------*/
8231
-
8232
- .wpr-price-list-item:last-child {
8233
- margin-bottom: 0;
8234
- }
8235
-
8236
- .wpr-price-list-content {
8237
- width: 100%;
8238
- overflow: hidden;
8239
- }
8240
-
8241
- .wpr-price-list-item {
8242
- display: -moz-flex;
8243
- display: -ms-flex;
8244
- display: -o-flex;
8245
- display: -webkit-box;
8246
- display: -ms-flexbox;
8247
- display: flex;
8248
- position: relative;
8249
- }
8250
-
8251
- .wpr-price-list-link {
8252
- position: absolute;
8253
- top: 0;
8254
- left: 0;
8255
- width: 100%;
8256
- height: 100%;
8257
- z-index: 10;
8258
- }
8259
-
8260
- .wpr-price-list-position-right .wpr-price-list-item {
8261
- -webkit-box-orient: horizontal;
8262
- -webkit-box-direction: reverse;
8263
- -ms-flex-direction: row-reverse;
8264
- flex-direction: row-reverse;
8265
- }
8266
-
8267
- .wpr-price-list-position-center .wpr-price-list-item {
8268
- -webkit-box-orient: vertical;
8269
- -webkit-box-direction: normal;
8270
- -ms-flex-direction: column;
8271
- flex-direction: column;
8272
- }
8273
-
8274
- .wpr-price-list-position-center .wpr-price-list-heading {
8275
- -webkit-box-orient: vertical;
8276
- -webkit-box-direction: normal;
8277
- -ms-flex-direction: column;
8278
- flex-direction: column;
8279
- }
8280
-
8281
- .wpr-price-list-position-center .wpr-price-list-separator {
8282
- display: none;
8283
- }
8284
-
8285
- .wpr-price-list-position-left .wpr-price-list-price-wrap,
8286
- .wpr-price-list-position-right .wpr-price-list-price-wrap {
8287
- margin-left: auto;
8288
- }
8289
-
8290
- .wpr-price-list-image img {
8291
- display: block;
8292
- margin: 0 auto;
8293
- }
8294
-
8295
- .wpr-price-list-heading {
8296
- display: -webkit-box;
8297
- display: -ms-flexbox;
8298
- display: flex;
8299
- -webkit-box-align: center;
8300
- -ms-flex-align: center;
8301
- align-items: center;
8302
- }
8303
-
8304
- .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-title,
8305
- .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-price {
8306
- font-size: 17px;
8307
- font-weight: 700;
8308
- }
8309
-
8310
- .wpr-price-list-old-price {
8311
- font-size: 11px;
8312
- }
8313
-
8314
- .wpr-price-list-description {
8315
- font-size: 14px;
8316
- }
8317
-
8318
- .wpr-price-list-separator {
8319
- -webkit-box-flex: 1;
8320
- -ms-flex-positive: 1;
8321
- flex-grow: 1;
8322
- height: 0;
8323
- }
8324
-
8325
- .wpr-price-list-price-wrap {
8326
- display: -moz-flex;
8327
- display: -ms-flex;
8328
- display: -o-flex;
8329
- display: -webkit-box;
8330
- display: -ms-flexbox;
8331
- display: flex;
8332
- -webkit-box-align: center;
8333
- -ms-flex-align: center;
8334
- align-items: center;
8335
- -webkit-box-pack: center;
8336
- -ms-flex-pack: center;
8337
- justify-content: center;
8338
- }
8339
-
8340
- .wpr-price-list-old-position-after .wpr-price-list-price-wrap {
8341
- -webkit-box-orient: horizontal;
8342
- -webkit-box-direction: reverse;
8343
- -ms-flex-direction: row-reverse;
8344
- flex-direction: row-reverse;
8345
- }
8346
-
8347
- .wpr-price-list-old-position-after .wpr-price-list-old-price {
8348
- margin-right: 10px;
8349
- }
8350
-
8351
- .wpr-price-list-old-position-before .wpr-price-list-old-price {
8352
- margin-left: 3px;
8353
- }
8354
-
8355
- .wpr-price-list-old-price {
8356
- display: -moz-flex;
8357
- display: -ms-flex;
8358
- display: -o-flex;
8359
- display: -webkit-box;
8360
- display: -ms-flexbox;
8361
- display: flex;
8362
- text-decoration: line-through;
8363
- }
8364
-
8365
-
8366
- /*--------------------------------------------------------------
8367
- == Image Hotspots
8368
- --------------------------------------------------------------*/
8369
-
8370
- .wpr-image-hotspots {
8371
- position: relative;
8372
- }
8373
-
8374
- .wpr-hotspot-item-container {
8375
- position: absolute;
8376
- top: 0;
8377
- left: 0;
8378
- width: 100%;
8379
- height: 100%;
8380
- z-index: 10;
8381
- }
8382
-
8383
- .wpr-hotspot-image img {
8384
- width: 100%;
8385
- }
8386
-
8387
- .wpr-hotspot-item {
8388
- position: absolute;
8389
- }
8390
-
8391
- .wpr-hotspot-text {
8392
- font-size: 15px;
8393
- }
8394
-
8395
- .wpr-hotspot-content {
8396
- position: relative;
8397
- z-index: 15;
8398
- display: -webkit-box;
8399
- display: -ms-flexbox;
8400
- display: flex;
8401
- -webkit-box-align: center;
8402
- -ms-flex-align: center;
8403
- align-items: center;
8404
- -webkit-box-pack: center;
8405
- -ms-flex-pack: center;
8406
- justify-content: center;
8407
- width: 100%;
8408
- height: 100%;
8409
- text-align: center;
8410
- }
8411
-
8412
- .wpr-hotspot-icon-position-left .wpr-hotspot-content {
8413
- -webkit-box-orient: horizontal;
8414
- -webkit-box-direction: reverse;
8415
- -ms-flex-direction: row-reverse;
8416
- flex-direction: row-reverse;
8417
- }
8418
-
8419
- .wpr-hotspot-item,
8420
- .wpr-hotspot-item:before {
8421
- -webkit-animation-fill-mode: both;
8422
- animation-fill-mode: both;
8423
- -webkit-animation-iteration-count: infinite;
8424
- animation-iteration-count: infinite;
8425
- -webkit-animation-play-state: running;
8426
- animation-play-state: running;
8427
- }
8428
-
8429
- .wpr-hotspot-trigger-hover .wpr-hotspot-item,
8430
- .wpr-hotspot-trigger-click .wpr-hotspot-item {
8431
- cursor: pointer;
8432
- }
8433
-
8434
-
8435
- /* Tooltip */
8436
- .wpr-hotspot-tooltip {
8437
- position: absolute;
8438
- border-radius: 4px;
8439
- visibility: hidden;
8440
- opacity: 0;
8441
- font-size: 13px;
8442
- line-height: 1.5;
8443
- -webkit-transition-property: all;
8444
- -o-transition-property: all;
8445
- transition-property: all;
8446
- -webkit-transition-timing-function: ease-in-out;
8447
- -o-transition-timing-function: ease-in-out;
8448
- transition-timing-function: ease-in-out;
8449
- z-index: 20;
8450
- -webkit-box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8451
- box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8452
- font-size: 13px;
8453
- }
8454
-
8455
- .wpr-hotspot-tooltip:before {
8456
- content: "";
8457
- position: absolute;
8458
- width: 0;
8459
- height: 0;
8460
- }
8461
-
8462
- .wpr-hotspot-tooltip-position-pro-bt .wpr-hotspot-tooltip,
8463
- .wpr-hotspot-tooltip-position-pro-lt .wpr-hotspot-tooltip,
8464
- .wpr-hotspot-tooltip-position-pro-rt .wpr-hotspot-tooltip {
8465
- top: -120%;
8466
- left: 50%;
8467
- -webkit-transform: translateX(-50%);
8468
- -ms-transform: translateX(-50%);
8469
- transform: translateX(-50%);
8470
- }
8471
-
8472
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before,
8473
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8474
- border-left-color: transparent;
8475
- border-right-color: transparent;
8476
- border-top-style: solid;
8477
- border-left-style: solid;
8478
- border-right-style: solid;
8479
- }
8480
-
8481
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before,
8482
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8483
- border-bottom-color: transparent;
8484
- border-top-color: transparent;
8485
- border-right-style: solid;
8486
- border-bottom-style: solid;
8487
- border-top-style: solid;
8488
- }
8489
-
8490
- .wpr-hotspot-tooltip p {
8491
- margin: 0;
8492
- }
8493
-
8494
- .wpr-tooltip-active .wpr-hotspot-tooltip {
8495
- visibility: visible;
8496
- opacity: 1;
8497
- }
8498
-
8499
-
8500
- /* Triangle Position */
8501
-
8502
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before {
8503
- left: 50%;
8504
- -ms-transform: translateX(-50%);
8505
- transform: translateX(-50%);
8506
- -webkit-transform: translateX(-50%);
8507
- }
8508
-
8509
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8510
- left: 50%;
8511
- -webkit-transform: translateX(-50%) rotate(180deg);
8512
- -ms-transform: translateX(-50%) rotate(180deg);
8513
- transform: translateX(-50%) rotate(180deg);
8514
- }
8515
-
8516
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before {
8517
- top: 50%;
8518
- -webkit-transform: translateY(-50%) rotate(180deg);
8519
- -ms-transform: translateY(-50%) rotate(180deg);
8520
- transform: translateY(-50%) rotate(180deg);
8521
- }
8522
-
8523
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8524
- top: 50%;
8525
- -webkit-transform: translateY(-50%);
8526
- -ms-transform: translateY(-50%);
8527
- transform: translateY(-50%);
8528
- }
8529
-
8530
- .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip,
8531
- .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip {
8532
- left: 50%;
8533
- }
8534
-
8535
- .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip,
8536
- .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip {
8537
- top: 50%;
8538
- }
8539
-
8540
-
8541
- /* Tooltip Effects */
8542
-
8543
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8544
- -webkit-transform: translate(-50%, -120%);
8545
- -ms-transform: translate(-50%, -120%);
8546
- transform: translate(-50%, -120%);
8547
- }
8548
-
8549
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8550
- -webkit-transform: translate(-50%, -100%);
8551
- -ms-transform: translate(-50%, -100%);
8552
- transform: translate(-50%, -100%);
8553
- }
8554
-
8555
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8556
- -webkit-transform: translate(-50%, 120%);
8557
- -ms-transform: translate(-50%, 120%);
8558
- transform: translate(-50%, 120%);
8559
- }
8560
-
8561
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8562
- -webkit-transform: translate(-50%, 100%);
8563
- -ms-transform: translate(-50%, 100%);
8564
- transform: translate(-50%, 100%);
8565
- }
8566
-
8567
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8568
- -webkit-transform: translate(-120%, -50%);
8569
- -ms-transform: translate(-120%, -50%);
8570
- transform: translate(-120%, -50%);
8571
- }
8572
-
8573
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8574
- -webkit-transform: translate(-100%, -50%);
8575
- -ms-transform: translate(-100%, -50%);
8576
- transform: translate(-100%, -50%);
8577
- }
8578
-
8579
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8580
- -webkit-transform: translate(120%, -50%);
8581
- -ms-transform: translate(120%, -50%);
8582
- transform: translate(120%, -50%);
8583
- }
8584
-
8585
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8586
- -webkit-transform: translate(100%, -50%);
8587
- -ms-transform: translate(100%, -50%);
8588
- transform: translate(100%, -50%);
8589
- }
8590
-
8591
-
8592
- /* Fade */
8593
-
8594
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8595
- -webkit-transform: translate(-50%, -100%);
8596
- -ms-transform: translate(-50%, -100%);
8597
- transform: translate(-50%, -100%);
8598
- }
8599
-
8600
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8601
- -webkit-transform: translate(-50%, 100%);
8602
- -ms-transform: translate(-50%, 100%);
8603
- transform: translate(-50%, 100%);
8604
- }
8605
-
8606
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8607
- -webkit-transform: translate(-100%, -50%);
8608
- -ms-transform: translate(-100%, -50%);
8609
- transform: translate(-100%, -50%);
8610
- }
8611
-
8612
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8613
- -webkit-transform: translate(100%, -50%);
8614
- -ms-transform: translate(100%, -50%);
8615
- transform: translate(100%, -50%);
8616
- }
8617
-
8618
-
8619
- /* Scale */
8620
-
8621
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8622
- -webkit-transform: translate(-50%, -100%) scale(0.7);
8623
- -ms-transform: translate(-50%, -100%) scale(0.7);
8624
- transform: translate(-50%, -100%) scale(0.7);
8625
- }
8626
-
8627
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8628
- -webkit-transform: translate(-50%, 100%) scale(0.7);
8629
- -ms-transform: translate(-50%, 100%) scale(0.7);
8630
- transform: translate(-50%, 100%) scale(0.7);
8631
- }
8632
-
8633
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8634
- -webkit-transform: translate(-100%, -50%) scale(0.7);
8635
- -ms-transform: translate(-100%, -50%) scale(0.7);
8636
- transform: translate(-100%, -50%) scale(0.7);
8637
- }
8638
-
8639
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8640
- -webkit-transform: translate(100%, -50%) scale(0.7);
8641
- -ms-transform: translate(100%, -50%) scale(0.7);
8642
- transform: translate(100%, -50%) scale(0.7);
8643
- }
8644
-
8645
- .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8646
- -webkit-transform: translate(-50%, -100%) scale(1);
8647
- -ms-transform: translate(-50%, -100%) scale(1);
8648
- transform: translate(-50%, -100%) scale(1);
8649
- }
8650
-
8651
- .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8652
- -webkit-transform: translate(-50%, 100%) scale(1);
8653
- -ms-transform: translate(-50%, 100%) scale(1);
8654
- transform: translate(-50%, 100%) scale(1);
8655
- }
8656
-
8657
- .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8658
- -webkit-transform: translate(-100%, -50%) scale(1);
8659
- -ms-transform: translate(-100%, -50%) scale(1);
8660
- transform: translate(-100%, -50%) scale(1);
8661
- }
8662
-
8663
- .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8664
- -webkit-transform: translate(100%, -50%) scale(1);
8665
- -ms-transform: translate(100%, -50%) scale(1);
8666
- transform: translate(100%, -50%) scale(1);
8667
- }
8668
-
8669
-
8670
- /* Hotspot Animation */
8671
-
8672
- @keyframes wpr-hotspot-anim-pulse {
8673
- 0%,
8674
- 100%,
8675
- 87% {
8676
- -webkit-transform: scale3d(1, 1, 1);
8677
- transform: scale3d(1, 1, 1);
8678
- }
8679
- 88%,
8680
- 92%,
8681
- 96% {
8682
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
8683
- transform: scale3d(1.1, 1.1, 1.1);
8684
- }
8685
- 90%,
8686
- 94% {
8687
- -webkit-transform: scale3d(0.9, 0.9, 0.9);
8688
- transform: scale3d(0.9, 0.9, 0.9);
8689
- }
8690
- }
8691
-
8692
- @-webkit-keyframes wpr-hotspot-anim-pulse {
8693
- 0%,
8694
- 100%,
8695
- 87% {
8696
- -webkit-transform: scale3d(1, 1, 1);
8697
- transform: scale3d(1, 1, 1);
8698
- }
8699
- 88%,
8700
- 92%,
8701
- 96% {
8702
- -webkit-transform: scale3d(1.1, 1.1, 1.1);
8703
- transform: scale3d(1.1, 1.1, 1.1);
8704
- }
8705
- 90%,
8706
- 94% {
8707
- -webkit-transform: scale3d(0.9, 0.9, 0.9);
8708
- transform: scale3d(0.9, 0.9, 0.9);
8709
- }
8710
- }
8711
-
8712
- .wpr-hotspot-anim-pulse {
8713
- -webkit-animation-name: wpr-hotspot-anim-pulse;
8714
- animation-name: wpr-hotspot-anim-pulse;
8715
- -webkit-animation-duration: 5s;
8716
- animation-duration: 5s;
8717
- }
8718
-
8719
- @keyframes wpr-hotspot-anim-shake {
8720
- 0%,
8721
- 100%,
8722
- 87% {
8723
- -webkit-transform: translate3d(0, 0, 0);
8724
- transform: translate3d(0, 0, 0);
8725
- }
8726
- 88%,
8727
- 92%,
8728
- 96% {
8729
- -webkit-transform: translate3d(-5px, 0, 0);
8730
- transform: translate3d(-5px, 0, 0);
8731
- }
8732
- 90%,
8733
- 94% {
8734
- -webkit-transform: translate3d(5px, 0, 0);
8735
- transform: translate3d(5px, 0, 0);
8736
- }
8737
- }
8738
-
8739
- @-webkit-keyframes wpr-hotspot-anim-shake {
8740
- 0%,
8741
- 100%,
8742
- 87% {
8743
- -webkit-transform: translate3d(0, 0, 0);
8744
- transform: translate3d(0, 0, 0);
8745
- }
8746
- 88%,
8747
- 92%,
8748
- 96% {
8749
- -webkit-transform: translate3d(-5px, 0, 0);
8750
- transform: translate3d(-5px, 0, 0);
8751
- }
8752
- 90%,
8753
- 94% {
8754
- -webkit-transform: translate3d(5px, 0, 0);
8755
- transform: translate3d(5px, 0, 0);
8756
- }
8757
- }
8758
-
8759
- .wpr-hotspot-anim-shake {
8760
- -webkit-animation-name: wpr-hotspot-anim-shake;
8761
- animation-name: wpr-hotspot-anim-shake;
8762
- -webkit-animation-duration: 5s;
8763
- animation-duration: 5s;
8764
- }
8765
-
8766
- @keyframes wpr-hotspot-anim-swing {
8767
- 0%,
8768
- 100%,
8769
- 70% {
8770
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
8771
- transform: rotate3d(0, 0, 1, 0deg);
8772
- }
8773
- 75% {
8774
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
8775
- transform: rotate3d(0, 0, 1, 15deg);
8776
- }
8777
- 80% {
8778
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
8779
- transform: rotate3d(0, 0, 1, -10deg);
8780
- }
8781
- 85% {
8782
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
8783
- transform: rotate3d(0, 0, 1, 5deg);
8784
- }
8785
- 90% {
8786
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
8787
- transform: rotate3d(0, 0, 1, -5deg);
8788
- }
8789
- }
8790
-
8791
- @-webkit-keyframes wpr-hotspot-anim-swing {
8792
- 0%,
8793
- 100%,
8794
- 70% {
8795
- -webkit-transform: rotate3d(0, 0, 1, 0deg);
8796
- transform: rotate3d(0, 0, 1, 0deg);
8797
- }
8798
- 75% {
8799
- -webkit-transform: rotate3d(0, 0, 1, 15deg);
8800
- transform: rotate3d(0, 0, 1, 15deg);
8801
- }
8802
- 80% {
8803
- -webkit-transform: rotate3d(0, 0, 1, -10deg);
8804
- transform: rotate3d(0, 0, 1, -10deg);
8805
- }
8806
- 85% {
8807
- -webkit-transform: rotate3d(0, 0, 1, 5deg);
8808
- transform: rotate3d(0, 0, 1, 5deg);
8809
- }
8810
- 90% {
8811
- -webkit-transform: rotate3d(0, 0, 1, -5deg);
8812
- transform: rotate3d(0, 0, 1, -5deg);
8813
- }
8814
- }
8815
-
8816
- .wpr-hotspot-anim-swing {
8817
- -webkit-animation-name: wpr-hotspot-anim-swing;
8818
- animation-name: wpr-hotspot-anim-swing;
8819
- -webkit-animation-duration: 5s;
8820
- animation-duration: 5s;
8821
- }
8822
-
8823
- @keyframes wpr-hotspot-anim-tada {
8824
- 0%,
8825
- 100%,
8826
- 84% {
8827
- -webkit-transform: scale3d(1, 1, 1);
8828
- transform: scale3d(1, 1, 1);
8829
- }
8830
- 85% {
8831
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8832
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8833
- }
8834
- 88%,
8835
- 92%,
8836
- 96% {
8837
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8838
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8839
- }
8840
- 90%,
8841
- 94% {
8842
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8843
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8844
- }
8845
- }
8846
-
8847
- @-webkit-keyframes wpr-hotspot-anim-tada {
8848
- 0%,
8849
- 100%,
8850
- 84% {
8851
- -webkit-transform: scale3d(1, 1, 1);
8852
- transform: scale3d(1, 1, 1);
8853
- }
8854
- 85% {
8855
- -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8856
- transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8857
- }
8858
- 88%,
8859
- 92%,
8860
- 96% {
8861
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8862
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8863
- }
8864
- 90%,
8865
- 94% {
8866
- -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8867
- transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8868
- }
8869
- }
8870
-
8871
- .wpr-hotspot-anim-tada {
8872
- -webkit-animation-name: wpr-hotspot-anim-tada;
8873
- animation-name: wpr-hotspot-anim-tada;
8874
- -webkit-animation-duration: 6s;
8875
- animation-duration: 6s;
8876
- }
8877
-
8878
- @keyframes wpr-hotspot-anim-glow {
8879
- 0% {
8880
- -webkit-transform: scale(1);
8881
- transform: scale(1);
8882
- opacity: 1;
8883
- }
8884
- 100% {
8885
- -webkit-transform: scale(1.5);
8886
- transform: scale(1.5);
8887
- opacity: 0;
8888
- }
8889
- }
8890
-
8891
- @-webkit-keyframes wpr-hotspot-anim-glow {
8892
- 0% {
8893
- -webkit-transform: scale(1);
8894
- transform: scale(1);
8895
- opacity: 1;
8896
- }
8897
- 100% {
8898
- -webkit-transform: scale(1.5);
8899
- transform: scale(1.5);
8900
- opacity: 0;
8901
- }
8902
- }
8903
-
8904
- .wpr-hotspot-anim-glow:before {
8905
- content: '';
8906
- display: block;
8907
- position: absolute;
8908
- left: 0;
8909
- top: 0;
8910
- height: 100%;
8911
- width: 100%;
8912
- z-index: -1;
8913
- -webkit-animation-name: wpr-hotspot-anim-glow;
8914
- animation-name: wpr-hotspot-anim-glow;
8915
- -webkit-animation-duration: 2s;
8916
- animation-duration: 2s;
8917
- }
8918
-
8919
-
8920
- /*--------------------------------------------------------------
8921
- == Divider
8922
- --------------------------------------------------------------*/
8923
-
8924
- .wpr-divider-wrap {
8925
- display: inline-block;
8926
- width: 100%;
8927
- overflow: hidden;
8928
- }
8929
-
8930
- .wpr-divider {
8931
- display: -ms-flexbox;
8932
- display: -webkit-box;
8933
- display: flex;
8934
- -webkit-box-align: center;
8935
- -ms-flex-align: center;
8936
- align-items: center;
8937
- }
8938
-
8939
- .wpr-divider-text {
8940
- -webkit-box-flex: 0;
8941
- -ms-flex: 0 1 auto;
8942
- flex: 0 1 auto;
8943
- }
8944
-
8945
- .elementor-widget-wpr-divider .wpr-divider .wpr-divider-text {
8946
- font-size: 21px;
8947
- }
8948
-
8949
- .wpr-divider-border-left,
8950
- .wpr-divider-border-right {
8951
- -webkit-box-flex: 1;
8952
- -ms-flex: 1 1 auto;
8953
- flex: 1 1 auto;
8954
- }
8955
-
8956
- .wpr-divider-border {
8957
- display: block;
8958
- width: 100%;
8959
- height: 1px;
8960
- }
8961
-
8962
- .wpr-divider-align-left .wpr-divider-border-left,
8963
- .wpr-divider-align-right .wpr-divider-border-right {
8964
- display: none;
8965
- }
8966
-
8967
- .wpr-divider-image {
8968
- display: block;
8969
- overflow: hidden;
8970
- }
8971
-
8972
-
8973
- /*--------------------------------------------------------------
8974
- == Business Hours
8975
- --------------------------------------------------------------*/
8976
-
8977
- .wpr-business-hours {
8978
- overflow: hidden;
8979
- }
8980
-
8981
- .wpr-business-hours-item {
8982
- position: relative;
8983
- display: -ms-flexbox;
8984
- display: -webkit-box;
8985
- display: flex;
8986
- -webkit-box-align: center;
8987
- -ms-flex-align: center;
8988
- align-items: center;
8989
- -webkit-transition: all .1s;
8990
- -o-transition: all .1s;
8991
- transition: all .1s;
8992
- }
8993
-
8994
- .wpr-business-day {
8995
- -webkit-box-flex: 1;
8996
- -ms-flex: 1 0 0px;
8997
- flex: 1 0 0;
8998
- text-align: left;
8999
- }
9000
-
9001
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-day,
9002
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-time,
9003
- .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-closed {
9004
- font-size: 16px;
9005
- font-weight: 500;
9006
- }
9007
-
9008
- .wpr-business-time,
9009
- .wpr-business-closed {
9010
- -webkit-box-flex: 1;
9011
- -ms-flex: 1 0 0px;
9012
- flex: 1 0 0;
9013
- text-align: right;
9014
- }
9015
-
9016
- .wpr-business-hours-item:after {
9017
- content: "";
9018
- display: block;
9019
- position: absolute;
9020
- bottom: 0;
9021
- left: 0;
9022
- width: 100%;
9023
- }
9024
-
9025
- .wpr-business-hours-item:last-of-type:after {
9026
- display: none;
9027
- }
9028
-
9029
-
9030
- /* Defaults */
9031
-
9032
- .elementor-widget-wpr-business-hours .wpr-business-day,
9033
- .elementor-widget-wpr-business-hours .wpr-business-time,
9034
- .elementor-widget-wpr-business-hours .wpr-business-closed {
9035
- font-weight: 500;
9036
- }
9037
-
9038
-
9039
- /*--------------------------------------------------------------
9040
- == Flip Box
9041
- --------------------------------------------------------------*/
9042
-
9043
- .wpr-flip-box {
9044
- position: relative;
9045
- -webkit-transform-style: preserve-3d;
9046
- transform-style: preserve-3d;
9047
- -webkit-transition: all 500ms ease;
9048
- -o-transition: all 500ms ease;
9049
- transition: all 500ms ease;
9050
- -webkit-perspective: 1000px;
9051
- perspective: 1000px;
9052
- }
9053
-
9054
- .wpr-flip-box-item {
9055
- position: absolute;
9056
- top: 0;
9057
- left: 0;
9058
- width: 100%;
9059
- height: 100%;
9060
- }
9061
-
9062
- .wpr-flip-box-front {
9063
- z-index: 5;
9064
- }
9065
-
9066
- .wpr-flip-box[data-trigger="box"] {
9067
- cursor: pointer;
9068
- }
9069
-
9070
- .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-title,
9071
- .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-title {
9072
- font-size: 23px;
9073
- font-weight: 600;
9074
- }
9075
-
9076
- .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-description,
9077
- .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-description {
9078
- font-size: 15px;
9079
- }
9080
-
9081
- .wpr-flip-box-item {
9082
- -webkit-transform-style: preserve-3d;
9083
- transform-style: preserve-3d;
9084
- -webkit-backface-visibility: hidden;
9085
- backface-visibility: hidden;
9086
- -webkit-transition-property: all;
9087
- -o-transition-property: all;
9088
- transition-property: all;
9089
- }
9090
-
9091
- .wpr-flip-box-content {
9092
- display: -moz-flex;
9093
- display: -ms-flex;
9094
- display: -o-flex;
9095
- display: -webkit-box;
9096
- display: -ms-flexbox;
9097
- display: flex;
9098
- width: 100%;
9099
- height: 100%;
9100
- -webkit-box-orient: vertical;
9101
- -webkit-box-direction: normal;
9102
- -ms-flex-direction: column;
9103
- flex-direction: column;
9104
- position: relative;
9105
- z-index: 10;
9106
- }
9107
-
9108
- .wpr-flip-box-overlay {
9109
- position: absolute;
9110
- width: 100%;
9111
- height: 100%;
9112
- top: 0;
9113
- left: 0;
9114
- z-index: 5;
9115
- }
9116
-
9117
- .wpr-flip-box-link {
9118
- display: block;
9119
- position: absolute;
9120
- width: 100%;
9121
- height: 100%;
9122
- top: 0;
9123
- left: 0;
9124
- z-index: 20;
9125
- }
9126
-
9127
- .wpr-flip-box-btn {
9128
- display: inline-table;
9129
- cursor: pointer;
9130
- }
9131
-
9132
- .wpr-flip-box-btn-icon {
9133
- margin-left: 5px;
9134
- }
9135
-
9136
- .wpr-flip-box-btn span {
9137
- position: relative;
9138
- z-index: 2;
9139
- opacity: 1 !important;
9140
- }
9141
-
9142
- .wpr-flip-box-btn:before,
9143
- .wpr-flip-box-btn:after {
9144
- z-index: 1 !important;
9145
- }
9146
-
9147
- .wpr-flip-box-image img {
9148
- display: block;
9149
- width: 100%;
9150
- }
9151
-
9152
- .wpr-flip-box-title a,
9153
- .wpr-flip-box-title a:hover {
9154
- color: inherit;
9155
- }
9156
-
9157
- .wpr-flip-box-front-align-left .wpr-flip-box-front .wpr-flip-box-image img,
9158
- .wpr-flip-box-back-align-left .wpr-flip-box-back .wpr-flip-box-image img {
9159
- float: left;
9160
- }
9161
-
9162
- .wpr-flip-box-front-align-center .wpr-flip-box-front .wpr-flip-box-image img,
9163
- .wpr-flip-box-back-align-center .wpr-flip-box-back .wpr-flip-box-image img {
9164
- margin: 0 auto;
9165
- }
9166
-
9167
- .wpr-flip-box-front-align-right .wpr-flip-box-front .wpr-flip-box-image img,
9168
- .wpr-flip-box-back-align-right .wpr-flip-box-back .wpr-flip-box-image img {
9169
- float: right;
9170
- }
9171
-
9172
-
9173
- /* Flip */
9174
-
9175
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9176
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9177
- -webkit-transform: rotateX(0) rotateY(-180deg);
9178
- transform: rotateX(0) rotateY(-180deg);
9179
- }
9180
-
9181
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9182
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9183
- -webkit-transform: rotateX(0) rotateY(180deg);
9184
- transform: rotateX(0) rotateY(180deg);
9185
- }
9186
-
9187
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9188
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9189
- -webkit-transform: rotateX(-180deg) rotateY(0);
9190
- transform: rotateX(-180deg) rotateY(0);
9191
- }
9192
-
9193
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9194
- .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9195
- -webkit-transform: rotateX(180deg) rotateY(0);
9196
- transform: rotateX(180deg) rotateY(0);
9197
- }
9198
-
9199
- .wpr-flip-box-animation-flip .wpr-flip-box-active .wpr-flip-box-back {
9200
- -webkit-transform: none;
9201
- -ms-transform: none;
9202
- transform: none;
9203
- }
9204
-
9205
-
9206
- /* 3D Flip */
9207
-
9208
- .wpr-flip-box-animation-3d-yes .wpr-flip-box-content {
9209
- -webkit-transform-style: preserve-3d;
9210
- transform-style: preserve-3d;
9211
- -webkit-transform: translateZ(70px) scale(.93);
9212
- transform: translateZ(70px) scale(.93);
9213
- }
9214
-
9215
-
9216
- /* Slide */
9217
-
9218
- .wpr-flip-box-animation-push .wpr-flip-box,
9219
- .wpr-flip-box-animation-slide .wpr-flip-box {
9220
- overflow: hidden;
9221
- }
9222
-
9223
- .wpr-flip-box-animation-push .wpr-flip-box-back,
9224
- .wpr-flip-box-animation-slide .wpr-flip-box-back {
9225
- z-index: 10;
9226
- }
9227
-
9228
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9229
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-back {
9230
- top: 100%;
9231
- }
9232
-
9233
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back,
9234
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back {
9235
- top: 0;
9236
- }
9237
-
9238
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9239
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-back {
9240
- top: auto;
9241
- bottom: 100%;
9242
- }
9243
-
9244
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back,
9245
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back {
9246
- top: auto;
9247
- bottom: 0;
9248
- }
9249
-
9250
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9251
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-back {
9252
- left: 100%;
9253
- }
9254
-
9255
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back,
9256
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back {
9257
- left: 0;
9258
- }
9259
-
9260
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9261
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-back {
9262
- left: auto;
9263
- right: 100%;
9264
- }
9265
-
9266
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back,
9267
- .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back {
9268
- left: auto;
9269
- right: 0;
9270
- }
9271
-
9272
-
9273
- /* Push */
9274
-
9275
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9276
- top: -100%;
9277
- }
9278
-
9279
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9280
- top: 100%;
9281
- }
9282
-
9283
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9284
- left: -100%;
9285
- }
9286
-
9287
- .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9288
- left: 100%;
9289
- }
9290
-
9291
-
9292
- /* Fade */
9293
-
9294
- .wpr-flip-box-animation-fade .wpr-flip-box-active .wpr-flip-box-front {
9295
- opacity: 0;
9296
- }
9297
-
9298
-
9299
- /* Zoom In */
9300
-
9301
- .wpr-flip-box-animation-zoom-in .wpr-flip-box-back {
9302
- opacity: 0;
9303
- -webkit-transform: scale(0.9);
9304
- -ms-transform: scale(0.9);
9305
- transform: scale(0.9);
9306
- z-index: 10;
9307
- }
9308
-
9309
- .wpr-flip-box-animation-zoom-in .wpr-flip-box-active .wpr-flip-box-back {
9310
- opacity: 1;
9311
- -webkit-transform: scale(1);
9312
- -ms-transform: scale(1);
9313
- transform: scale(1);
9314
- }
9315
-
9316
-
9317
- /* Zoom Out */
9318
-
9319
- .wpr-flip-box-animation-zoom-out .wpr-flip-box-active .wpr-flip-box-front {
9320
- opacity: 0;
9321
- -webkit-transform: scale(0.9);
9322
- -ms-transform: scale(0.9);
9323
- transform: scale(0.9);
9324
- }
9325
-
9326
-
9327
- /* Defaults */
9328
-
9329
- .elementor-widget-wpr-flip-box .wpr-flip-box-front {
9330
- background-color: #605BE5;
9331
- }
9332
-
9333
- .elementor-widget-wpr-flip-box .wpr-flip-box-back {
9334
- background-color: #FF348B;
9335
- }
9336
-
9337
-
9338
- /*--------------------------------------------------------------
9339
- == Promo Box
9340
- --------------------------------------------------------------*/
9341
-
9342
- .wpr-promo-box {
9343
- display: -moz-flex;
9344
- display: -ms-flex;
9345
- display: -o-flex;
9346
- display: -webkit-box;
9347
- display: -ms-flexbox;
9348
- display: flex;
9349
- position: relative;
9350
- }
9351
-
9352
- .wpr-promo-box-image {
9353
- position: relative;
9354
- overflow: hidden;
9355
- }
9356
-
9357
- .wpr-promo-box-style-cover .wpr-promo-box-image,
9358
- .wpr-promo-box-style-pro-cs .wpr-promo-box-image {
9359
- position: absolute;
9360
- top: 0;
9361
- left: 0;
9362
- height: 100%;
9363
- width: 100%;
9364
- }
9365
-
9366
- .wpr-promo-box-bg-image {
9367
- position: absolute;
9368
- top: 0;
9369
- left: 0;
9370
- height: 100%;
9371
- width: 100%;
9372
- z-index: 10;
9373
- background-size: cover;
9374
- background-position: 50%;
9375
- }
9376
-
9377
- .wpr-promo-box-bg-overlay {
9378
- position: absolute;
9379
- top: 0;
9380
- left: 0;
9381
- height: 100%;
9382
- width: 100%;
9383
- z-index: 15;
9384
- -webkit-transition-property: all;
9385
- -o-transition-property: all;
9386
- transition-property: all;
9387
- }
9388
-
9389
- .wpr-promo-box-content {
9390
- position: relative;
9391
- z-index: 20;
9392
- width: 100%;
9393
- display: -moz-flex;
9394
- display: -ms-flex;
9395
- display: -o-flex;
9396
- display: -webkit-box;
9397
- display: -ms-flexbox;
9398
- display: flex;
9399
- -webkit-box-orient: vertical;
9400
- -webkit-box-direction: normal;
9401
- -ms-flex-direction: column;
9402
- flex-direction: column;
9403
- overflow: hidden;
9404
- }
9405
-
9406
- .elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box-content {
9407
- background-color: #212121;
9408
- }
9409
-
9410
- .elementor-widget-wpr-promo-box.wpr-promo-box-style-classic .wpr-promo-box:hover .wpr-promo-box-content {
9411
- background-color: #ddb34f;
9412
- }
9413
-
9414
- .wpr-promo-box-image-position-right .wpr-promo-box {
9415
- -webkit-box-orient: horizontal;
9416
- -webkit-box-direction: reverse;
9417
- -ms-flex-direction: row-reverse;
9418
- flex-direction: row-reverse;
9419
- }
9420
-
9421
- .wpr-promo-box-image-position-center .wpr-promo-box {
9422
- -webkit-box-orient: vertical;
9423
- -webkit-box-direction: normal;
9424
- -ms-flex-direction: column;
9425
- flex-direction: column;
9426
- }
9427
-
9428
- @media screen and (max-width: 640px) {
9429
- .wpr-promo-box-style-classic .wpr-promo-box {
9430
- -webkit-box-orient: vertical;
9431
- -webkit-box-direction: normal;
9432
- -ms-flex-direction: column;
9433
- flex-direction: column;
9434
- }
9435
- .wpr-promo-box-style-classic .wpr-promo-box-image {
9436
- min-width: auto !important;
9437
- }
9438
- }
9439
-
9440
- .wpr-promo-box-link {
9441
- display: block;
9442
- position: absolute;
9443
- width: 100%;
9444
- height: 100%;
9445
- top: 0;
9446
- left: 0;
9447
- z-index: 40;
9448
- }
9449
-
9450
- .wpr-promo-box-btn {
9451
- display: inline-block;
9452
- }
9453
-
9454
- .wpr-promo-box-icon,
9455
- .wpr-promo-box-title,
9456
- .wpr-promo-box-description,
9457
- .wpr-promo-box-btn-wrap {
9458
- width: 100%;
9459
- }
9460
-
9461
- .wpr-promo-box-btn-icon {
9462
- margin-left: 5px;
9463
- }
9464
-
9465
- .wpr-promo-box-icon img {
9466
- display: inline-block;
9467
- }
9468
-
9469
- .elementor .elementor-widget-wpr-promo-box .wpr-promo-box:hover .wpr-promo-box-bg-image {
9470
- -webkit-filter: brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg);
9471
- filter: brightness( 100%) contrast( 100%) saturate( 100%) hue-rotate( 0deg);
9472
- }
9473
-
9474
-
9475
- /* Promo box Badge */
9476
- .wpr-promo-box-badge {
9477
- position: absolute;
9478
- display: inline-block;
9479
- text-align: center;
9480
- z-index: 35;
9481
- }
9482
-
9483
- .wpr-promo-box-badge-left {
9484
- left: 0;
9485
- right: auto;
9486
- }
9487
-
9488
- .wpr-promo-box-badge-right {
9489
- left: auto;
9490
- right: 0;
9491
- }
9492
-
9493
- .wpr-promo-box-badge-corner {
9494
- top: 0;
9495
- width: 200px;
9496
- height: 200px;
9497
- overflow: hidden;
9498
- }
9499
-
9500
- .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner {
9501
- width: 200%;
9502
- }
9503
-
9504
- .wpr-promo-box-badge-corner.wpr-promo-box-badge-right {
9505
- -webkit-transform: rotate(90deg);
9506
- -ms-transform: rotate(90deg);
9507
- transform: rotate(90deg);
9508
- }
9509
-
9510
- .wpr-promo-box-badge-cyrcle {
9511
- top: 0;
9512
- }
9513
-
9514
- .wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-left {
9515
- -webkit-transform: translateX(-40%) translateY(-40%);
9516
- -ms-transform: translateX(-40%) translateY(-40%);
9517
- transform: translateX(-40%) translateY(-40%);
9518
- }
9519
-
9520
- .wpr-promo-box-badge-cyrcle.wpr-promo-box-badge-right {
9521
- -webkit-transform: translateX(40%) translateY(-40%);
9522
- -ms-transform: translateX(40%) translateY(-40%);
9523
- transform: translateX(40%) translateY(-40%);
9524
- }
9525
-
9526
- .wpr-promo-box-badge-cyrcle .wpr-promo-box-badge-inner {
9527
- border-radius: 100%;
9528
- }
9529
-
9530
- .wpr-promo-box-badge-flag {
9531
- border-right: 5px;
9532
- }
9533
-
9534
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left {
9535
- margin-left: -10px;
9536
- }
9537
-
9538
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right {
9539
- margin-right: -10px;
9540
- }
9541
-
9542
- .wpr-promo-box-badge-flag:before {
9543
- content: "";
9544
- position: absolute;
9545
- z-index: 1;
9546
- bottom: -5px;
9547
- width: 0;
9548
- height: 0;
9549
- margin-left: -10px;
9550
- border-left: 10px solid transparent;
9551
- border-right: 10px solid transparent;
9552
- border-top-style: solid;
9553
- border-top-width: 10px;
9554
- }
9555
-
9556
- .wpr-promo-box-badge-flag .wpr-promo-box-badge-inner {
9557
- position: relative;
9558
- z-index: 2;
9559
- border-top-left-radius: 3px;
9560
- border-top-right-radius: 3px;
9561
- }
9562
-
9563
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left:before {
9564
- left: 5px;
9565
- -webkit-transform: rotate(90deg);
9566
- -ms-transform: rotate(90deg);
9567
- transform: rotate(90deg);
9568
- }
9569
-
9570
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right:before {
9571
- right: -5px;
9572
- -webkit-transform: rotate(-90deg);
9573
- -ms-transform: rotate(-90deg);
9574
- transform: rotate(-90deg);
9575
- }
9576
-
9577
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-left .wpr-promo-box-badge-inner {
9578
- border-bottom-right-radius: 3px;
9579
- }
9580
-
9581
- .wpr-promo-box-badge-flag.wpr-promo-box-badge-right .wpr-promo-box-badge-inner {
9582
- border-bottom-left-radius: 3px;
9583
- }
9584
-
9585
-
9586
- /* Defaults */
9587
- .elementor-widget-wpr-promo-box .wpr-promo-box-title {
9588
- font-size: 24px;
9589
- font-weight: 600;
9590
- }
9591
-
9592
- .elementor-widget-wpr-promo-box .wpr-promo-box-description {
9593
- font-size: 15px;
9594
- }
9595
-
9596
- .elementor-widget-wpr-promo-box .wpr-promo-box-btn,
9597
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge {
9598
- font-size: 14px;
9599
- }
9600
-
9601
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge .wpr-promo-box-badge-inner {
9602
- font-size: 14px;
9603
- font-weight: 600;
9604
- text-transform: uppercase;
9605
- letter-spacing: 0.4px;
9606
- }
9607
-
9608
- .elementor-widget-wpr-promo-box .wpr-promo-box-badge-corner .wpr-promo-box-badge-inner {
9609
- line-height: 1.6;
9610
- }
9611
-
9612
-
9613
- /*--------------------------------------------------------------
9614
- == Content Ticker
9615
- --------------------------------------------------------------*/
9616
-
9617
- .wpr-content-ticker {
9618
- display: -moz-flex;
9619
- display: -ms-flex;
9620
- display: -o-flex;
9621
- display: -webkit-box;
9622
- display: -ms-flexbox;
9623
- display: flex;
9624
- overflow: hidden;
9625
- }
9626
-
9627
- .wpr-content-ticker-inner {
9628
- display: -moz-flex;
9629
- display: -ms-flex;
9630
- display: -o-flex;
9631
- display: -webkit-box;
9632
- display: -ms-flexbox;
9633
- display: flex;
9634
- -webkit-box-orient: horizontal;
9635
- -webkit-box-direction: normal;
9636
- -ms-flex-direction: row;
9637
- flex-direction: row;
9638
- -webkit-box-align: center;
9639
- -ms-flex-align: center;
9640
- align-items: center;
9641
- position: relative;
9642
- z-index: 20;
9643
- width: 100%;
9644
- overflow: hidden;
9645
- }
9646
-
9647
- .wpr-ticker-arrow-position-left .wpr-content-ticker-inner {
9648
- -webkit-box-orient: horizontal;
9649
- -webkit-box-direction: reverse;
9650
- -ms-flex-direction: row-reverse;
9651
- flex-direction: row-reverse;
9652
- }
9653
-
9654
-
9655
- /* Gradient */
9656
- .wpr-ticker-gradient-type-both .wpr-ticker-gradient:before,
9657
- .wpr-ticker-gradient-type-left .wpr-ticker-gradient:before {
9658
- content: "";
9659
- position: absolute;
9660
- bottom: 0;
9661
- top: 0;
9662
- left: 0;
9663
- width: 40px;
9664
- z-index: 20;
9665
- }
9666
-
9667
- .wpr-ticker-gradient-type-both .wpr-ticker-gradient:after,
9668
- .wpr-ticker-gradient-type-right .wpr-ticker-gradient:after {
9669
- content: "";
9670
- position: absolute;
9671
- bottom: 0;
9672
- top: 0;
9673
- right: 0;
9674
- width: 40px;
9675
- z-index: 20;
9676
- }
9677
-
9678
- .wpr-ticker-arrow-position-left .wpr-ticker-slider-controls {
9679
- margin-right: 20px;
9680
- }
9681
-
9682
- .wpr-ticker-arrow-position-right .wpr-ticker-slider-controls {
9683
- margin-left: 20px;
9684
- }
9685
-
9686
- .wpr-ticker-slider {
9687
- position: relative;
9688
- width: 100%;
9689
- overflow: hidden;
9690
- }
9691
-
9692
- .wpr-ticker-heading-position-right .wpr-content-ticker {
9693
- -webkit-box-orient: horizontal;
9694
- -webkit-box-direction: reverse;
9695
- -ms-flex-direction: row-reverse;
9696
- flex-direction: row-reverse;
9697
- }
9698
-
9699
-
9700
- /* Content */
9701
- .wpr-ticker-title {
9702
- display: -webkit-box;
9703
- display: -ms-flexbox;
9704
- display: flex;
9705
- -webkit-align-items: center;
9706
- overflow: hidden;
9707
- -webkit-transition-property: all;
9708
- -o-transition-property: all;
9709
- transition-property: all;
9710
- -webkit-transition-timing-function: ease-in-out;
9711
- -o-transition-timing-function: ease-in-out;
9712
- transition-timing-function: ease-in-out;
9713
- -webkit-transition-duration: 200ms;
9714
- -o-transition-duration: 200ms;
9715
- transition-duration: 200ms;
9716
- margin: 0;
9717
- }
9718
-
9719
- .wpr-ticker-title a,
9720
- .wpr-ticker-title:hover a {
9721
- color: inherit;
9722
- }
9723
-
9724
- .elementor-widget-wpr-content-ticker .wpr-ticker-item .wpr-ticker-title {
9725
- font-size: 14px;
9726
- }
9727
-
9728
- .wpr-ticker-title-inner {
9729
- -o-text-overflow: ellipsis;
9730
- text-overflow: ellipsis;
9731
- white-space: nowrap;
9732
- overflow: hidden;
9733
- display: inline;
9734
- }
9735
-
9736
-
9737
- /* Heading */
9738
- .wpr-ticker-heading {
9739
- display: -webkit-box;
9740
- display: -ms-flexbox;
9741
- display: flex;
9742
- -webkit-box-align: center;
9743
- -ms-flex-align: center;
9744
- align-items: center;
9745
- position: relative;
9746
- z-index: 25;
9747
- -webkit-transition-property: all;
9748
- -o-transition-property: all;
9749
- transition-property: all;
9750
- -webkit-transition-timing-function: ease-in-out;
9751
- -o-transition-timing-function: ease-in-out;
9752
- transition-timing-function: ease-in-out;
9753
- }
9754
-
9755
- .wpr-ticker-heading-icon-position-left .wpr-ticker-heading {
9756
- -webkit-box-orient: horizontal;
9757
- -webkit-box-direction: reverse;
9758
- -ms-flex-direction: row-reverse;
9759
- flex-direction: row-reverse;
9760
- }
9761
-
9762
- .elementor-widget-wpr-content-ticker .wpr-content-ticker .wpr-ticker-heading {
9763
- font-size: 14px;
9764
- }
9765
-
9766
-
9767
- /* Triangle */
9768
- .wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9769
- content: "";
9770
- position: absolute;
9771
- width: 0;
9772
- height: 0;
9773
- background: transparent !important;
9774
- border-bottom-color: transparent;
9775
- border-top-color: transparent;
9776
- border-right-style: solid;
9777
- border-bottom-style: solid;
9778
- border-top-style: solid;
9779
- border-width: 10px;
9780
- top: 50%;
9781
- -webkit-transition-property: inherit;
9782
- -o-transition-property: inherit;
9783
- transition-property: inherit;
9784
- -webkit-transition-timing-function: inherit;
9785
- -o-transition-timing-function: inherit;
9786
- transition-timing-function: inherit;
9787
- -webkit-transition-duration: inherit;
9788
- -o-transition-duration: inherit;
9789
- transition-duration: inherit;
9790
- }
9791
-
9792
- .wpr-ticker-heading-triangle-top .wpr-ticker-heading:before,
9793
- .wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before {
9794
- content: "";
9795
- position: absolute;
9796
- top: 0;
9797
- bottom: 0;
9798
- width: 100%;
9799
- z-index: 1;
9800
- -webkit-transition-property: inherit;
9801
- -o-transition-property: inherit;
9802
- transition-property: inherit;
9803
- -webkit-transition-timing-function: inherit;
9804
- -o-transition-timing-function: inherit;
9805
- transition-timing-function: inherit;
9806
- -webkit-transition-duration: inherit;
9807
- -o-transition-duration: inherit;
9808
- transition-duration: inherit;
9809
- }
9810
-
9811
- .wpr-ticker-heading-text,
9812
- .wpr-ticker-heading-icon {
9813
- position: relative;
9814
- z-index: 20;
9815
- -webkit-transition-property: inherit;
9816
- -o-transition-property: inherit;
9817
- transition-property: inherit;
9818
- -webkit-transition-timing-function: inherit;
9819
- -o-transition-timing-function: inherit;
9820
- transition-timing-function: inherit;
9821
- -webkit-transition-duration: inherit;
9822
- -o-transition-duration: inherit;
9823
- transition-duration: inherit;
9824
- }
9825
-
9826
- .wpr-ticker-heading-triangle-top .wpr-ticker-heading:before {
9827
- -ms-transform: skew(20deg);
9828
- transform: skew(20deg);
9829
- -webkit-transform: skew(20deg);
9830
- }
9831
-
9832
- .wpr-ticker-heading-triangle-bottom .wpr-ticker-heading:before {
9833
- -ms-transform: skew(-20deg);
9834
- transform: skew(-20deg);
9835
- -webkit-transform: skew(-20deg);
9836
- }
9837
-
9838
- .wpr-ticker-heading-position-left.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9839
- -webkit-transform: translateY(-50%) rotate(180deg);
9840
- -ms-transform: translateY(-50%) rotate(180deg);
9841
- transform: translateY(-50%) rotate(180deg);
9842
- }
9843
-
9844
- .wpr-ticker-heading-position-right.wpr-ticker-heading-triangle-middle .wpr-ticker-heading:before {
9845
- -webkit-transform: translateY(-50%);
9846
- -ms-transform: translateY(-50%);
9847
- transform: translateY(-50%);
9848
- }
9849
-
9850
-
9851
- /* Ticker Navigation */
9852
-
9853
- .wpr-ticker-slider-controls {
9854
- display: -moz-flex;
9855
- display: -ms-flex;
9856
- display: -o-flex;
9857
- display: -webkit-box;
9858
- display: -ms-flexbox;
9859
- display: flex;
9860
- }
9861
-
9862
- .wpr-ticker-arrow-style-vertical .wpr-ticker-slider-controls {
9863
- -webkit-box-orient: vertical;
9864
- -webkit-box-direction: normal;
9865
- -ms-flex-direction: column;
9866
- flex-direction: column;
9867
- }
9868
-
9869
- .wpr-ticker-arrow-style-horizontal .wpr-ticker-slider-controls {
9870
- -webkit-box-orient: horizontal;
9871
- -webkit-box-direction: normal;
9872
- -ms-flex-direction: row;
9873
- flex-direction: row;
9874
- }
9875
-
9876
- .wpr-ticker-arrow {
9877
- -webkit-box-sizing: content-box;
9878
- box-sizing: content-box;
9879
- text-align: center;
9880
- -webkit-transition: all .5s;
9881
- -o-transition: all .5s;
9882
- transition: all .5s;
9883
- cursor: pointer;
9884
- }
9885
-
9886
- .wpr-ticker-arrow i {
9887
- display: block;
9888
- width: 100%;
9889
- height: 100%;
9890
- line-height: inherit;
9891
- }
9892
-
9893
- .wpr-ticker-next-arrow {
9894
- -webkit-transform: rotate(180deg);
9895
- -ms-transform: rotate(180deg);
9896
- transform: rotate(180deg);
9897
- }
9898
-
9899
- .wpr-content-ticker-inner .wpr-ticker-item {
9900
- display: -moz-flex !important;
9901
- display: -ms-flex !important;
9902
- display: -o-flex !important;
9903
- display: -webkit-box !important;
9904
- display: -ms-flexbox !important;
9905
- display: flex !important;
9906
- -webkit-box-align: center !important;
9907
- -ms-flex-align: center !important;
9908
- align-items: center;
9909
- position: relative;
9910
- overflow: hidden;
9911
- }
9912
-
9913
- .wpr-ticker-marquee {
9914
- overflow: hidden;
9915
- }
9916
-
9917
- .wpr-ticker-marquee .js-marquee {
9918
- display: -moz-flex;
9919
- display: -ms-flex;
9920
- display: -o-flex;
9921
- display: -webkit-box;
9922
- display: -ms-flexbox;
9923
- display: flex;
9924
- }
9925
-
9926
- .wpr-ticker-arrow-style-vertical .wpr-ticker-slider .wpr-ticker-item {
9927
- margin: 1px 0;
9928
- }
9929
-
9930
- .wpr-ticker-image {
9931
- margin-right: 10px;
9932
- }
9933
-
9934
- .wpr-ticker-link {
9935
- display: block;
9936
- position: absolute;
9937
- width: 100%;
9938
- height: 100%;
9939
- top: 0;
9940
- left: 0;
9941
- z-index: 20;
9942
- }
9943
-
9944
-
9945
- /* Flash Circle */
9946
-
9947
- .wpr-ticker-icon-circle {
9948
- display: block;
9949
- border-radius: 50%;
9950
- -webkit-border-radius: 50%;
9951
- z-index: 5;
9952
- -webkit-transition-property: inherit;
9953
- -o-transition-property: inherit;
9954
- transition-property: inherit;
9955
- -webkit-transition-timing-function: inherit;
9956
- -o-transition-timing-function: inherit;
9957
- transition-timing-function: inherit;
9958
- -webkit-transition-duration: inherit;
9959
- -o-transition-duration: inherit;
9960
- transition-duration: inherit;
9961
- }
9962
-
9963
- .wpr-ticker-icon-circle:before,
9964
- .wpr-ticker-icon-circle:after {
9965
- content: "";
9966
- position: absolute;
9967
- top: 50%;
9968
- left: 50%;
9969
- -webkit-animation-name: wpr-ticker-icon-blink;
9970
- animation-name: wpr-ticker-icon-blink;
9971
- -webkit-animation-duration: 2s;
9972
- animation-duration: 2s;
9973
- -webkit-animation-iteration-count: infinite;
9974
- animation-iteration-count: infinite;
9975
- border-radius: 50%;
9976
- border-width: 1px;
9977
- border-style: solid;
9978
- -webkit-border-radius: 50%;
9979
- -moz-border-radius: 50%;
9980
- -webkit-transition-property: inherit;
9981
- -o-transition-property: inherit;
9982
- transition-property: inherit;
9983
- -webkit-transition-timing-function: inherit;
9984
- -o-transition-timing-function: inherit;
9985
- transition-timing-function: inherit;
9986
- -webkit-transition-duration: inherit;
9987
- -o-transition-duration: inherit;
9988
- transition-duration: inherit;
9989
- }
9990
-
9991
- .wpr-ticker-icon-circle:after {
9992
- -webkit-animation-delay: 1s;
9993
- animation-delay: 1s;
9994
- }
9995
-
9996
- @-webkit-keyframes wpr-ticker-icon-blink {
9997
- 0% {
9998
- -webkit-transform: scale(1, 1);
9999
- transform: scale(1, 1)
10000
- }
10001
- 100% {
10002
- -webkit-transform: scale(3, 3);
10003
- transform: scale(3, 3);
10004
- opacity: 0
10005
- }
10006
- }
10007
-
10008
- @keyframes wpr-ticker-icon-blink {
10009
- 0% {
10010
- -webkit-transform: scale(1, 1);
10011
- transform: scale(1, 1)
10012
- }
10013
- 100% {
10014
- -webkit-transform: scale(3, 3);
10015
- transform: scale(3, 3);
10016
- opacity: 0
10017
- }
10018
- }
10019
-
10020
-
10021
- /*--------------------------------------------------------------
10022
- == Tabs
10023
- --------------------------------------------------------------*/
10024
-
10025
- .wpr-tabs {
10026
- display: -moz-flex;
10027
- display: -ms-flex;
10028
- display: -o-flex;
10029
- display: -webkit-box;
10030
- display: -ms-flexbox;
10031
- display: flex;
10032
- }
10033
-
10034
- .wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs {
10035
- -webkit-box-orient: vertical;
10036
- -webkit-box-direction: normal;
10037
- -ms-flex-direction: column;
10038
- flex-direction: column;
10039
- }
10040
-
10041
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs {
10042
- -webkit-box-orient: horizontal;
10043
- -webkit-box-direction: normal;
10044
- -ms-flex-direction: row;
10045
- flex-direction: row;
10046
- }
10047
-
10048
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs {
10049
- -webkit-box-orient: horizontal;
10050
- -webkit-box-direction: reverse;
10051
- -ms-flex-direction: row-reverse;
10052
- flex-direction: row-reverse;
10053
- }
10054
-
10055
- .wpr-tabs-wrap {
10056
- display: -moz-flex;
10057
- display: -ms-flex;
10058
- display: -o-flex;
10059
- display: -webkit-box;
10060
- display: -ms-flexbox;
10061
- display: flex;
10062
- -ms-flex-wrap: wrap;
10063
- flex-wrap: wrap;
10064
- -webkit-box-align: end;
10065
- -ms-flex-align: end;
10066
- align-items: flex-end;
10067
- }
10068
-
10069
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap,
10070
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap {
10071
- -webkit-box-orient: vertical;
10072
- -webkit-box-direction: normal;
10073
- -ms-flex-direction: column;
10074
- flex-direction: column;
10075
- }
10076
-
10077
-
10078
- /* Tabs Position */
10079
-
10080
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wpr-tabs {
10081
- -webkit-box-align: center;
10082
- -ms-flex-align: center;
10083
- align-items: center;
10084
- }
10085
-
10086
- .wpr-tabs-hr-position-left>.elementor-widget-container>.wpr-tabs {
10087
- -webkit-box-align: start;
10088
- -ms-flex-align: start;
10089
- align-items: flex-start;
10090
- }
10091
-
10092
- .wpr-tabs-hr-position-right>.elementor-widget-container>.wpr-tabs {
10093
- -webkit-box-align: end;
10094
- -ms-flex-align: end;
10095
- align-items: flex-end;
10096
- }
10097
-
10098
- .wpr-tabs-hr-position-justify>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab,
10099
- .elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab {
10100
- -webkit-box-flex: 1;
10101
- -ms-flex-positive: 1;
10102
- flex-grow: 1;
10103
- -ms-flex-preferred-size: 0;
10104
- flex-basis: 0;
10105
- }
10106
-
10107
- .wpr-tab {
10108
- position: relative;
10109
- z-index: 25;
10110
- display: -moz-flex;
10111
- display: -ms-flex;
10112
- display: -o-flex;
10113
- display: -webkit-box;
10114
- display: -ms-flexbox;
10115
- display: flex;
10116
- -webkit-box-align: center;
10117
- -ms-flex-align: center;
10118
- align-items: center;
10119
- cursor: pointer;
10120
- }
10121
-
10122
- .wpr-tab,
10123
- .wpr-tab-icon,
10124
- .wpr-tab-image,
10125
- .wpr-tab-title {
10126
- -webkit-transition-property: all;
10127
- -o-transition-property: all;
10128
- transition-property: all;
10129
- }
10130
-
10131
- .wpr-tab-icon,
10132
- .wpr-tab-icon i,
10133
- .wpr-tab-image,
10134
- .wpr-tab-title {
10135
- -webkit-transition-duration: inherit;
10136
- -o-transition-duration: inherit;
10137
- transition-duration: inherit;
10138
- }
10139
-
10140
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab.wpr-tab-active .wpr-tab-title,
10141
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:hover .wpr-tab-title,
10142
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title {
10143
- font-size: 15px;
10144
- font-weight: 500;
10145
- }
10146
-
10147
-
10148
- /* Tab Content */
10149
-
10150
- .wpr-tabs-content-wrap {
10151
- position: relative;
10152
- width: 100%;
10153
- -webkit-transition-property: height;
10154
- -o-transition-property: height;
10155
- transition-property: height;
10156
- -webkit-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10157
- -o-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10158
- transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10159
- -webkit-transition-duration: 0.5s;
10160
- -o-transition-duration: 0.5s;
10161
- transition-duration: 0.5s;
10162
- z-index: 1;
10163
- overflow: hidden;
10164
- }
10165
-
10166
- .wpr-tab-content {
10167
- position: absolute;
10168
- width: 100%;
10169
- top: 0;
10170
- left: 0;
10171
- z-index: 1;
10172
- }
10173
-
10174
- .elementor-element.elementor-widget-wpr-tabs>.elementor-widget-container>.wpr-tabs>.wpr-tabs-content-wrap>.wpr-tab-content {
10175
- font-size: 14px;
10176
- }
10177
-
10178
- .wpr-tab-content-active {
10179
- position: relative;
10180
- z-index: 100;
10181
- }
10182
-
10183
- .wpr-tab-content-inner {
10184
- opacity: 0;
10185
- }
10186
-
10187
- .wpr-tab-content-active .wpr-tab-content-inner.wpr-overlay-none {
10188
- opacity: 1;
10189
- }
10190
-
10191
-
10192
- /* Tab Icon */
10193
-
10194
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-image,
10195
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-icon {
10196
- -webkit-box-ordinal-group: 2;
10197
- -ms-flex-order: 1;
10198
- order: 1;
10199
- }
10200
-
10201
- .wpr-tabs-icon-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab .wpr-tab-title {
10202
- -webkit-box-ordinal-group: 3;
10203
- -ms-flex-order: 2;
10204
- order: 2;
10205
- }
10206
-
10207
- .wpr-tabs-icon-position-center>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab {
10208
- -webkit-box-orient: vertical;
10209
- -webkit-box-direction: reverse;
10210
- -ms-flex-direction: column-reverse;
10211
- flex-direction: column-reverse;
10212
- }
10213
-
10214
-
10215
- /* Triangle */
10216
-
10217
- .wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10218
- content: "";
10219
- position: absolute;
10220
- width: 0;
10221
- height: 0;
10222
- -webkit-transition-property: border-color;
10223
- -o-transition-property: border-color;
10224
- transition-property: border-color;
10225
- -webkit-transition-timing-function: ease-in;
10226
- -o-transition-timing-function: ease-in;
10227
- transition-timing-function: ease-in;
10228
- opacity: 0;
10229
- visibility: hidden;
10230
- z-index: 110;
10231
- }
10232
-
10233
- .wpr-tabs-triangle-yes>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab-active.wpr-tab:before {
10234
- opacity: 1;
10235
- visibility: visible;
10236
- }
10237
-
10238
- .wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10239
- border-left-color: transparent;
10240
- border-right-color: transparent;
10241
- border-top-color: white;
10242
- border-top-style: solid;
10243
- border-left-style: solid;
10244
- border-right-style: solid;
10245
- }
10246
-
10247
- .wpr-tabs-position-left>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10248
- .wpr-tabs-position-right>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10249
- border-bottom-color: transparent;
10250
- border-top-color: transparent;
10251
- border-right-style: solid;
10252
- border-bottom-style: solid;
10253
- border-top-style: solid;
10254
- }
10255
-
10256
-
10257
- /* Triangle Position */
10258
-
10259
- .wpr-tabs-position-above.wpr-tabs-triangle-type-outer.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10260
- left: 50%;
10261
- -ms-transform: translateX(-50%);
10262
- transform: translateX(-50%);
10263
- -webkit-transform: translateX(-50%);
10264
- }
10265
-
10266
- .wpr-tabs-position-above.wpr-tabs-triangle-type-inner.wpr-tabs-position-above>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10267
- left: 50%;
10268
- -ms-transform: translateX(-50%) rotate(180deg);
10269
- transform: translateX(-50%) rotate(180deg);
10270
- -webkit-transform: translateX(-50%) rotate(180deg);
10271
- bottom: -1px;
10272
- }
10273
-
10274
- .wpr-tabs-position-left.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10275
- .wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10276
- top: 50%;
10277
- -ms-transform: translateY(-50%) rotate(180deg);
10278
- transform: translateY(-50%) rotate(180deg);
10279
- -webkit-transform: translateY(-50%) rotate(180deg);
10280
- }
10281
-
10282
- .wpr-tabs-position-right.wpr-tabs-triangle-type-outer>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before,
10283
- .wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10284
- top: 50%;
10285
- -ms-transform: translateY(-50%);
10286
- transform: translateY(-50%);
10287
- -webkit-transform: translateY(-50%);
10288
- }
10289
-
10290
- .wpr-tabs-position-left.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10291
- right: 0;
10292
- }
10293
-
10294
- .wpr-tabs-position-right.wpr-tabs-triangle-type-inner>.elementor-widget-container>.wpr-tabs>.wpr-tabs-wrap>.wpr-tab:before {
10295
- left: 0;
10296
- }
10297
-
10298
-
10299
- /* Ticker Typing Effect */
10300
-
10301
- .wpr-ticker-effect-typing .wpr-ticker-title:after {
10302
- display: inline-block;
10303
- vertical-align: top;
10304
- opacity: 1;
10305
- color: inherit;
10306
- margin-left: 2px;
10307
- }
10308
-
10309
- .wpr-ticker-effect-typing .slick-current .wpr-ticker-title:after {
10310
- -webkit-animation-name: wpr-cursor-blink;
10311
- animation-name: wpr-cursor-blink;
10312
- -webkit-animation-iteration-count: infinite;
10313
- animation-iteration-count: infinite;
10314
- -webkit-animation-duration: 0.5s;
10315
- animation-duration: 0.5s;
10316
- }
10317
-
10318
- .wpr-ticker-effect-typing .slick-current .wpr-ticker-title-inner {
10319
- display: -webkit-inline-box;
10320
- display: -ms-inline-flexbox;
10321
- display: inline-flex;
10322
- -webkit-animation: wpr-ticker-typing 1s steps(30, end);
10323
- animation: wpr-ticker-typing 1s steps(30, end);
10324
- overflow: hidden;
10325
- }
10326
-
10327
- @-webkit-keyframes wpr-ticker-typing {
10328
- from {
10329
- width: 0;
10330
- }
10331
- to {
10332
- width: 100%;
10333
- }
10334
- }
10335
-
10336
- @keyframes wpr-ticker-typing {
10337
- from {
10338
- width: 0;
10339
- }
10340
- to {
10341
- width: 100%;
10342
- }
10343
- }
10344
-
10345
-
10346
- /*--------------------------------------------------------------
10347
- == Content Toggle
10348
- --------------------------------------------------------------*/
10349
-
10350
- .wpr-switcher-container {
10351
- display: -moz-flex;
10352
- display: -ms-flex;
10353
- display: -o-flex;
10354
- display: -webkit-box;
10355
- display: -ms-flexbox;
10356
- display: flex;
10357
- -webkit-box-align: center;
10358
- -ms-flex-align: center;
10359
- align-items: center;
10360
- -webkit-box-pack: center;
10361
- -ms-flex-pack: center;
10362
- justify-content: center;
10363
- margin: 0 auto;
10364
- }
10365
-
10366
- .wpr-switcher-wrap {
10367
- position: relative;
10368
- display: -moz-flex;
10369
- display: -ms-flex;
10370
- display: -o-flex;
10371
- display: -webkit-box;
10372
- display: -ms-flexbox;
10373
- display: flex;
10374
- -ms-flex-wrap: wrap;
10375
- flex-wrap: wrap;
10376
- -webkit-box-align: center;
10377
- -ms-flex-align: center;
10378
- align-items: center;
10379
- }
10380
-
10381
- .wpr-switcher {
10382
- position: relative;
10383
- display: -moz-flex;
10384
- display: -ms-flex;
10385
- display: -o-flex;
10386
- display: -webkit-box;
10387
- display: -ms-flexbox;
10388
- display: flex;
10389
- -webkit-box-flex: 1;
10390
- -ms-flex-positive: 1;
10391
- flex-grow: 1;
10392
- -ms-flex-preferred-size: 0;
10393
- flex-basis: 0;
10394
- height: 100%;
10395
- -webkit-box-align: center;
10396
- -ms-flex-align: center;
10397
- align-items: center;
10398
- -webkit-box-pack: center;
10399
- -ms-flex-pack: center;
10400
- justify-content: center;
10401
- z-index: 20;
10402
- cursor: pointer;
10403
- }
10404
-
10405
- .wpr-switcher-inner {
10406
- display: -moz-flex;
10407
- display: -ms-flex;
10408
- display: -o-flex;
10409
- display: -webkit-box;
10410
- display: -ms-flexbox;
10411
- display: flex;
10412
- -webkit-box-align: center;
10413
- -ms-flex-align: center;
10414
- align-items: center;
10415
- }
10416
-
10417
- .wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-first {
10418
- -webkit-box-pack: end;
10419
- -ms-flex-pack: end;
10420
- justify-content: flex-end;
10421
- }
10422
-
10423
- .wpr-switcher-label-style-outer>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-second {
10424
- -webkit-box-pack: start;
10425
- -ms-flex-pack: start;
10426
- justify-content: flex-start;
10427
- }
10428
-
10429
- .wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-icon,
10430
- .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 {
10431
- -webkit-box-ordinal-group: 2;
10432
- -ms-flex-order: 1;
10433
- order: 1;
10434
- }
10435
-
10436
- .wpr-switcher-icon-position-left>.elementor-widget-container>.wpr-content-toggle>.wpr-switcher-container>.wpr-switcher-inner>.wpr-switcher-label,
10437
- .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 {
10438
- -webkit-box-ordinal-group: 3;
10439
- -ms-flex-order: 2;
10440
- order: 2;
10441
- }
10442
-
10443
- .wpr-switcher-content-wrap {
10444
- position: relative;
10445
- width: 100%;
10446
- -webkit-transition-property: height;
10447
- -o-transition-property: height;
10448
- transition-property: height;
10449
- -webkit-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10450
- -o-transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10451
- transition-timing-function: cubic-bezier(0.5, 0.9, 0.6, 0.95);
10452
- -webkit-transition-duration: 0.5s;
10453
- -o-transition-duration: 0.5s;
10454
- transition-duration: 0.5s;
10455
- z-index: 1;
10456
- overflow: hidden;
10457
- }
10458
-
10459
- .wpr-switcher-content {
10460
- position: absolute;
10461
- width: 100%;
10462
- top: 0;
10463
- left: 0;
10464
- z-index: 1;
10465
- }
10466
-
10467
- .wpr-switcher-content-active {
10468
- position: relative;
10469
- z-index: 100;
10470
- }
10471
-
10472
- .wpr-switcher-content-inner {
10473
- opacity: 0;
10474
- }
10475
-
10476
- .wpr-switcher-content-active .wpr-switcher-content-inner.wpr-overlay-none {
10477
- opacity: 1;
10478
- }
10479
-
10480
-
10481
- /* Switcher Bg */
10482
-
10483
- .wpr-switcher-bg {
10484
- position: absolute;
10485
- height: 100%;
10486
- z-index: 1;
10487
- -o-transition: all ease-in-out 0.4s;
10488
- transition: all ease-in-out 0.4s;
10489
- -webkit-transition: all ease-in-out 0.4s;
10490
- }
10491
-
10492
-
10493
- /* Dual Switcher */
10494
-
10495
- .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 {
10496
- left: 0;
10497
- }
10498
-
10499
- .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 {
10500
- left: 100%;
10501
- -ms-transform: translateX(-100%);
10502
- transform: translateX(-100%);
10503
- -webkit-transform: translateX(-100%);
10504
- }
10505
-
10506
-
10507
- /*--------------------------------------------------------------
10508
- == Back to Top
10509
- --------------------------------------------------------------*/
10510
-
10511
- .wpr-stt-wrapper {
10512
- display: -webkit-box;
10513
- display: -ms-flexbox;
10514
- display: flex;
10515
- }
10516
-
10517
- .wpr-stt-btn {
10518
- border: none;
10519
- cursor: pointer;
10520
- font-size: 16px;
10521
- line-height: 48px;
10522
- text-align: center;
10523
- padding: 20px;
10524
- max-width: 5cm;
10525
- text-align: center;
10526
- display: -webkit-box;
10527
- display: -ms-flexbox;
10528
- display: flex;
10529
- -webkit-box-align: center;
10530
- -ms-flex-align: center;
10531
- align-items: center;
10532
- -webkit-box-pack: center;
10533
- -ms-flex-pack: center;
10534
- justify-content: center;
10535
- line-height: 1;
10536
- -webkit-box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.25);
10537
- box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.25);
10538
- }
10539
-
10540
- .wpr-stt-btn-icon-left .wpr-stt-btn {
10541
- display: -webkit-box;
10542
- display: -ms-flexbox;
10543
- display: flex;
10544
- -webkit-box-align: center;
10545
- -ms-flex-align: center;
10546
- align-items: center;
10547
- }
10548
-
10549
- .wpr-stt-btn-icon-right .wpr-stt-btn {
10550
- -webkit-box-orient: horizontal;
10551
- -webkit-box-direction: reverse;
10552
- -ms-flex-direction: row-reverse;
10553
- flex-direction: row-reverse;
10554
- }
10555
-
10556
- .wpr-stt-btn-icon-bottom .wpr-stt-btn {
10557
- -webkit-box-orient: vertical;
10558
- -webkit-box-direction: reverse;
10559
- -ms-flex-direction: column-reverse;
10560
- flex-direction: column-reverse;
10561
- }
10562
-
10563
- .wpr-stt-btn-icon-top .wpr-stt-btn {
10564
- display: -webkit-box;
10565
- display: -ms-flexbox;
10566
- display: flex;
10567
- -webkit-box-orient: vertical;
10568
- -webkit-box-direction: normal;
10569
- -ms-flex-direction: column;
10570
- flex-direction: column;
10571
- -webkit-box-align: center;
10572
- -ms-flex-align: center;
10573
- align-items: center;
10574
- }
10575
-
10576
- .wpr-stt-btn-align-fixed .wpr-stt-btn {
10577
- visibility: hidden;
10578
- position: fixed;
10579
- z-index: 9999;
10580
- }
10581
-
10582
- .wpr-stt-btn-align-fixed-right .wpr-stt-btn {
10583
- left: auto;
10584
- }
10585
-
10586
- .wpr-stt-btn-align-fixed-left .wpr-stt-btn {
10587
- right: auto;
10588
- }
10589
-
10590
-
10591
- /*--------------------------------------------------------------
10592
- == Phone Call
10593
- --------------------------------------------------------------*/
10594
-
10595
- .wpr-pc-wrapper {
10596
- display: -webkit-box;
10597
- display: -ms-flexbox;
10598
- display: flex;
10599
- }
10600
-
10601
- .wpr-pc-btn {
10602
- border: none;
10603
- cursor: pointer;
10604
- font-size: 16px;
10605
- line-height: 48px;
10606
- text-align: center;
10607
- text-align: center;
10608
- display: -webkit-box;
10609
- display: -ms-flexbox;
10610
- display: flex;
10611
- -webkit-box-align: center;
10612
- -ms-flex-align: center;
10613
- align-items: center;
10614
- -webkit-box-pack: center;
10615
- -ms-flex-pack: center;
10616
- justify-content: center;
10617
- line-height: 1;
10618
- }
10619
-
10620
- .elementor a.wpr-pc-btn {
10621
- -webkit-box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.2);
10622
- box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.2);
10623
- }
10624
-
10625
- .wpr-pc-content {
10626
- display: -webkit-box;
10627
- display: -ms-flexbox;
10628
- display: flex;
10629
- }
10630
-
10631
- .wpr-pc-btn-icon-right .wpr-pc-content {
10632
- display: -webkit-box;
10633
- display: -ms-flexbox;
10634
- display: flex;
10635
- -webkit-box-align: center;
10636
- -ms-flex-align: center;
10637
- align-items: center;
10638
- }
10639
-
10640
- .wpr-pc-btn-icon-left .wpr-pc-content {
10641
- -webkit-box-orient: horizontal;
10642
- -webkit-box-direction: reverse;
10643
- -ms-flex-direction: row-reverse;
10644
- flex-direction: row-reverse;
10645
- }
10646
-
10647
- .wpr-pc-btn-icon-bottom .wpr-pc-content {
10648
- display: -webkit-box;
10649
- display: -ms-flexbox;
10650
- display: flex;
10651
- -webkit-box-orient: vertical;
10652
- -webkit-box-direction: normal;
10653
- -ms-flex-direction: column;
10654
- flex-direction: column;
10655
- -webkit-box-align: center;
10656
- -ms-flex-align: center;
10657
- align-items: center;
10658
- }
10659
-
10660
- .wpr-pc-btn-icon-top .wpr-pc-content {
10661
- -webkit-box-orient: vertical;
10662
- -webkit-box-direction: reverse;
10663
- -ms-flex-direction: column-reverse;
10664
- flex-direction: column-reverse;
10665
- }
10666
-
10667
- .wpr-pc-btn-align-fixed .wpr-pc-btn {
10668
- position: fixed;
10669
- z-index: 9999;
10670
- }
10671
-
10672
- .wpr-pc-btn-align-fixed-right .wpr-pc-btn {
10673
- left: auto;
10674
- }
10675
-
10676
- .wpr-pc-btn-align-fixed-left .wpr-pc-btn {
10677
- right: auto;
10678
- }
10679
-
10680
- /*--------------------------------------------------------------
10681
- == Post Timeline
10682
- --------------------------------------------------------------*/
10683
-
10684
- .wpr-timeline-outer-container {
10685
- position: relative;
10686
- }
10687
-
10688
- .wpr-vertical {
10689
- /* display: table; */
10690
- min-width: 100%;
10691
- min-height: 100%;
10692
- overflow: hidden;
10693
- }
10694
-
10695
- /* year-wrap or data-wrap */
10696
- .wpr-vertical .wpr-timeline-centered .wpr-data-wrap {
10697
- display: flow-root;
10698
- }
10699
-
10700
- /* remove overflow hidden if possible */
10701
- .wpr-timeline-centered {
10702
- position: relative;
10703
- display: table;
10704
- width: 100%;
10705
- height: 100%;
10706
- /* overflow: hidden; */
10707
- }
10708
-
10709
- .wpr-list-style-none ul {
10710
- list-style-type: none;
10711
- }
10712
-
10713
- .wpr-list-style-disc ul {
10714
- list-style-type: disc;
10715
- }
10716
-
10717
- .wpr-list-style-decimal ul {
10718
- list-style-type: decimal;
10719
- }
10720
-
10721
- .wpr-timeline-centered .wpr-timeline-entry:last-of-type {
10722
- margin-bottom: 0 !important;
10723
- }
10724
-
10725
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry {
10726
- position: relative;
10727
- width: 50%;
10728
- float: right;
10729
- margin-bottom: 70px;
10730
- clear: both;
10731
- }
10732
-
10733
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned,
10734
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned {
10735
- float: left;
10736
- }
10737
-
10738
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned {
10739
- width: 100%;
10740
- }
10741
-
10742
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner,
10743
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner {
10744
- margin-left: 0;
10745
- }
10746
-
10747
- .wpr-wrapper .wpr-year-label {
10748
- display: -webkit-box;
10749
- display: -ms-flexbox;
10750
- display: flex;
10751
- -webkit-box-pack: center;
10752
- -ms-flex-pack: center;
10753
- justify-content: center;
10754
- -webkit-box-align: center;
10755
- -ms-flex-align: center;
10756
- align-items: center;
10757
- }
10758
-
10759
- .wpr-one-sided-timeline-left .wpr-middle-line,
10760
- .wpr-one-sided-timeline-left .wpr-timeline-fill,
10761
- .wpr-one-sided-timeline-left .wpr-year-label,
10762
- .wpr-one-sided-timeline-left .wpr-icon {
10763
- left: auto;
10764
- }
10765
-
10766
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner {
10767
- position: relative;
10768
- }
10769
-
10770
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry {
10771
- width: 100%;
10772
- float: left;
10773
- }
10774
-
10775
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner {
10776
- margin-left: 0;
10777
- }
10778
-
10779
- .wpr-both-sided-timeline .wpr-middle-line {
10780
- left: 50%;
10781
- }
10782
- .wpr-middle-line {
10783
- position: absolute;
10784
- display: block;
10785
- width: 4px;
10786
- top: 20px;
10787
- height: 100%;
10788
- /* margin-left: -2px; */
10789
- }
10790
- .wpr-one-sided-timeline-left .wpr-icon {
10791
- right: 0.3%;
10792
- }
10793
-
10794
- .wpr-timeline-fill {
10795
- position: absolute;
10796
- display: block;
10797
- width: 4px;
10798
- left: 50%;
10799
- top: 20px;
10800
- /* margin-left: -2px; */
10801
- background-color: rgb(61, 42, 61);
10802
- height: 0;
10803
- }
10804
-
10805
- .wpr-read-more-button {
10806
- display: inline-block;
10807
- font-size: 14px;
10808
- }
10809
-
10810
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-extra-label {
10811
- left: 108%;
10812
- /* text-align: center; */
10813
- }
10814
-
10815
- .wpr-horizontal .wpr-extra-label .wpr-label,
10816
- .wpr-horizontal .wpr-extra-label .wpr-sub-label {
10817
- text-align: center;
10818
- line-height: 1;
10819
- }
10820
-
10821
- .wpr-left-aligned .wpr-extra-label .wpr-label,
10822
- .wpr-left-aligned .wpr-extra-label .wpr-sub-label {
10823
- text-align: right;
10824
- }
10825
-
10826
- .wpr-right-aligned .wpr-extra-label .wpr-label,
10827
- .wpr-right-aligned .wpr-extra-label .wpr-sub-label {
10828
- text-align: left;
10829
- }
10830
-
10831
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-label,
10832
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-extra-label .wpr-sub-label {
10833
- text-align: right !important;
10834
- }
10835
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-label,
10836
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-extra-label .wpr-sub-label {
10837
- text-align: left !important;
10838
- }
10839
-
10840
- .wpr-horizontal-bottom .wpr-extra-label {
10841
- position: absolute;
10842
- display: table;
10843
- width: 100%;
10844
- height: 80px;
10845
- overflow: hidden;
10846
- text-align: center;
10847
- vertical-align: middle;
10848
- top: 0;
10849
- left: 50%;
10850
- -webkit-transform: translateX(-50%);
10851
- -ms-transform: translateX(-50%);
10852
- transform: translateX(-50%);
10853
- }
10854
-
10855
- .wpr-extra-label .wpr-label,
10856
- .wpr-extra-label .wpr-sub-label {
10857
- display: block;
10858
- width: 100%;
10859
- }
10860
-
10861
- .wpr-extra-label .wpr-label {
10862
- font-size: 15px;
10863
- font-weight: 600;
10864
- }
10865
-
10866
- .wpr-extra-label .wpr-sub-label {
10867
- font-size: 12px;
10868
- }
10869
-
10870
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-icon {
10871
- position: absolute;
10872
- left: calc(100%);
10873
- -webkit-transform: translate(-50%);
10874
- -ms-transform: translate(-50%);
10875
- transform: translate(-50%);
10876
- }
10877
-
10878
- .wpr-both-sided-timeline .wpr-right-aligned .wpr-icon {
10879
- position: absolute;
10880
- right: calc(100%);
10881
- -webkit-transform: translate(50%);
10882
- -ms-transform: translate(50%);
10883
- transform: translate(50%);
10884
- }
10885
-
10886
- .wpr-timeline-centered .wpr-timeline-entry.wpr-left-aligned .wpr-timeline-entry-inner .wpr-data-wrap:after {
10887
- right: 0;
10888
- margin-left: 0;
10889
- margin-right: -9px;
10890
- -webkit-transform: rotate(180deg);
10891
- -ms-transform: rotate(180deg);
10892
- transform: rotate(180deg);
10893
- }
10894
-
10895
- .wpr-story-info-vertical,
10896
- .wpr-story-info {
10897
- -webkit-box-shadow: 0px 0px 20px 1px rgb(0 0 0 / 10%);
10898
- box-shadow: 0px 0px 20px 1px rgb(0 0 0 / 10%);
10899
- }
10900
-
10901
- .wpr-right-aligned .wpr-story-info-vertical.wpr-data-wrap:after {
10902
- right: 100%;
10903
- }
10904
-
10905
- .wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label {
10906
- position: absolute;
10907
- right: 108%;
10908
- width: 100%;
10909
- height: auto;
10910
- padding: 10px;
10911
- -webkit-box-sizing: border-box;
10912
- box-sizing: border-box;
10913
- }
10914
-
10915
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-timeline-entry .wpr-extra-label,
10916
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label {
10917
- position: relative;
10918
- right: auto;
10919
- position: static !important;
10920
- -webkit-transform: none !important;
10921
- -ms-transform: none !important;
10922
- transform: none !important;
10923
- display: block;
10924
- margin-bottom: 10px;
10925
- }
10926
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-timeline-entry .wpr-extra-label {
10927
- position: static !important;
10928
- text-align: right;
10929
- margin-left: auto;
10930
- }
10931
-
10932
- .wpr-timeline-centered .wpr-timeline-entry .wpr-extra-label>span {
10933
- display: block;
10934
- }
10935
-
10936
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon {
10937
- display: block;
10938
- width: 48px;
10939
- height: 48px;
10940
- -webkit-background-clip: padding-box;
10941
- -moz-background-clip: padding-box;
10942
- background-clip: padding-box;
10943
- text-align: center;
10944
- font-size: 0;
10945
- float: left;
10946
- }
10947
-
10948
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon i {
10949
- font-size: 22px;
10950
- }
10951
-
10952
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap {
10953
- position: relative;
10954
- -webkit-background-clip: padding-box;
10955
- -moz-background-clip: padding;
10956
- background-clip: padding-box;
10957
- }
10958
-
10959
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap:after {
10960
- content: '';
10961
- display: block;
10962
- position: absolute;
10963
- width: 0;
10964
- height: 0;
10965
- border-style: solid;
10966
- border-width: 9px 9px 9px 0;
10967
- border-color: transparent;
10968
- top: 14px;
10969
- margin-left: -9px;
10970
- }
10971
-
10972
- .wpr-title-wrap {
10973
- overflow: hidden;
10974
- -ms-flex-negative: 0;
10975
- flex-shrink: 0;
10976
- width: 100% !important;
10977
- }
10978
-
10979
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title {
10980
- font-weight: bold;
10981
- display: inline-block;
10982
- }
10983
-
10984
- .wpr-timeline-centered .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-data-wrap .wpr-title span {
10985
- -webkit-opacity: .6;
10986
- -moz-opacity: .6;
10987
- opacity: .6;
10988
- -ms-filter: alpha(opacity=60);
10989
- filter: alpha(opacity=60);
10990
- }
10991
-
10992
- .wpr-timeline-centered .wpr-year-wrap .wpr-year-label {
10993
- display: inline-block;
10994
- text-align: center;
10995
- white-space: nowrap;
10996
- }
10997
-
10998
- .wpr-timeline-centered .wpr-year-wrap {
10999
- display: block;
11000
- position: relative;
11001
- float: left;
11002
- clear: left;
11003
- width: 100%;
11004
- margin-left: auto;
11005
- margin-right: auto;
11006
- padding: 0;
11007
- text-align: center;
11008
- }
11009
-
11010
- .wpr-timeline-centered.wpr-one-sided-timeline .wpr-year-wrap .wpr-year-label {
11011
- position: absolute;
11012
- -webkit-transform: translate(-50%, 0);
11013
- -ms-transform: translate(-50%, 0);
11014
- transform: translate(-50%, 0);
11015
- }
11016
-
11017
- .wpr-timeline-centered.wpr-one-sided-timeline-left .wpr-year-wrap .wpr-year-label {
11018
- position: absolute;
11019
- -webkit-transform: translate(50%, 0);
11020
- -ms-transform: translate(50%, 0);
11021
- transform: translate(50%, 0);
11022
- }
11023
-
11024
- .wpr-both-sided-timeline .wpr-left-aligned .wpr-data-wrap:after,
11025
- .wpr-one-sided-timeline-left .wpr-left-aligned .wpr-data-wrap:after {
11026
- left: 100%;
11027
- }
11028
-
11029
- .wpr-one-sided-timeline .wpr-timeline-entry .wpr-timeline-entry-inner .wpr-icon {
11030
- -webkit-transform: translate(-50%, -50%) !important;
11031
- -ms-transform: translate(-50%, -50%) !important;
11032
- transform: translate(-50%, -50%) !important;
11033
- }
11034
-
11035
- .wpr-wrapper .wpr-icon {
11036
- display: -webkit-box !important;
11037
- display: -ms-flexbox !important;
11038
- display: flex !important;
11039
- -webkit-box-pack: center !important;
11040
- -ms-flex-pack: center !important;
11041
- justify-content: center !important;
11042
- -webkit-box-align: center !important;
11043
- -ms-flex-align: center !important;
11044
- align-items: center !important;
11045
- }
11046
-
11047
- .timeline-background-image {
11048
- position: absolute;
11049
- left: 0;
11050
- top: 0;
11051
- width: 100%;
11052
- height: 100%;
11053
- max-width: 100% !important;
11054
- max-height: 100% !important;
11055
- opacity: 0.7;
11056
- z-index: -1;
11057
- }
11058
-
11059
- .timeline-background-image img {
11060
- width: 100%;
11061
- height: 100%;
11062
- max-width: 100% !important;
11063
- max-height: 100% !important;
11064
- }
11065
-
11066
- .wpr-horizontal-timeline .swiper-slide-line-bottom {
11067
- display: -webkit-box;
11068
- display: -ms-flexbox;
11069
- display: flex;
11070
- -webkit-box-pack: center;
11071
- -ms-flex-pack: center;
11072
- justify-content: center;
11073
- -webkit-box-align: end;
11074
- -ms-flex-align: end;
11075
- align-items: flex-end;
11076
- }
11077
-
11078
- .wpr-horizontal-timeline .wpr-story-info {
11079
- width: 98%;
11080
- }
11081
-
11082
- .story-with-background {
11083
- background-image: url('');
11084
- background-repeat: no-repeat;
11085
- background-position: center;
11086
- background-size: cover;
11087
- }
11088
-
11089
- .wpr-timeline-story-overlay {
11090
- position: absolute;
11091
- top: 0;
11092
- left: 0;
11093
- display: -webkit-box;
11094
- display: -ms-flexbox;
11095
- display: flex;
11096
- -webkit-box-orient: vertical;
11097
- -webkit-box-direction: normal;
11098
- -ms-flex-direction: column;
11099
- flex-direction: column;
11100
- width: 100%;
11101
- line-height: 1;
11102
- height: auto;
11103
- }
11104
-
11105
- .wpr-story-info {
11106
- line-height: 1;
11107
- }
11108
-
11109
- /* Horizontal Timeline */
11110
- .wpr-horizontal-bottom.swiper-container {
11111
- position: unset;
11112
- overflow: hidden;
11113
- z-index: 10;
11114
- }
11115
-
11116
- .wpr-horizontal.swiper-container {
11117
- position: unset;
11118
- /* overflow: hidden; */
11119
- z-index: 11;
11120
- margin: 0 32px;
11121
- }
11122
-
11123
- .wpr-horizontal {
11124
- padding-top: 10px;
11125
- }
11126
-
11127
- .wpr-horizontal-bottom {
11128
- padding-bottom: 10px;
11129
- }
11130
-
11131
- /* Year Label */
11132
- .wpr-horizontal-bottom .wpr-year-wrap {
11133
- position: absolute;
11134
- display: table;
11135
- text-align: center;
11136
- top: 96px;
11137
- left: 10px;
11138
- height: 36px;
11139
- width: 72px;
11140
- vertical-align: middle;
11141
- border-radius: 6px;
11142
- overflow: hidden;
11143
- z-index: 1;
11144
- table-layout: fixed;
11145
- word-break: break-word;
11146
- }
11147
-
11148
- .wpr-horizontal-bottom .wpr-year-label {
11149
- padding: 2px;
11150
- vertical-align: middle;
11151
- display: table-cell;
11152
- }
11153
-
11154
- /* Story Icon */
11155
- .wpr-horizontal-bottom .wpr-icon {
11156
- color: #fff;
11157
- width: 40px;
11158
- height: 40px;
11159
- text-align: center;
11160
- display: block;
11161
- z-index: 100;
11162
- border-radius: 50%;
11163
- -webkit-transform: translate(-50%);
11164
- -ms-transform: translate(-50%);
11165
- transform: translate(-50%);
11166
- }
11167
-
11168
- .wpr-horizontal-bottom .wpr-icon i {
11169
- line-height: 40px;
11170
- font-size: 26px;
11171
- }
11172
-
11173
- .wpr-horizontal-bottom .wpr-icon:empty {
11174
- width: 24px;
11175
- height: 24px;
11176
- top: 102px;
11177
- left: calc(50% - 12px);
11178
- }
11179
-
11180
-
11181
- /* Story Content */
11182
- .wpr-horizontal-bottom .wpr-story-info:before {
11183
- content: "";
11184
- display: block;
11185
- position: absolute;
11186
- }
11187
-
11188
- .wpr-horizontal-bottom .wpr-story-info {
11189
- padding: 0;
11190
- -webkit-box-pack: center;
11191
- -ms-flex-pack: center;
11192
- justify-content: center;
11193
- position: relative;
11194
- -webkit-transition: all 200ms ease-in;
11195
- -o-transition: all 200ms ease-in;
11196
- transition: all 200ms ease-in;
11197
- text-align: center;
11198
- -webkit-box-sizing: border-box;
11199
- box-sizing: border-box;
11200
- border-radius: 6px;
11201
- }
11202
-
11203
- .wpr-story-info,
11204
- .wpr-story-info-vertical {
11205
- font-size: 0;
11206
- }
11207
-
11208
- /* .wpr-horizontal-bottom .wpr-timeline-media, */
11209
- .wpr-timeline-media {
11210
- overflow: hidden;
11211
- position: relative;
11212
- display: inline-block;
11213
- }
11214
-
11215
- .wpr-timeline-iframe-wrapper {
11216
- position: relative;
11217
- width: 100%;
11218
- height: 0;
11219
- padding-bottom: 56.25%;
11220
- }
11221
-
11222
- .wpr-timeline-media iframe,
11223
- .wpr-timeline-iframe-wrapper iframe {
11224
- position: absolute;
11225
- top: 0;
11226
- left: 0;
11227
- width: 100%;
11228
- height: 100%;
11229
- }
11230
-
11231
-
11232
- /* .wpr-horizontal-bottom .wpr-title, */
11233
- .wpr-horizontal-bottom .wpr-title {
11234
- display: inline-block;
11235
- /* width: 100%; */
11236
- margin: 0;
11237
- line-height: 1.2em;
11238
- }
11239
-
11240
- .wpr-horizontal-bottom .wpr-title {
11241
- padding: 8px 8px 0;
11242
- font-size: 20px;
11243
- }
11244
-
11245
- .wpr-horizontal-bottom .wpr-description {
11246
- display: inline-block;
11247
- width: 100%;
11248
- margin: 0;
11249
- line-height: 1.2em;
11250
- padding: 8px;
11251
- font-size: inherit;
11252
- }
11253
-
11254
- .wpr-horizontal .wpr-description {
11255
- display: inline-block;
11256
- width: 100%;
11257
- margin: 0;
11258
- line-height: 1.2em;
11259
- padding: 8px;
11260
- font-size: inherit;
11261
- }
11262
-
11263
- .wpr-wrapper .wpr-description {
11264
- font-size: 15px;
11265
- background-color: transparent !important;
11266
- }
11267
-
11268
-
11269
- /* Middle Line */
11270
- .wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar {
11271
- position: absolute;
11272
- left: 50%;
11273
- z-index: 0;
11274
- }
11275
-
11276
- .wpr-horizontal-bottom .wpr-swiper-pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
11277
- background: rgba(0, 0, 0, 0.25);
11278
- }
11279
-
11280
-
11281
- /* Next/Prev Buttons */
11282
- .wpr-horizontal-bottom .wpr-button-prev,
11283
- .wpr-horizontal-bottom .wpr-button-next {
11284
- position: absolute;
11285
- display: -webkit-box;
11286
- display: -ms-flexbox;
11287
- display: flex;
11288
- -webkit-box-pack: center;
11289
- -ms-flex-pack: center;
11290
- justify-content: center;
11291
- -webkit-box-align: center;
11292
- -ms-flex-align: center;
11293
- align-items: center;
11294
- font-size: 40px;
11295
- top: 113px;
11296
- cursor: pointer;
11297
- line-height: 0;
11298
- }
11299
-
11300
- .wpr-horizontal-bottom .wpr-button-prev {
11301
- margin-left: -10px;
11302
- }
11303
-
11304
- .wpr-horizontal-bottom .wpr-button-next {
11305
- margin-right: -10px;
11306
- }
11307
-
11308
- .wpr-button-prev.swiper-button-disabled,
11309
- .wpr-button-next.swiper-button-disabled {
11310
- opacity: 0.35;
11311
- cursor: auto;
11312
- pointer-events: none;
11313
- }
11314
-
11315
-
11316
- /* Slider Styles */
11317
- .swiper-slide.auto-height {
11318
- height: auto;
11319
- }
11320
-
11321
- .wpr-horizontal-timeline .swiper-slide {
11322
- height: auto;
11323
- }
11324
-
11325
- .wpr-horizontal-bottom {
11326
- height: auto;
11327
- }
11328
-
11329
-
11330
- /* Horizontal Timeline */
11331
- .wpr-horizontal .wpr-year-wrap {
11332
- position: absolute;
11333
- display: table;
11334
- text-align: center;
11335
- bottom: 61px;
11336
- left: 12px;
11337
- height: 36px;
11338
- width: 72px;
11339
- vertical-align: middle;
11340
- border-radius: 6px;
11341
- overflow: hidden;
11342
- z-index: 1;
11343
- table-layout: fixed;
11344
- word-break: break-word;
11345
- background: rgb(255, 0, 179);
11346
- }
11347
-
11348
- .wpr-horizontal .wpr-year-label {
11349
- padding: 2px;
11350
- vertical-align: middle;
11351
- display: table-cell;
11352
- background: rgb(255, 0, 179);
11353
- }
11354
-
11355
- /* Extra Labels */
11356
- .wpr-timeline-centered .wpr-extra-label {
11357
- -webkit-transform: translateY(-50%) !important;
11358
- -ms-transform: translateY(-50%) !important;
11359
- transform: translateY(-50%) !important;
11360
- }
11361
-
11362
- .wpr-horizontal .wpr-extra-label {
11363
- position: absolute;
11364
- display: table;
11365
- width: 100%;
11366
- height: 80px;
11367
- overflow: hidden;
11368
- text-align: center;
11369
- vertical-align: middle;
11370
- left: 50%;
11371
- -webkit-transform: translateX(-50%);
11372
- -ms-transform: translateX(-50%);
11373
- transform: translateX(-50%);
11374
- }
11375
-
11376
- .wpr-horizontal .wpr-extra-label .wpr-label,
11377
- .wpr-horizontal .wpr-extra-label .wpr-sub-label {
11378
- display: inline-block;
11379
- width: 100%;
11380
- }
11381
-
11382
- /* Story Icon */
11383
- .wpr-horizontal .wpr-icon {
11384
- width: 40px;
11385
- height: 40px;
11386
- left: calc(50% - 20px);
11387
- text-align: center;
11388
- position: absolute;
11389
- display: block;
11390
- z-index: 100;
11391
- left: 50%;
11392
- -webkit-transform: translate(-50%, 50%);
11393
- -ms-transform: translate(-50%, 50%);
11394
- transform: translate(-50%, 50%);
11395
- }
11396
-
11397
- .wpr-horizontal .wpr-icon i {
11398
- line-height: 40px;
11399
- font-size: 26px;
11400
- }
11401
-
11402
- .wpr-horizontal .wpr-icon:empty {
11403
- width: 24px;
11404
- height: 24px;
11405
- bottom: 48px;
11406
- left: calc(50% - 12px);
11407
- }
11408
-
11409
-
11410
- /* Story Content Section */
11411
- .wpr-horizontal .wpr-story-info:before {
11412
- content: "";
11413
- display: block;
11414
- position: absolute;
11415
- left: calc(50% - 10px);
11416
- left: -o-calc(50% - 10px);
11417
- border-bottom-color: transparent !important;
11418
- bottom: -28px;
11419
- }
11420
-
11421
- .wpr-horizontal .wpr-story-info {
11422
- position: relative;
11423
- -webkit-box-pack: center;
11424
- -ms-flex-pack: center;
11425
- justify-content: center;
11426
- -webkit-transition: all 200ms ease-in;
11427
- -o-transition: all 200ms ease-in;
11428
- transition: all 200ms ease-in;
11429
- text-align: center;
11430
- -webkit-box-sizing: border-box;
11431
- box-sizing: border-box;
11432
- }
11433
-
11434
- .wpr-horizontal .wpr-title {
11435
- padding: 8px 8px 0;
11436
- font-size: 20px;
11437
- }
11438
-
11439
-
11440
- /* Middle Line */
11441
- .wpr-horizontal .wpr-swiper-pagination.swiper-pagination-progressbar {
11442
- position: absolute;
11443
- height: 2px;
11444
- left: 50%;
11445
- z-index: 0;
11446
- }
11447
-
11448
-
11449
- /* Next/Prev Buttons */
11450
- .wpr-horizontal .wpr-button-prev,
11451
- .wpr-horizontal .wpr-button-next {
11452
- position: absolute;
11453
- font-size: 40px;
11454
- cursor: pointer;
11455
- line-height: 0;
11456
- display: -webkit-box;
11457
- display: -ms-flexbox;
11458
- display: flex;
11459
- -webkit-box-pack: center;
11460
- -ms-flex-pack: center;
11461
- justify-content: center;
11462
- -webkit-box-align: center;
11463
- -ms-flex-align: center;
11464
- align-items: center;
11465
- }
11466
-
11467
- .wpr-horizontal .wpr-button-prev {
11468
- margin-left: -6px;
11469
- }
11470
-
11471
- .wpr-horizontal .wpr-button-next {
11472
- margin-right: -6px;
11473
- }
11474
-
11475
- .wpr-button-prev.swiper-button-disabled,
11476
- .wpr-button-next.swiper-button-disabled {
11477
- opacity: 0.55;
11478
- cursor: auto;
11479
- pointer-events: none;
11480
- }
11481
-
11482
- /* slider styles */
11483
- .wpr-wrapper .wpr-year {
11484
- font-size: 16px;
11485
- font-weight: bold;
11486
- line-height: 2.1em;
11487
- }
11488
-
11489
- .wpr-wrapper span.wpr-extra-label {
11490
- font-size: 15px;
11491
- font-weight: normal;
11492
- color: #7A7A7A;
11493
- }
11494
-
11495
- .wpr-wrapper span.wpr-title {
11496
- font-size: 20px;
11497
- font-weight: 600;
11498
- }
11499
-
11500
- .wpr-horizontal-bottom .wpr-story-info {
11501
- border-bottom: 4px solid #23A455;
11502
- }
11503
-
11504
- .wpr-horizontal-bottom .wpr-story-info:before {
11505
- border: 13px solid;
11506
- border-top-color: transparent;
11507
- border-left-color: transparent;
11508
- border-right-color: transparent;
11509
- }
11510
-
11511
- .wpr-left-aligned .wpr-data-wrap:after {
11512
- border-right-color: transparent !important;
11513
- }
11514
-
11515
- .wpr-wrapper span.wpr-extra-label {
11516
- font-size: 15px;
11517
- font-weight: normal;
11518
- color: #7A7A7A;
11519
- }
11520
-
11521
- .wpr-wrapper a.wpr-title {
11522
- font-size: 24px;
11523
- font-weight: bold;
11524
- }
11525
-
11526
- .wpr-horizontal .wpr-story-info {
11527
- border-bottom: 4px solid #23A455;
11528
- }
11529
-
11530
- .wpr-horizontal .wpr-story-info:before {
11531
- border: 13px solid transparent;
11532
- }
11533
-
11534
- .wpr-horizontal .wpr-timeline-prev-arrow {
11535
- left: 1%;
11536
- -webkit-transform: translateY(50%);
11537
- -ms-transform: translateY(50%);
11538
- transform: translateY(50%);
11539
- }
11540
-
11541
- .wpr-horizontal .wpr-timeline-next-arrow {
11542
- right: 1%;
11543
- -webkit-transform: translateY(50%) rotate(180deg);
11544
- -ms-transform: translateY(50%) rotate(180deg);
11545
- transform: translateY(50%) rotate(180deg);
11546
- }
11547
-
11548
- .wpr-horizontal-bottom .wpr-timeline-prev-arrow {
11549
- left: 1%;
11550
- -webkit-transform: translateY(-50%);
11551
- -ms-transform: translateY(-50%);
11552
- transform: translateY(-50%);
11553
- }
11554
-
11555
- .wpr-horizontal-bottom .wpr-timeline-next-arrow {
11556
- right: 1%;
11557
- -webkit-transform: translateY(-50%) rotate(180deg);
11558
- -ms-transform: translateY(-50%) rotate(180deg);
11559
- transform: translateY(-50%) rotate(180deg);
11560
- }
11561
-
11562
- @media screen and (max-width: 767px) {
11563
- .wpr-timeline-centered.wpr-both-sided-timeline .wpr-timeline-entry {
11564
- float: none;
11565
- width: 100%;
11566
- }
11567
- .wpr-timeline-centered .wpr-right-aligned .wpr-icon {
11568
- -webkit-transform: translate(-50%, -50%) !important;
11569
- -ms-transform: translate(-50%, -50%) !important;
11570
- transform: translate(-50%, -50%) !important;
11571
- }
11572
- .wpr-one-sided-timeline .wpr-extra-label {
11573
- position: static !important;
11574
- -webkit-transform: none !important;
11575
- -ms-transform: none !important;
11576
- transform: none !important;
11577
- display: block;
11578
- margin-bottom: 10px;
11579
- }
11580
- .wpr-right-aligned .wpr-extra-label .wpr-label {
11581
- text-align: left !important;
11582
- }
11583
- }
11584
-
11585
-
11586
- /*--------------------------------------------------------------
11587
- == Lottie Animations
11588
- --------------------------------------------------------------*/
11589
- .wpr-lottie-animations-wrapper {
11590
- min-height: 1px;
11591
- }
11592
-
11593
- /* ----------------------------------
11594
- == Flip Carousel
11595
- ------------------------------------ */
11596
- .wpr-flip-carousel-wrapper {
11597
- min-height: 1px;
11598
- }
11599
-
11600
- .wpr-flip-carousel {
11601
- overflow: hidden !important;
11602
- opacity: 0;
11603
- }
11604
-
11605
- .wpr-flip-items-wrapper img {
11606
- margin: auto;
11607
- }
11608
-
11609
- .wpr-flip-items-wrapper {
11610
- list-style-type: none;
11611
- }
11612
-
11613
- .wpr-flip-carousel ul li.flipster__item {
11614
- margin: auto;
11615
- }
11616
-
11617
- .wpr-flip-carousel ul li.flipster__item img {
11618
- width: 100%;
11619
- }
11620
-
11621
- .wpr-flip-carousel .flipster__nav {
11622
- margin: 0;
11623
- }
11624
-
11625
- .wpr-flip-carousel .flipster__button,
11626
- .wpr-flip-carousel .flipcaption,
11627
- .wpr-flip-carousel .flipster__nav__link {
11628
- display: -webkit-box;
11629
- display: -ms-flexbox;
11630
- display: flex;
11631
- -webkit-box-pack: center;
11632
- -ms-flex-pack: center;
11633
- justify-content: center;
11634
- -webkit-box-align: center;
11635
- -ms-flex-align: center;
11636
- align-items: center;
11637
- text-align: center;
11638
- outline: none;
11639
- }
11640
-
11641
- .wpr-flip-carousel .flipster__button {
11642
- opacity: 1;
11643
- }
11644
-
11645
- .wpr-flip-carousel .flipster__nav__link {
11646
- width: 100%;
11647
- height: 100%;
11648
- padding: 0;
11649
- }
11650
-
11651
- .wpr-flip-carousel .flipster__nav__link::after {
11652
- display: none;
11653
- }
11654
-
11655
- .wpr-flip-carousel-navigation {
11656
- display: -webkit-box;
11657
- display: -ms-flexbox;
11658
- display: flex;
11659
- -webkit-box-pack: center;
11660
- -ms-flex-pack: center;
11661
- justify-content: center;
11662
- -webkit-box-align: center;
11663
- -ms-flex-align: center;
11664
- align-items: center;
11665
- text-align: center;
11666
- }
11667
-
11668
- @media screen and (max-width: 768px) {
11669
- .wpr-flip-carousel ul li.flipster__item {
11670
- width: 70%;
11671
- }
11672
- }
11673
-
11674
- /*--------------------------------------------------------------
11675
- == Dual Color Heading
11676
- --------------------------------------------------------------*/
11677
- .wpr-dual-heading-icon-and-desc-top .wpr-dual-heading-wrap {
11678
- display: -webkit-box;
11679
- display: -ms-flexbox;
11680
- display: flex;
11681
- -webkit-box-orient: vertical;
11682
- -webkit-box-direction: reverse;
11683
- -ms-flex-direction: column-reverse;
11684
- flex-direction: column-reverse;
11685
- }
11686
-
11687
- .wpr-dual-heading-icon-top .wpr-dual-heading-wrap {
11688
- display: -webkit-box;
11689
- display: -ms-flexbox;
11690
- display: flex;
11691
- -webkit-box-orient: vertical;
11692
- -webkit-box-direction: normal;
11693
- -ms-flex-direction: column;
11694
- flex-direction: column;
11695
- }
11696
-
11697
- .wpr-dual-heading-icon-top .wpr-dual-heading-icon-wrap {
11698
- -webkit-box-ordinal-group: 0;
11699
- -ms-flex-order: -1;
11700
- order: -1;
11701
- }
11702
-
11703
- .wpr-dual-heading-desc-top .wpr-dual-heading-wrap {
11704
- display: -webkit-box;
11705
- display: -ms-flexbox;
11706
- display: flex;
11707
- -webkit-box-orient: vertical;
11708
- -webkit-box-direction: normal;
11709
- -ms-flex-direction: column;
11710
- flex-direction: column;
11711
- }
11712
-
11713
- .wpr-dual-heading-desc-top .wpr-dual-heading-description {
11714
- -webkit-box-ordinal-group: 0;
11715
- -ms-flex-order: -1;
11716
- order: -1;
11717
- }
11718
-
11719
- .wpr-dual-title {
11720
- margin: 0;
11721
- }
11722
-
11723
- .wpr-dual-title .first,
11724
- .wpr-dual-title .second {
11725
- display: inline-block;
11726
- }
11727
-
11728
- /*--------------------------------------------------------------
11729
- == Taxonomy List
11730
- --------------------------------------------------------------*/
11731
- .wpr-taxonomy-list {
11732
- display: -webkit-box;
11733
- display: -ms-flexbox;
11734
- display: flex;
11735
- list-style: none;
11736
- padding: 0;
11737
- margin: 0;
11738
- }
11739
-
11740
- .wpr-taxonomy-list li {
11741
- text-align: left;
11742
- }
11743
-
11744
- .wpr-taxonomy-list li a {
11745
- display: inline-block;
11746
- text-decoration: none;
11747
- }
11748
-
11749
- .wpr-taxonomy-list i {
11750
- display: block;
11751
- width: 100%;
11752
- height: 100%;
11753
- }
11754
-
11755
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list i,
11756
- .wpr-taxonomy-list span {
11757
- line-height: 1.5;
11758
- vertical-align: middle;
11759
- }
11760
-
11761
- .wpr-taxonomy-list-horizontal .wpr-taxonomy-list li a,
11762
- .wpr-taxonomy-list .wpr-tax-wrap {
11763
- display: -webkit-inline-box;
11764
- display: -ms-inline-flexbox;
11765
- display: inline-flex;
11766
- -webkit-box-pack: center;
11767
- -ms-flex-pack: center;
11768
- justify-content: center;
11769
- -webkit-box-align: center;
11770
- -ms-flex-align: center;
11771
- align-items: center;
11772
- }
11773
-
11774
- .wpr-term-count {
11775
- display: block;
11776
- /* vertical-align: middle; */
11777
- }
11778
-
11779
- .wpr-taxonomy-list-horizontal .wpr-taxonomy-list {
11780
- -ms-flex-wrap: wrap;
11781
- flex-wrap: wrap;
11782
- }
11783
-
11784
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list {
11785
- -webkit-box-orient: vertical;
11786
- -webkit-box-direction: normal;
11787
- -ms-flex-direction: column;
11788
- flex-direction: column;
11789
- }
11790
-
11791
- .wpr-taxonomy-list-vertical .wpr-taxonomy-list li a {
11792
- display: -webkit-box;
11793
- display: -ms-flexbox;
11794
- display: flex;
11795
- -webkit-box-pack: justify;
11796
- -ms-flex-pack: justify;
11797
- justify-content: space-between;
11798
- -webkit-box-align: center;
11799
- -ms-flex-align: center;
11800
- align-items: center;
11801
- }
11802
-
11803
- .wpr-taxonomy-list-vertical .wpr-sub-taxonomy {
11804
- padding-left: 20px;
11805
- }
11806
-
11807
- /*--------------------------------------------------------------
11808
- == Feature List
11809
- --------------------------------------------------------------*/
11810
-
11811
- .wpr-feature-list-left .wpr-feature-list-item {
11812
- display: -webkit-box;
11813
- display: -ms-flexbox;
11814
- display: flex;
11815
- -webkit-box-align: center;
11816
- -ms-flex-align: center;
11817
- align-items: center;
11818
- }
11819
-
11820
- .wpr-feature-list-center .wpr-feature-list-item {
11821
- display: -webkit-box;
11822
- display: -ms-flexbox;
11823
- display: flex;
11824
- -webkit-box-orient: vertical;
11825
- -webkit-box-direction: normal;
11826
- -ms-flex-direction: column;
11827
- flex-direction: column;
11828
- -webkit-box-align: center;
11829
- -ms-flex-align: center;
11830
- align-items: center;
11831
- }
11832
-
11833
- .wpr-feature-list-center .wpr-feature-list-content-wrap {
11834
- text-align: center;
11835
- }
11836
-
11837
- .wpr-feature-list-right .wpr-feature-list-item {
11838
- display: -webkit-box;
11839
- display: -ms-flexbox;
11840
- display: flex;
11841
- -webkit-box-align: center;
11842
- -ms-flex-align: center;
11843
- align-items: center;
11844
- -webkit-box-orient: horizontal;
11845
- -webkit-box-direction: reverse;
11846
- -ms-flex-direction: row-reverse;
11847
- flex-direction: row-reverse;
11848
- }
11849
-
11850
- .wpr-feature-list-right .wpr-feature-list-content-wrap {
11851
- text-align: right;
11852
- }
11853
-
11854
- .wpr-feature-list-align-flex-start .wpr-feature-list-title,
11855
- .wpr-feature-list-align-flex-start .wpr-feature-list-description {
11856
- text-align: left;
11857
- }
11858
-
11859
- .wpr-feature-list-align-flex-end .wpr-feature-list-title,
11860
- .wpr-feature-list-align-flex-end .wpr-feature-list-description {
11861
- text-align: right;
11862
- }
11863
-
11864
- .wpr-feature-list-rhombus .wpr-feature-list-icon-inner-wrap {
11865
- -webkit-transform: rotate(45deg);
11866
- -ms-transform: rotate(45deg);
11867
- transform: rotate(45deg);
11868
- }
11869
-
11870
- .wpr-feature-list-rhombus .wpr-feature-list-icon-wrap i,
11871
- .wpr-feature-list-rhombus .wpr-feature-list-icon-wrap img {
11872
- -webkit-transform: rotate(-45deg);
11873
- -ms-transform: rotate(-45deg);
11874
- transform: rotate(-45deg);
11875
- }
11876
-
11877
- .wpr-feature-list-wrap .wpr-feature-list-icon-inner-wrap {
11878
- display: -webkit-box;
11879
- display: -ms-flexbox;
11880
- display: flex;
11881
- -webkit-box-pack: center;
11882
- -ms-flex-pack: center;
11883
- justify-content: center;
11884
- -webkit-box-align: center;
11885
- -ms-flex-align: center;
11886
- align-items: center;
11887
- overflow: hidden;
11888
- }
11889
-
11890
- .wpr-feature-list {
11891
- padding: 0;
11892
- }
11893
-
11894
- .wpr-feature-list-line-yes .wpr-feature-list-icon-wrap {
11895
- position: relative;
11896
- }
11897
-
11898
- .wpr-feature-list-icon-wrap img {
11899
- width: 100%;
11900
- max-width: 100%;
11901
- }
11902
-
11903
- .wpr-feature-list-center .wpr-feature-list-line {
11904
- display: none;
11905
- }
11906
-
11907
- .wpr-feature-list-item:not(:last-of-type) .wpr-feature-list-line {
11908
- position: absolute;
11909
- top: 100%;
11910
- left: 50%;
11911
- -webkit-transform: translateX(-50%);
11912
- -ms-transform: translateX(-50%);
11913
- transform: translateX(-50%);
11914
- width: 0;
11915
- height: 0;
11916
- }
11917
-
11918
- .wpr-feature-list-item:last-of-type .wpr-feature-list-line {
11919
- display: none;
11920
- }
11921
-
11922
- .wpr-feature-list-title,
11923
- .wpr-feature-list-description {
11924
- margin: 0;
11925
- }
11926
-
11927
- /*--------------------------------------------------------------
11928
- == Section Extensions
11929
- --------------------------------------------------------------*/
11930
- .wpr-particle-wrapper {
11931
- position: absolute;
11932
- top: 0;
11933
- left: 0;
11934
- width: 100%;
11935
- height: 100%;
11936
- z-index: 0;
11937
- }
11938
-
11939
- .wpr-particle-wrapper canvas {
11940
- position: relative;
11941
- z-index: -1;
11942
- }
11943
-
11944
- .wpr-jarallax {
11945
- position: relative;
11946
- -webkit-transition: all 0.9s ease-in-out;
11947
- -o-transition: all 0.9s ease-in-out;
11948
- transition: all 0.9s ease-in-out;
11949
- }
11950
-
11951
- .wpr-parallax-multi-layer {
11952
- position: absolute;
11953
- top: 0;
11954
- left: 0;
11955
- height: 100%;
11956
- width: 100%;
11957
- }
11958
-
11959
- .wpr-parallax-ml-children {
11960
- position: relative;
11961
- display: none;
11962
- }
11963
-
11964
- .wpr-parallax-ml-children img {
11965
- max-width: 100%;
11966
- width: 100%;
11967
- }
11968
-
11969
- .wpr-sticky-section-yes {
11970
- width: 100%;
11971
- }
11972
-
11973
- .wpr-reading-progress-bar-container {
11974
- position: fixed;
11975
- top: 0;
11976
- left: 0;
11977
- width: 100%;
11978
- z-index: 9999999;
11979
- background-color: transparent;
11980
- }
11981
-
11982
- .wpr-reading-progress-bar {
11983
- background-color: black;
11984
- width: 0%;
11985
- }
11986
-
11987
- /*--------------------------------------------------------------
11988
- == Single Product Elements (Woocommerce Widgets)
11989
- --------------------------------------------------------------*/
11990
-
11991
- /* Product Title */
11992
- .wpr-product-title {
11993
- margin: 0;
11994
- }
11995
-
11996
- /* Product Stock */
11997
- .wpr-product-stock p {
11998
- margin-bottom: 0;
11999
- }
12000
-
12001
- /* Product Mini Cart */
12002
- .wpr-mini-cart-sidebar-body {
12003
- /* transition-duration: 1s;
12004
- overflow: hidden; */
12005
- }
12006
-
12007
- ul.wpr-woo-mini-cart {
12008
- position: relative;
12009
- /* overflow: auto; */
12010
- /* overflow: -moz-scrollbars-none; */
12011
- /* scrollbar-width: none; */
12012
- }
12013
-
12014
- .wpr-mini-cart .woocommerce-mini-cart::-webkit-scrollbar {
12015
- width: 9px;
12016
- background-color: transparent;
12017
- }
12018
-
12019
- .wpr-mini-cart .woocommerce-mini-cart::-webkit-scrollbar-thumb {
12020
- /* border-left: 6px solid transparent; */
12021
- border-right: 3px solid;
12022
- }
12023
-
12024
- .wpr-mini-cart .woocommerce-mini-cart__empty-message {
12025
- text-align: center;
12026
- margin: 0;
12027
- }
12028
-
12029
- .wpr-mini-cart-inner {
12030
- position: relative;
12031
- display: inline-block;
12032
- }
12033
-
12034
- .wpr-mini-cart {
12035
- position: absolute;
12036
- display: none;
12037
- top: 100%;
12038
- z-index: 999;
12039
- }
12040
-
12041
- .wpr-mini-cart .blockOverlay {
12042
- display: none !important;
12043
- }
12044
-
12045
- .wpr-before-remove-from-mini-cart {
12046
- opacity: 0.6;
12047
- }
12048
-
12049
- .wpr-close-cart {
12050
- display: none;
12051
- }
12052
-
12053
- .wpr-mini-cart-sidebar.wpr-close-btn-yes .wpr-close-cart {
12054
- display: -webkit-box;
12055
- display: -ms-flexbox;
12056
- display: flex;
12057
- -webkit-box-pack: justify;
12058
- -ms-flex-pack: justify;
12059
- justify-content: space-between;
12060
- -webkit-box-align: center;
12061
- -ms-flex-align: center;
12062
- align-items: center;
12063
- }
12064
-
12065
- .wpr-mini-cart-sidebar .wpr-close-cart h2 {
12066
- margin: 0;
12067
- }
12068
-
12069
- .wpr-close-cart span::before {
12070
- font-family: "Font Awesome 5 Free";
12071
- content: '\f00d';
12072
- font-weight: 600;
12073
- cursor: pointer;
12074
- }
12075
-
12076
- .wpr-mini-cart-sidebar .wpr-mini-cart {
12077
- background-color: transparent !important;
12078
- }
12079
-
12080
- .wpr-mini-cart-sidebar .wpr-mini-cart,
12081
- .wpr-mini-cart-sidebar .wpr-shopping-cart-wrap {
12082
- position: fixed;
12083
- top: 0;
12084
- left: 0;
12085
- width: 100% !important;
12086
- height: 100%;
12087
- z-index: 999;
12088
- margin: 0 !important;
12089
- }
12090
-
12091
- .wpr-mini-cart-sidebar .wpr-shopping-cart-inner-wrap {
12092
- position: absolute;
12093
- top: 0;
12094
- -webkit-transition: all 1s ease;
12095
- -o-transition: all 1s ease;
12096
- transition: all 1s ease;
12097
- height: 100%;
12098
- display: -webkit-box;
12099
- display: -ms-flexbox;
12100
- display: flex;
12101
- -webkit-box-orient: vertical;
12102
- -webkit-box-direction: normal;
12103
- -ms-flex-direction: column;
12104
- flex-direction: column;
12105
- }
12106
-
12107
- .wpr-mini-cart-sidebar .widget_shopping_cart_content {
12108
- position: relative;
12109
- top: 0;
12110
- -webkit-transition: all 1s ease;
12111
- -o-transition: all 1s ease;
12112
- transition: all 1s ease;
12113
- height: auto;
12114
- -webkit-box-flex: 1;
12115
- -ms-flex: 1;
12116
- flex: 1;
12117
- }
12118
-
12119
- .wpr-subtotal-align-bottom.wpr-mini-cart-sidebar .widget_shopping_cart_content {
12120
- display: -webkit-box;
12121
- display: -ms-flexbox;
12122
- display: flex;
12123
- -webkit-box-orient: vertical;
12124
- -webkit-box-direction: normal;
12125
- -ms-flex-direction: column;
12126
- flex-direction: column;
12127
- }
12128
-
12129
- .wpr-mini-cart-dropdown .wpr-mini-cart-separator {
12130
- display: none;
12131
- }
12132
-
12133
- .wpr-subtotal-align-bottom .wpr-mini-cart-separator {
12134
- -webkit-box-flex: 1;
12135
- -ms-flex: 1;
12136
- flex: 1;
12137
- }
12138
-
12139
- @-webkit-keyframes mini-cart-slide-in-align-left {
12140
- 0% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12141
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12142
- }
12143
-
12144
- @keyframes mini-cart-slide-in-align-left {
12145
- 0% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12146
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12147
- }
12148
-
12149
- @-webkit-keyframes mini-cart-slide-out-align-left {
12150
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12151
- 100% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12152
- }
12153
-
12154
- @keyframes mini-cart-slide-out-align-left {
12155
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12156
- 100% {-webkit-transform: translateX(-100%);transform: translateX(-100%);}
12157
- }
12158
-
12159
- @-webkit-keyframes mini-cart-slide-in-align-right {
12160
- 0% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12161
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12162
- }
12163
-
12164
- @keyframes mini-cart-slide-in-align-right {
12165
- 0% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12166
- 100% {-webkit-transform: translateX(0);transform: translateX(0);}
12167
- }
12168
-
12169
- @-webkit-keyframes mini-cart-slide-out-align-right {
12170
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12171
- 100% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12172
- }
12173
-
12174
- @keyframes mini-cart-slide-out-align-right {
12175
- 0% {-webkit-transform: translateX(0);transform: translateX(0);}
12176
- 100% {-webkit-transform: translateX(100%);transform: translateX(100%);}
12177
- }
12178
-
12179
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-right .wpr-mini-cart-slide-in {
12180
- -webkit-transform: translateX(0);
12181
- -ms-transform: translateX(0);
12182
- transform: translateX(0);
12183
- -webkit-animation-name: mini-cart-slide-in-align-right;
12184
- animation-name: mini-cart-slide-in-align-right;
12185
- -webkit-animation-duration: 0.6s;
12186
- animation-duration: 0.6s;
12187
- -webkit-animation-fill-mode: forwards;
12188
- animation-fill-mode: forwards;
12189
- }
12190
-
12191
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-right .wpr-mini-cart-slide-out {
12192
- -webkit-transform: translateX(100%);
12193
- -ms-transform: translateX(100%);
12194
- transform: translateX(100%);
12195
- -webkit-animation-name: mini-cart-slide-out-align-right;
12196
- animation-name: mini-cart-slide-out-align-right;
12197
- -webkit-animation-duration: 0.6s;
12198
- animation-duration: 0.6s;
12199
- -webkit-animation-fill-mode: forwards;
12200
- animation-fill-mode: forwards;
12201
- }
12202
-
12203
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-left .wpr-mini-cart-slide-in {
12204
- -webkit-transform: translateX(0);
12205
- -ms-transform: translateX(0);
12206
- transform: translateX(0);
12207
- -webkit-animation-name: mini-cart-slide-in-align-left;
12208
- animation-name: mini-cart-slide-in-align-left;
12209
- -webkit-animation-duration: 0.6s;
12210
- animation-duration: 0.6s;
12211
- -webkit-animation-fill-mode: forwards;
12212
- animation-fill-mode: forwards;
12213
- }
12214
-
12215
- .wpr-mini-cart-sidebar.wpr-mini-cart-align-left .wpr-mini-cart-slide-out {
12216
- -webkit-transform: translateX(100%);
12217
- -ms-transform: translateX(100%);
12218
- transform: translateX(100%);
12219
- -webkit-animation-name: mini-cart-slide-out-align-left;
12220
- animation-name: mini-cart-slide-out-align-left;
12221
- -webkit-animation-duration: 0.6s;
12222
- animation-duration: 0.6s;
12223
- -webkit-animation-fill-mode: forwards;
12224
- animation-fill-mode: forwards;
12225
- }
12226
-
12227
- .wpr-mini-cart-btn-icon i {
12228
- position: relative;
12229
- }
12230
-
12231
- .wpr-mini-cart-icon-count {
12232
- position: absolute;
12233
- display: -webkit-inline-box;
12234
- display: -ms-inline-flexbox;
12235
- display: inline-flex;
12236
- -webkit-box-pack: center;
12237
- -ms-flex-pack: center;
12238
- justify-content: center;
12239
- -webkit-box-align: center;
12240
- -ms-flex-align: center;
12241
- align-items: center;
12242
- border-radius: 50%;
12243
- }
12244
-
12245
- .wpr-mini-cart-icon-count-hidden {
12246
- display: none !important;
12247
- }
12248
-
12249
- .wpr-mini-cart-toggle-btn {
12250
- display: -webkit-inline-box;
12251
- display: -ms-inline-flexbox;
12252
- display: inline-flex;
12253
- -webkit-box-align: center;
12254
- -ms-flex-align: center;
12255
- align-items: center;
12256
- }
12257
-
12258
- .wpr-toggle-icon-none .wpr-mini-cart-btn-icon i::before {
12259
- content: "";
12260
- }
12261
-
12262
- .wpr-toggle-icon-bag-light .wpr-mini-cart-btn-icon i::before {
12263
- content: "\e8e3";
12264
- }
12265
-
12266
- .wpr-toggle-icon-bag-medium .wpr-mini-cart-btn-icon i::before {
12267
- content: "\e8e4";
12268
- }
12269
-
12270
- .wpr-toggle-icon-bag-solid .wpr-mini-cart-btn-icon i::before {
12271
- content: "\e8e5";
12272
- }
12273
-
12274
- .wpr-toggle-icon-basket-light .wpr-mini-cart-btn-icon i::before {
12275
- content: "\e8e6";
12276
- }
12277
-
12278
- .wpr-toggle-icon-basket-medium .wpr-mini-cart-btn-icon i::before {
12279
- content: "\e8e7";
12280
- }
12281
-
12282
- .wpr-toggle-icon-basket-solid .wpr-mini-cart-btn-icon i::before {
12283
- content: "\e8e8";
12284
- }
12285
-
12286
- .wpr-toggle-icon-cart-light .wpr-mini-cart-btn-icon i::before {
12287
- content: "\e8e9";
12288
- }
12289
-
12290
- .wpr-toggle-icon-cart-medium .wpr-mini-cart-btn-icon i::before {
12291
- content: "\e8ea";
12292
- }
12293
-
12294
- .wpr-toggle-icon-cart-solid .wpr-mini-cart-btn-icon i::before {
12295
- content: "\e8eb";
12296
- }
12297
-
12298
- .wpr-mini-cart .woocommerce-mini-cart-item.mini_cart_item:before,
12299
- .wpr-mini-cart .woocommerce-mini-cart-item.mini_cart_item:after {
12300
- display: none;
12301
- }
12302
-
12303
- .wpr-woo-mini-cart .woocommerce-mini-cart-item:last-of-type {
12304
- margin-bottom: 0 !important;
12305
- }
12306
-
12307
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item {
12308
- position: relative;
12309
- display: -ms-grid;
12310
- display: grid;
12311
- -ms-grid-columns: 28% auto;
12312
- grid-template-columns: 28% auto;
12313
- width: 100%;
12314
- text-align: left;
12315
- }
12316
-
12317
- .wpr-mini-cart-image {
12318
- margin-right: 15px;
12319
- }
12320
-
12321
- .wpr-mini-cart-image a {
12322
- display: block;
12323
- width: 100%;
12324
- height: 100%;
12325
- }
12326
-
12327
- .wpr-mini-cart-image img,
12328
- .wpr-mini-cart-image a img {
12329
- float: none !important;
12330
- display: block;
12331
- min-width: 100%;
12332
- height: auto;
12333
- margin-left: 0 !important;
12334
- }
12335
-
12336
- .wpr-mini-cart-remove {
12337
- position: absolute;
12338
- right: 0;
12339
- }
12340
-
12341
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item .remove {
12342
- position: relative;
12343
- display: -webkit-box !important;
12344
- display: -ms-flexbox !important;
12345
- display: flex !important;
12346
- -webkit-box-pack: center;
12347
- -ms-flex-pack: center;
12348
- justify-content: center;
12349
- -ms-flex-line-pack: center;
12350
- align-content: center;
12351
- vertical-align: middle;
12352
- text-indent: -9999px;
12353
- }
12354
-
12355
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item a.remove:before {
12356
- font-family: "Font Awesome 5 Free";
12357
- content: '\f00d';
12358
- position: absolute;
12359
- top: 50%;
12360
- -webkit-transform: translateY(-50%);
12361
- -ms-transform: translateY(-50%);
12362
- transform: translateY(-50%);
12363
- text-indent: 0;
12364
- font-weight: 600 !important;
12365
- }
12366
-
12367
- .wpr-mini-cart-wrap .woocommerce-mini-cart-item .remove:hover {
12368
- background-color: transparent;
12369
- color: black;
12370
- }
12371
-
12372
- .wpr-mini-cart-wrap .woocommerce-mini-cart__buttons {
12373
- display: -webkit-box;
12374
- display: -ms-flexbox;
12375
- display: flex;
12376
- -webkit-box-pack: justify;
12377
- -ms-flex-pack: justify;
12378
- justify-content: space-between;
12379
- margin: 0;
12380
- }
12381
-
12382
- .wpr-mini-cart-wrap .woocommerce-mini-cart__buttons a.button {
12383
- width: 50%;
12384
- text-align: center;
12385
- margin: 0;
12386
- }
12387
-
12388
- .wpr-mini-cart .woocommerce-mini-cart__total {
12389
- text-align: center;
12390
- padding: 10px;
12391
- margin: 0;
12392
- }
12393
-
12394
- .wpr-mini-cart dl.variation,
12395
- .wpr-cart-wrapper dl.variation {
12396
- display: -ms-grid !important;
12397
- display: grid !important;
12398
- -ms-grid-columns: 25% 75% !important;
12399
- grid-template-columns: 25% 75% !important;
12400
- }
12401
-
12402
- .wpr-mini-cart dl.variation:before,
12403
- .wpr-cart-wrapper dl.variation:before,
12404
- .wpr-mini-cart dl.variation:after,
12405
- .wpr-cart-wrapper dl.variation:after {
12406
- display: none !important;
12407
- }
12408
-
12409
- .wpr-mini-cart dl.variation dt,
12410
- .wpr-mini-cart dl.variation dd,
12411
- .wpr-cart-wrapper dl.variation dt,
12412
- .wpr-cart-wrapper dl.variation dd {
12413
- float: none !important;
12414
- margin: 0 !important;
12415
- }
12416
-
12417
- dl.variation dd {
12418
- margin-right: 10px !important;
12419
- }
12420
-
12421
- /* Product Media */
12422
- .wpr-product-media-wrap {
12423
- position: relative;
12424
- display: inline-block;
12425
- max-width: 100%;
12426
- }
12427
-
12428
- .wpr-product-media-image {
12429
- display: inline-block;
12430
- position: relative;
12431
- vertical-align: middle;
12432
- overflow: hidden;
12433
- }
12434
-
12435
- .wpr-product-media-caption {
12436
- position: absolute;
12437
- display: -webkit-box;
12438
- display: -ms-flexbox;
12439
- display: flex;
12440
- width: 100%;
12441
- height: 100%;
12442
- }
12443
-
12444
- .wpr-product-media-caption span {
12445
- display: inline-block;
12446
- }
12447
-
12448
- .wpr-pd-image-caption-hover .wpr-product-media-wrap .wpr-product-media-caption {
12449
- opacity: 0;
12450
- -webkit-transition-property: opacity;
12451
- -o-transition-property: opacity;
12452
- transition-property: opacity;
12453
- }
12454
-
12455
- .wpr-pd-image-caption-hover .wpr-product-media-wrap:hover .wpr-product-media-caption {
12456
- opacity: 1;
12457
- }
12458
-
12459
- .wpr-product-media-wrap .slick-track {
12460
- margin: 0;
12461
- }
12462
-
12463
- .wpr-product-thumb-nav {
12464
- display: -webkit-box;
12465
- display: -ms-flexbox;
12466
- display: flex;
12467
- padding: 0;
12468
- margin: 0;
12469
- list-style: none;
12470
- }
12471
-
12472
- .wpr-product-thumb-nav li {
12473
- overflow: hidden;
12474
- cursor: pointer;
12475
- opacity: 0.75;
12476
- }
12477
-
12478
- .wpr-product-thumb-nav li.slick-current {
12479
- opacity: 1;
12480
- }
12481
-
12482
- .wpr-product-thumb-nav li img {
12483
- width: 100%;
12484
- }
12485
-
12486
- .wpr-gallery-lightbox-yes .wpr-product-media-image {
12487
- cursor: pointer;
12488
- }
12489
-
12490
- .wpr-gallery-zoom-yes .wpr-product-media-image:hover img {
12491
- -webkit-transform: scale(1.5);
12492
- -ms-transform: scale(1.5);
12493
- transform: scale(1.5);
12494
- }
12495
-
12496
- .wpr-product-media-onsale {
12497
- position: absolute;
12498
- top: 0;
12499
- left: 0;
12500
- z-index: 2;
12501
- }
12502
-
12503
- .wpr-product-media-wrap .flex-control-thumbs {
12504
- list-style-type: none;
12505
- cursor: pointer;
12506
- }
12507
-
12508
- .wpr-product-media-wrap .flex-control-thumbs li {
12509
- clear: none !important;
12510
- width: 100% !important;
12511
- }
12512
-
12513
- .wpr-product-media-wrap .swiper {
12514
- overflow: hidden;
12515
- }
12516
-
12517
- /* Product Media 2 */
12518
- .wpr-product-media-wrap .woocommerce-product-gallery {
12519
- width: 100%;
12520
- }
12521
-
12522
- .woocommerce [data-elementor-type="wpr-theme-builder"] #content div.product div.images,
12523
- .woocommerce div.product[data-elementor-type="wpr-theme-builder"] div.images,
12524
- .woocommerce-page [data-elementor-type="wpr-theme-builder"] #content div.product div.images,
12525
- .woocommerce-page div.product[data-elementor-type="wpr-theme-builder"] div.images {
12526
- float: none;
12527
- width: 100%;
12528
- height: auto;
12529
- margin-bottom: 0;
12530
- }
12531
-
12532
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav {
12533
- position: absolute;
12534
- top: 90%;
12535
- /* transform: translateY(-50%); */
12536
- z-index: -9;
12537
- opacity: 0;
12538
- display: -webkit-box;
12539
- display: -ms-flexbox;
12540
- display: flex;
12541
- -webkit-box-pack: justify;
12542
- -ms-flex-pack: justify;
12543
- justify-content: space-between;
12544
- -webkit-box-align: center;
12545
- -ms-flex-align: center;
12546
- align-items: center;
12547
- width: 100%;
12548
- left: 0;
12549
- margin: 0;
12550
- padding: 0px;
12551
- list-style: none;
12552
- }
12553
-
12554
- .wpr-product-media-wrap .flex-direction-nav li {
12555
- /* background: rgba(96, 91, 229, 0.87); */
12556
- position: relative;
12557
- }
12558
-
12559
- [data-elementor-type="wpr-theme-builder"] .wpr-product-media-wrap a.flex-next {
12560
- visibility:hidden;
12561
- overflow: hidden;
12562
- }
12563
- [data-elementor-type="wpr-theme-builder"] .wpr-product-media-wrap a.flex-prev {
12564
- visibility:hidden;
12565
- overflow: hidden;
12566
- }
12567
-
12568
- [data-elementor-type="wpr-theme-builder"] a.flex-next::after {
12569
- visibility:visible;
12570
- content: '\f054';
12571
- font-family: 'Font Awesome 5 Free';
12572
- position: absolute;
12573
- top: 0;
12574
- right: 0;
12575
- }
12576
-
12577
- [data-elementor-type="wpr-theme-builder"] a.flex-prev::before {
12578
- visibility:visible;
12579
- content: '\f053';
12580
- font-family: 'Font Awesome 5 Free';
12581
- position: absolute;
12582
- top: 0;
12583
- left: 0;
12584
- }
12585
-
12586
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav li a {
12587
- color: #ccc;
12588
- }
12589
-
12590
- [data-elementor-type="wpr-theme-builder"] ul.flex-direction-nav li a:hover {
12591
- text-decoration: none;
12592
- }
12593
-
12594
- .wpr-product-media-wrap .wpr-product-sales-badge {
12595
- position: absolute;
12596
- top: 0;
12597
- left: 0;
12598
- z-index: 2;
12599
- display: inline-block;
12600
- }
12601
-
12602
- .wpr-product-media-wrap .wpr-product-media-lightbox,
12603
- .woocommerce div.product[data-elementor-type="wpr-theme-builder"] div.images .woocommerce-product-gallery__trigger {
12604
- position: absolute;
12605
- top: 0;
12606
- right: 0;
12607
- }
12608
-
12609
- .wpr-product-media-wrap .woocommerce-product-gallery__trigger {
12610
- display: none;
12611
- opacity: 0 !important;
12612
- z-index: 99;
12613
- }
12614
-
12615
- .pswp__caption__center {
12616
- text-align: center;
12617
- }
12618
-
12619
- /* Product Tabs */
12620
- .wpr-product-tabs p {
12621
- margin: 0;
12622
- }
12623
-
12624
- .wpr-product-tabs ol,
12625
- .wpr-product-tabs ul {
12626
- padding: 0;
12627
- }
12628
-
12629
- .wpr-product-tabs .woocommerce-noreviews {
12630
- margin-bottom: 10px;
12631
- }
12632
-
12633
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs,
12634
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li {
12635
- overflow: visible;
12636
- padding: 0;
12637
- margin: 0;
12638
- border: none;
12639
- background-color: transparent;
12640
- }
12641
-
12642
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li a {
12643
- display: block;
12644
- font-weight: normal;
12645
- }
12646
-
12647
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs::before,
12648
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs::after,
12649
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li::before,
12650
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs ul.tabs li::after {
12651
- display: none;
12652
- }
12653
-
12654
- .wpr-tabs-position-above .wpr-product-tabs .woocommerce-tabs ul.tabs li.active:after {
12655
- content: ' ';
12656
- display: block;
12657
- border: none;
12658
- -webkit-box-shadow: none;
12659
- box-shadow: none;
12660
- padding: 0;
12661
- margin: 0;
12662
- position: static;
12663
- margin-left: auto;
12664
- margin-right: auto;
12665
- }
12666
-
12667
- .wpr-tabs-position-above .wpr-product-tabs .woocommerce-tabs ul.tabs li a {
12668
- border-bottom: none !important;
12669
- }
12670
-
12671
- .elementor-widget-wpr-product-tabs .wc-tabs,
12672
- .wpr-tabs-position-left .elementor-widget-container .wc-tabs-wrapper,
12673
- .wpr-tabs-position-right .elementor-widget-container .wc-tabs-wrapper {
12674
- display: -moz-flex;
12675
- display: -ms-flex;
12676
- display: -o-flex;
12677
- display: -webkit-box;
12678
- display: -ms-flexbox;
12679
- display: flex;
12680
- }
12681
-
12682
- .elementor-widget-wpr-product-tabs.wpr-tabs-position-above .wc-tabs {
12683
- -webkit-box-align: end;
12684
- -ms-flex-align: end;
12685
- align-items: flex-end;
12686
- }
12687
-
12688
- .wpr-tabs-position-left>.elementor-widget-container .wc-tabs,
12689
- .wpr-tabs-position-right>.elementor-widget-container .wc-tabs {
12690
- -webkit-box-orient: vertical;
12691
- -webkit-box-direction: normal;
12692
- -ms-flex-direction: column;
12693
- flex-direction: column;
12694
- }
12695
-
12696
- .wpr-tabs-position-left>.elementor-widget-container>.wc-tabs-wrapper {
12697
- -webkit-box-orient: horizontal;
12698
- -webkit-box-direction: normal;
12699
- -ms-flex-direction: row;
12700
- flex-direction: row;
12701
- }
12702
-
12703
- .wpr-tabs-position-right>.elementor-widget-container .wc-tabs-wrapper {
12704
- -webkit-box-orient: horizontal;
12705
- -webkit-box-direction: reverse;
12706
- -ms-flex-direction: row-reverse;
12707
- flex-direction: row-reverse;
12708
- }
12709
-
12710
- /* Tabs Position */
12711
- .wpr-tabs-hr-position-center>.elementor-widget-container .wc-tabs,
12712
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wc-tabs-wrapper {
12713
- -webkit-box-pack: center;
12714
- -ms-flex-pack: center;
12715
- justify-content: center;
12716
- }
12717
-
12718
- .wpr-tabs-hr-position-center>.elementor-widget-container .wc-tabs,
12719
- .wpr-tabs-hr-position-center>.elementor-widget-container>.wc-tabs-wrapper {
12720
- -webkit-box-align: center;
12721
- -ms-flex-align: center;
12722
- align-items: center;
12723
- }
12724
-
12725
- .wpr-tabs-hr-position-left>.elementor-widget-container .wc-tabs {
12726
- -webkit-box-align: start;
12727
- -ms-flex-align: start;
12728
- align-items: flex-start;
12729
- }
12730
-
12731
- .wpr-tabs-hr-position-right>.elementor-widget-container .wc-tabs{
12732
- -webkit-box-pack: end;
12733
- -ms-flex-pack: end;
12734
- justify-content: flex-end;
12735
- }
12736
-
12737
- .wpr-tabs-hr-position-right>.elementor-widget-container .wc-tabs {
12738
- -webkit-box-align: end;
12739
- -ms-flex-align: end;
12740
- align-items: flex-end;
12741
- }
12742
-
12743
- .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 {
12744
- width: 100%;
12745
- }
12746
-
12747
- .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 {
12748
- -webkit-box-flex: 1;
12749
- -ms-flex-positive: 1;
12750
- flex-grow: 1;
12751
- -ms-flex-preferred-size: 0;
12752
- flex-basis: 0;
12753
- }
12754
-
12755
- .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 {
12756
- margin-left: 0 !important;
12757
- }
12758
-
12759
- .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 {
12760
- margin-right: 0 !important;
12761
- }
12762
-
12763
- .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 {
12764
- width: 100%;
12765
- }
12766
-
12767
- .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 {
12768
- -webkit-box-flex: 1;
12769
- -ms-flex-positive: 1;
12770
- flex-grow: 1;
12771
- -ms-flex-preferred-size: 0;
12772
- flex-basis: 0;
12773
- }
12774
-
12775
- .elementor-widget-wpr-product-tabs .wc-tabs li {
12776
- position: relative;
12777
- text-align: center;
12778
- }
12779
-
12780
- .woocommerce div.product .wpr-product-tabs .woocommerce-tabs .panel {
12781
- margin: 0;
12782
- }
12783
-
12784
- .elementor-widget-wpr-product-tabs .woocommerce-Tabs-panel {
12785
- width: 100%;
12786
- display: none;
12787
- }
12788
-
12789
- .woocommerce .elementor-widget-wpr-product-tabs table.shop_attributes {
12790
- margin-bottom: 0;
12791
- }
12792
-
12793
- .wpr-product-additional-information table.shop_attributes {
12794
- margin-bottom: 0;
12795
- }
12796
-
12797
- .wpr-product-additional-information table td,
12798
- .wpr-product-additional-information table th,
12799
- .elementor-widget-wpr-product-tabs table td,
12800
- .elementor-widget-wpr-product-tabs table th {
12801
- vertical-align: middle;
12802
- }
12803
-
12804
- .elementor-widget-wpr-product-tabs .wpr-product-tabs table,
12805
- .elementor-widget-wpr-product-tabs .wpr-product-tabs tr th,
12806
- .elementor-widget-wpr-product-tabs .wpr-product-tabs tr td,
12807
- .wpr-product-additional-information table.shop_attributes,
12808
- .wpr-product-additional-information table.shop_attributes td,
12809
- .wpr-product-additional-information table.shop_attributes th {
12810
- border: none;
12811
- }
12812
-
12813
- /* according to woocommerce styles line-height */
12814
- .elementor-widget-wpr-product-tabs .form-submit #submit {
12815
- line-height: 1;
12816
- }
12817
-
12818
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li .comment-text {
12819
- margin: 0 0 0 50px;
12820
- border: 1px solid;
12821
- border-radius: 4px;
12822
- padding: 1em 1em 0;
12823
- }
12824
-
12825
- .elementor-widget-wpr-product-tabs .comment_container {
12826
- position: relative;
12827
- }
12828
-
12829
- .elementor-widget-wpr-product-tabs .comment-reply-title {
12830
- display: none;
12831
- }
12832
-
12833
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li .comment-text .description p {
12834
- margin-bottom: 0;
12835
- }
12836
-
12837
- .elementor-widget-wpr-product-tabs .commentlist li {
12838
- margin-bottom: 10px;
12839
- }
12840
-
12841
- .wpr-individual-rating {
12842
- display: -webkit-box;
12843
- display: -ms-flexbox;
12844
- display: flex;
12845
- -webkit-box-align: center;
12846
- -ms-flex-align: center;
12847
- align-items: center;
12848
- }
12849
-
12850
- .wpr-product-tabs h2.woocommerce-Reviews-title:first-of-type {
12851
- display: none;
12852
- }
12853
-
12854
- .elementor-widget-wpr-product-tabs .woocommerce-Reviews .comment_container {
12855
- border-bottom: none;
12856
- padding: 0;
12857
- margin: 0;
12858
- }
12859
-
12860
- .wpr-individual-rating-cont {
12861
- position: relative;
12862
- display: inline-block;
12863
- width: 150px;
12864
- }
12865
-
12866
- .wpr-individual-rating-cont span {
12867
- position: absolute;
12868
- top: 0;
12869
- left: 0;
12870
- display: inline-block;
12871
- height: 100%;
12872
- background-color: black;
12873
- }
12874
-
12875
- .elementor-widget-wpr-product-tabs #reviews #comments ol.commentlist li img.avatar {
12876
- float: left;
12877
- position: absolute;
12878
- top: 0;
12879
- left: 0;
12880
- padding: 0;
12881
- width: 32px;
12882
- height: auto;
12883
- background: #ebe9eb;
12884
- border: 1px solid #e4e1e3;
12885
- margin: 0;
12886
- -webkit-box-shadow: none;
12887
- box-shadow: none;
12888
- }
12889
-
12890
- .elementor-widget-wpr-product-tabs p.stars a {
12891
- position: relative;
12892
- height: 1em;
12893
- width: 1em;
12894
- text-indent: -999em;
12895
- display: inline-block;
12896
- text-decoration: none;
12897
- -webkit-box-shadow: none;
12898
- box-shadow: none;
12899
- margin: 0;
12900
- font-size: inherit;
12901
- border: none;
12902
- width: 15px;
12903
- text-indent: -999999px;
12904
- }
12905
-
12906
- .elementor-widget-wpr-product-tabs p.stars.selected a.active:before,
12907
- .elementor-widget-wpr-product-tabs p.stars:hover a:before,
12908
- .elementor-widget-wpr-product-tabs p.stars.selected a:not(.active):before,
12909
- .elementor-widget-wpr-product-tabs p.stars.selected a.active:before {
12910
- content: "\e020";
12911
- }
12912
-
12913
- .elementor-widget-wpr-product-tabs p.stars a:before,
12914
- .elementor-widget-wpr-product-tabs p.stars a:hover~a:before,
12915
- .elementor-widget-wpr-product-tabs p.stars.selected a.active~a:before {
12916
- content: "\e021";
12917
- }
12918
-
12919
- .elementor-widget-wpr-product-tabs p.stars a::before {
12920
- display: block;
12921
- position: absolute;
12922
- top: 0;
12923
- left: 0;
12924
- width: 1em;
12925
- height: 1em;
12926
- line-height: 1;
12927
- font-family: WooCommerce;
12928
- content: "\e021";
12929
- text-indent: 0;
12930
- opacity: 1;
12931
- font-size: inherit;
12932
- }
12933
-
12934
- .elementor-widget-wpr-product-tabs p.stars a:hover::before {
12935
- content: "\e020";
12936
- }
12937
-
12938
- .elementor-widget-wpr-product-tabs p.stars a.active::before {
12939
- content: "\e020";
12940
- }
12941
-
12942
- .elementor-widget-wpr-product-tabs .star-rating::before {
12943
- /* content: "\e021\e021\e021\e021\e021"; */
12944
- color: black;
12945
- float: left;
12946
- top: 0;
12947
- left: 0;
12948
- position: absolute;
12949
- }
12950
-
12951
- .elementor-widget-wpr-product-tabs .star-rating span::before {
12952
- /* content: "\e020\e020\e020\e020\e020"; */
12953
- top: 0;
12954
- position: absolute;
12955
- left: 0;
12956
- }
12957
-
12958
- .elementor-widget-wpr-product-tabs .comment-form-author,
12959
- .elementor-widget-wpr-product-tabs .comment-form-email {
12960
- float: left;
12961
- }
12962
-
12963
- .elementor-widget-wpr-product-tabs.wpr-forms-submit-justify .form-submit input {
12964
- display: block;
12965
- width: 100%;
12966
- }
12967
-
12968
- /* Product Price */
12969
- .wpr-product-price-separate .wpr-product-price del,
12970
- .wpr-product-price-separate .wpr-product-price ins {
12971
- display: block;
12972
- }
12973
- /* Product Rating */
12974
- .wpr-product-rating-flex.wpr-product-rating-left .inner-block {
12975
- -webkit-box-pack: start;
12976
- -ms-flex-pack: start;
12977
- justify-content: flex-start;
12978
- }
12979
-
12980
- .wpr-product-rating-flex.wpr-product-rating-center .inner-block {
12981
- -webkit-box-pack: center;
12982
- -ms-flex-pack: center;
12983
- justify-content: center;
12984
- }
12985
-
12986
- .wpr-product-rating-flex.wpr-product-rating-right .inner-block {
12987
- -webkit-box-pack: end;
12988
- -ms-flex-pack: end;
12989
- justify-content: flex-end;
12990
- }
12991
-
12992
- .wpr-product-rating a {
12993
- display: none;
12994
- }
12995
-
12996
- .wpr-pr-show-text-yes .wpr-product-rating a {
12997
- display: block;
12998
- }
12999
-
13000
- /* Product Meta */
13001
- .wpr-product-meta-left .wpr-product-meta .product_meta {
13002
- -webkit-box-pack: start;
13003
- -ms-flex-pack: start;
13004
- justify-content: flex-start;
13005
- }
13006
-
13007
- .wpr-product-meta-center .wpr-product-meta .product_meta {
13008
- -webkit-box-pack: center;
13009
- -ms-flex-pack: center;
13010
- justify-content: center;
13011
- }
13012
-
13013
- .wpr-product-meta-right .wpr-product-meta .product_meta {
13014
- -webkit-box-pack: end;
13015
- -ms-flex-pack: end;
13016
- justify-content: flex-end;
13017
- }
13018
-
13019
- .wpr-product-meta .sku_wrapper,
13020
- .wpr-product-meta .posted_in,
13021
- .wpr-product-meta .tagged_as {
13022
- display: none;
13023
- position: relative;
13024
- }
13025
-
13026
- /* Product Notices */
13027
- .wpr-checkout-notice .woocommerce-error,
13028
- .woocommerce-notices-wrapper .woocommerce-error,
13029
- .wpr-checkout-notice .woocommerce-message,
13030
- .woocommerce-notices-wrapper .woocommerce-message {
13031
- margin: 0;
13032
- display: -webkit-box;
13033
- display: -ms-flexbox;
13034
- display: flex;
13035
- -webkit-box-orient: horizontal;
13036
- -webkit-box-direction: reverse;
13037
- -ms-flex-direction: row-reverse;
13038
- flex-direction: row-reverse;
13039
- -webkit-box-pack: justify;
13040
- -ms-flex-pack: justify;
13041
- justify-content: space-between;
13042
- -webkit-box-align: center;
13043
- -ms-flex-align: center;
13044
- align-items: center;
13045
- }
13046
-
13047
- .wpr-checkout-notice .woocommerce-error:before,
13048
- .woocommerce-notices-wrapper .woocommerce-error:before,
13049
- .wpr-checkout-notice .woocommerce-message:before,
13050
- .woocommerce-notices-wrapper .woocommerce-message:before {
13051
- top: 50% !important;
13052
- -webkit-transform: translateY(-50%);
13053
- -ms-transform: translateY(-50%);
13054
- transform: translateY(-50%);
13055
- }
13056
-
13057
- .wpr-checkout-notice .woocommerce-error:after,
13058
- .woocommerce-notices-wrapper .woocommerce-error:after,
13059
- .wpr-checkout-notice .woocommerce-message:after,
13060
- .woocommerce-notices-wrapper .woocommerce-message:after {
13061
- display: none;
13062
- }
13063
-
13064
- .wpr-checkout-notice .woocommerce-error p,
13065
- .woocommerce-notices-wrapper .woocommerce-error p,
13066
- .wpr-checkout-notice .woocommerce-message p,
13067
- .woocommerce-notices-wrapper .woocommerce-message p {
13068
- margin-bottom: 0 !important;
13069
- }
13070
-
13071
- .wpr-checkout-notice a {
13072
- white-space: nowrap;
13073
- }
13074
-
13075
- @media screen and (min-width: 481px) {
13076
- .wpr-checkout-notice .woocommerce-message:before,
13077
- .woocommerce-notices-wrapper .woocommerce-message:before {
13078
- top: 50% !important;
13079
- -webkit-transform: translateY(-50%);
13080
- -ms-transform: translateY(-50%);
13081
- transform: translateY(-50%);
13082
- }
13083
- }
13084
-
13085
- @media screen and (max-width: 480px) {
13086
- .wpr-checkout-notice .woocommerce-message,
13087
- .woocommerce-notices-wrapper .woocommerce-message {
13088
- -webkit-box-orient: vertical;
13089
- -webkit-box-direction: reverse;
13090
- -ms-flex-direction: column-reverse;
13091
- flex-direction: column-reverse;
13092
- -webkit-box-align: start;
13093
- -ms-flex-align: start;
13094
- align-items: flex-start;
13095
- -webkit-box-pack: start;
13096
- -ms-flex-pack: start;
13097
- justify-content: flex-start;
13098
- }
13099
-
13100
- .wpr-checkout-notice .woocommerce-message p,
13101
- .woocommerce-notices-wrapper .woocommerce-message p {
13102
- margin-bottom: 0.9em !important;
13103
- }
13104
- }
13105
-
13106
- /* Add To Cart */
13107
- .wpr-product-add-to-cart * {
13108
- margin: 0;
13109
- padding: 0;
13110
- -webkit-box-sizing: border-box;
13111
- box-sizing: border-box;
13112
- }
13113
-
13114
- .woocommerce div.product .wpr-product-add-to-cart form.cart,
13115
- .woocommerce div.product .wpr-product-add-to-cart form.cart .variations {
13116
- margin: 0;
13117
- }
13118
-
13119
- .woocommerce div.product .wpr-product-add-to-cart form.cart div.quantity {
13120
- margin: 0;
13121
- }
13122
-
13123
- .wpr-product-adc-align-left .cart,
13124
- .wpr-product-adc-align-left .wpr-product-add-to-cart .wpr-quantity-wrapper {
13125
- -webkit-box-pack: start;
13126
- -ms-flex-pack: start;
13127
- justify-content: flex-start;
13128
- }
13129
-
13130
- .wpr-product-adc-align-center .cart,
13131
- .wpr-product-adc-align-center .wpr-product-add-to-cart .wpr-quantity-wrapper {
13132
- -webkit-box-pack: center;
13133
- -ms-flex-pack: center;
13134
- justify-content: center;
13135
- }
13136
-
13137
- .wpr-product-adc-align-right .cart,
13138
- .wpr-product-adc-align-right .wpr-product-add-to-cart .wpr-quantity-wrapper {
13139
- -webkit-box-pack: end;
13140
- -ms-flex-pack: end;
13141
- justify-content: flex-end;
13142
- }
13143
-
13144
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-left .cart {
13145
- -webkit-box-align: start;
13146
- -ms-flex-align: start;
13147
- align-items: flex-start;
13148
- }
13149
-
13150
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-center .cart {
13151
- -webkit-box-align: center;
13152
- -ms-flex-align: center;
13153
- align-items: center;
13154
- }
13155
-
13156
- .wpr-add-to-cart-layout-column.wpr-product-adc-align-right .cart {
13157
- -webkit-box-align: end;
13158
- -ms-flex-align: end;
13159
- align-items: flex-end;
13160
- }
13161
-
13162
- .wpr-add-to-cart-icons-wrap {
13163
- display: -webkit-box;
13164
- display: -ms-flexbox;
13165
- display: flex;
13166
- -webkit-box-orient: vertical;
13167
- -webkit-box-direction: normal;
13168
- -ms-flex-direction: column;
13169
- flex-direction: column;
13170
- }
13171
-
13172
- .wpr-product-add-to-cart .quantity {
13173
- display: -webkit-inline-box;
13174
- display: -ms-inline-flexbox;
13175
- display: inline-flex;
13176
- -webkit-box-pack: center;
13177
- -ms-flex-pack: center;
13178
- justify-content: center;
13179
- -webkit-box-align: center;
13180
- -ms-flex-align: center;
13181
- align-items: center;
13182
- }
13183
-
13184
- .wpr-product-add-to-cart .wpr-quantity-wrapper {
13185
- display: -webkit-inline-box;
13186
- display: -ms-inline-flexbox;
13187
- display: inline-flex;
13188
- -webkit-box-align: center;
13189
- -ms-flex-align: center;
13190
- align-items: center;
13191
- }
13192
-
13193
- .wpr-product-add-to-cart .wpr-quantity-wrapper i {
13194
- cursor: pointer;
13195
- }
13196
-
13197
- .wpr-quantity-wrap {
13198
- width: 100%;
13199
- }
13200
-
13201
- .elementor-widget-wpr-product-add-to-cart:not(.wpr-product-qty-align-default) .wpr-quantity-wrapper .qty {
13202
- -webkit-appearance: textfield;
13203
- -moz-appearance: textfield;
13204
- appearance: textfield;
13205
- }
13206
-
13207
- .elementor-widget-wpr-product-add-to-cart:not(.wpr-product-qty-align-default) .wpr-quantity-wrapper .qty::-webkit-inner-spin-button,
13208
- .wpr-quantity-wrap .qty::-webkit-outer-spin-button {
13209
- -webkit-appearance: none;
13210
- }
13211
-
13212
- .wpr-product-add-to-cart .quantity .qty,
13213
- .wpr-product-add-to-cart .wpr-quantity-wrapper i {
13214
- display: -webkit-box;
13215
- display: -ms-flexbox;
13216
- display: flex;
13217
- -webkit-box-pack: center;
13218
- -ms-flex-pack: center;
13219
- justify-content: center;
13220
- -webkit-box-align: center;
13221
- -ms-flex-align: center;
13222
- align-items: center;
13223
- }
13224
-
13225
- .wpr-buttons-layout-row .woocommerce-variation-add-to-cart {
13226
- display: -webkit-inline-box;
13227
- display: -ms-inline-flexbox;
13228
- display: inline-flex;
13229
- -webkit-box-align: center;
13230
- -ms-flex-align: center;
13231
- align-items: center;
13232
- }
13233
-
13234
- .wpr-buttons-layout-column .woocommerce-variation-add-to-cart {
13235
- display: -webkit-inline-box;
13236
- display: -ms-inline-flexbox;
13237
- display: inline-flex;
13238
- }
13239
-
13240
- /* .wpr-product-qty-align-left.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13241
- .wpr-product-qty-align-left.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13242
- -ms-flex-item-align: start;
13243
- align-self: flex-start;
13244
- }
13245
-
13246
- /* .wpr-product-qty-align-center.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13247
- .wpr-product-qty-align-center.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13248
- -ms-flex-item-align: center;
13249
- -ms-grid-row-align: center;
13250
- align-self: center;
13251
- }
13252
-
13253
- /* .wpr-product-qty-align-right.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .quantity, */
13254
- .wpr-product-qty-align-right.wpr-buttons-layout-column .woocommerce-variation-add-to-cart .wpr-quantity-wrapper {
13255
- -ms-flex-item-align: end;
13256
- align-self: flex-end;
13257
- }
13258
-
13259
- .wpr-product-qty-align-before .wpr-quantity-wrapper i:first-child {
13260
- border-right: 0 !important;
13261
- border-bottom: 0 !important;
13262
- }
13263
-
13264
- .wpr-product-qty-align-before .wpr-quantity-wrapper i:last-child {
13265
- border-right: 0 !important;
13266
- }
13267
-
13268
- .wpr-product-qty-align-after .wpr-quantity-wrapper i:first-child {
13269
- border-left: 0 !important;
13270
- border-bottom: 0 !important;
13271
- }
13272
-
13273
- .wpr-product-qty-align-after .wpr-quantity-wrapper i:last-child {
13274
- border-left: 0 !important;
13275
- }
13276
-
13277
- .wpr-product-qty-align-both .wpr-quantity-wrapper i:first-child {
13278
- border-right: 0 !important;
13279
- }
13280
-
13281
- .wpr-product-qty-align-both .wpr-quantity-wrapper i:last-child {
13282
- border-left: 0 !important;
13283
- }
13284
-
13285
- .woocommerce div.product .wpr-product-add-to-cart form.cart .group_table td {
13286
- vertical-align: middle;
13287
- padding: 0;
13288
- }
13289
-
13290
- .wpr-product-add-to-cart .reset_variations {
13291
- display: none;
13292
- }
13293
-
13294
- .wpr-variations-layout-column .variations tr th,
13295
- .wpr-variations-layout-column .variations tr td {
13296
- padding: 0;
13297
- width: 100%;
13298
- }
13299
-
13300
- /* External/Afiiliate button */
13301
- .woocommerce-grouped-product-list-item a.button {
13302
- display: -webkit-inline-box;
13303
- display: -ms-inline-flexbox;
13304
- display: inline-flex;
13305
- -webkit-box-pack: center;
13306
- -ms-flex-pack: center;
13307
- justify-content: center;
13308
- -webkit-box-align: center;
13309
- -ms-flex-align: center;
13310
- align-items: center;
13311
- width: 100%;
13312
- font-weight: 400;
13313
- }
13314
-
13315
- /* Sales Badge */
13316
- .wpr-product-sales-badge span {
13317
- display: inline-block;
13318
- }
13319
-
13320
- /* Rating */
13321
- .wpr-product-rating .wpr-woo-rating i:before {
13322
- content: '\002605' !important;
13323
- }
13324
-
13325
- .wpr-product-add-to-cart a.added_to_cart {
13326
- text-align: center;
13327
- }
13328
-
13329
- .wpr-product-add-to-cart .available-on-backorder,
13330
- .wpr-product-add-to-cart .out-of-stock,
13331
- .wpr-product-add-to-cart .in-stock {
13332
- display: none;
13333
- }
13334
-
13335
- /*--------------------------------------------------------------
13336
- == Cart Page
13337
- --------------------------------------------------------------*/
13338
- .wpr-cart-wrapper,
13339
- .wpr-cart-section-wrap .coupon {
13340
- display: -webkit-box;
13341
- display: -ms-flexbox;
13342
- display: flex;
13343
- }
13344
-
13345
- .wpr-cart-section-table-wrap,
13346
- .wpr-cart-wrapper .cart_totals {
13347
- overflow-x: auto;
13348
- }
13349
-
13350
- .wpr-cart-section-table-wrap table.shop_table {
13351
- margin-bottom: 0;
13352
- }
13353
-
13354
- .wpr-cart-section-table-wrap table.shop_table,
13355
- .cart_totals table.shop_table {
13356
- border: none;
13357
- }
13358
-
13359
- .wpr-cart-wrapper table.shop_table,
13360
- .woocommerce-cart .cart-collaterals .cart_totals table {
13361
- border-collapse: collapse;
13362
- }
13363
-
13364
- .wpr-cart-wrapper table th,
13365
- .wpr-cart-wrapper table td {
13366
- border: 0;
13367
- }
13368
-
13369
- .wpr-cart-wrapper form .form-row {
13370
- margin: 0;
13371
- }
13372
-
13373
- .wpr-cart-wrapper table.shop_table {
13374
- /* border-collapse: collapse !important; */
13375
- border-radius: 0;
13376
- }
13377
-
13378
- .wpr-cart-wrapper table.shop_table td {
13379
- border: none;
13380
- }
13381
-
13382
- .elementor-widget[class*="elementor-widget-wpr-"] table.shop_table .variation {
13383
- display: -webkit-box;
13384
- display: -ms-flexbox;
13385
- display: flex;
13386
- }
13387
-
13388
- .elementor-widget[class*="elementor-widget-wpr-"] table.shop_table .wc-item-meta li {
13389
- display: -webkit-inline-box;
13390
- display: -ms-inline-flexbox;
13391
- display: inline-flex;
13392
- margin-right: 10px;
13393
- }
13394
-
13395
- .elementor-widget[class*="elementor-widget-wpr-"] .variation-Size,
13396
- .elementor-widget[class*="elementor-widget-wpr-"] .wc-item-meta-label {
13397
- float: none !important;
13398
- }
13399
-
13400
- .wpr-cart-vertical .wpr-cart-wrapper {
13401
- -webkit-box-orient: vertical;
13402
- -webkit-box-direction: normal;
13403
- -ms-flex-direction: column;
13404
- flex-direction: column;
13405
- }
13406
-
13407
- @media screen and (max-width: 881px) {
13408
- .wpr-cart-horizontal .wpr-cart-wrapper {
13409
- -webkit-box-orient: vertical;
13410
- -webkit-box-direction: normal;
13411
- -ms-flex-direction: column;
13412
- flex-direction: column;
13413
- }
13414
- }
13415
-
13416
- .wpr-cart-wrapper table.shop_table img {
13417
- vertical-align: middle;
13418
- }
13419
-
13420
- .wpr-cart-horizontal .wpr-cart-wrapper .cart-collaterals .cart_totals,
13421
- .wpr-cart-vertical .cart-collaterals .cart_totals {
13422
- float: none;
13423
- width: 100%;
13424
- }
13425
-
13426
- .wpr-cart-sticky-yes .cart-collaterals {
13427
- position: sticky;
13428
- top: 0;
13429
- }
13430
-
13431
- .wpr-cart-wrapper .select2-selection--single .select2-selection__rendered {
13432
- padding-left: 0;
13433
- }
13434
-
13435
- .wpr-checkout-flex-justify .wc-proceed-to-checkout a {
13436
- width: 100%;
13437
- }
13438
-
13439
- .wpr-cart-wrapper .form-row.coupon-col {
13440
- display: -webkit-box;
13441
- display: -ms-flexbox;
13442
- display: flex;
13443
- -webkit-box-align: center;
13444
- -ms-flex-align: center;
13445
- align-items: center;
13446
- }
13447
-
13448
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-start {
13449
- /* flex: 2; */
13450
- }
13451
-
13452
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-end {
13453
- /* flex: 1; */
13454
- height: 100%;
13455
- }
13456
-
13457
- .wpr-cart-wrapper .form-row.coupon-col .coupon-col-end button {
13458
- width: 100%;
13459
- height: 100%;
13460
- }
13461
-
13462
- .wpr-cart-wrapper a.remove:before {
13463
- font-family: "Font Awesome 5 Free";
13464
- content: '\f00d';
13465
- position: absolute;
13466
- top: 50%;
13467
- -webkit-transform: translateY(-50%);
13468
- -ms-transform: translateY(-50%);
13469
- transform: translateY(-50%);
13470
- text-indent: 0;
13471
- }
13472
-
13473
- .wpr-cart-wrapper .product-remove .remove {
13474
- position: relative;
13475
- display: -webkit-inline-box;
13476
- display: -ms-inline-flexbox;
13477
- display: inline-flex;
13478
- -webkit-box-pack: center;
13479
- -ms-flex-pack: center;
13480
- justify-content: center;
13481
- -ms-flex-line-pack: center;
13482
- align-content: center;
13483
- vertical-align: middle;
13484
- text-indent: -9999px;
13485
- }
13486
-
13487
- .wpr-cart-wrapper .product-remove .remove:hover {
13488
- background-color: transparent;
13489
- color: black;
13490
- }
13491
-
13492
- .wpr-cart-wrapper img {
13493
- display: inline;
13494
- }
13495
-
13496
- .wpr-cart-wrapper .select2-selection {
13497
- position: relative;
13498
- }
13499
-
13500
- .wpr-cart-wrapper .select2-container--focus span,
13501
- .wpr-cart-wrapper .select2-container--default .select2-selection--single {
13502
- border: none !important;
13503
- outline: none !important;
13504
- }
13505
-
13506
- /*--------------------------------------------------------------
13507
- == Checkout Page
13508
- --------------------------------------------------------------*/
13509
- .elementor-widget-wpr-page-checkout .checkout_coupon p:first-child {
13510
- margin: 0;
13511
- }
13512
-
13513
- .elementor-widget-wpr-page-checkout .checkout_coupon .form-row-first {
13514
- width: 80%;
13515
- }
13516
-
13517
- .elementor-widget-wpr-page-checkout .checkout_coupon .form-row-last {
13518
- width: 18%;
13519
- }
13520
-
13521
- .elementor-widget-wpr-page-checkout .checkout_coupon .form-row-last button {
13522
- width: 100%;
13523
- }
13524
-
13525
- .wpr-checkout-order-review-table {
13526
- overflow: hidden;
13527
- }
13528
-
13529
- .wpr-checkout-order-review-table #order_review table {
13530
- border: none !important;
13531
- }
13532
-
13533
- .wpr-checkout-order-review-table #order_review thead th:first-child {
13534
- border-left-style: none !important;
13535
- border-top-style: none !Important;
13536
- }
13537
-
13538
- .wpr-checkout-order-review-table #order_review thead th:last-child {
13539
- border-right-style: none !important;
13540
- border-top-style: none !Important;
13541
- }
13542
-
13543
- .wpr-checkout-order-review-table #order_review tbody td:first-child {
13544
- border-left-style: none !important;
13545
- }
13546
-
13547
- .wpr-checkout-order-review-table #order_review tbody td:last-child {
13548
- border-right-style: none !important;
13549
- }
13550
-
13551
- .wpr-checkout-order-review-table #order_review tfoot tr th:first-child {
13552
- border-left-style: none !important;
13553
- }
13554
-
13555
- .wpr-checkout-order-review-table #order_review tfoot tr td:last-child {
13556
- border-right-style: none !important;
13557
- }
13558
-
13559
- .wpr-checkout-order-review-table #order_review tfoot tr:last-child td,
13560
- .wpr-checkout-order-review-table #order_review tfoot tr:last-child th {
13561
- border-bottom-style: none !important;
13562
- }
13563
-
13564
- .wpr-checkout-horizontal .woocommerce-checkout .col2-set {
13565
- display: -webkit-box;
13566
- display: -ms-flexbox;
13567
- display: flex;
13568
- -webkit-box-orient: vertical;
13569
- -webkit-box-direction: normal;
13570
- -ms-flex-direction: column;
13571
- flex-direction: column;
13572
- }
13573
-
13574
- /* check why doesn't apply or rendered as different classes */
13575
- .wpr-checkout-horizontal .wpr-customer-details-wrapper {
13576
- display: -webkit-box;
13577
- display: -ms-flexbox;
13578
- display: flex;
13579
- }
13580
-
13581
- .wpr-checkout-horizontal .col2-set .col-1,
13582
- .wpr-checkout-horizontal .col2-set .col-2 {
13583
- float: none;
13584
- width: 100%;
13585
- }
13586
-
13587
- .wpr-checkout-vertical .col2-set .col-1,
13588
- .wpr-checkout-vertical .col2-set .col-2 {
13589
- float: none;
13590
- width: 100%;
13591
- }
13592
-
13593
- .elementor-widget-wpr-page-checkout ul {
13594
- padding: 0;
13595
- }
13596
-
13597
- .elementor-widget-wpr-page-checkout .select2-container--focus span,
13598
- .elementor-widget-wpr-page-checkout .select2-container--default .select2-selection--single {
13599
- border: none !important;
13600
- outline: none !important;
13601
- }
13602
-
13603
- .elementor-widget-wpr-page-checkout .select2-selection {
13604
- position: relative;
13605
- }
13606
-
13607
- .elementor-widget-wpr-page-checkout table.shop_table {
13608
- margin: 0;
13609
- border-collapse: collapse;
13610
- }
13611
-
13612
- .elementor-widget-wpr-page-checkout form .form-row {
13613
- margin: 0;
13614
- }
13615
-
13616
- .elementor-widghet-wpr-page-checkout .woocommerce-form-login__rememberme {
13617
- display: block;
13618
- }
13619
-
13620
- .elementor-widget-wpr-page-checkout select {
13621
- padding: 0;
13622
- }
13623
-
13624
- .elementor-widget-wpr-page-checkout .select2-container .select2-selection--single .select2-selection__rendered {
13625
- padding-left: 0;
13626
- }
13627
-
13628
- @media screen and (max-width: 670px) {
13629
- .wpr-checkout-horizontal .wpr-customer-details-wrapper {
13630
- -webkit-box-orient: vertical;
13631
- -webkit-box-direction: normal;
13632
- -ms-flex-direction: column;
13633
- flex-direction: column;
13634
- }
13635
-
13636
- .wpr-checkout-horizontal .wpr-customer-details-wrapper .wpr-checkout-order-review-table {
13637
- max-width: 100%;
13638
- }
13639
- }
13640
-
13641
- /*--------------------------------------------------------------
13642
- == My Account
13643
- --------------------------------------------------------------*/
13644
- .elementor-widget-wpr-my-account-pro .woocommerce-Message {
13645
- margin: 0;
13646
- }
13647
-
13648
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-navigation ul {
13649
- margin: 0;
13650
- padding: 0;
13651
- list-style-type: none;
13652
- }
13653
-
13654
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-content .shop_table {
13655
- border-collapse: collapse;
13656
- }
13657
-
13658
- .elementor-widget-wpr-my-account-pro .woocommerce-MyAccount-content fieldset {
13659
- border: none;
13660
- padding: 0;
13661
- }
13662
-
13663
- .elementor-widget-wpr-my-account-pro .select2-selection {
13664
- height: auto !important;
13665
- border: none !important;
13666
- }
13667
-
13668
- /* .wpr-my-account-tabs-vertical .wpr-my-account-tab div.woocommerce {
13669
- display: flex;
13670
- } */
13671
-
13672
- .wpr-my-account-tabs-horizontal nav.woocommerce-MyAccount-navigation,
13673
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-content {
13674
- float: none;
13675
- width: 100%;
13676
- }
13677
-
13678
- .wpr-my-account-tabs-horizontal nav ul {
13679
- display: -webkit-box;
13680
- display: -ms-flexbox;
13681
- display: flex;
13682
- -webkit-box-pack: justify;
13683
- -ms-flex-pack: justify;
13684
- justify-content: space-between;
13685
- }
13686
-
13687
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-navigation-link,
13688
- .woocommerce-MyAccount-navigation-link a {
13689
- display: inline-block;
13690
- }
13691
-
13692
- .wpr-account-tabs-stretch .woocommerce-MyAccount-navigation-link,
13693
- .woocommerce-MyAccount-navigation-link a {
13694
- width: 100%;
13695
- }
13696
-
13697
- .elementor-widget-wpr-my-account-pro .wpr-my-account-tab .woocommerce-form-login__rememberme {
13698
- display: block;
13699
- }
13700
-
13701
- .wpr-my-account-tab p,
13702
- .wpr-my-account-tab table.shop_table,
13703
- .wpr-my-account-tab .woocommerce-order-downloads {
13704
- margin: 0;
13705
- }
13706
-
13707
- @media screen and (max-width: 867px) {
13708
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-navigation {
13709
- float: left;
13710
- }
13711
-
13712
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-content {
13713
- float: right;
13714
- }
13715
- }
13716
-
13717
- @media screen and (max-width: 767px) {
13718
- .wpr-my-account-tabs-horizontal .woocommerce-MyAccount-navigation ul {
13719
- -webkit-box-orient: vertical;
13720
- -webkit-box-direction: normal;
13721
- -ms-flex-direction: column;
13722
- flex-direction: column;
13723
- }
13724
-
13725
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-navigation {
13726
- /* float: left; */
13727
- width: 100% !important;
13728
- }
13729
-
13730
- .woocommerce-account .wpr-my-account-tabs-vertical .woocommerce-MyAccount-content {
13731
- /* float: right; */
13732
- width: 100%!important;
13733
- }
13734
- }
13735
-
13736
- /*--------------------------------------------------------------
13737
- == Product Filters
13738
- --------------------------------------------------------------*/
13739
- /* Filter: Active */
13740
- .wpr-active-filters-horizontal .wpr-product-active-filters {
13741
- display: -webkit-box;
13742
- display: -ms-flexbox;
13743
- display: flex;
13744
- -ms-flex-wrap: wrap;
13745
- flex-wrap: wrap;
13746
- }
13747
-
13748
- .wpr-product-active-filters {
13749
- padding: 0;
13750
- margin: 0;
13751
- list-style: none;
13752
- }
13753
-
13754
- .wpr-product-active-filters li a::before {
13755
- font-family: "Font Awesome 5 Free" !important;
13756
- content: '\f00d';
13757
- top: 50%;
13758
- -webkit-transform: translateY(-50%);
13759
- -ms-transform: translateY(-50%);
13760
- transform: translateY(-50%);
13761
- font-weight: 600 !important;
13762
- }
13763
-
13764
- /* Filter: Rating */
13765
- .wpr-product-filter-title {
13766
- margin: 0;
13767
- }
13768
-
13769
- .wpr-product-filters .wpr-search-form-input-wrap {
13770
- display: -webkit-box;
13771
- display: -ms-flexbox;
13772
- display: flex;
13773
- }
13774
-
13775
- .wpr-product-filter-rating {
13776
- padding: 0;
13777
- margin: 0;
13778
- list-style: none;
13779
- }
13780
-
13781
- .wpr-product-filter-label-left .wpr-product-filter-rating a {
13782
- display: -webkit-box;
13783
- display: -ms-flexbox;
13784
- display: flex;
13785
- }
13786
-
13787
- .wpr-product-filter-label-right .wpr-product-filter-rating a {
13788
- display: -webkit-box;
13789
- display: -ms-flexbox;
13790
- display: flex;
13791
- -webkit-box-pack: justify;
13792
- -ms-flex-pack: justify;
13793
- justify-content: space-between;
13794
- }
13795
-
13796
- .wpr-product-filter-rating .wpr-rating-icon-full {
13797
- color: orange;
13798
- }
13799
-
13800
- .wpr-product-filter-rating .wpr-rating-icon-empty {
13801
- color: lightgray;
13802
- }
13803
-
13804
- .wpr-product-filter-rating.wpr-woo-rating-style-2 i:before {
13805
- content: '\002605';
13806
- }
13807
-
13808
- .wpr-product-filter-rating .wpr-active-product-filter .wpr-rating-icon-full {
13809
- color: red
13810
- }
13811
-
13812
- /* Filter: Attributes */
13813
- .wpr-product-filter-tax-wrap {
13814
- padding: 0;
13815
- margin: 0;
13816
- list-style: none;
13817
- }
13818
-
13819
- .wpr-product-filter-tax-wrap .wpr-active-product-filter {
13820
- color: red;
13821
- }
13822
-
13823
- .wpr-product-filter-tax-wrap li a {
13824
- display: -webkit-box;
13825
- display: -ms-flexbox;
13826
- display: flex;
13827
- -webkit-box-align: center;
13828
- -ms-flex-align: center;
13829
- align-items: center;
13830
- line-height: 1;
13831
- }
13832
-
13833
- .wpr-product-filter-tax-wrap li a span:last-child:not(.wpr-product-filter-tax-name) {
13834
- margin-left: 4px;
13835
- }
13836
-
13837
- .wpr-product-filter-label-right .wpr-product-filter-tax-wrap li a span:last-child:not(.wpr-product-filter-tax-name) {
13838
- margin-left: auto;
13839
- }
13840
-
13841
- .wpr-product-filter-tax-wrap li a span:first-child {
13842
- display: -webkit-inline-box;
13843
- display: -ms-inline-flexbox;
13844
- display: inline-flex;
13845
- -webkit-box-align: center;
13846
- -ms-flex-align: center;
13847
- align-items: center;
13848
- -webkit-box-pack: center;
13849
- -ms-flex-pack: center;
13850
- justify-content: center;
13851
- }
13852
-
13853
- .wpr-active-product-filter:not(.wpr-woo-rating) span:first-child:before {
13854
- content: "\f00c";
13855
- font-family: "Font Awesome 5 Free";
13856
- font-weight: 900;
13857
- }
13858
-
13859
- .wpr-product-filter-tax-child a {
13860
- margin-left: 10px;
13861
- }
13862
-
13863
- /* Filter: Price */
13864
- .wpr-product-filter-price input {
13865
- visibility: hidden;
13866
- }
13867
-
13868
- .wpr-product-filter-price-slider .ui-slider-range {
13869
- position: absolute;
13870
- display: block;
13871
- /* outline aris focusze mosashorebeli */
13872
- }
13873
-
13874
- .wpr-product-filter-price-slider .ui-slider-handle {
13875
- position: absolute;
13876
- cursor: ew-resize;
13877
- }
13878
-
13879
- .wpr-product-filter-slide-handlers-round .wpr-product-filter-price-slider .ui-slider-handle {
13880
- border-radius: 100%;
13881
- }
13882
-
13883
- .wpr-product-filter-slide-handlers-square .wpr-product-filter-price-slider .ui-slider-handle {
13884
- border-radius: 0;
13885
- border: none !important;
13886
- outline: none !important;
13887
- }
13888
-
13889
- .wpr-product-filter-price-amount {
13890
- margin-top: 20px;
13891
- display: -webkit-box;
13892
- display: -ms-flexbox;
13893
- display: flex;
13894
- -webkit-box-pack: justify;
13895
- -ms-flex-pack: justify;
13896
- justify-content: space-between;
13897
- }
13898
-
13899
- .wpr-product-filter-price-btn-right .wpr-product-filter-price-amount {
13900
- -webkit-box-orient: horizontal;
13901
- -webkit-box-direction: reverse;
13902
- -ms-flex-direction: row-reverse;
13903
- flex-direction: row-reverse;
13904
- }
13905
-
13906
- .wpr-product-filters .wpr-product-filter-price-amount button.button {
13907
- 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
+
1693
+ .wpr-hide-items-before-append {
1694
+ opacity: 0;
1695
+ }
1696
+
1697
+ .wpr-grid {
1698
+ opacity: 0;
1699
+ }
1700
+
1701
+ .wpr-grid-item {
1702
+ padding: 0 !important;
1703
+ float: left;
1704
+ position: relative;
1705
+ text-align: center;
1706
+ }
1707
+
1708
+ .wpr-grid-item,
1709
+ .wpr-grid-item * {
1710
+ outline: none !important;
1711
+ }
1712
+
1713
+ .wpr-grid-last-row {
1714
+ margin-bottom: 0 !important;
1715
+ }
1716
+
1717
+ .wpr-grid-item-above-content {
1718
+ border-bottom: 0 !important;
1719
+ border-bottom-left-radius: 0 !important;
1720
+ border-bottom-right-radius: 0 !important;
1721
+ }
1722
+
1723
+ .wpr-grid:not([data-settings*="list"]) .wpr-grid-item-below-content {
1724
+ border-top: 0 !important;
1725
+ border-top-left-radius: 0 !important;
1726
+ border-top-right-radius: 0 !important;
1727
+ }
1728
+
1729
+ .wpr-grid-item-inner,
1730
+ .wpr-grid-media-wrap {
1731
+ position: relative;
1732
+ }
1733
+
1734
+ .wpr-grid-image-wrap {
1735
+ overflow: hidden;
1736
+ }
1737
+
1738
+ .wpr-grid-image-wrap img {
1739
+ display: block;
1740
+ width: 100%;
1741
+ }
1742
+
1743
+ .wpr-grid-media-hover {
1744
+ position: absolute;
1745
+ top: 0;
1746
+ left: 0;
1747
+ width: 100%;
1748
+ height: 100%;
1749
+ overflow: hidden;
1750
+ }
1751
+
1752
+ .wpr-grid-media-hover-top {
1753
+ position: absolute;
1754
+ top: 0;
1755
+ left: 0;
1756
+ width: 100%;
1757
+ z-index: 2;
1758
+ }
1759
+
1760
+ .wpr-grid-media-hover-bottom {
1761
+ position: absolute;
1762
+ bottom: 0;
1763
+ left: 0;
1764
+ width: 100%;
1765
+ z-index: 2;
1766
+ }
1767
+
1768
+ .wpr-grid-media-hover-middle {
1769
+ position: relative;
1770
+ z-index: 2;
1771
+ }
1772
+
1773
+ .wpr-grid .wpr-cv-container,
1774
+ .wpr-magazine-grid .wpr-cv-container {
1775
+ z-index: 1;
1776
+ }
1777
+
1778
+ .wpr-grid-item-display-block {
1779
+ clear: both;
1780
+ }
1781
+
1782
+ .wpr-grid-item-display-inline.wpr-grid-item-align-left,
1783
+ .wpr-grid-item-display-custom.wpr-grid-item-align-left {
1784
+ float: left;
1785
+ }
1786
+
1787
+ .wpr-grid-item-display-inline.wpr-grid-item-align-right,
1788
+ .wpr-grid-item-display-custom.wpr-grid-item-align-right {
1789
+ float: right;
1790
+ }
1791
+
1792
+ .wpr-grid-item-display-inline.wpr-grid-item-align-center,
1793
+ .wpr-grid-item-display-custom.wpr-grid-item-align-center {
1794
+ float: none;
1795
+ display: inline-block;
1796
+ vertical-align: middle;
1797
+ }
1798
+
1799
+
1800
+ /*.wpr-grid-item-display-custom .inner-block { //tmp - maybe remove? need to check
1801
+ text-align: center;
1802
+ }*/
1803
+
1804
+ .wpr-grid-item-title .inner-block a,
1805
+ .wpr-grid-item-date .inner-block>span,
1806
+ .wpr-grid-item-time .inner-block>span,
1807
+ .wpr-grid-item-author .inner-block a,
1808
+ .wpr-grid-item-comments .inner-block a,
1809
+ .wpr-grid-item-read-more .inner-block a,
1810
+ .wpr-grid-item-likes .inner-block a,
1811
+ .wpr-grid-item-sharing .inner-block>span,
1812
+ .wpr-grid-item-lightbox .inner-block>span,
1813
+ .wpr-grid-product-categories .inner-block a,
1814
+ .wpr-grid-product-tags .inner-block a,
1815
+ .wpr-grid-tax-style-1 .inner-block a,
1816
+ .wpr-grid-tax-style-2 .inner-block a,
1817
+ .wpr-grid-cf-style-1 .inner-block>a,
1818
+ .wpr-grid-cf-style-1 .inner-block>span,
1819
+ .wpr-grid-cf-style-2 .inner-block>a,
1820
+ .wpr-grid-cf-style-2 .inner-block>span,
1821
+ .wpr-grid-sep-style-1 .inner-block>span,
1822
+ .wpr-grid-sep-style-2 .inner-block>span,
1823
+ .wpr-grid-item-status .inner-block>span,
1824
+ .wpr-grid-item-price .inner-block>span,
1825
+ .wpr-grid-item-add-to-cart .inner-block>a,
1826
+ .wpr-grid-item-read-more .inner-block a {
1827
+ display: inline-block;
1828
+ }
1829
+
1830
+ .wpr-grid-item-display-custom.wpr-grid-item-title .inner-block a,
1831
+ .wpr-grid-item-display-custom.wpr-grid-item-date .inner-block>span,
1832
+ .wpr-grid-item-display-custom.wpr-grid-item-time .inner-block>span,
1833
+ .wpr-grid-item-display-custom.wpr-grid-item-comments .inner-block a,
1834
+ .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a,
1835
+ .wpr-grid-item-display-custom.wpr-grid-item-likes .inner-block a,
1836
+ .wpr-grid-item-display-custom.wpr-grid-item-sharing .inner-block>span,
1837
+ .wpr-grid-item-display-custom.wpr-grid-item-lightbox .inner-block>span,
1838
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>a,
1839
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-1 .inner-block>span,
1840
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>a,
1841
+ .wpr-grid-item-display-custom.wpr-grid-cf-style-2 .inner-block>span,
1842
+ .wpr-grid-item-display-custom.wpr-grid-sep-style-1 .inner-block>span,
1843
+ .wpr-grid-item-display-custom.wpr-grid-sep-style-2 .inner-block>span,
1844
+ .wpr-grid-item-display-custom.wpr-grid-item-product-status .inner-block>span,
1845
+ .wpr-grid-item-display-custom.wpr-grid-item-product-price .inner-block>span,
1846
+ .wpr-grid-item-display-custom.wpr-grid-item-add-to-cart .inner-block>a,
1847
+ .wpr-grid-item-display-custom.wpr-grid-item-read-more .inner-block a {
1848
+ width: 100%;
1849
+ }
1850
+
1851
+ .wpr-grid-item-content .inner-block,
1852
+ .wpr-grid-item-excerpt .inner-block {
1853
+ display: inline-block;
1854
+ }
1855
+
1856
+ .wpr-grid-item-excerpt .inner-block p {
1857
+ margin: 0 !important;
1858
+ }
1859
+
1860
+
1861
+ /* Image Overlay */
1862
+ .wpr-grid-media-hover-bg {
1863
+ position: absolute;
1864
+ }
1865
+
1866
+ .wpr-grid-media-hover-bg img {
1867
+ position: absolute;
1868
+ top: 50%;
1869
+ left: 50%;
1870
+ -webkit-transform: translate( -50%, -50%) scale(1) !important;
1871
+ -ms-transform: translate( -50%, -50%) scale(1) !important;
1872
+ transform: translate( -50%, -50%) scale(1) !important;
1873
+ -webkit-filter: grayscale(0) !important;
1874
+ filter: grayscale(0) !important;
1875
+ -webkit-filter: blur(0px) !important;
1876
+ -filter: blur(0px) !important;
1877
+ }
1878
+
1879
+
1880
+ /* Author */
1881
+
1882
+ .wpr-grid-item-author img,
1883
+ .wpr-grid-item-author span {
1884
+ display: inline-block;
1885
+ vertical-align: middle;
1886
+ }
1887
+
1888
+ .wpr-grid-item-author img {
1889
+ -webkit-transform: none !important;
1890
+ -ms-transform: none !important;
1891
+ transform: none !important;
1892
+ -webkit-filter: none !important;
1893
+ filter: none !important;
1894
+ }
1895
+
1896
+
1897
+ /* Likes */
1898
+
1899
+ .wpr-grid-item-likes .inner-block a {
1900
+ text-align: center;
1901
+ }
1902
+
1903
+ .wpr-likes-no-default.wpr-likes-zero i {
1904
+ padding: 0 !important;
1905
+ }
1906
+
1907
+
1908
+ /* Sharing */
1909
+
1910
+ .wpr-grid-item-sharing .inner-block a {
1911
+ text-align: center;
1912
+ }
1913
+
1914
+ .wpr-grid-item-sharing .wpr-post-sharing {
1915
+ position: relative;
1916
+ }
1917
+
1918
+ .wpr-grid-item-sharing .wpr-sharing-icon {
1919
+ display: inline-block;
1920
+ position: relative;
1921
+ }
1922
+
1923
+ .wpr-grid-item-sharing .wpr-sharing-icon .wpr-tooltip {
1924
+ left: 50%;
1925
+ -ms-transform: translate(-50%, -100%);
1926
+ transform: translate(-50%, -100%);
1927
+ -webkit-transform: translate(-50%, -100%);
1928
+ }
1929
+
1930
+ .wpr-grid-item-sharing .wpr-sharing-icon:hover .wpr-tooltip {
1931
+ visibility: visible;
1932
+ opacity: 1;
1933
+ -ms-transform: translate(-50%, -120%);
1934
+ transform: translate(-50%, -120%);
1935
+ -webkit-transform: translate(-50%, -120%);
1936
+ }
1937
+
1938
+ .wpr-grid-item-sharing .wpr-tooltip:before {
1939
+ left: 50%;
1940
+ -ms-transform: translateX(-50%);
1941
+ transform: translateX(-50%);
1942
+ -webkit-transform: translateX(-50%);
1943
+ }
1944
+
1945
+ .wpr-grid-item-sharing .wpr-sharing-trigger {
1946
+ cursor: pointer;
1947
+ }
1948
+
1949
+ .wpr-grid-item-sharing .wpr-tooltip {
1950
+ display: block;
1951
+ padding: 10px;
1952
+ }
1953
+
1954
+ .wpr-grid-item-sharing .wpr-sharing-hidden {
1955
+ visibility: hidden;
1956
+ position: absolute;
1957
+ z-index: 3;
1958
+ text-align: center;
1959
+ }
1960
+
1961
+ .wpr-grid-item-sharing .wpr-sharing-hidden a {
1962
+ opacity: 0;
1963
+ }
1964
+
1965
+ .wpr-sharing-hidden a {
1966
+ position: relative;
1967
+ top: -5px;
1968
+ -webkit-transition-duration: 0.3s !important;
1969
+ -o-transition-duration: 0.3s !important;
1970
+ transition-duration: 0.3s !important;
1971
+ -webkit-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1972
+ -o-transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1973
+ transition-timing-function: cubic-bezier(.445, .050, .55, .95);
1974
+ -webkit-transition-delay: 0s;
1975
+ -o-transition-delay: 0s;
1976
+ transition-delay: 0s;
1977
+ }
1978
+
1979
+ .wpr-sharing-hidden a+a {
1980
+ -webkit-transition-delay: 0.1s;
1981
+ -o-transition-delay: 0.1s;
1982
+ transition-delay: 0.1s;
1983
+ }
1984
+
1985
+ .wpr-sharing-hidden a+a+a {
1986
+ -webkit-transition-delay: 0.2s;
1987
+ -o-transition-delay: 0.2s;
1988
+ transition-delay: 0.2s;
1989
+ }
1990
+
1991
+ .wpr-sharing-hidden a+a+a+a {
1992
+ -webkit-transition-delay: 0.3s;
1993
+ -o-transition-delay: 0.3s;
1994
+ transition-delay: 0.3s;
1995
+ }
1996
+
1997
+ .wpr-sharing-hidden a+a+a+a+a {
1998
+ -webkit-transition-delay: 0.4s;
1999
+ -o-transition-delay: 0.4s;
2000
+ transition-delay: 0.4s;
2001
+ }
2002
+
2003
+ .wpr-grid-item-sharing a:last-of-type {
2004
+ margin-right: 0 !important;
2005
+ }
2006
+
2007
+ .wpr-grid-item-sharing .inner-block a {
2008
+ -webkit-transition-property: color, background-color, border;
2009
+ -o-transition-property: color, background-color, border;
2010
+ transition-property: color, background-color, border;
2011
+ -webkit-transition-timing-function: linear;
2012
+ -o-transition-timing-function: linear;
2013
+ transition-timing-function: linear;
2014
+ }
2015
+
2016
+
2017
+ /* Read More */
2018
+
2019
+ .wpr-grid-item-read-more .inner-block>a,
2020
+ .wpr-grid-item-add-to-cart .inner-block>a {
2021
+ position: relative;
2022
+ overflow: hidden;
2023
+ vertical-align: middle;
2024
+ }
2025
+
2026
+ .wpr-grid-item-read-more .inner-block>a i,
2027
+ .wpr-grid-item-read-more .inner-block>a span,
2028
+ .wpr-grid-item-add-to-cart .inner-block>a i,
2029
+ .wpr-grid-item-add-to-cart .inner-block>a span {
2030
+ position: relative;
2031
+ z-index: 2;
2032
+ opacity: 1;
2033
+ }
2034
+
2035
+ .wpr-grid-item-read-more .inner-block>a:before,
2036
+ .wpr-grid-item-read-more .inner-block>a:after,
2037
+ .wpr-grid-item-add-to-cart .inner-block>a:before,
2038
+ .wpr-grid-item-add-to-cart .inner-block>a:after {
2039
+ z-index: 1;
2040
+ }
2041
+
2042
+
2043
+ /* Lightbox */
2044
+
2045
+ .wpr-grid-item-lightbox .inner-block>span,
2046
+ .wpr-grid-lightbox-overlay {
2047
+ cursor: pointer;
2048
+ }
2049
+
2050
+ .wpr-grid-lightbox-overlay {
2051
+ position: absolute;
2052
+ top: 0;
2053
+ left: 0;
2054
+ z-index: 10;
2055
+ width: 100%;
2056
+ height: 100%;
2057
+ }
2058
+
2059
+ .admin-bar .lg-toolbar {
2060
+ top: 32px;
2061
+ }
2062
+
2063
+
2064
+ /* Separator */
2065
+
2066
+ .wpr-grid-item-separator .inner-block {
2067
+ font-size: 0;
2068
+ line-height: 0;
2069
+ }
2070
+
2071
+ .wpr-grid-item-separator.wpr-grid-item-display-inline span {
2072
+ width: 100% !important;
2073
+ }
2074
+
2075
+
2076
+ /* Product Rating */
2077
+
2078
+ .wpr-woo-rating i {
2079
+ display: inline;
2080
+ position: relative;
2081
+ font-family: "eicons";
2082
+ font-style: normal;
2083
+ line-height: 1;
2084
+ overflow: hidden;
2085
+ }
2086
+
2087
+ .wpr-woo-rating i:before {
2088
+ content: '\e934';
2089
+ font-weight: 900;
2090
+ display: block;
2091
+ position: absolute;
2092
+ top: 0;
2093
+ left: 0;
2094
+ font-size: inherit;
2095
+ font-family: inherit;
2096
+ overflow: hidden;
2097
+ }
2098
+
2099
+ .wpr-woo-rating-style-2 .wpr-woo-rating i:before {
2100
+ content: '\002605';
2101
+ }
2102
+
2103
+ .wpr-woo-rating i:last-of-type {
2104
+ margin-right: 0 !important;
2105
+ }
2106
+
2107
+ .wpr-rating-icon-empty:before {
2108
+ display: none !important;
2109
+ }
2110
+
2111
+ .wpr-rating-icon-0:before {
2112
+ width: 0;
2113
+ }
2114
+
2115
+ .wpr-rating-icon-1:before {
2116
+ width: 10%;
2117
+ }
2118
+
2119
+ .wpr-rating-icon-2:before {
2120
+ width: 20%;
2121
+ }
2122
+
2123
+ .wpr-rating-icon-3:before {
2124
+ width: 30%;
2125
+ }
2126
+
2127
+ .wpr-rating-icon-4:before {
2128
+ width: 40%;
2129
+ }
2130
+
2131
+ .wpr-rating-icon-5:before {
2132
+ width: 50%;
2133
+ }
2134
+
2135
+ .wpr-rating-icon-6:before {
2136
+ width: 60%;
2137
+ }
2138
+
2139
+ .wpr-rating-icon-7:before {
2140
+ width: 70%;
2141
+ }
2142
+
2143
+ .wpr-rating-icon-8:before {
2144
+ width: 80%;
2145
+ }
2146
+
2147
+ .wpr-rating-icon-9:before {
2148
+ width: 90%;
2149
+ }
2150
+
2151
+ .wpr-rating-icon-full:before {
2152
+ width: 100%;
2153
+ }
2154
+
2155
+
2156
+ /* Filters */
2157
+
2158
+ .wpr-grid-filters li {
2159
+ display: inline-block;
2160
+ }
2161
+
2162
+ .wpr-grid-filters li:last-of-type {
2163
+ margin-right: 0 !important;
2164
+ }
2165
+
2166
+ .wpr-grid-filters li span {
2167
+ display: inline-block;
2168
+ cursor: pointer;
2169
+ text-decoration: inherit;
2170
+ }
2171
+
2172
+ .wpr-grid-filters li a {
2173
+ display: inline-block;
2174
+ }
2175
+
2176
+ .wpr-grid-filters li sup {
2177
+ position: relative;
2178
+ padding-left: 5px;
2179
+ line-height: 1;
2180
+ }
2181
+
2182
+ .wpr-grid-filters li sup[data-brackets="yes"]:before {
2183
+ content: '\0028';
2184
+ }
2185
+
2186
+ .wpr-grid-filters li sup[data-brackets="yes"]:after {
2187
+ content: '\0029';
2188
+ }
2189
+
2190
+ .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:before,
2191
+ .wpr-grid-filters .wpr-active-filter.wpr-pointer-item:after {
2192
+ opacity: 1 !important;
2193
+ width: 100% !important;
2194
+ }
2195
+
2196
+ .wpr-grid-filters-sep {
2197
+ font-style: normal;
2198
+ }
2199
+
2200
+ .wpr-grid-filters-sep-right li:last-of-type .wpr-grid-filters-sep,
2201
+ .wpr-grid-filters-sep-left li:first-child .wpr-grid-filters-sep {
2202
+ display: none;
2203
+ }
2204
+
2205
+ .wpr-sub-filters {
2206
+ display: none;
2207
+ padding: 0;
2208
+ }
2209
+
2210
+
2211
+ /* Sorting */
2212
+
2213
+ .wpr-grid-sorting {
2214
+ display: -webkit-box;
2215
+ display: -ms-flexbox;
2216
+ display: flex;
2217
+ -webkit-box-align: center;
2218
+ -ms-flex-align: center;
2219
+ align-items: center;
2220
+ -ms-flex-wrap: wrap;
2221
+ flex-wrap: wrap;
2222
+ }
2223
+
2224
+ .wpr-grid-sorting>div,
2225
+ .wpr-grid-sorting .woocommerce-ordering {
2226
+ -webkit-box-flex: 1;
2227
+ -ms-flex-positive: 1;
2228
+ flex-grow: 1;
2229
+ }
2230
+
2231
+ .wpr-grid-sorting .woocommerce-ordering {
2232
+ text-align: right;
2233
+ }
2234
+
2235
+ .wpr-grid-sorting .woocommerce-ordering select {
2236
+ width: auto;
2237
+ outline: none !important;
2238
+ }
2239
+
2240
+ .wpr-grid-sorting .wpr-shop-page-title,
2241
+ .wpr-grid-sorting .woocommerce-result-count,
2242
+ .wpr-grid-sorting .woocommerce-ordering {
2243
+ margin: 0 !important;
2244
+ }
2245
+
2246
+ /* Not Clickable */
2247
+ .wpr-atc-not-clickable {
2248
+ opacity: 0.5;
2249
+ pointer-events: none;
2250
+ }
2251
+
2252
+ /* Added To Cart Popup */
2253
+ @-webkit-keyframes added-tc-popup-animation {
2254
+ from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2255
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2256
+ }
2257
+ @keyframes added-tc-popup-animation {
2258
+ from {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2259
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2260
+ }
2261
+
2262
+ @-webkit-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
+ @keyframes added-tc-popup-animation-hide {
2268
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2269
+ to {opacity: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%)}
2270
+ }
2271
+
2272
+ @-webkit-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
+ @keyframes added-tc-popup-animation-bottom {
2278
+ from {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2279
+ to {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2280
+ }
2281
+
2282
+ @-webkit-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
+ @keyframes added-tc-popup-animation-hide-bottom {
2293
+ from {opacity: 1; -webkit-transform: translateY(0); transform: translateY(0)}
2294
+ to {opacity: 0; -webkit-transform: translateY(50%); transform: translateY(50%)}
2295
+ }
2296
+
2297
+ @-webkit-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
+ @keyframes added-tc-popup-animation-slide-in-left {
2303
+ from {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2304
+ to {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2305
+ }
2306
+
2307
+ @-webkit-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
+ @keyframes added-tc-popup-animation-slide-out-left {
2313
+ from {opacity: 1; -webkit-transform: translateX(0); transform: translateX(0)}
2314
+ to {opacity: 0; -webkit-transform: translateX(100%); transform: translateX(100%)}
2315
+ }
2316
+
2317
+ @-webkit-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
+ @keyframes added-tc-popup-animation-scale-up {
2323
+ from {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2324
+ to {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2325
+ }
2326
+
2327
+ @-webkit-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
+ @keyframes added-tc-popup-animation-scale-down {
2333
+ from {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
2334
+ to {opacity: 0; -webkit-transform: scale(0); transform: scale(0)}
2335
+ }
2336
+
2337
+ @-webkit-keyframes added-tc-popup-animation-fade {
2338
+ from {opacity: 0;}
2339
+ to {opacity: 1;}
2340
+ }
2341
+
2342
+ @keyframes added-tc-popup-animation-fade {
2343
+ from {opacity: 0;}
2344
+ to {opacity: 1;}
2345
+ }
2346
+
2347
+ @-webkit-keyframes added-tc-popup-animation-fade-out {
2348
+ from {opacity: 1;}
2349
+ to {opacity: 0;}
2350
+ }
2351
+
2352
+ @keyframes added-tc-popup-animation-fade-out {
2353
+ from {opacity: 1;}
2354
+ to {opacity: 0;}
2355
+ }
2356
+
2357
+ @-webkit-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
+ @keyframes added-tc-popup-animation-skew {
2363
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2364
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2365
+ }
2366
+
2367
+ @-webkit-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
+ @keyframes added-tc-popup-animation-skew-off {
2373
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2374
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(-90deg); transform: perspective(600px) rotateX(-90deg)}
2375
+ }
2376
+
2377
+ @-webkit-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
+ @keyframes added-tc-popup-animation-skew-bottom {
2383
+ from {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2384
+ to {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2385
+ }
2386
+
2387
+ @-webkit-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
+ @keyframes added-tc-popup-animation-skew-off-bottom {
2393
+ from {opacity: 1; -webkit-transform: perspective(600px) rotateX(0deg); transform: perspective(600px) rotateX(0deg)}
2394
+ to {opacity: 0; -webkit-transform: perspective(600px) rotateX(90deg); transform: perspective(600px) rotateX(90deg)}
2395
+ }
2396
+
2397
+ .wpr-added-to-cart-popup {
2398
+ position: fixed;
2399
+ display: -webkit-box;
2400
+ display: -ms-flexbox;
2401
+ display: flex;
2402
+ opacity: 0;
2403
+ z-index: 99999;
2404
+ }
2405
+
2406
+ .wpr-added-to-cart-popup.wpr-added-to-cart-slide-in-left {
2407
+ -webkit-animation-name: added-tc-popup-animation-slide-in-left !important;
2408
+ animation-name: added-tc-popup-animation-slide-in-left !important;
2409
+ -webkit-animation-duration: 1s;
2410
+ animation-duration: 1s;
2411
+ -webkit-animation-fill-mode: forwards;
2412
+ animation-fill-mode: forwards;
2413
+ }
2414
+
2415
+ .wpr-added-to-cart-popup.wpr-added-to-cart-slide-out-left {
2416
+ -webkit-animation-name: added-tc-popup-animation-slide-out-left !important;
2417
+ animation-name: added-tc-popup-animation-slide-out-left !important;
2418
+ -webkit-animation-duration: 1s;
2419
+ animation-duration: 1s;
2420
+ -webkit-animation-fill-mode: forwards;
2421
+ animation-fill-mode: forwards;
2422
+ }
2423
+
2424
+ .wpr-added-to-cart-popup.wpr-added-to-cart-scale-up {
2425
+ -webkit-animation-name: added-tc-popup-animation-scale-up !important;
2426
+ animation-name: added-tc-popup-animation-scale-up !important;
2427
+ -webkit-animation-duration: 1s;
2428
+ animation-duration: 1s;
2429
+ -webkit-animation-fill-mode: forwards;
2430
+ animation-fill-mode: forwards;
2431
+ }
2432
+
2433
+ .wpr-added-to-cart-popup.wpr-added-to-cart-scale-down {
2434
+ -webkit-animation-name: added-tc-popup-animation-scale-down !important;
2435
+ animation-name: added-tc-popup-animation-scale-down !important;
2436
+ -webkit-animation-duration: 1s;
2437
+ animation-duration: 1s;
2438
+ -webkit-animation-fill-mode: forwards;
2439
+ animation-fill-mode: forwards;
2440
+ }
2441
+
2442
+ .wpr-added-to-cart-popup.wpr-added-to-cart-fade {
2443
+ -webkit-animation-name: added-tc-popup-animation-fade !important;
2444
+ animation-name: added-tc-popup-animation-fade !important;
2445
+ -webkit-animation-duration: 1s;
2446
+ animation-duration: 1s;
2447
+ -webkit-animation-fill-mode: forwards;
2448
+ animation-fill-mode: forwards;
2449
+ }
2450
+
2451
+ .wpr-added-to-cart-popup.wpr-added-to-cart-fade-out {
2452
+ -webkit-animation-name: added-tc-popup-animation-fade-out !important;
2453
+ animation-name: added-tc-popup-animation-fade-out !important;
2454
+ -webkit-animation-duration: 1s;
2455
+ animation-duration: 1s;
2456
+ -webkit-animation-fill-mode: forwards;
2457
+ animation-fill-mode: forwards;
2458
+ }
2459
+
2460
+ .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2461
+ -webkit-transform-origin: center top 0;
2462
+ -ms-transform-origin: center top 0;
2463
+ transform-origin: center top 0;
2464
+ -webkit-animation-name: added-tc-popup-animation-skew !important;
2465
+ animation-name: added-tc-popup-animation-skew !important;
2466
+ -webkit-animation-duration: 1s;
2467
+ animation-duration: 1s;
2468
+ -webkit-animation-fill-mode: forwards;
2469
+ animation-fill-mode: forwards;
2470
+ }
2471
+
2472
+ .wpr-atc-popup-top .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2473
+ -webkit-transform-origin: center top 0;
2474
+ -ms-transform-origin: center top 0;
2475
+ transform-origin: center top 0;
2476
+ -webkit-animation-name: added-tc-popup-animation-skew-off !important;
2477
+ animation-name: added-tc-popup-animation-skew-off !important;
2478
+ -webkit-animation-duration: 1s;
2479
+ animation-duration: 1s;
2480
+ -webkit-animation-fill-mode: forwards;
2481
+ animation-fill-mode: forwards;
2482
+ }
2483
+
2484
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew {
2485
+ -webkit-transform-origin: center bottom 0;
2486
+ -ms-transform-origin: center bottom 0;
2487
+ transform-origin: center bottom 0;
2488
+ -webkit-animation-name: added-tc-popup-animation-skew-bottom !important;
2489
+ animation-name: added-tc-popup-animation-skew-bottom !important;
2490
+ -webkit-animation-duration: 1s;
2491
+ animation-duration: 1s;
2492
+ -webkit-animation-fill-mode: forwards;
2493
+ animation-fill-mode: forwards;
2494
+ }
2495
+
2496
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup.wpr-added-to-cart-skew-off {
2497
+ -webkit-transform-origin: center bottom 0;
2498
+ -ms-transform-origin: center bottom 0;
2499
+ transform-origin: center bottom 0;
2500
+ -webkit-animation-name: added-tc-popup-animation-skew-off-bottom !important;
2501
+ animation-name: added-tc-popup-animation-skew-off-bottom !important;
2502
+ -webkit-animation-duration: 1s;
2503
+ animation-duration: 1s;
2504
+ -webkit-animation-fill-mode: forwards;
2505
+ animation-fill-mode: forwards;
2506
+ }
2507
+
2508
+ .wpr-atc-popup-top .wpr-added-to-cart-popup {
2509
+ -webkit-animation-name: added-tc-popup-animation;
2510
+ animation-name: added-tc-popup-animation;
2511
+ -webkit-animation-duration: 1s;
2512
+ animation-duration: 1s;
2513
+ -webkit-animation-fill-mode: forwards;
2514
+ animation-fill-mode: forwards;
2515
+ }
2516
+
2517
+ .wpr-atc-popup-top .wpr-added-to-cart-popup-hide {
2518
+ -webkit-animation-name: added-tc-popup-animation-hide;
2519
+ animation-name: added-tc-popup-animation-hide;
2520
+ -webkit-animation-duration: 1s;
2521
+ animation-duration: 1s;
2522
+ -webkit-animation-fill-mode: forwards;
2523
+ animation-fill-mode: forwards;
2524
+ }
2525
+
2526
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2527
+ -webkit-animation-name: added-tc-popup-animation-bottom;
2528
+ animation-name: added-tc-popup-animation-bottom;
2529
+ -webkit-animation-duration: 1s;
2530
+ animation-duration: 1s;
2531
+ -webkit-animation-fill-mode: forwards;
2532
+ animation-fill-mode: forwards;
2533
+ }
2534
+
2535
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup-hide {
2536
+ -webkit-animation-name: added-tc-popup-animation-hide-bottom;
2537
+ animation-name: added-tc-popup-animation-hide-bottom;
2538
+ -webkit-animation-duration: 1s;
2539
+ animation-duration: 1s;
2540
+ -webkit-animation-fill-mode: forwards;
2541
+ animation-fill-mode: forwards;
2542
+ }
2543
+
2544
+ .wpr-atc-popup-top .wpr-added-to-cart-popup {
2545
+ top: 0;
2546
+ right: 0;
2547
+ }
2548
+
2549
+ .wpr-atc-popup-bottom .wpr-added-to-cart-popup {
2550
+ bottom: 0;
2551
+ right: 0;
2552
+ }
2553
+
2554
+ .wpr-added-tc-title {
2555
+ -webkit-box-flex: 1;
2556
+ -ms-flex: 1;
2557
+ flex: 1;
2558
+ }
2559
+
2560
+ .wpr-added-tc-title a {
2561
+ display: inline;
2562
+ }
2563
+
2564
+ .wpr-added-tc-title p {
2565
+ margin: 0;
2566
+ }
2567
+
2568
+ .wpr-added-tc-popup-img img {
2569
+ width: 100%;
2570
+ height: auto;
2571
+ }
2572
+
2573
+ .wpr-grid .added_to_cart {
2574
+ opacity: 0;
2575
+ }
2576
+
2577
+ /* Pagination */
2578
+
2579
+ .wpr-grid-pagination {
2580
+ margin-top: 30px;
2581
+ }
2582
+
2583
+ .wpr-grid-pagination>a,
2584
+ .wpr-grid-pagination>span {
2585
+ display: inline-block;
2586
+ }
2587
+
2588
+ .wpr-grid-pagination i,
2589
+ .wpr-grid-pagination svg {
2590
+ vertical-align: middle;
2591
+ }
2592
+
2593
+ .wpr-grid-pagination .wpr-disabled-arrow {
2594
+ cursor: not-allowed;
2595
+ opacity: 0.4;
2596
+ }
2597
+
2598
+ .wpr-pagination-loading,
2599
+ .wpr-pagination-finish {
2600
+ display: none;
2601
+ }
2602
+
2603
+ .wpr-grid-pagination-center .wpr-grid-pagination,
2604
+ .wpr-grid-pagination-justify .wpr-grid-pagination {
2605
+ text-align: center;
2606
+ }
2607
+
2608
+ .wpr-grid-pagination-center .wpr-grid-pagination {
2609
+ display: -webkit-box;
2610
+ display: -ms-flexbox;
2611
+ display: flex;
2612
+ -webkit-box-pack: center;
2613
+ -ms-flex-pack: center;
2614
+ justify-content: center;
2615
+ }
2616
+
2617
+ .wpr-grid-pagination-left .wpr-grid-pagination {
2618
+ text-align: left;
2619
+ display: -webkit-box;
2620
+ display: -ms-flexbox;
2621
+ display: flex;
2622
+ -webkit-box-pack: start;
2623
+ -ms-flex-pack: start;
2624
+ justify-content: flex-start;
2625
+ }
2626
+
2627
+ .wpr-grid-pagination-right .wpr-grid-pagination {
2628
+ text-align: right;
2629
+ display: -webkit-box;
2630
+ display: -ms-flexbox;
2631
+ display: flex;
2632
+ -webkit-box-pack: end;
2633
+ -ms-flex-pack: end;
2634
+ justify-content: flex-end;
2635
+ }
2636
+
2637
+ .wpr-grid-pagination-infinite-scroll {
2638
+ text-align: center;
2639
+ }
2640
+
2641
+ .wpr-grid-pagination-justify .wpr-grid-pagi-left-arrows,
2642
+ .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-prev-post-link {
2643
+ float: left;
2644
+ }
2645
+
2646
+ .wpr-grid-pagination-justify .wpr-grid-pagi-right-arrows,
2647
+ .wpr-grid-pagination-justify .wpr-grid-pagination-default .wpr-next-post-link {
2648
+ float: right;
2649
+ }
2650
+
2651
+ .wpr-grid-pagi-left-arrows,
2652
+ .wpr-grid-pagi-right-arrows,
2653
+ .wpr-grid-pagination .wpr-load-more-btn {
2654
+ display: inline-block;
2655
+ }
2656
+
2657
+ .wpr-load-more-btn,
2658
+ .wpr-grid-pagi-right-arrows a:last-child,
2659
+ .wpr-grid-pagi-right-arrows span:last-child {
2660
+ margin-right: 0 !important;
2661
+ }
2662
+
2663
+ .wpr-grid-pagination .wpr-first-page,
2664
+ .wpr-grid-pagination .wpr-last-page,
2665
+ .wpr-grid-pagination .wpr-prev-page,
2666
+ .wpr-grid-pagination .wpr-prev-post-link,
2667
+ .wpr-grid-pagination .wpr-next-page,
2668
+ .wpr-grid-pagination .wpr-next-post-link {
2669
+ display: -webkit-inline-box;
2670
+ display: -ms-inline-flexbox;
2671
+ display: inline-flex;
2672
+ -webkit-box-pack: center;
2673
+ -ms-flex-pack: center;
2674
+ justify-content: center;
2675
+ -webkit-box-align: center;
2676
+ -ms-flex-align: center;
2677
+ align-items: center;
2678
+ height: 100%;
2679
+ }
2680
+
2681
+ @media screen and ( max-width: 767px) {
2682
+ .wpr-grid-pagination a,
2683
+ .wpr-grid-pagination span {
2684
+ margin-bottom: 10px;
2685
+ }
2686
+ .wpr-grid-pagination span>span,
2687
+ .wpr-grid-pagination a>span {
2688
+ display: none;
2689
+ }
2690
+ .wpr-grid-pagination.wpr-grid-pagination-numbered span i,
2691
+ .wpr-grid-pagination.wpr-grid-pagination-numbered a i {
2692
+ padding: 0 !important;
2693
+ }
2694
+ }
2695
+
2696
+ .elementor-editor-active .wpr-grid-pagination-infinite-scroll {
2697
+ display: none;
2698
+ }
2699
+
2700
+
2701
+ /* Grid Slider Navigation */
2702
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow-container {
2703
+ position: absolute;
2704
+ display: -webkit-box;
2705
+ display: -ms-flexbox;
2706
+ display: flex;
2707
+ }
2708
+
2709
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-arrow {
2710
+ position: static;
2711
+ }
2712
+
2713
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-prev-arrow {
2714
+ -ms-transform: none;
2715
+ transform: none;
2716
+ -webkit-transform: none;
2717
+ }
2718
+
2719
+ .wpr-grid-slider-nav-position-default .wpr-grid-slider-next-arrow {
2720
+ -ms-transform: translateY(0) rotate(180deg);
2721
+ transform: translateY(0) rotate(180deg);
2722
+ -webkit-transform: translateY(0) rotate(180deg);
2723
+ }
2724
+
2725
+ .wpr-grid-slider-nav-align-top-center .wpr-grid-slider-arrow-container,
2726
+ .wpr-grid-slider-nav-align-bottom-center .wpr-grid-slider-arrow-container {
2727
+ left: 50%;
2728
+ -webkit-transform: translateX(-50%);
2729
+ -ms-transform: translateX(-50%);
2730
+ transform: translateX(-50%);
2731
+ }
2732
+
2733
+ .wpr-grid-slider-arrow {
2734
+ position: absolute;
2735
+ z-index: 120;
2736
+ top: 50%;
2737
+ -webkit-box-sizing: content-box;
2738
+ box-sizing: content-box;
2739
+ -webkit-box-align: center;
2740
+ -ms-flex-align: center;
2741
+ align-items: center;
2742
+ -webkit-box-pack: center;
2743
+ -ms-flex-pack: center;
2744
+ justify-content: center;
2745
+ -webkit-transition: all .5s;
2746
+ -o-transition: all .5s;
2747
+ transition: all .5s;
2748
+ text-align: center;
2749
+ cursor: pointer;
2750
+ }
2751
+
2752
+ .wpr-grid-slider-arrow i {
2753
+ display: block;
2754
+ width: 100%;
2755
+ height: 100%;
2756
+ }
2757
+
2758
+ .wpr-grid-slider-prev-arrow {
2759
+ left: 1%;
2760
+ -webkit-transform: translateY(-50%);
2761
+ -ms-transform: translateY(-50%);
2762
+ transform: translateY(-50%);
2763
+ }
2764
+
2765
+ .wpr-grid-slider-next-arrow {
2766
+ right: 1%;
2767
+ -webkit-transform: translateY(-50%) rotate(180deg);
2768
+ -ms-transform: translateY(-50%) rotate(180deg);
2769
+ transform: translateY(-50%) rotate(180deg);
2770
+ }
2771
+
2772
+ .wpr-grid-slider-nav-fade .wpr-grid-slider-arrow-container {
2773
+ opacity: 0;
2774
+ visibility: hidden;
2775
+ }
2776
+
2777
+ .wpr-grid-slider-nav-fade:hover .wpr-grid-slider-arrow-container {
2778
+ opacity: 1;
2779
+ visibility: visible;
2780
+ }
2781
+
2782
+
2783
+ /* Grid Slider Pagination */
2784
+ .wpr-grid-slider-dots {
2785
+ display: inline-table;
2786
+ position: absolute;
2787
+ z-index: 110;
2788
+ left: 50%;
2789
+ -webkit-transform: translate(-50%, -50%);
2790
+ -ms-transform: translate(-50%, -50%);
2791
+ transform: translate(-50%, -50%);
2792
+ }
2793
+
2794
+ .wpr-grid-slider-dots ul {
2795
+ list-style: none;
2796
+ margin: 0;
2797
+ padding: 0;
2798
+ }
2799
+
2800
+ .wpr-grid-slider-dots-horizontal .wpr-grid-slider-dots li,
2801
+ .wpr-grid-slider-dots-pro-vr .slick-dots li {
2802
+ float: left;
2803
+ }
2804
+
2805
+ .wpr-grid.slick-dotted.slick-slider {
2806
+ margin-bottom: 0 !important;
2807
+ }
2808
+
2809
+ .wpr-grid-slider-dots-vertical .slick-dots li {
2810
+ display: block;
2811
+ width: auto !important;
2812
+ height: auto !important;
2813
+ margin: 0 !important;
2814
+ }
2815
+
2816
+ .wpr-grid-slider-dots-horizontal .slick-dots li,
2817
+ .wpr-grid-slider-dots-pro-vr .slick-dots li {
2818
+ width: auto !important;
2819
+ padding-top: 10px;
2820
+ margin: 0 !important;
2821
+ }
2822
+
2823
+ .wpr-grid-slider-dots-horizontal .slick-dots li:last-child span {
2824
+ margin-right: 0 !important;
2825
+ }
2826
+
2827
+ .wpr-grid-slider-dot {
2828
+ display: block;
2829
+ cursor: pointer;
2830
+ }
2831
+
2832
+ .wpr-grid-slider-dots li:last-child .wpr-grid-slider-dot {
2833
+ margin: 0 !important;
2834
+ }
2835
+
2836
+
2837
+ /* Password Protected Form */
2838
+ .wpr-grid-item-protected {
2839
+ position: absolute;
2840
+ top: 0;
2841
+ left: 0;
2842
+ z-index: 11 !important;
2843
+ width: 100%;
2844
+ height: 100%;
2845
+ }
2846
+
2847
+ .wpr-grid-item-protected i {
2848
+ font-size: 22px;
2849
+ }
2850
+
2851
+ .wpr-grid-item-protected input {
2852
+ width: 50%;
2853
+ border: none;
2854
+ margin-top: 10px;
2855
+ padding: 7px 13px;
2856
+ font-size: 13px;
2857
+ }
2858
+
2859
+ /* Locate It Later */
2860
+ .wpr-grid-sorting-inner-wrap {
2861
+ display: -webkit-box;
2862
+ display: -ms-flexbox;
2863
+ display: flex;
2864
+ -webkit-box-align: center;
2865
+ -ms-flex-align: center;
2866
+ align-items: center;
2867
+ -webkit-box-pack: justify;
2868
+ -ms-flex-pack: justify;
2869
+ justify-content: space-between;
2870
+ }
2871
+
2872
+ .wpr-products-result-count .woocommerce-result-count {
2873
+ margin: 0;
2874
+ }
2875
+
2876
+ .wpr-sort-select-position-above .wpr-grid-sort-heading {
2877
+ display: -webkit-box;
2878
+ display: -ms-flexbox;
2879
+ display: flex;
2880
+ -webkit-box-pack: justify;
2881
+ -ms-flex-pack: justify;
2882
+ justify-content: space-between;
2883
+ }
2884
+
2885
+ .wpr-grid-sort-heading {
2886
+ /* flex: 1; */
2887
+ width: 100%;
2888
+ /* flex-basis: 100%; */
2889
+ }
2890
+
2891
+ .wpr-grid-sort-heading * {
2892
+ margin: 0;
2893
+ }
2894
+
2895
+ .wpr-grid-sorting-inner-wrap form .orderby::-ms-expend {
2896
+ display: none;
2897
+ }
2898
+
2899
+ .wpr-grid-orderby span {
2900
+ position: relative;
2901
+ display: block;
2902
+ }
2903
+
2904
+ .wpr-grid-sorting-wrap form .orderby {
2905
+ /* for Firefox */
2906
+ -moz-appearance: none;
2907
+ /* for Chrome */
2908
+ -webkit-appearance: none;
2909
+ }
2910
+
2911
+ .wpr-grid-sorting-wrap .wpr-orderby-icon {
2912
+ position: absolute;
2913
+ top: 50%;
2914
+ -webkit-transform: translateY(-50%);
2915
+ -ms-transform: translateY(-50%);
2916
+ transform: translateY(-50%);
2917
+ font-family: "Font Awesome 5 Free";
2918
+ font-weight: 600 !important;
2919
+ }
2920
+
2921
+ /* Defaults */
2922
+ .elementor-widget-wpr-grid .wpr-grid-media-hover-bg,
2923
+ .elementor-widget-wpr-media-grid .wpr-grid-media-hover-bg,
2924
+ .elementor-widget-wpr-woo-grid .wpr-grid-media-hover-bg {
2925
+ background-color: rgba(0, 0, 0, 0.25);
2926
+ }
2927
+
2928
+ .elementor-widget-wpr-magazine-grid .wpr-grid-media-hover-bg {
2929
+ background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2930
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(46%, rgba(255, 255, 255, 0)), to(rgba(96, 91, 229, 0.87)));
2931
+ background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(96, 91, 229, 0.87) 100%);
2932
+ }
2933
+
2934
+ .elementor-widget-wpr-grid .wpr-grid-item-title,
2935
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-title,
2936
+ .elementor-widget-wpr-woo-category-grid-pro .wpr-grid-item-title {
2937
+ font-size: 21px;
2938
+ font-weight: 700;
2939
+ line-height: 23px;
2940
+ margin: 0;
2941
+ }
2942
+
2943
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-title {
2944
+ font-size: 22px;
2945
+ margin: 0;
2946
+ }
2947
+
2948
+ .elementor-widget-wpr-media-grid .wpr-grid-item-title {
2949
+ font-size: 15px;
2950
+ font-weight: 500;
2951
+ margin: 0;
2952
+ }
2953
+
2954
+ .elementor-widget-wpr-grid .wpr-grid-item-content,
2955
+ .elementor-widget-wpr-grid .wpr-grid-item-excerpt,
2956
+ .elementor-widget-wpr-grid .wpr-grid-item-author,
2957
+ .elementor-widget-wpr-grid .wpr-grid-item-time,
2958
+ .elementor-widget-wpr-grid .wpr-grid-item-read-more a,
2959
+ .elementor-widget-wpr-grid .wpr-grid-item-likes,
2960
+ .elementor-widget-wpr-grid .wpr-grid-item-sharing,
2961
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-1,
2962
+ .elementor-widget-wpr-grid .wpr-grid-cf-style-1,
2963
+ .elementor-widget-wpr-grid .wpr-grid-filters li,
2964
+ .elementor-widget-wpr-grid .wpr-grid-pagination,
2965
+ .elementor-widget-wpr-grid .wpr-grid-item-protected p,
2966
+ .elementor-widget-wpr-media-grid .wpr-grid-item-sharing,
2967
+ .elementor-widget-wpr-media-grid .wpr-grid-filters li,
2968
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-content,
2969
+ .elementor-widget-wpr-woo-grid .wpr-grid-product-categories,
2970
+ .elementor-widget-wpr-woo-grid .wpr-grid-product-tags,
2971
+ .elementor-widget-wpr-woo-grid .wpr-woo-rating span,
2972
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-status .inner-block>span,
2973
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-add-to-cart a,
2974
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-likes,
2975
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-sharing,
2976
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-lightbox,
2977
+ .elementor-widget-wpr-woo-grid .wpr-grid-pagination,
2978
+ .elementor-widget-wpr-woo-grid .wpr-grid-item-price .inner-block>span,
2979
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-content,
2980
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-excerpt {
2981
+ font-size: 14px;
2982
+ }
2983
+
2984
+ .elementor-widget-wpr-magazine-grid .wpr-grid-tax-style-1 {
2985
+ font-size: 12px;
2986
+ list-style-position: 0.5px;
2987
+ }
2988
+
2989
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-date,
2990
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-time,
2991
+ .elementor-widget-wpr-magazine-grid .wpr-grid-item-author {
2992
+ font-size: 12px;
2993
+ list-style-position: 0.3px;
2994
+ }
2995
+
2996
+ .elementor-widget-wpr-grid .wpr-grid-item-date,
2997
+ .elementor-widget-wpr-grid .wpr-grid-item-comments,
2998
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2,
2999
+ .elementor-widget-wpr-media-grid .wpr-grid-item-caption,
3000
+ .elementor-widget-wpr-media-grid .wpr-grid-item-date,
3001
+ .elementor-widget-wpr-media-grid .wpr-grid-item-time,
3002
+ .elementor-widget-wpr-media-grid .wpr-grid-item-author,
3003
+ .elementor-widget-wpr-media-grid .wpr-grid-item-likes,
3004
+ .elementor-widget-wpr-media-grid .wpr-grid-tax-style-1,
3005
+ .elementor-widget-wpr-media-grid .wpr-grid-tax-style-2,
3006
+ .elementor-widget-wpr-media-magazine-grid .wpr-grid-tax-style-2 {
3007
+ font-size: 14px;
3008
+ }
3009
+
3010
+ .elementor-widget-wpr-grid .wpr-grid-item-lightbox,
3011
+ .elementor-widget-wpr-media-grid .wpr-grid-item-lightbox {
3012
+ font-size: 18px;
3013
+ }
3014
+
3015
+ .elementor-widget-wpr-grid .wpr-grid-cf-style-2,
3016
+ .elementor-widget-wpr-media-grid .wpr-grid-pagination {
3017
+ font-size: 15px;
3018
+ }
3019
+
3020
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a {
3021
+ background-color: #605BE5;
3022
+ }
3023
+
3024
+ .elementor-widget-wpr-grid .wpr-grid-tax-style-2 .inner-block a:hover {
3025
+ background-color: #4A45D2;
3026
+ }
3027
+
3028
+ @media screen and (max-width: 580px) {
3029
+ .wpr-grid-sorting-inner-wrap {
3030
+ -webkit-box-orient: vertical;
3031
+ -webkit-box-direction: normal;
3032
+ -ms-flex-direction: column;
3033
+ flex-direction: column;
3034
+ -webkit-box-align: start;
3035
+ -ms-flex-align: start;
3036
+ align-items: flex-start;
3037
+ }
3038
+
3039
+ .wpr-products-result-count {
3040
+ margin-bottom: 5px;
3041
+ }
3042
+
3043
+ .wpr-grid-orderby,
3044
+ .wpr-grid-orderby select.orderby,
3045
+ .wpr-products-result-count {
3046
+ width: 100% !important;
3047
+ }
3048
+ }
3049
+
3050
+
3051
+ /*--------------------------------------------------------------
3052
+ == Magazine Grid
3053
+ --------------------------------------------------------------*/
3054
+
3055
+ .wpr-magazine-grid {
3056
+ display: -ms-grid;
3057
+ display: grid;
3058
+ -webkit-box-pack: stretch;
3059
+ -ms-flex-pack: stretch;
3060
+ justify-content: stretch;
3061
+ -ms-grid-rows: 1fr 1fr;
3062
+ grid-template-rows: 1fr 1fr;
3063
+ }
3064
+
3065
+ .wpr-mgzn-grid-item {
3066
+ padding: 0 !important;
3067
+ text-align: center;
3068
+ }
3069
+
3070
+ .wpr-mgzn-grid-1vh-3h {
3071
+ -ms-grid-rows: auto;
3072
+ grid-template-rows: auto;
3073
+ }
3074
+
3075
+ .wpr-mgzn-grid-1-1-1 {
3076
+ -ms-grid-rows: 1fr;
3077
+ grid-template-rows: 1fr;
3078
+ }
3079
+
3080
+ .wpr-mgzn-grid-2-3,
3081
+ .wpr-mgzn-grid-1-1-3 {
3082
+ -ms-grid-columns: (1fr)[6];
3083
+ grid-template-columns: repeat(6, 1fr);
3084
+ }
3085
+
3086
+ .wpr-mgzn-grid-2-h {
3087
+ -ms-grid-columns: (1fr)[2];
3088
+ grid-template-columns: repeat(2, 1fr);
3089
+ }
3090
+
3091
+ .wpr-mgzn-grid-3-h {
3092
+ -ms-grid-columns: (1fr)[3];
3093
+ grid-template-columns: repeat(3, 1fr);
3094
+ }
3095
+
3096
+ .wpr-mgzn-grid-4-h {
3097
+ -ms-grid-columns: (1fr)[4];
3098
+ grid-template-columns: repeat(4, 1fr);
3099
+ }
3100
+
3101
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(1) {
3102
+ -ms-grid-column: 1;
3103
+ grid-column-start: 1;
3104
+ -ms-grid-row: 1;
3105
+ grid-row-start: 1;
3106
+ -ms-grid-row-span: 3;
3107
+ grid-row-end: 4;
3108
+ }
3109
+
3110
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(2) {
3111
+ -ms-grid-column: 2;
3112
+ grid-column-start: 2;
3113
+ }
3114
+
3115
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(3) {
3116
+ -ms-grid-column: 2;
3117
+ grid-column-start: 2;
3118
+ }
3119
+
3120
+ .wpr-mgzn-grid-1vh-3h .wpr-mgzn-grid-item:nth-child(4) {
3121
+ -ms-grid-column: 2;
3122
+ grid-column-start: 2;
3123
+ }
3124
+
3125
+ .wpr-mgzn-grid-1-2 .wpr-mgzn-grid-item:nth-child(1),
3126
+ .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(1),
3127
+ .wpr-mgzn-grid-1-4 .wpr-mgzn-grid-item:nth-child(1),
3128
+ .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(1) {
3129
+ -ms-grid-column: 1;
3130
+ grid-column-start: 1;
3131
+ -ms-grid-row: 1;
3132
+ grid-row-start: 1;
3133
+ -ms-grid-row-span: 2;
3134
+ grid-row-end: 3;
3135
+ }
3136
+
3137
+ .wpr-mgzn-grid-1-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3138
+ -ms-grid-row: 1;
3139
+ grid-row-start: 1;
3140
+ -ms-grid-row-span: 2;
3141
+ grid-row-end: 3;
3142
+ }
3143
+
3144
+ .wpr-mgzn-grid-2-1-2 .wpr-mgzn-grid-item:nth-child(2) {
3145
+ -ms-grid-column: 2;
3146
+ grid-column-start: 2;
3147
+ -ms-grid-row: 1;
3148
+ grid-row-start: 1;
3149
+ -ms-grid-row-span: 2;
3150
+ grid-row-end: 3;
3151
+ }
3152
+
3153
+ .wpr-mgzn-grid-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3154
+ -ms-grid-column: 2;
3155
+ grid-column-start: 2;
3156
+ -ms-grid-column-span: 2;
3157
+ grid-column-end: 4;
3158
+ }
3159
+
3160
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1),
3161
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2),
3162
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1),
3163
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3164
+ -ms-grid-row: 1;
3165
+ grid-row-start: 1;
3166
+ -ms-grid-row-span: 1;
3167
+ grid-row-end: 2;
3168
+ }
3169
+
3170
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(1) {
3171
+ -ms-grid-column: 1;
3172
+ grid-column-start: 1;
3173
+ -ms-grid-column-span: 3;
3174
+ grid-column-end: 4;
3175
+ }
3176
+
3177
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(2) {
3178
+ -ms-grid-column: 4;
3179
+ grid-column-start: 4;
3180
+ -ms-grid-column-span: 3;
3181
+ grid-column-end: 7;
3182
+ }
3183
+
3184
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(1) {
3185
+ -ms-grid-column: 1;
3186
+ grid-column-start: 1;
3187
+ -ms-grid-column-span: 4;
3188
+ grid-column-end: 5;
3189
+ }
3190
+
3191
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(2) {
3192
+ -ms-grid-column: 5;
3193
+ grid-column-start: 5;
3194
+ -ms-grid-column-span: 2;
3195
+ grid-column-end: 7;
3196
+ }
3197
+
3198
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3199
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3200
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3201
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3),
3202
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4),
3203
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3204
+ -ms-grid-row: 2;
3205
+ grid-row-start: 2;
3206
+ -ms-grid-row-span: 1;
3207
+ grid-row-end: 3;
3208
+ }
3209
+
3210
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(3),
3211
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(3) {
3212
+ -ms-grid-column: 1;
3213
+ grid-column-start: 1;
3214
+ -ms-grid-column-span: 2;
3215
+ grid-column-end: 3;
3216
+ }
3217
+
3218
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(4),
3219
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(4) {
3220
+ -ms-grid-column: 3;
3221
+ grid-column-start: 3;
3222
+ -ms-grid-column-span: 2;
3223
+ grid-column-end: 5;
3224
+ }
3225
+
3226
+ .wpr-mgzn-grid-2-3 .wpr-mgzn-grid-item:nth-child(5),
3227
+ .wpr-mgzn-grid-1-1-3 .wpr-mgzn-grid-item:nth-child(5) {
3228
+ -ms-grid-column: 5;
3229
+ grid-column-start: 5;
3230
+ -ms-grid-column-span: 2;
3231
+ grid-column-end: 7;
3232
+ }
3233
+
3234
+ .wpr-magazine-grid .wpr-grid-item-inner,
3235
+ .wpr-magazine-grid .wpr-grid-media-wrap,
3236
+ .wpr-magazine-grid .wpr-grid-image-wrap {
3237
+ height: 100%;
3238
+ }
3239
+
3240
+ .wpr-magazine-grid .wpr-grid-image-wrap {
3241
+ background-size: cover;
3242
+ background-position: center center;
3243
+ }
3244
+
3245
+ .wpr-magazine-grid .wpr-grid-media-hover {
3246
+ z-index: 1;
3247
+ }
3248
+
3249
+
3250
+ /* Responsive */
3251
+
3252
+ @media screen and ( max-width: 1024px) {
3253
+ /* Layout 1 */
3254
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2 {
3255
+ -ms-grid-columns: 1fr 1fr !important;
3256
+ grid-template-columns: 1fr 1fr !important;
3257
+ -ms-grid-rows: 1fr 1fr 1fr;
3258
+ grid-template-rows: 1fr 1fr 1fr;
3259
+ }
3260
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(1) {
3261
+ -ms-grid-row: 1;
3262
+ -ms-grid-column: 1;
3263
+ }
3264
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(2) {
3265
+ -ms-grid-row: 1;
3266
+ -ms-grid-column: 2;
3267
+ }
3268
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(3) {
3269
+ -ms-grid-row: 2;
3270
+ -ms-grid-column: 1;
3271
+ }
3272
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(4) {
3273
+ -ms-grid-row: 2;
3274
+ -ms-grid-column: 2;
3275
+ }
3276
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(5) {
3277
+ -ms-grid-row: 3;
3278
+ -ms-grid-column: 1;
3279
+ }
3280
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2>*:nth-child(6) {
3281
+ -ms-grid-row: 3;
3282
+ -ms-grid-column: 2;
3283
+ }
3284
+ .wpr-magazine-grid.wpr-mgzn-grid-1-2 article:nth-child(1) {
3285
+ -ms-grid-column-span: 3 !important;
3286
+ grid-column-end: 3 !important;
3287
+ }
3288
+ /* Layout 2 */
3289
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 {
3290
+ -ms-grid-columns: 1fr 1fr !important;
3291
+ grid-template-columns: 1fr 1fr !important;
3292
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3293
+ grid-template-rows: 1fr 1fr 1fr !important;
3294
+ }
3295
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(1) {
3296
+ -ms-grid-row: 1;
3297
+ -ms-grid-column: 1;
3298
+ }
3299
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(2) {
3300
+ -ms-grid-row: 1;
3301
+ -ms-grid-column: 2;
3302
+ }
3303
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(3) {
3304
+ -ms-grid-row: 2;
3305
+ -ms-grid-column: 1;
3306
+ }
3307
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(4) {
3308
+ -ms-grid-row: 2;
3309
+ -ms-grid-column: 2;
3310
+ }
3311
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(5) {
3312
+ -ms-grid-row: 3;
3313
+ -ms-grid-column: 1;
3314
+ }
3315
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3>*:nth-child(6) {
3316
+ -ms-grid-row: 3;
3317
+ -ms-grid-column: 2;
3318
+ }
3319
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(1) {
3320
+ -ms-grid-column-span: 3 !important;
3321
+ grid-column-end: 3 !important;
3322
+ -ms-grid-row-span: 2 !important;
3323
+ grid-row-end: 2 !important;
3324
+ }
3325
+ .wpr-magazine-grid.wpr-mgzn-grid-1-3 article:nth-child(2) {
3326
+ -ms-grid-column: 1 !important;
3327
+ grid-column-start: 1 !important;
3328
+ -ms-grid-column-span: 2 !important;
3329
+ grid-column-end: 3 !important;
3330
+ }
3331
+ /* Layout 3 */
3332
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4 {
3333
+ -ms-grid-columns: 1fr 1fr !important;
3334
+ grid-template-columns: 1fr 1fr !important;
3335
+ -ms-grid-rows: (1fr)[3];
3336
+ grid-template-rows: repeat(3, 1fr);
3337
+ }
3338
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(1) {
3339
+ -ms-grid-row: 1;
3340
+ -ms-grid-column: 1;
3341
+ }
3342
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(2) {
3343
+ -ms-grid-row: 1;
3344
+ -ms-grid-column: 2;
3345
+ }
3346
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(3) {
3347
+ -ms-grid-row: 2;
3348
+ -ms-grid-column: 1;
3349
+ }
3350
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(4) {
3351
+ -ms-grid-row: 2;
3352
+ -ms-grid-column: 2;
3353
+ }
3354
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(5) {
3355
+ -ms-grid-row: 3;
3356
+ -ms-grid-column: 1;
3357
+ }
3358
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4>*:nth-child(6) {
3359
+ -ms-grid-row: 3;
3360
+ -ms-grid-column: 2;
3361
+ }
3362
+ .wpr-magazine-grid.wpr-mgzn-grid-1-4 article:nth-child(1) {
3363
+ -ms-grid-column: 1;
3364
+ grid-column-start: 1;
3365
+ -ms-grid-column-span: 2;
3366
+ grid-column-end: 3;
3367
+ -ms-grid-row-span: 1 !important;
3368
+ grid-row-end: 1 !important;
3369
+ }
3370
+ /* Layout 4 */
3371
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 {
3372
+ -ms-grid-columns: 1fr 1fr !important;
3373
+ grid-template-columns: 1fr 1fr !important;
3374
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3375
+ grid-template-rows: 1fr 1fr 1fr !important;
3376
+ }
3377
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(1) {
3378
+ -ms-grid-row: 1;
3379
+ -ms-grid-column: 1;
3380
+ }
3381
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(2) {
3382
+ -ms-grid-row: 1;
3383
+ -ms-grid-column: 2;
3384
+ }
3385
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(3) {
3386
+ -ms-grid-row: 2;
3387
+ -ms-grid-column: 1;
3388
+ }
3389
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(4) {
3390
+ -ms-grid-row: 2;
3391
+ -ms-grid-column: 2;
3392
+ }
3393
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(5) {
3394
+ -ms-grid-row: 3;
3395
+ -ms-grid-column: 1;
3396
+ }
3397
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2>*:nth-child(6) {
3398
+ -ms-grid-row: 3;
3399
+ -ms-grid-column: 2;
3400
+ }
3401
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(1) {
3402
+ -ms-grid-column-span: 3;
3403
+ grid-column-end: 3;
3404
+ -ms-grid-row: 1;
3405
+ grid-row-start: 1;
3406
+ -ms-grid-row-span: 1;
3407
+ grid-row-end: 2;
3408
+ }
3409
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-2 article:nth-child(2) {
3410
+ -ms-grid-column: 1;
3411
+ grid-column-start: 1;
3412
+ -ms-grid-column-span: 2;
3413
+ grid-column-end: 3;
3414
+ -ms-grid-row: 2;
3415
+ grid-row-start: 2;
3416
+ -ms-grid-row-span: 1;
3417
+ grid-row-end: 3;
3418
+ }
3419
+ /* Layout 5 */
3420
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 {
3421
+ -ms-grid-columns: 1fr 1fr !important;
3422
+ grid-template-columns: 1fr 1fr !important;
3423
+ -ms-grid-rows: 1fr 1fr 1fr !important;
3424
+ grid-template-rows: 1fr 1fr 1fr !important;
3425
+ }
3426
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(1) {
3427
+ -ms-grid-row: 1;
3428
+ -ms-grid-column: 1;
3429
+ }
3430
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(2) {
3431
+ -ms-grid-row: 1;
3432
+ -ms-grid-column: 2;
3433
+ }
3434
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(3) {
3435
+ -ms-grid-row: 2;
3436
+ -ms-grid-column: 1;
3437
+ }
3438
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(4) {
3439
+ -ms-grid-row: 2;
3440
+ -ms-grid-column: 2;
3441
+ }
3442
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(5) {
3443
+ -ms-grid-row: 3;
3444
+ -ms-grid-column: 1;
3445
+ }
3446
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2>*:nth-child(6) {
3447
+ -ms-grid-row: 3;
3448
+ -ms-grid-column: 2;
3449
+ }
3450
+ .wpr-magazine-grid.wpr-mgzn-grid-2-1-2 article:nth-child(2) {
3451
+ -ms-grid-column: 1;
3452
+ grid-column-start: 1;
3453
+ -ms-grid-column-span: 2;
3454
+ grid-column-end: 3;
3455
+ -ms-grid-row: 2;
3456
+ grid-row-start: 2;
3457
+ }
3458
+ /* Layout 6 */
3459
+ .wpr-magazine-grid.wpr-mgzn-grid-1vh-3h {
3460
+ -ms-grid-columns: 1fr 1fr !important;
3461
+ grid-template-columns: 1fr 1fr !important;
3462
+ }
3463
+ /* Layout 7 */
3464
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 {
3465
+ -ms-grid-columns: 1fr 1fr !important;
3466
+ grid-template-columns: 1fr 1fr !important;
3467
+ -ms-grid-rows: 1fr 1fr !important;
3468
+ grid-template-rows: 1fr 1fr !important;
3469
+ }
3470
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(1) {
3471
+ -ms-grid-row: 1;
3472
+ -ms-grid-column: 1;
3473
+ }
3474
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(2) {
3475
+ -ms-grid-row: 1;
3476
+ -ms-grid-column: 2;
3477
+ }
3478
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(3) {
3479
+ -ms-grid-row: 2;
3480
+ -ms-grid-column: 1;
3481
+ }
3482
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1>*:nth-child(4) {
3483
+ -ms-grid-row: 2;
3484
+ -ms-grid-column: 2;
3485
+ }
3486
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-1 article:nth-child(2) {
3487
+ -ms-grid-column: 1;
3488
+ grid-column-start: 1;
3489
+ -ms-grid-column-span: 2;
3490
+ grid-column-end: 3;
3491
+ -ms-grid-row: 1;
3492
+ grid-row-start: 1
3493
+ }
3494
+ /* Layout 8 */
3495
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 {
3496
+ -ms-grid-columns: 1fr 1fr !important;
3497
+ grid-template-columns: 1fr 1fr !important;
3498
+ -ms-grid-rows: (1fr)[3];
3499
+ grid-template-rows: repeat(3, 1fr);
3500
+ }
3501
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(1) {
3502
+ -ms-grid-row: 1;
3503
+ -ms-grid-column: 1;
3504
+ }
3505
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(2) {
3506
+ -ms-grid-row: 1;
3507
+ -ms-grid-column: 2;
3508
+ }
3509
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(3) {
3510
+ -ms-grid-row: 2;
3511
+ -ms-grid-column: 1;
3512
+ }
3513
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(4) {
3514
+ -ms-grid-row: 2;
3515
+ -ms-grid-column: 2;
3516
+ }
3517
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(5) {
3518
+ -ms-grid-row: 3;
3519
+ -ms-grid-column: 1;
3520
+ }
3521
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3>*:nth-child(6) {
3522
+ -ms-grid-row: 3;
3523
+ -ms-grid-column: 2;
3524
+ }
3525
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(1) {
3526
+ -ms-grid-column: 1;
3527
+ grid-column-start: 1;
3528
+ -ms-grid-column-span: 2;
3529
+ grid-column-end: 3;
3530
+ -ms-grid-row-span: 2;
3531
+ grid-row-end: 2;
3532
+ }
3533
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(2) {
3534
+ -ms-grid-row: 2;
3535
+ grid-row-start: 2;
3536
+ -ms-grid-column: 1;
3537
+ grid-column-start: 1;
3538
+ -ms-grid-column-span: 1;
3539
+ grid-column-end: 2;
3540
+ }
3541
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(3) {
3542
+ -ms-grid-row: 2;
3543
+ grid-row-start: 2;
3544
+ -ms-grid-column: 2;
3545
+ grid-column-start: 2;
3546
+ -ms-grid-column-span: 1;
3547
+ grid-column-end: 3;
3548
+ }
3549
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(4) {
3550
+ -ms-grid-row: 3;
3551
+ grid-row-start: 3;
3552
+ -ms-grid-column: 1;
3553
+ grid-column-start: 1;
3554
+ -ms-grid-column-span: 1;
3555
+ grid-column-end: 2;
3556
+ }
3557
+ .wpr-magazine-grid.wpr-mgzn-grid-1-1-3 article:nth-child(5) {
3558
+ -ms-grid-row: 3;
3559
+ grid-row-start: 3;
3560
+ -ms-grid-column: 2;
3561
+ grid-column-start: 2;
3562
+ -ms-grid-column-span: 1;
3563
+ grid-column-end: 3;
3564
+ }
3565
+ /* Layout 9 */
3566
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 {
3567
+ -ms-grid-columns: 1fr 1fr !important;
3568
+ grid-template-columns: 1fr 1fr !important;
3569
+ -ms-grid-rows: (1fr)[6] !important;
3570
+ grid-template-rows: repeat(6, 1fr) !important;
3571
+ }
3572
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(1) {
3573
+ -ms-grid-row: 1;
3574
+ -ms-grid-column: 1;
3575
+ }
3576
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(2) {
3577
+ -ms-grid-row: 1;
3578
+ -ms-grid-column: 2;
3579
+ }
3580
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(3) {
3581
+ -ms-grid-row: 2;
3582
+ -ms-grid-column: 1;
3583
+ }
3584
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(4) {
3585
+ -ms-grid-row: 2;
3586
+ -ms-grid-column: 2;
3587
+ }
3588
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(5) {
3589
+ -ms-grid-row: 3;
3590
+ -ms-grid-column: 1;
3591
+ }
3592
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(6) {
3593
+ -ms-grid-row: 3;
3594
+ -ms-grid-column: 2;
3595
+ }
3596
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(7) {
3597
+ -ms-grid-row: 4;
3598
+ -ms-grid-column: 1;
3599
+ }
3600
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(8) {
3601
+ -ms-grid-row: 4;
3602
+ -ms-grid-column: 2;
3603
+ }
3604
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(9) {
3605
+ -ms-grid-row: 5;
3606
+ -ms-grid-column: 1;
3607
+ }
3608
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(10) {
3609
+ -ms-grid-row: 5;
3610
+ -ms-grid-column: 2;
3611
+ }
3612
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(11) {
3613
+ -ms-grid-row: 6;
3614
+ -ms-grid-column: 1;
3615
+ }
3616
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3>*:nth-child(12) {
3617
+ -ms-grid-row: 6;
3618
+ -ms-grid-column: 2;
3619
+ }
3620
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(1) {
3621
+ -ms-grid-column: 1;
3622
+ grid-column-start: 1;
3623
+ -ms-grid-column-span: 1;
3624
+ grid-column-end: 2;
3625
+ -ms-grid-row: 1;
3626
+ grid-row-start: 1;
3627
+ -ms-grid-row-span: 3;
3628
+ grid-row-end: 4;
3629
+ }
3630
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(2) {
3631
+ -ms-grid-column: 1;
3632
+ grid-column-start: 1;
3633
+ -ms-grid-column-span: 1;
3634
+ grid-column-end: 2;
3635
+ -ms-grid-row: 4;
3636
+ grid-row-start: 4;
3637
+ -ms-grid-row-span: 3;
3638
+ grid-row-end: 7;
3639
+ }
3640
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(3) {
3641
+ -ms-grid-column: 2;
3642
+ grid-column-start: 2;
3643
+ -ms-grid-column-span: 1;
3644
+ grid-column-end: 3;
3645
+ -ms-grid-row: 1;
3646
+ grid-row-start: 1;
3647
+ -ms-grid-row-span: 2;
3648
+ grid-row-end: 3;
3649
+ }
3650
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(4) {
3651
+ -ms-grid-column: 2;
3652
+ grid-column-start: 2;
3653
+ -ms-grid-column-span: 1;
3654
+ grid-column-end: 3;
3655
+ -ms-grid-row: 3;
3656
+ grid-row-start: 3;
3657
+ -ms-grid-row-span: 2;
3658
+ grid-row-end: 5;
3659
+ }
3660
+ .wpr-magazine-grid.wpr-mgzn-grid-2-3 article:nth-child(5) {
3661
+ -ms-grid-column: 2;
3662
+ grid-column-start: 2;
3663
+ -ms-grid-column-span: 1;
3664
+ grid-column-end: 3;
3665
+ -ms-grid-row: 5;
3666
+ grid-row-start: 5;
3667
+ -ms-grid-row-span: 2;
3668
+ grid-row-end: 7;
3669
+ }
3670
+ /* Layout 12 */
3671
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1 {
3672
+ -ms-grid-columns: 1fr 1fr !important;
3673
+ grid-template-columns: 1fr 1fr !important;
3674
+ -ms-grid-rows: (1fr)[2] !important;
3675
+ grid-template-rows: repeat(2, 1fr) !important;
3676
+ }
3677
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3678
+ -ms-grid-row: 1;
3679
+ -ms-grid-column: 1;
3680
+ }
3681
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3682
+ -ms-grid-row: 1;
3683
+ -ms-grid-column: 2;
3684
+ }
3685
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3686
+ -ms-grid-row: 2;
3687
+ -ms-grid-column: 1;
3688
+ }
3689
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-1>*:nth-child(4) {
3690
+ -ms-grid-row: 2;
3691
+ -ms-grid-column: 2;
3692
+ }
3693
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2 {
3694
+ -ms-grid-columns: 1fr 1fr !important;
3695
+ grid-template-columns: 1fr 1fr !important;
3696
+ -ms-grid-rows: (1fr)[4] !important;
3697
+ grid-template-rows: repeat(4, 1fr) !important;
3698
+ }
3699
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(1) {
3700
+ -ms-grid-row: 1;
3701
+ -ms-grid-column: 1;
3702
+ }
3703
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(2) {
3704
+ -ms-grid-row: 1;
3705
+ -ms-grid-column: 2;
3706
+ }
3707
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(3) {
3708
+ -ms-grid-row: 2;
3709
+ -ms-grid-column: 1;
3710
+ }
3711
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(4) {
3712
+ -ms-grid-row: 2;
3713
+ -ms-grid-column: 2;
3714
+ }
3715
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(5) {
3716
+ -ms-grid-row: 3;
3717
+ -ms-grid-column: 1;
3718
+ }
3719
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(6) {
3720
+ -ms-grid-row: 3;
3721
+ -ms-grid-column: 2;
3722
+ }
3723
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(7) {
3724
+ -ms-grid-row: 4;
3725
+ -ms-grid-column: 1;
3726
+ }
3727
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-2>*:nth-child(8) {
3728
+ -ms-grid-row: 4;
3729
+ -ms-grid-column: 2;
3730
+ }
3731
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3 {
3732
+ -ms-grid-columns: 1fr 1fr !important;
3733
+ grid-template-columns: 1fr 1fr !important;
3734
+ -ms-grid-rows: (1fr)[6] !important;
3735
+ grid-template-rows: repeat(6, 1fr) !important;
3736
+ }
3737
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3738
+ -ms-grid-row: 1;
3739
+ -ms-grid-column: 1;
3740
+ }
3741
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3742
+ -ms-grid-row: 1;
3743
+ -ms-grid-column: 2;
3744
+ }
3745
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3746
+ -ms-grid-row: 2;
3747
+ -ms-grid-column: 1;
3748
+ }
3749
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3750
+ -ms-grid-row: 2;
3751
+ -ms-grid-column: 2;
3752
+ }
3753
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3754
+ -ms-grid-row: 3;
3755
+ -ms-grid-column: 1;
3756
+ }
3757
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3758
+ -ms-grid-row: 3;
3759
+ -ms-grid-column: 2;
3760
+ }
3761
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3762
+ -ms-grid-row: 4;
3763
+ -ms-grid-column: 1;
3764
+ }
3765
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3766
+ -ms-grid-row: 4;
3767
+ -ms-grid-column: 2;
3768
+ }
3769
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3770
+ -ms-grid-row: 5;
3771
+ -ms-grid-column: 1;
3772
+ }
3773
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(10) {
3774
+ -ms-grid-row: 5;
3775
+ -ms-grid-column: 2;
3776
+ }
3777
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(11) {
3778
+ -ms-grid-row: 6;
3779
+ -ms-grid-column: 1;
3780
+ }
3781
+ .wpr-magazine-grid.wpr-mgzn-grid-4-h.wpr-mgzn-grid-rows-3>*:nth-child(12) {
3782
+ -ms-grid-row: 6;
3783
+ -ms-grid-column: 2;
3784
+ }
3785
+ }
3786
+
3787
+ @media screen and ( max-width: 767px) {
3788
+ /* Layout 11 */
3789
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1 {
3790
+ -ms-grid-columns: 1fr !important;
3791
+ grid-template-columns: 1fr !important;
3792
+ -ms-grid-rows: (1fr)[3] !important;
3793
+ grid-template-rows: repeat(3, 1fr) !important;
3794
+ }
3795
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(1) {
3796
+ -ms-grid-row: 1;
3797
+ -ms-grid-column: 1;
3798
+ }
3799
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(2) {
3800
+ -ms-grid-row: 2;
3801
+ -ms-grid-column: 1;
3802
+ }
3803
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-1>*:nth-child(3) {
3804
+ -ms-grid-row: 3;
3805
+ -ms-grid-column: 1;
3806
+ }
3807
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2 {
3808
+ -ms-grid-columns: 1fr !important;
3809
+ grid-template-columns: 1fr !important;
3810
+ -ms-grid-rows: (1fr)[6] !important;
3811
+ grid-template-rows: repeat(6, 1fr) !important;
3812
+ }
3813
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-2>*: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-2>*: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-2>*: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-2>*: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-2>*: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-2>*: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 {
3838
+ -ms-grid-columns: 1fr !important;
3839
+ grid-template-columns: 1fr !important;
3840
+ -ms-grid-rows: (1fr)[9] !important;
3841
+ grid-template-rows: repeat(9, 1fr) !important;
3842
+ }
3843
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(1) {
3844
+ -ms-grid-row: 1;
3845
+ -ms-grid-column: 1;
3846
+ }
3847
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(2) {
3848
+ -ms-grid-row: 2;
3849
+ -ms-grid-column: 1;
3850
+ }
3851
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(3) {
3852
+ -ms-grid-row: 3;
3853
+ -ms-grid-column: 1;
3854
+ }
3855
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(4) {
3856
+ -ms-grid-row: 4;
3857
+ -ms-grid-column: 1;
3858
+ }
3859
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(5) {
3860
+ -ms-grid-row: 5;
3861
+ -ms-grid-column: 1;
3862
+ }
3863
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(6) {
3864
+ -ms-grid-row: 6;
3865
+ -ms-grid-column: 1;
3866
+ }
3867
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(7) {
3868
+ -ms-grid-row: 7;
3869
+ -ms-grid-column: 1;
3870
+ }
3871
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(8) {
3872
+ -ms-grid-row: 8;
3873
+ -ms-grid-column: 1;
3874
+ }
3875
+ .wpr-magazine-grid.wpr-mgzn-grid-3-h.wpr-mgzn-grid-rows-3>*:nth-child(9) {
3876
+ -ms-grid-row: 9;
3877
+ -ms-grid-column: 1;
3878
+ }
3879
+ }
3880
+
3881
+
3882
+ /*--------------------------------------------------------------
3883
+ == Sharing Buttons
3884
+ --------------------------------------------------------------*/
3885
+
3886
+ .wpr-sharing-buttons .wpr-sharing-icon {
3887
+ overflow: hidden;
3888
+ position: relative;
3889
+ display: -webkit-box;
3890
+ display: -ms-flexbox;
3891
+ display: flex;
3892
+ color: #ffffff !important;
3893
+ }
3894
+
3895
+ .wpr-sharing-buttons .wpr-sharing-icon i {
3896
+ display: block;
3897
+ text-align: center;
3898
+ }
3899
+
3900
+ .wpr-sharing-label {
3901
+ -webkit-box-flex: 1;
3902
+ -ms-flex-positive: 1;
3903
+ flex-grow: 1;
3904
+ }
3905
+
3906
+ .elementor-widget-wpr-sharing-buttons.elementor-grid-0 .wpr-sharing-buttons,
3907
+ .elementor-widget-wpr-sharing-buttons[class*="elementor-grid-pro-"] .wpr-sharing-buttons {
3908
+ display: -webkit-box;
3909
+ display: -ms-flexbox;
3910
+ display: flex;
3911
+ }
3912
+
3913
+ .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 {
3914
+ width: 100% !important;
3915
+ }
3916
+
3917
+ .wpr-sharing-buttons.wpr-sharing-col-1 .wpr-sharing-icon {
3918
+ width: 100%;
3919
+ margin-right: 0 !important;
3920
+ }
3921
+
3922
+ .wpr-sharing-buttons .wpr-sharing-icon:last-child,
3923
+ .wpr-sharing-col-1 .wpr-sharing-buttons .wpr-sharing-icon,
3924
+ .wpr-sharing-col-2 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(2n),
3925
+ .wpr-sharing-col-3 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(3n),
3926
+ .wpr-sharing-col-4 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(4n),
3927
+ .wpr-sharing-col-5 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(5n),
3928
+ .wpr-sharing-col-6 .wpr-sharing-buttons .wpr-sharing-icon:nth-child(6n) {
3929
+ margin-right: 0 !important;
3930
+ }
3931
+
3932
+ .wpr-sharing-buttons .wpr-sharing-icon {
3933
+ transition-propery: opacity, border-color;
3934
+ -webkit-transition-timing-function: linear;
3935
+ -o-transition-timing-function: linear;
3936
+ transition-timing-function: linear;
3937
+ }
3938
+
3939
+ .wpr-sharing-buttons .wpr-sharing-icon i,
3940
+ .wpr-sharing-buttons .wpr-sharing-icon span {
3941
+ transition-propery: color, background-color;
3942
+ -webkit-transition-timing-function: linear;
3943
+ -o-transition-timing-function: linear;
3944
+ transition-timing-function: linear;
3945
+ }
3946
+
3947
+ .wpr-sharing-official .wpr-sharing-icon:hover {
3948
+ opacity: 0.85;
3949
+ }
3950
+
3951
+ .wpr-sharing-official .wpr-sharing-facebook-f i,
3952
+ .wpr-sharing-official .wpr-sharing-facebook-f span {
3953
+ background-color: #3b5998;
3954
+ }
3955
+
3956
+ .wpr-sharing-official .wpr-sharing-twitter i,
3957
+ .wpr-sharing-official .wpr-sharing-twitter span {
3958
+ background-color: #1da1f2;
3959
+ }
3960
+
3961
+ .wpr-sharing-official .wpr-sharing-linkedin-in i,
3962
+ .wpr-sharing-official .wpr-sharing-linkedin-in span {
3963
+ background-color: #0077b5;
3964
+ }
3965
+
3966
+ .wpr-sharing-official .wpr-sharing-pinterest-p i,
3967
+ .wpr-sharing-official .wpr-sharing-pinterest-p span {
3968
+ background-color: #bd081c;
3969
+ }
3970
+
3971
+ .wpr-sharing-official .wpr-sharing-reddit i,
3972
+ .wpr-sharing-official .wpr-sharing-reddit span {
3973
+ background-color: #ff4500;
3974
+ }
3975
+
3976
+ .wpr-sharing-official .wpr-sharing-tumblr i,
3977
+ .wpr-sharing-official .wpr-sharing-tumblr span {
3978
+ background-color: #35465c;
3979
+ }
3980
+
3981
+ .wpr-sharing-official .wpr-sharing-digg i,
3982
+ .wpr-sharing-official .wpr-sharing-digg span {
3983
+ background-color: #005be2;
3984
+ }
3985
+
3986
+ .wpr-sharing-official .wpr-sharing-xing i,
3987
+ .wpr-sharing-official .wpr-sharing-xing span {
3988
+ background-color: #026466;
3989
+ }
3990
+
3991
+ .wpr-sharing-official .wpr-sharing-stumbleupon i,
3992
+ .wpr-sharing-official .wpr-sharing-stumbleupon span {
3993
+ background-color: #eb4924;
3994
+ }
3995
+
3996
+ .wpr-sharing-official .wpr-sharing-vk i,
3997
+ .wpr-sharing-official .wpr-sharing-vk span {
3998
+ background-color: #45668e;
3999
+ }
4000
+
4001
+ .wpr-sharing-official .wpr-sharing-odnoklassniki i,
4002
+ .wpr-sharing-official .wpr-sharing-odnoklassniki span {
4003
+ background-color: #f4731c;
4004
+ }
4005
+
4006
+ .wpr-sharing-official .wpr-sharing-get-pocket i,
4007
+ .wpr-sharing-official .wpr-sharing-get-pocket span {
4008
+ background-color: #ef3f56;
4009
+ }
4010
+
4011
+ .wpr-sharing-official .wpr-sharing-skype i,
4012
+ .wpr-sharing-official .wpr-sharing-skype span {
4013
+ background-color: #00aff0;
4014
+ }
4015
+
4016
+ .wpr-sharing-official .wpr-sharing-whatsapp i,
4017
+ .wpr-sharing-official .wpr-sharing-whatsapp span {
4018
+ background-color: #25d366;
4019
+ }
4020
+
4021
+ .wpr-sharing-official .wpr-sharing-telegram i,
4022
+ .wpr-sharing-official .wpr-sharing-telegram span {
4023
+ background-color: #2ca5e0;
4024
+ }
4025
+
4026
+ .wpr-sharing-official .wpr-sharing-delicious i,
4027
+ .wpr-sharing-official .wpr-sharing-delicious span {
4028
+ background-color: #3399ff;
4029
+ }
4030
+
4031
+ .wpr-sharing-official .wpr-sharing-envelope i,
4032
+ .wpr-sharing-official .wpr-sharing-envelope span {
4033
+ background-color: #c13B2c;
4034
+ }
4035
+
4036
+ .wpr-sharing-official .wpr-sharing-print i,
4037
+ .wpr-sharing-official .wpr-sharing-print span {
4038
+ background-color: #96c859;
4039
+ }
4040
+
4041
+ .wpr-sharing-official .wpr-sharing-facebook-f {
4042
+ border-color: #3b5998;
4043
+ }
4044
+
4045
+ .wpr-sharing-official .wpr-sharing-twitter {
4046
+ border-color: #1da1f2;
4047
+ }
4048
+
4049
+ .wpr-sharing-official .wpr-sharing-linkedin-in {
4050
+ border-color: #0077b5;
4051
+ }
4052
+
4053
+ .wpr-sharing-official .wpr-sharing-pinterest-p {
4054
+ border-color: #bd081c;
4055
+ }
4056
+
4057
+ .wpr-sharing-official .wpr-sharing-reddit {
4058
+ border-color: #ff4500;
4059
+ }
4060
+
4061
+ .wpr-sharing-official .wpr-sharing-tumblr {
4062
+ border-color: #35465c;
4063
+ }
4064
+
4065
+ .wpr-sharing-official .wpr-sharing-digg {
4066
+ border-color: #005be2;
4067
+ }
4068
+
4069
+ .wpr-sharing-official .wpr-sharing-xing {
4070
+ border-color: #026466;
4071
+ }
4072
+
4073
+ .wpr-sharing-official .wpr-sharing-stumbleupon {
4074
+ border-color: #eb4924;
4075
+ }
4076
+
4077
+ .wpr-sharing-official .wpr-sharing-vk {
4078
+ border-color: #45668e;
4079
+ }
4080
+
4081
+ .wpr-sharing-official .wpr-sharing-odnoklassniki {
4082
+ border-color: #f4731c;
4083
+ }
4084
+
4085
+ .wpr-sharing-official .wpr-sharing-get-pocket {
4086
+ border-color: #ef3f56;
4087
+ }
4088
+
4089
+ .wpr-sharing-official .wpr-sharing-skype {
4090
+ border-color: #00aff0;
4091
+ }
4092
+
4093
+ .wpr-sharing-official .wpr-sharing-whatsapp {
4094
+ border-color: #25d366;
4095
+ }
4096
+
4097
+ .wpr-sharing-official .wpr-sharing-telegram {
4098
+ border-color: #2ca5e0;
4099
+ }
4100
+
4101
+ .wpr-sharing-official .wpr-sharing-delicious {
4102
+ border-color: #3399ff;
4103
+ }
4104
+
4105
+ .wpr-sharing-official .wpr-sharing-envelope {
4106
+ border-color: #c13B2c;
4107
+ }
4108
+
4109
+ .wpr-sharing-official .wpr-sharing-print {
4110
+ border-color: #96c859;
4111
+ }
4112
+
4113
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-facebook-f i,
4114
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-facebook-f span {
4115
+ color: #3b5998;
4116
+ background-color: transparent;
4117
+ }
4118
+
4119
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-twitter i,
4120
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-twitter span {
4121
+ color: #1da1f2;
4122
+ background-color: transparent;
4123
+ }
4124
+
4125
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-linkedin-in i,
4126
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-linkedin-in span {
4127
+ color: #0077b5;
4128
+ background-color: transparent;
4129
+ }
4130
+
4131
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-pinterest-p i,
4132
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-pinterest-p span {
4133
+ color: #bd081c;
4134
+ background-color: transparent;
4135
+ }
4136
+
4137
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-reddit i,
4138
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-reddit span {
4139
+ color: #ff4500;
4140
+ background-color: transparent;
4141
+ }
4142
+
4143
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-tumblr i,
4144
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-tumblr span {
4145
+ color: #35465c;
4146
+ background-color: transparent;
4147
+ }
4148
+
4149
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-digg i,
4150
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-digg span {
4151
+ color: #005be2;
4152
+ background-color: transparent;
4153
+ }
4154
+
4155
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-xing i,
4156
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-xing span {
4157
+ color: #026466;
4158
+ background-color: transparent;
4159
+ }
4160
+
4161
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-stumbleupon i,
4162
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-stumbleupon span {
4163
+ color: #eb4924;
4164
+ background-color: transparent;
4165
+ }
4166
+
4167
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-vk i,
4168
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-vk span {
4169
+ color: #45668e;
4170
+ background-color: transparent;
4171
+ }
4172
+
4173
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-odnoklassniki i,
4174
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-odnoklassniki span {
4175
+ color: #f4731c;
4176
+ background-color: transparent;
4177
+ }
4178
+
4179
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-get-pocket i,
4180
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-get-pocket span {
4181
+ color: #ef3f56;
4182
+ background-color: transparent;
4183
+ }
4184
+
4185
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-skype i,
4186
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-skype span {
4187
+ color: #00aff0;
4188
+ background-color: transparent;
4189
+ }
4190
+
4191
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-whatsapp i,
4192
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-whatsapp span {
4193
+ color: #25d366;
4194
+ background-color: transparent;
4195
+ }
4196
+
4197
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-telegram i,
4198
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-telegram span {
4199
+ color: #2ca5e0;
4200
+ background-color: transparent;
4201
+ }
4202
+
4203
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-delicious i,
4204
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-delicious span {
4205
+ color: #3399ff;
4206
+ background-color: transparent;
4207
+ }
4208
+
4209
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-envelope i,
4210
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-envelope span {
4211
+ color: #c13B2c;
4212
+ background-color: transparent;
4213
+ }
4214
+
4215
+ .wpr-sharing-official.wpr-sharing-icon-tr .wpr-sharing-print i,
4216
+ .wpr-sharing-official.wpr-sharing-label-tr .wpr-sharing-print span {
4217
+ color: #96c859;
4218
+ background-color: transparent;
4219
+ }
4220
+
4221
+
4222
+ /*--------------------------------------------------------------
4223
+ == CountDown
4224
+ --------------------------------------------------------------*/
4225
+
4226
+ .wpr-countdown-wrap {
4227
+ display: -webkit-box;
4228
+ display: -ms-flexbox;
4229
+ display: flex;
4230
+ -webkit-box-orient: horizontal;
4231
+ -webkit-box-direction: normal;
4232
+ -ms-flex-direction: row;
4233
+ flex-direction: row;
4234
+ margin: 0 auto;
4235
+ }
4236
+
4237
+ .wpr-countdown-item {
4238
+ -webkit-box-flex: 1;
4239
+ -ms-flex-positive: 1;
4240
+ flex-grow: 1;
4241
+ -ms-flex-preferred-size: 0;
4242
+ flex-basis: 0;
4243
+ overflow: hidden;
4244
+ color: #fff;
4245
+ text-align: center;
4246
+ }
4247
+
4248
+ .wpr-countdown-item:first-child {
4249
+ margin-left: 0 !important;
4250
+ }
4251
+
4252
+ .wpr-countdown-item:last-of-type {
4253
+ margin-right: 0 !important;
4254
+ }
4255
+
4256
+ .wpr-countdown-number {
4257
+ display: block;
4258
+ }
4259
+
4260
+ .wpr-countdown-separator {
4261
+ -ms-flex-item-align: center;
4262
+ -ms-grid-row-align: center;
4263
+ align-self: center;
4264
+ }
4265
+
4266
+ .wpr-countdown-separator span {
4267
+ display: block;
4268
+ }
4269
+
4270
+ .wpr-countdown-separator:last-of-type {
4271
+ display: none !important;
4272
+ }
4273
+
4274
+ .wpr-countdown-wrap+div:not(.wpr-countdown-message) {
4275
+ display: none;
4276
+ }
4277
+
4278
+ .wpr-countdown-message+div {
4279
+ display: none;
4280
+ }
4281
+
4282
+
4283
+ /* Defaults */
4284
+
4285
+ .elementor-widget-wpr-countdown .wpr-countdown-item {
4286
+ background-color: #605BE5;
4287
+ }
4288
+
4289
+ .elementor-widget-wpr-countdown .wpr-countdown-number {
4290
+ font-size: 70px;
4291
+ }
4292
+
4293
+ .elementor-widget-wpr-countdown .wpr-countdown-label {
4294
+ font-size: 19px;
4295
+ line-height: 45px;
4296
+ }
4297
+
4298
+
4299
+ /*--------------------------------------------------------------
4300
+ == Google Maps
4301
+ --------------------------------------------------------------*/
4302
+
4303
+ .wpr-google-map .gm-style-iw-c {
4304
+ padding: 0 !important;
4305
+ }
4306
+
4307
+ .wpr-google-map .gm-style-iw-c>button {
4308
+ top: 0 !important;
4309
+ right: 0 !important;
4310
+ }
4311
+
4312
+ .wpr-google-map .gm-style-iw-c .wpr-gm-iwindow h3 {
4313
+ margin-bottom: 7px;
4314
+ }
4315
+
4316
+ .wpr-google-map .gm-style-iw-d {
4317
+ overflow: hidden !important;
4318
+ }
4319
+
4320
+ .wpr-google-map .gm-style img {
4321
+ max-width: none !important;
4322
+ }
4323
+
4324
+
4325
+ /*--------------------------------------------------------------
4326
+ == Forms
4327
+ --------------------------------------------------------------*/
4328
+
4329
+ .wpr-forms-container .wpcf7-form .wpcf7-form-control-wrap {
4330
+ display: block !important;
4331
+ }
4332
+
4333
+ .wpcf7 label,
4334
+ .wpcf7-quiz-label {
4335
+ width: 100%;
4336
+ }
4337
+
4338
+ .wpr-forms-container .wpcf7 p {
4339
+ margin-bottom: 0;
4340
+ }
4341
+
4342
+ .wpr-forms-container .wpcf7-form .ajax-loader {
4343
+ display: block;
4344
+ visibility: hidden;
4345
+ height: 0;
4346
+ overflow: hidden;
4347
+ clear: both;
4348
+ }
4349
+
4350
+ .wpr-forms-container .wpcf7-select,
4351
+ .wpr-forms-container .wpcf7-number,
4352
+ .wpr-forms-container .wpcf7-date,
4353
+ .wpr-forms-container select.wpforms-field-medium,
4354
+ .wpr-forms-container .nf-field-container select,
4355
+ .wpr-forms-container .caldera-grid select.form-control {
4356
+ padding: 7px 10px !important;
4357
+ }
4358
+
4359
+ .wpr-forms-container .wpcf7-date {
4360
+ width: auto !important;
4361
+ }
4362
+
4363
+ .wpr-forms-container .wpcf7-number {
4364
+ width: 100px !important;
4365
+ }
4366
+
4367
+ .wpr-forms-container .wpcf7-form .wpcf7-submit {
4368
+ display: block;
4369
+ }
4370
+
4371
+ .wpr-forms-container .wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
4372
+ .wpr-forms-container .wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
4373
+ .wpr-forms-container .wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item {
4374
+ margin-left: 0;
4375
+ margin-right: 10px;
4376
+ }
4377
+
4378
+ .wpr-forms-container .wpcf7-response-output {
4379
+ clear: both;
4380
+ margin: 0;
4381
+ }
4382
+
4383
+ .wpr-forms-container .wpforms-field:not(.wpforms-field-address) .wpforms-field-medium {
4384
+ display: inline-block !important;
4385
+ max-width: 100% !important;
4386
+ }
4387
+
4388
+ .wpr-forms-container .wpforms-field-phone,
4389
+ .wpr-forms-container .wpforms-field-address,
4390
+ .wpr-forms-container .wpforms-page-indicator {
4391
+ display: inline-block;
4392
+ }
4393
+
4394
+ .wpr-forms-container .wpforms-field-address .wpforms-field-medium {
4395
+ max-width: 100% !important;
4396
+ }
4397
+
4398
+ .wpr-forms-container .intl-tel-input.allow-dropdown input.wpforms-field-medium,
4399
+ .wpr-forms-container .wpforms-field-address div.wpforms-field-medium {
4400
+ width: 100% !important;
4401
+ max-width: 100% !important;
4402
+ }
4403
+
4404
+ .wpr-forms-container .intl-tel-input.allow-dropdown {
4405
+ display: inline-block !important;
4406
+ max-width: 100% !important;
4407
+ }
4408
+
4409
+ .wpr-forms-align-left .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:last-child {
4410
+ margin-right: 0 !important;
4411
+ }
4412
+
4413
+ .wpr-forms-container .wpcf7-mail-sent-ok,
4414
+ .wpr-forms-container .wpforms-confirmation-container-full,
4415
+ .wpr-forms-container .nf-response-msg,
4416
+ .wpr-forms-container .caldera-grid .alert-success {
4417
+ padding: 10px 15px;
4418
+ border: 2px solid;
4419
+ }
4420
+
4421
+ .wpr-forms-container label.wpforms-error a {
4422
+ text-decoration: underline;
4423
+ }
4424
+
4425
+ .wpr-forms-container .wpforms-smart-phone-field {
4426
+ text-indent: 0 !important;
4427
+ }
4428
+
4429
+ .wpr-forms-container select.ninja-forms-field {
4430
+ line-height: 1 !important;
4431
+ }
4432
+
4433
+ .wpr-forms-container .nf-form-wrap .checkbox-wrap label {
4434
+ display: inline-block !important;
4435
+ }
4436
+
4437
+ .wpr-forms-container .nf-form-wrap .starrating .stars {
4438
+ display: inline-block;
4439
+ }
4440
+
4441
+ .wpr-forms-submit-center .wpcf7-submit,
4442
+ .wpr-forms-submit-center .wpforms-submit,
4443
+ .wpr-forms-submit-center .wpforms-page-next,
4444
+ .wpr-forms-submit-center .wpforms-page-previous,
4445
+ .wpr-forms-submit-center .submit-wrap .ninja-forms-field,
4446
+ .wpr-forms-submit-center .caldera-grid .btn-default:not(a) {
4447
+ display: block !important;
4448
+ margin-left: auto !important;
4449
+ margin-right: auto !important;
4450
+ }
4451
+
4452
+ .wpr-forms-submit-left .wpcf7-submit,
4453
+ .wpr-forms-submit-left .wpforms-submit,
4454
+ .wpr-forms-submit-left .wpforms-page-next,
4455
+ .wpr-forms-submit-left .wpforms-page-previous,
4456
+ .wpr-forms-submit-left .submit-wrap .ninja-forms-field,
4457
+ .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4458
+ float: left !important;
4459
+ }
4460
+
4461
+ .wpr-forms-submit-right .wpcf7-submit,
4462
+ .wpr-forms-submit-right .wpforms-submit,
4463
+ .wpr-forms-submit-right .wpforms-page-next,
4464
+ .wpr-forms-submit-right .wpforms-page-previous,
4465
+ .wpr-forms-submit-right .submit-wrap .ninja-forms-field,
4466
+ .wpr-forms-submit-left .caldera-grid .btn-default:not(a) {
4467
+ float: right !important;
4468
+ }
4469
+
4470
+ .wpr-forms-submit-justify .wpcf7-submit,
4471
+ .wpr-forms-submit-justify .wpforms-submit,
4472
+ .wpr-forms-submit-justify .wpforms-page-next,
4473
+ .wpr-forms-submit-justify .wpforms-page-previous,
4474
+ .wpr-forms-submit-justify .submit-wrap .ninja-forms-field,
4475
+ .wpr-forms-submit-justify .caldera-grid .btn-default:not(a) {
4476
+ display: block !important;
4477
+ width: 100% !important;
4478
+ text-align: center !important;
4479
+ }
4480
+
4481
+ .wpr-custom-chk-radio .wpcf7-checkbox input,
4482
+ .wpr-custom-chk-radio .wpcf7-radio input,
4483
+ .wpr-custom-chk-radio .wpcf7-acceptance input,
4484
+ .wpr-custom-chk-radio .wpforms-field-radio input,
4485
+ .wpr-custom-chk-radio .wpforms-field-checkbox input,
4486
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input {
4487
+ display: none !important;
4488
+ }
4489
+
4490
+ .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label,
4491
+ .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label,
4492
+ .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label,
4493
+ .wpr-custom-chk-radio .wpforms-field-checkbox input+label,
4494
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label,
4495
+ .wpr-custom-chk-radio .wpforms-field-radio input+label,
4496
+ .wpr-custom-chk-radio .wpforms-field-radio input+span {
4497
+ cursor: pointer;
4498
+ -webkit-user-select: none;
4499
+ -moz-user-select: none;
4500
+ -ms-user-select: none;
4501
+ -o-user-select: none;
4502
+ user-select: none;
4503
+ }
4504
+
4505
+ .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4506
+ .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4507
+ .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4508
+ .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4509
+ .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4510
+ .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4511
+ .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4512
+ content: "\2714";
4513
+ display: inline-block;
4514
+ position: relative;
4515
+ top: -1px;
4516
+ text-align: center;
4517
+ border: 1px solid;
4518
+ margin-right: 5px;
4519
+ color: transparent;
4520
+ }
4521
+
4522
+ .wpr-forms-align-right .wpforms-field-checkbox ul li input:first-child,
4523
+ .wpr-forms-align-right .wpforms-field-radio ul li input:first-child,
4524
+ .wpr-forms-align-right .wpforms-image-choices label input:first-of-type,
4525
+ .wpr-forms-align-right .wpforms-field-gdpr-checkbox input:first-child {
4526
+ float: right;
4527
+ margin-right: 0 !important;
4528
+ margin-left: 10px !important;
4529
+ }
4530
+
4531
+ .wpr-forms-align-right .wpr-forms-container,
4532
+ .wpr-forms-align-right .wpr-forms-container .wpcf7-form-control {
4533
+ direction: rtl;
4534
+ }
4535
+
4536
+ .wpr-forms-align-right .nf-form-wrap .field-wrap {
4537
+ -webkit-box-pack: end;
4538
+ -ms-flex-pack: end;
4539
+ justify-content: flex-end;
4540
+ }
4541
+
4542
+ .wpr-forms-align-right .label-right .nf-field-description {
4543
+ margin-right: 0 !important;
4544
+ }
4545
+
4546
+ .wpr-forms-align-right .nf-error.field-wrap .nf-field-element:after {
4547
+ right: auto !important;
4548
+ left: 1px !important;
4549
+ }
4550
+
4551
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-checkbox .wpcf7-list-item-label:before,
4552
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-radio .wpcf7-list-item-label:before,
4553
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpcf7-acceptance .wpcf7-list-item-label:before,
4554
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-checkbox input+label:before,
4555
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-gdpr-checkbox input+label:before,
4556
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input+label:before,
4557
+ .wpr-forms-align-right .wpr-custom-chk-radio .wpforms-field-radio input:not(.wpforms-screen-reader-element)+span:before {
4558
+ margin-right: 0;
4559
+ margin-left: 5px;
4560
+ }
4561
+
4562
+ .wpr-forms-align-right .wpcf7-list-item.last,
4563
+ .wpr-forms-align-right .wpcf7-acceptance .wpcf7-list-item,
4564
+ .wpr-forms-align-right div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li:first-child {
4565
+ margin-right: 0 !important;
4566
+ }
4567
+
4568
+ .wpr-forms-align-right .wpr-forms-container .intl-tel-input .flag-container {
4569
+ left: auto !important;
4570
+ right: 0 !important;
4571
+ }
4572
+
4573
+ .wpr-forms-align-right .caldera-grid .col-sm-4,
4574
+ .wpr-forms-align-right .caldera-grid .col-sm-6 {
4575
+ float: right;
4576
+ }
4577
+
4578
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox label,
4579
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox-inline label,
4580
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio label {
4581
+ padding-left: 0 !important;
4582
+ padding-right: 20px;
4583
+ }
4584
+
4585
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .checkbox input,
4586
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .radio input {
4587
+ margin-right: -20px !important;
4588
+ margin-left: 0 !important;
4589
+ }
4590
+
4591
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .cf-credit-card {
4592
+ background-position: 99% center !important;
4593
+ }
4594
+
4595
+ .wpr-forms-align-right .wpr-forms-container .caldera-grid .live-gravatar {
4596
+ text-align: right !important;
4597
+ }
4598
+
4599
+ .wpr-forms-align-left .wpr-forms-container .caldera-grid .live-gravatar {
4600
+ text-align: left !important;
4601
+ }
4602
+
4603
+ .wpr-forms-container .nf-form-content {
4604
+ padding: 0;
4605
+ max-width: none;
4606
+ }
4607
+
4608
+ .wpr-forms-container .nf-form-content .label-above .field-wrap {
4609
+ -webkit-box-orient: vertical;
4610
+ -webkit-box-direction: normal;
4611
+ -ms-flex-direction: column;
4612
+ flex-direction: column;
4613
+ }
4614
+
4615
+ .wpr-forms-container .nf-form-content .label-above .nf-field-label {
4616
+ margin-top: 0;
4617
+ }
4618
+
4619
+ .wpr-forms-container .field-wrap:not(.textarea-wrap):not(.submit-wrap) .ninja-forms-field {
4620
+ border-radius: 0;
4621
+ }
4622
+
4623
+ .wpr-forms-container .field-wrap.textarea-wrap .ninja-forms-field {
4624
+ display: block;
4625
+ }
4626
+
4627
+ .wpr-forms-container .field-wrap.submit-wrap .ninja-forms-field {
4628
+ cursor: pointer;
4629
+ }
4630
+
4631
+ .wpr-forms-container .listselect-wrap>div select.ninja-forms-field {
4632
+ -webkit-appearance: menulist;
4633
+ -moz-appearance: menulist;
4634
+ appearance: menulist;
4635
+ }
4636
+
4637
+ .wpr-forms-container .nf-form-content .list-select-wrap .nf-field-element>div,
4638
+ .wpr-forms-container .nf-form-content input:not([type=button]),
4639
+ .wpr-forms-container .nf-form-content textarea {
4640
+ background: transparent;
4641
+ border: none;
4642
+ }
4643
+
4644
+ .wpr-forms-container .checkbox-container.label-right .field-wrap {
4645
+ display: block;
4646
+ }
4647
+
4648
+ .wpr-forms-container .listradio-wrap ul li,
4649
+ .wpr-forms-container .listcheckbox-wrap ul li {
4650
+ display: inline-block;
4651
+ margin-right: 10px !important;
4652
+ margin-bottom: 7px !important;
4653
+ }
4654
+
4655
+ .wpr-forms-container .listcheckbox-container .nf-field-element label:after {
4656
+ top: 1px;
4657
+ }
4658
+
4659
+ .wpr-forms-container .listradio-wrap .nf-field-element label {
4660
+ margin-left: 25px !important;
4661
+ }
4662
+
4663
+ .wpr-forms-container .listradio-wrap .nf-field-element label:after {
4664
+ top: 0;
4665
+ left: -25px;
4666
+ }
4667
+
4668
+ .wpr-forms-container .listradio-wrap .nf-field-element label.nf-checked-label:before {
4669
+ top: 4px;
4670
+ left: -21px;
4671
+ }
4672
+
4673
+ .wpr-forms-container .listradio-wrap label,
4674
+ .wpr-forms-container .checkbox-wrap label,
4675
+ .wpr-forms-container .listcheckbox-wrap label {
4676
+ cursor: pointer;
4677
+ -webkit-user-select: none;
4678
+ -moz-user-select: none;
4679
+ -ms-user-select: none;
4680
+ -o-user-select: none;
4681
+ user-select: none;
4682
+ }
4683
+
4684
+ .wpr-forms-container .nf-error.field-wrap .nf-field-element:after {
4685
+ top: 0 !important;
4686
+ bottom: 0 !important;
4687
+ height: auto !important;
4688
+ }
4689
+
4690
+ .wpr-forms-container .wpforms-form .wpforms-field,
4691
+ .wpr-forms-container .wpforms-submit-container {
4692
+ padding: 0 !important;
4693
+ }
4694
+
4695
+ .wpr-forms-container .wpforms-container,
4696
+ .wpr-forms-container div.wpforms-container-full .wpforms-form .wpforms-field-row,
4697
+ .wpr-forms-container .wpforms-field-address .wpforms-field-row:nth-last-child(2) {
4698
+ margin-bottom: 0 !important;
4699
+ }
4700
+
4701
+ .wpr-forms-container .wpforms-submit-container:after {
4702
+ content: " ";
4703
+ clear: both;
4704
+ display: table;
4705
+ }
4706
+
4707
+ .wpr-forms-container .caldera-grid .help-block {
4708
+ margin-bottom: 0;
4709
+ }
4710
+
4711
+ .wpr-forms-container .caldera-grid .caldera-forms-gdpr-field-label a {
4712
+ text-decoration: underline;
4713
+ }
4714
+
4715
+ .wpr-forms-container .caldera-grid .intl-tel-input input {
4716
+ text-indent: 40px;
4717
+ }
4718
+
4719
+ .wpr-forms-container .caldera-grid input.cf-credit-card {
4720
+ text-indent: 33px;
4721
+ }
4722
+
4723
+ .wpr-forms-container .caldera-grid .cf-credit-card {
4724
+ background-position: 5px center !important;
4725
+ }
4726
+
4727
+ .wpr-forms-container .cf2-dropzone .form-control {
4728
+ height: auto;
4729
+ }
4730
+
4731
+ .wpr-forms-container .caldera-grid .form-group input,
4732
+ .wpr-forms-container .caldera-grid .form-group textarea {
4733
+ -webkit-box-shadow: none;
4734
+ box-shadow: none;
4735
+ }
4736
+
4737
+ .wpr-forms-container .caldera-grid .has-error .form-control {
4738
+ -webkit-box-shadow: none;
4739
+ box-shadow: none;
4740
+ }
4741
+
4742
+ .wpr-forms-container .caldera-grid .alert-success {
4743
+ text-shadow: none;
4744
+ }
4745
+
4746
+
4747
+ /* Defaults */
4748
+
4749
+ .elementor-widget-wpr-forms .wpforms-head-container .wpforms-title,
4750
+ .elementor-widget-wpr-forms .nf-form-title h3 {
4751
+ font-size: 28px;
4752
+ font-weight: 800;
4753
+ }
4754
+
4755
+ .elementor-widget-wpr-forms .wpforms-head-container .wpforms-description,
4756
+ .elementor-widget-wpr-forms .nf-form-fields-required {
4757
+ font-size: 14px;
4758
+ }
4759
+
4760
+ .elementor-widget-wpr-forms .wpcf7-form,
4761
+ .elementor-widget-wpr-forms .nf-field-container label,
4762
+ .elementor-widget-wpr-forms .wpforms-field-label,
4763
+ .elementor-widget-wpr-forms .wpforms-image-choices-label,
4764
+ .elementor-widget-wpr-forms .wpforms-field-label-inline,
4765
+ .elementor-widget-wpr-forms .wpforms-captcha-question,
4766
+ .elementor-widget-wpr-forms .wpforms-captcha-equation,
4767
+ .elementor-widget-wpr-forms .wpforms-payment-total,
4768
+ .elementor-widget-wpr-forms .caldera-grid .control-label,
4769
+ .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4770
+ .elementor-widget-wpr-forms .caldera-grid .total-line,
4771
+ .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4772
+ .elementor-widget-wpr-forms .caldera-grid .radio label,
4773
+ .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4774
+ .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4775
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4776
+ font-size: 14px;
4777
+ }
4778
+
4779
+ .elementor-widget-wpr-forms .wpcf7-text,
4780
+ .elementor-widget-wpr-forms .wpcf7-textarea,
4781
+ .elementor-widget-wpr-forms .wpcf7-date,
4782
+ .elementor-widget-wpr-forms .wpcf7-number,
4783
+ .elementor-widget-wpr-forms .wpcf7-select,
4784
+ .elementor-widget-wpr-forms .wpcf7-quiz,
4785
+ .elementor-widget-wpr-forms .ninja-forms-field,
4786
+ .elementor-widget-wpr-forms .wpforms-form input[type=date],
4787
+ .elementor-widget-wpr-forms .wpforms-form input[type=datetime],
4788
+ .elementor-widget-wpr-forms .wpforms-form input[type=datetime-local],
4789
+ .elementor-widget-wpr-forms .wpforms-form input[type=email],
4790
+ .elementor-widget-wpr-forms .wpforms-form input[type=month],
4791
+ .elementor-widget-wpr-forms .wpforms-form input[type=number],
4792
+ .elementor-widget-wpr-forms .wpforms-form input[type=password],
4793
+ .elementor-widget-wpr-forms .wpforms-form input[type=range],
4794
+ .elementor-widget-wpr-forms .wpforms-form input[type=search],
4795
+ .elementor-widget-wpr-forms .wpforms-form input[type=tel],
4796
+ .elementor-widget-wpr-forms .wpforms-form input[type=text],
4797
+ .elementor-widget-wpr-forms .wpforms-form input[type=time],
4798
+ .elementor-widget-wpr-forms .wpforms-form input[type=url],
4799
+ .elementor-widget-wpr-forms .wpforms-form input[type=week],
4800
+ .elementor-widget-wpr-forms .wpforms-form select,
4801
+ .elementor-widget-wpr-forms .wpforms-form textarea,
4802
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=text],
4803
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=email],
4804
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=tel],
4805
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=phone],
4806
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=number],
4807
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=url],
4808
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=color_picker],
4809
+ .elementor-widget-wpr-forms .caldera-grid .form-control[type=credit_card_cvc],
4810
+ .elementor-widget-wpr-forms .caldera-grid select.form-control,
4811
+ .elementor-widget-wpr-forms .caldera-grid textarea.form-control {
4812
+ font-size: 13px;
4813
+ letter-spacing: 0.2px;
4814
+ }
4815
+
4816
+ .elementor-widget-wpr-forms .wpcf7-submit,
4817
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4818
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field,
4819
+ .elementor-widget-wpr-forms .wpforms-submit,
4820
+ .elementor-widget-wpr-forms .wpforms-page-next,
4821
+ .elementor-widget-wpr-forms .wpforms-page-previous,
4822
+ .elementor-widget-wpr-forms .caldera-grid .btn-default,
4823
+ .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button {
4824
+ background-color: #605BE5;
4825
+ }
4826
+
4827
+ .elementor-widget-wpr-forms .wpcf7-submit:hover,
4828
+ .elementor-widget-wpr-forms .submit-wrap .ninja-forms-field:hover,
4829
+ .elementor-widget-wpr-forms .wpforms-submit:hover,
4830
+ .elementor-widget-wpr-forms .wpforms-page-next:hover,
4831
+ .elementor-widget-wpr-forms .wpforms-page-previous:hover,
4832
+ .elementor-widget-wpr-forms .caldera-grid .btn-default:hover,
4833
+ .elementor-widget-wpr-forms .caldera-grid .btn-success,
4834
+ .elementor-widget-wpr-forms .caldera-grid .cf2-dropzone button:hover {
4835
+ background-color: #4A45D2;
4836
+ }
4837
+
4838
+ .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-not-valid-tip,
4839
+ .elementor-widget-wpr-forms .wpr-forms-container .wpcf7-response-output,
4840
+ .elementor-widget-wpr-forms .wpr-forms-container label.wpforms-error,
4841
+ .elementor-widget-wpr-forms .wpr-forms-container .caldera_ajax_error_block,
4842
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-error-msg {
4843
+ font-size: 14px;
4844
+ }
4845
+
4846
+ .elementor-widget-wpr-forms .wpcf7-form,
4847
+ .elementor-widget-wpr-forms .nf-field-container label,
4848
+ .elementor-widget-wpr-forms .wpforms-field-label,
4849
+ .elementor-widget-wpr-forms .wpforms-image-choices-label,
4850
+ .elementor-widget-wpr-forms .wpforms-field-label-inline,
4851
+ .elementor-widget-wpr-forms .wpforms-captcha-question,
4852
+ .elementor-widget-wpr-forms .wpforms-captcha-equation,
4853
+ .elementor-widget-wpr-forms .wpforms-payment-total,
4854
+ .elementor-widget-wpr-forms .caldera-grid .control-label,
4855
+ .elementor-widget-wpr-forms .caldera-forms-summary-field ul li,
4856
+ .elementor-widget-wpr-forms .caldera-grid .total-line,
4857
+ .elementor-widget-wpr-forms .caldera-grid .checkbox label,
4858
+ .elementor-widget-wpr-forms .caldera-grid .radio label,
4859
+ .elementor-widget-wpr-forms .caldera-grid .caldera-forms-gdpr-field-label,
4860
+ .elementor-widget-wpr-forms .wpr-forms-container .wpforms-confirmation-container-full,
4861
+ .elementor-widget-wpr-forms .wpr-forms-container .nf-response-msg {
4862
+ font-weight: normal;
4863
+ }
4864
+
4865
+ .elementor-widget-wpr-forms.nf-field-description,
4866
+ .elementor-widget-wpr-forms.wpforms-field-sublabel,
4867
+ .elementor-widget-wpr-forms.wpforms-field-description,
4868
+ .elementor-widget-wpr-forms.caldera-grid .help-block {
4869
+ font-size: 14px;
4870
+ }
4871
+
4872
+
4873
+ /*--------------------------------------------------------------
4874
+ == Before After
4875
+ --------------------------------------------------------------*/
4876
+
4877
+ .wpr-ba-image-container {
4878
+ position: relative;
4879
+ overflow: hidden;
4880
+ }
4881
+
4882
+ .wpr-ba-image-container * {
4883
+ -webkit-user-select: none;
4884
+ -moz-user-select: none;
4885
+ -ms-user-select: none;
4886
+ user-select: none;
4887
+ }
4888
+
4889
+ .wpr-ba-image-1 img,
4890
+ .wpr-ba-image-2 img {
4891
+ max-width: 100%;
4892
+ width: 100%;
4893
+ }
4894
+
4895
+ .wpr-ba-image-2 {
4896
+ position: absolute;
4897
+ top: 0;
4898
+ left: 0;
4899
+ width: 100%;
4900
+ height: 100%;
4901
+ overflow: hidden;
4902
+ }
4903
+
4904
+ .wpr-ba-image-2 img {
4905
+ position: absolute;
4906
+ top: 0;
4907
+ }
4908
+
4909
+ .wpr-ba-divider {
4910
+ display: -webkit-box;
4911
+ display: -ms-flexbox;
4912
+ display: flex;
4913
+ -webkit-box-align: center;
4914
+ -ms-flex-align: center;
4915
+ align-items: center;
4916
+ -webkit-box-pack: center;
4917
+ -ms-flex-pack: center;
4918
+ justify-content: center;
4919
+ position: absolute;
4920
+ top: 0;
4921
+ left: 50%;
4922
+ z-index: 3;
4923
+ height: 100%;
4924
+ cursor: pointer;
4925
+ -ms-touch-action: none;
4926
+ touch-action: none;
4927
+ }
4928
+
4929
+ .wpr-ba-divider-icons {
4930
+ display: -webkit-box;
4931
+ display: -ms-flexbox;
4932
+ display: flex;
4933
+ }
4934
+
4935
+ .wpr-ba-vertical .wpr-ba-divider-icons {
4936
+ -webkit-box-orient: vertical;
4937
+ -webkit-box-direction: normal;
4938
+ -ms-flex-direction: column;
4939
+ flex-direction: column;
4940
+ }
4941
+
4942
+ .wpr-ba-horizontal .wpr-ba-divider-icons i:first-child {
4943
+ text-align: right;
4944
+ padding-right: 10%;
4945
+ }
4946
+
4947
+ .wpr-ba-horizontal .wpr-ba-divider-icons i:last-child {
4948
+ text-align: left;
4949
+ padding-left: 10%;
4950
+ }
4951
+
4952
+ .wpr-ba-divider-icons .fa {
4953
+ text-align: center;
4954
+ }
4955
+
4956
+ .wpr-ba-vertical .wpr-ba-divider {
4957
+ top: 50%;
4958
+ left: auto;
4959
+ width: 100%;
4960
+ height: auto;
4961
+ }
4962
+
4963
+ .wpr-ba-vertical .wpr-ba-image-2 img {
4964
+ top: auto;
4965
+ }
4966
+
4967
+ .wpr-ba-horizontal .wpr-ba-divider-icons:before,
4968
+ .wpr-ba-horizontal .wpr-ba-divider-icons:after {
4969
+ content: '';
4970
+ display: block;
4971
+ position: absolute;
4972
+ height: 100%;
4973
+ }
4974
+
4975
+ .wpr-ba-vertical .wpr-ba-divider-icons:before,
4976
+ .wpr-ba-vertical .wpr-ba-divider-icons:after {
4977
+ content: '';
4978
+ display: block;
4979
+ position: absolute;
4980
+ width: 100%;
4981
+ }
4982
+
4983
+ .wpr-ba-label {
4984
+ position: absolute;
4985
+ display: -webkit-box;
4986
+ display: -ms-flexbox;
4987
+ display: flex;
4988
+ padding: 15px;
4989
+ }
4990
+
4991
+ .wpr-ba-labels-none .wpr-ba-label {
4992
+ display: none;
4993
+ }
4994
+
4995
+ .wpr-ba-labels-hover .wpr-ba-label {
4996
+ opacity: 0;
4997
+ -webkit-transition: 0.1s ease-in;
4998
+ -o-transition: 0.1s ease-in;
4999
+ transition: 0.1s ease-in;
5000
+ }
5001
+
5002
+ .wpr-ba-labels-hover:hover .wpr-ba-label {
5003
+ opacity: 1;
5004
+ }
5005
+
5006
+ .wpr-ba-horizontal .wpr-ba-label {
5007
+ top: 0;
5008
+ height: 100%;
5009
+ -webkit-box-orient: vertical;
5010
+ -webkit-box-direction: normal;
5011
+ -ms-flex-direction: column;
5012
+ flex-direction: column;
5013
+ }
5014
+
5015
+ .wpr-ba-horizontal .wpr-ba-label-1 {
5016
+ left: 0;
5017
+ }
5018
+
5019
+ .wpr-ba-horizontal .wpr-ba-label-2 {
5020
+ right: 0;
5021
+ }
5022
+
5023
+ .wpr-ba-vertical .wpr-ba-label {
5024
+ left: 0;
5025
+ width: 100%;
5026
+ }
5027
+
5028
+ .wpr-ba-vertical .wpr-ba-label-1 {
5029
+ top: 0;
5030
+ }
5031
+
5032
+ .wpr-ba-vertical .wpr-ba-label-2 {
5033
+ bottom: 0;
5034
+ }
5035
+
5036
+
5037
+ /* Defaults */
5038
+
5039
+ .elementor-widget-wpr-before-after .wpr-ba-label>div {
5040
+ background-color: #605BE5;
5041
+ font-size: 14px;
5042
+ }
5043
+
5044
+
5045
+ /*--------------------------------------------------------------
5046
+ == Popups
5047
+ --------------------------------------------------------------*/
5048
+
5049
+ body:not(.elementor-editor-active) .wpr-template-popup {
5050
+ display: none;
5051
+ }
5052
+
5053
+ .wpr-template-popup {
5054
+ position: fixed;
5055
+ top: 0;
5056
+ left: 0;
5057
+ width: 100%;
5058
+ height: 100%;
5059
+ z-index: 99999999;
5060
+ }
5061
+
5062
+ .wpr-template-popup-inner {
5063
+ display: -webkit-box;
5064
+ display: -ms-flexbox;
5065
+ display: flex;
5066
+ position: fixed;
5067
+ top: 0;
5068
+ left: 0;
5069
+ width: 100%;
5070
+ height: 100%;
5071
+ }
5072
+
5073
+ .wpr-popup-container {
5074
+ position: relative;
5075
+ }
5076
+
5077
+ .wpr-popup-container-inner {
5078
+ display: -webkit-box;
5079
+ display: -ms-flexbox;
5080
+ display: flex;
5081
+ overflow: hidden;
5082
+ position: relative;
5083
+ background: #ffffff;
5084
+ }
5085
+
5086
+ .wpr-popup-container-inner>div {
5087
+ width: 100%;
5088
+ -ms-flex-negative: 0;
5089
+ flex-shrink: 0;
5090
+ }
5091
+
5092
+ .wpr-popup-container>div {
5093
+ width: 100%;
5094
+ }
5095
+
5096
+ .wpr-popup-image-overlay {
5097
+ position: absolute;
5098
+ top: 0;
5099
+ left: 0;
5100
+ width: 100%;
5101
+ height: 100%;
5102
+ background: #ffffff;
5103
+ }
5104
+
5105
+ .wpr-popup-overlay {
5106
+ position: absolute;
5107
+ top: 0;
5108
+ left: 0;
5109
+ z-index: -1;
5110
+ width: 100%;
5111
+ height: 100%;
5112
+ background: rgba( 0, 0, 0, 0.7);
5113
+ }
5114
+
5115
+ .wpr-popup-close-btn {
5116
+ display: -webkit-box;
5117
+ display: -ms-flexbox;
5118
+ display: flex;
5119
+ position: absolute;
5120
+ top: 0;
5121
+ right: 0;
5122
+ z-index: 99;
5123
+ text-align: center;
5124
+ cursor: pointer;
5125
+ }
5126
+
5127
+ .wpr-popup-notification.wpr-template-popup,
5128
+ .wpr-popup-notification .wpr-template-popup-inner {
5129
+ height: auto !important;
5130
+ }
5131
+
5132
+ .wpr-popup-notification .wpr-popup-overlay {
5133
+ display: none !important;
5134
+ }
5135
+
5136
+ .wpr-popup-container-inner.ps-container.ps-active-y>.ps-scrollbar-y-rail,
5137
+ .wpr-popup-container-inner.ps.ps--active-y>.ps__rail-y {
5138
+ display: block;
5139
+ background-color: transparent;
5140
+ }
5141
+
5142
+ .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail,
5143
+ .wpr-popup-container-inner.ps>.ps__rail-y {
5144
+ display: none;
5145
+ position: absolute;
5146
+ right: 3px;
5147
+ width: 3px;
5148
+ }
5149
+
5150
+ .wpr-popup-container-inner.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y,
5151
+ .wpr-popup-container-inner.ps>.ps__rail-y>.ps__thumb-y {
5152
+ position: absolute;
5153
+ cursor: pointer;
5154
+ right: 0;
5155
+ width: 3px;
5156
+ }
5157
+
5158
+ .wpr-popup-container .ps-scrollbar-x-rail {
5159
+ display: none !important;
5160
+ }
5161
+
5162
+ .wpr-popup-notification .wpr-popup-container .slideInDown {
5163
+ -webkit-animation-timing-function: linear;
5164
+ animation-timing-function: linear;
5165
+ }
5166
+
5167
+ .wpr-popup-notification .wpr-popup-container {
5168
+ width: 100% !important;
5169
+ -webkit-box-align: start !important;
5170
+ -ms-flex-align: start !important;
5171
+ align-items: flex-start !important;
5172
+ }
5173
+
5174
+ .wpr-popup-trigger-button {
5175
+ display: inline-block;
5176
+ font-size: 14px;
5177
+ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
5178
+ cursor: pointer;
5179
+ }
5180
+
5181
+
5182
+ /* Only For Editing */
5183
+
5184
+ .wpr-popup-container .elementor-editor-section-settings {
5185
+ -webkit-transform: translateX(-50%);
5186
+ -ms-transform: translateX(-50%);
5187
+ transform: translateX(-50%);
5188
+ border-radius: 0 0 5px 5px;
5189
+ }
5190
+
5191
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child {
5192
+ border-radius: 0 0 0 5px;
5193
+ }
5194
+
5195
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:first-child:before {
5196
+ top: 0;
5197
+ border-width: 0 12px 22px 0;
5198
+ }
5199
+
5200
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child {
5201
+ border-radius: 0 0 5px 0;
5202
+ }
5203
+
5204
+ .wpr-popup-container .elementor-editor-section-settings .elementor-editor-element-setting:last-child:after {
5205
+ top: 0;
5206
+ border-width: 0 0 22px 12px;
5207
+ }
5208
+
5209
+ .elementor-editor-active [data-elementor-type="wpr-popups"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5210
+ .elementor-editor-active [data-elementor-type="wpr-popups"]:not(.elementor-edit-mode) {
5211
+ display: none;
5212
+ }
5213
+
5214
+ .elementor .elementor-widget-wpr-popup-trigger .wpr-popup-trigger-button {
5215
+ display: inline-block;
5216
+ font-size: 14px;
5217
+ font-weight: 500;
5218
+ cursor: pointer;
5219
+ }
5220
+
5221
+ .elementor-editor-active [data-elementor-type="wpr-popup"] .elementor-section-wrap:not(:empty)+#elementor-add-new-section,
5222
+ .elementor-editor-active [data-elementor-type="wpr-popup"]:not(.elementor-edit-mode) {
5223
+ display: none;
5224
+ }
5225
+
5226
+
5227
+ /* Template Edit button */
5228
+
5229
+ .wpr-template-edit-btn {
5230
+ position: absolute;
5231
+ top: 0;
5232
+ right: 40px;
5233
+ display: none;
5234
+ line-height: 1;
5235
+ padding: 8px 13px;
5236
+ cursor: pointer;
5237
+ background: #333;
5238
+ color: #fff;
5239
+ border: 1px solid #000;
5240
+ }
5241
+
5242
+ .elementor-editor-active .wpr-template-edit-btn {
5243
+ display: inline-block;
5244
+ opacity: 0;
5245
+ visibility: hidden;
5246
+ }
5247
+
5248
+ .elementor-editor-active .elementor-element-edit-mode:hover .wpr-template-edit-btn {
5249
+ opacity: 1;
5250
+ visibility: visible;
5251
+ }
5252
+
5253
+
5254
+ /*--------------------------------------------------------------
5255
+ == Mailchimp
5256
+ --------------------------------------------------------------*/
5257
+
5258
+ .wpr-mailchimp-fields {
5259
+ display: -webkit-box;
5260
+ display: -ms-flexbox;
5261
+ display: flex;
5262
+ }
5263
+
5264
+ .wpr-mailchimp-email label,
5265
+ .wpr-mailchimp-email input,
5266
+ .wpr-mailchimp-first-name label,
5267
+ .wpr-mailchimp-first-name input,
5268
+ .wpr-mailchimp-last-name label,
5269
+ .wpr-mailchimp-last-name input {
5270
+ display: block;
5271
+ width: 100%;
5272
+ }
5273
+
5274
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-fields {
5275
+ -webkit-box-orient: horizontal;
5276
+ -webkit-box-direction: normal;
5277
+ -ms-flex-direction: row;
5278
+ flex-direction: row;
5279
+ -webkit-box-align: end;
5280
+ -ms-flex-align: end;
5281
+ align-items: flex-end;
5282
+ }
5283
+
5284
+ .wpr-mailchimp-layout-vr .wpr-mailchimp-fields {
5285
+ -webkit-box-orient: vertical;
5286
+ -webkit-box-direction: normal;
5287
+ -ms-flex-direction: column;
5288
+ flex-direction: column;
5289
+ }
5290
+
5291
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-email,
5292
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-first-name,
5293
+ .wpr-mailchimp-layout-hr .wpr-mailchimp-last-name {
5294
+ -webkit-box-flex: 1;
5295
+ -ms-flex-positive: 1;
5296
+ flex-grow: 1;
5297
+ }
5298
+
5299
+ .wpr-mailchimp-subscribe-btn {
5300
+ width: 100%;
5301
+ padding: 0 !important;
5302
+ outline: none !important;
5303
+ cursor: pointer;
5304
+ }
5305
+
5306
+ .wpr-mailchimp-message,
5307
+ .wpr-mailchimp-success-message,
5308
+ .wpr-mailchimp-error-message {
5309
+ display: none;
5310
+ }
5311
+
5312
+
5313
+ /* Defaults */
5314
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-header h3 {
5315
+ font-size: 28px;
5316
+ font-weight: 800;
5317
+ margin-top: 0;
5318
+ }
5319
+
5320
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-header p {
5321
+ font-size: 14px;
5322
+ }
5323
+
5324
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-fields label {
5325
+ font-size: 13px;
5326
+ }
5327
+
5328
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn {
5329
+ background-color: #605BE5;
5330
+ }
5331
+
5332
+ .elementor-widget-wpr-mailchimp .wpr-mailchimp-subscribe-btn:hover {
5333
+ background-color: #4A45D2;
5334
+ }
5335
+
5336
+
5337
+ /*--------------------------------------------------------------
5338
+ == Advanced Slider
5339
+ --------------------------------------------------------------*/
5340
+
5341
+ .wpr-advanced-slider-wrap {
5342
+ position: relative;
5343
+ }
5344
+
5345
+ .wpr-advanced-slider {
5346
+ position: relative;
5347
+ height: 500px;
5348
+ overflow: hidden;
5349
+ }
5350
+
5351
+ .wpr-slider-item {
5352
+ position: relative;
5353
+ height: 500px;
5354
+ overflow: hidden;
5355
+ }
5356
+
5357
+ .wpr-slider-content {
5358
+ position: relative;
5359
+ max-width: 750px;
5360
+ width: 100%;
5361
+ padding: 10px 50px 50px 50px;
5362
+ z-index: 90;
5363
+ }
5364
+
5365
+ .wpr-slider-item-bg {
5366
+ position: absolute;
5367
+ top: 0;
5368
+ left: 0;
5369
+ width: 100%;
5370
+ height: 100%;
5371
+ background-repeat: no-repeat;
5372
+ background-position: center;
5373
+ }
5374
+
5375
+ .wpr-slider-title *,
5376
+ .wpr-slider-sub-title h3,
5377
+ .wpr-slider-description p {
5378
+ display: inline-block;
5379
+ }
5380
+
5381
+ .wpr-slider-title * {
5382
+ color: #ffffff;
5383
+ font-size: 40px;
5384
+ font-weight: 600;
5385
+ line-height: 1.5em;
5386
+ padding: 5px 10px 5px 10px;
5387
+ margin: 0 0 2px 0;
5388
+ }
5389
+
5390
+ .wpr-slider-sub-title h3 {
5391
+ font-size: 16px;
5392
+ padding: 5px 10px 5px 10px;
5393
+ margin: 0 0 10px 0;
5394
+ }
5395
+
5396
+ .wpr-slider-description p {
5397
+ padding: 5px 10px 5px 10px;
5398
+ margin: 0 0 30px 0;
5399
+ }
5400
+
5401
+ .wpr-slider-primary-btn,
5402
+ .wpr-slider-secondary-btn {
5403
+ padding: 12px 25px 12px 25px;
5404
+ margin: 0 10px 0 10px;
5405
+ border-style: solid;
5406
+ border-width: 1px;
5407
+ border-color: #ffffff;
5408
+ border-radius: 2px;
5409
+ }
5410
+
5411
+ .wpr-slider-btns svg,
5412
+ .wpr-slider-scroll-btn svg {
5413
+ vertical-align: bottom;
5414
+ }
5415
+
5416
+
5417
+ /* Ken burn Effect */
5418
+
5419
+ @keyframes ken-burns-in {
5420
+ 0% {
5421
+ -webkit-transform: scale(1);
5422
+ transform: scale(1)
5423
+ }
5424
+ 100% {
5425
+ -webkit-transform: scale(1.3);
5426
+ transform: scale(1.3);
5427
+ }
5428
+ }
5429
+
5430
+ @-webkit-keyframes ken-burns-in {
5431
+ 0% {
5432
+ -webkit-transform: scale(1);
5433
+ transform: scale(1)
5434
+ }
5435
+ 100% {
5436
+ -webkit-transform: scale(1.3);
5437
+ transform: scale(1.3);
5438
+ }
5439
+ }
5440
+
5441
+ @keyframes ken-burns-out {
5442
+ 0% {
5443
+ -webkit-transform: scale(1.3);
5444
+ transform: scale(1.3);
5445
+ }
5446
+ 100% {
5447
+ -webkit-transform: scale(1);
5448
+ transform: scale(1);
5449
+ }
5450
+ }
5451
+
5452
+ @-webkit-keyframes ken-burns-out {
5453
+ 0% {
5454
+ -webkit-transform: scale(1.3);
5455
+ transform: scale(1.3);
5456
+ }
5457
+ 100% {
5458
+ -webkit-transform: scale(1);
5459
+ transform: scale(1);
5460
+ }
5461
+ }
5462
+
5463
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg {
5464
+ -webkit-animation-timing-function: linear;
5465
+ animation-timing-function: linear;
5466
+ -webkit-animation-duration: 10s;
5467
+ animation-duration: 10s;
5468
+ }
5469
+
5470
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-in {
5471
+ -webkit-animation-name: ken-burns-in;
5472
+ animation-name: ken-burns-in;
5473
+ -webkit-transform: scale(1.3);
5474
+ -ms-transform: scale(1.3);
5475
+ transform: scale(1.3);
5476
+ }
5477
+
5478
+ .wpr-advanced-slider .slick-slide.slick-active .wpr-slider-item-bg.wpr-ken-burns-out {
5479
+ -webkit-animation-name: ken-burns-out;
5480
+ animation-name: ken-burns-out;
5481
+ -webkit-transform: scale(1);
5482
+ -ms-transform: scale(1);
5483
+ transform: scale(1)
5484
+ }
5485
+
5486
+ .wpr-ken-burns-in {
5487
+ -webkit-transform: scale(1);
5488
+ -ms-transform: scale(1);
5489
+ transform: scale(1);
5490
+ }
5491
+
5492
+ .wpr-ken-burns-out {
5493
+ -webkit-transform: scale(1.3);
5494
+ -ms-transform: scale(1.3);
5495
+ transform: scale(1.3);
5496
+ }
5497
+
5498
+
5499
+ /* Slider Item URL */
5500
+
5501
+ .wpr-slider-item-url {
5502
+ display: block;
5503
+ width: 100%;
5504
+ height: 100%;
5505
+ position: absolute;
5506
+ left: 0;
5507
+ top: 0;
5508
+ z-index: 90;
5509
+ }
5510
+
5511
+
5512
+ /* Slider Navigation */
5513
+
5514
+ .wpr-slider-nav-position-default .wpr-slider-arrow-container {
5515
+ position: absolute;
5516
+ display: -webkit-box;
5517
+ display: -ms-flexbox;
5518
+ display: flex;
5519
+ }
5520
+
5521
+ .wpr-slider-nav-position-default .wpr-slider-arrow {
5522
+ position: static;
5523
+ }
5524
+
5525
+ .wpr-slider-nav-position-default .wpr-slider-prev-arrow {
5526
+ -ms-transform: none;
5527
+ transform: none;
5528
+ -webkit-transform: none;
5529
+ }
5530
+
5531
+ .wpr-slider-nav-position-default .wpr-slider-next-arrow {
5532
+ -ms-transform: translateY(0) rotate(180deg);
5533
+ transform: translateY(0) rotate(180deg);
5534
+ -webkit-transform: translateY(0) rotate(180deg);
5535
+ }
5536
+
5537
+ .wpr-slider-nav-align-top-center .wpr-slider-arrow-container,
5538
+ .wpr-slider-nav-align-bottom-center .wpr-slider-arrow-container {
5539
+ left: 50%;
5540
+ -webkit-transform: translateX(-50%);
5541
+ -ms-transform: translateX(-50%);
5542
+ transform: translateX(-50%);
5543
+ }
5544
+
5545
+ .wpr-slider-arrow {
5546
+ position: absolute;
5547
+ z-index: 120;
5548
+ top: 50%;
5549
+ -webkit-box-sizing: content-box;
5550
+ box-sizing: content-box;
5551
+ text-align: center;
5552
+ -webkit-transition: all .5s;
5553
+ -o-transition: all .5s;
5554
+ transition: all .5s;
5555
+ cursor: pointer;
5556
+ -webkit-box-align: center;
5557
+ -ms-flex-align: center;
5558
+ align-items: center;
5559
+ -webkit-box-pack: center;
5560
+ -ms-flex-pack: center;
5561
+ justify-content: center;
5562
+ }
5563
+
5564
+ .wpr-slider-arrow i {
5565
+ display: block;
5566
+ line-height: inherit;
5567
+ }
5568
+
5569
+ .wpr-slider-prev-arrow {
5570
+ left: 1%;
5571
+ -webkit-transform: translateY(-50%);
5572
+ -ms-transform: translateY(-50%);
5573
+ transform: translateY(-50%);
5574
+ }
5575
+
5576
+ .wpr-slider-next-arrow {
5577
+ right: 1%;
5578
+ -webkit-transform: translateY(-50%) rotate(180deg);
5579
+ -ms-transform: translateY(-50%) rotate(180deg);
5580
+ transform: translateY(-50%) rotate(180deg);
5581
+ }
5582
+
5583
+ .wpr-slider-nav-fade .wpr-slider-arrow {
5584
+ opacity: 0;
5585
+ visibility: hidden;
5586
+ }
5587
+
5588
+ .wpr-slider-nav-fade .wpr-advanced-slider-wrap:hover .wpr-slider-arrow {
5589
+ opacity: 1;
5590
+ visibility: visible;
5591
+ }
5592
+
5593
+
5594
+ /* Slider Pagination */
5595
+
5596
+ .wpr-slider-dots {
5597
+ display: inline-table;
5598
+ position: absolute;
5599
+ z-index: 110;
5600
+ left: 50%;
5601
+ -webkit-transform: translate(-50%, -50%);
5602
+ -ms-transform: translate(-50%, -50%);
5603
+ transform: translate(-50%, -50%);
5604
+ }
5605
+
5606
+ .wpr-slider-dots .slick-dots {
5607
+ position: static !important;
5608
+ }
5609
+
5610
+ .wpr-slider-dots ul {
5611
+ list-style: none;
5612
+ margin: 0;
5613
+ padding: 0;
5614
+ }
5615
+
5616
+ .wpr-advanced-slider.slick-dotted.slick-slider {
5617
+ margin-bottom: 0 !important;
5618
+ }
5619
+
5620
+ .wpr-slider-dots-vertical .slick-dots li {
5621
+ display: block;
5622
+ width: auto !important;
5623
+ height: auto !important;
5624
+ margin: 0 !important;
5625
+ }
5626
+
5627
+ .wpr-slider-dots-horizontal .slick-dots li {
5628
+ width: auto !important;
5629
+ padding-top: 10px;
5630
+ margin: 0 !important;
5631
+ }
5632
+
5633
+ .wpr-slider-dots-pro-vr .slick-dots li:last-child span,
5634
+ .wpr-slider-dots-horizontal .slick-dots li:last-child span {
5635
+ margin-right: 0 !important;
5636
+ }
5637
+
5638
+ .wpr-slider-dots-pro-vr .wpr-slider-dots li,
5639
+ .wpr-slider-dots-horizontal .wpr-slider-dots li {
5640
+ float: left;
5641
+ }
5642
+
5643
+ .wpr-slider-dot {
5644
+ display: block;
5645
+ cursor: pointer;
5646
+ }
5647
+
5648
+ .wpr-slider-dots li:last-child .wpr-slider-dot {
5649
+ margin: 0 !important;
5650
+ }
5651
+
5652
+
5653
+ /* Slider Scroll Button */
5654
+
5655
+ .wpr-slider-scroll-btn {
5656
+ position: absolute;
5657
+ bottom: 45px;
5658
+ left: 50%;
5659
+ -webkit-transform: translateX(-50%);
5660
+ -ms-transform: translateX(-50%);
5661
+ transform: translateX(-50%);
5662
+ display: inline-block;
5663
+ -webkit-transition-duration: 200ms;
5664
+ -o-transition-duration: 200ms;
5665
+ transition-duration: 200ms;
5666
+ line-height: 1;
5667
+ overflow: hidden;
5668
+ }
5669
+
5670
+ @-webkit-keyframes wpr-scroll-animation {
5671
+ 0% {
5672
+ opacity: 0;
5673
+ -webkit-transform: translate3d(0, -60%, 0);
5674
+ transform: translate3d(0, -60%, 0);
5675
+ }
5676
+ 50% {
5677
+ opacity: 1;
5678
+ -webkit-transform: translate3d(0, 20%, 0);
5679
+ transform: translate3d(0, 20%, 0);
5680
+ }
5681
+ 100% {
5682
+ opacity: 0;
5683
+ -webkit-transform: translate3d(0, 20%, 0);
5684
+ transform: translate3d(0, 20%, 0);
5685
+ }
5686
+ }
5687
+
5688
+ @keyframes wpr-scroll-animation {
5689
+ 0% {
5690
+ opacity: 0;
5691
+ -webkit-transform: translate3d(0, -60%, 0);
5692
+ transform: translate3d(0, -60%, 0);
5693
+ }
5694
+ 50% {
5695
+ opacity: 1;
5696
+ -webkit-transform: translate3d(0, 20%, 0);
5697
+ transform: translate3d(0, 20%, 0);
5698
+ }
5699
+ 100% {
5700
+ opacity: 0;
5701
+ -webkit-transform: translate3d(0, 20%, 0);
5702
+ transform: translate3d(0, 20%, 0);
5703
+ }
5704
+ }
5705
+
5706
+ .wpr-scroll-animation {
5707
+ -webkit-animation-name: wpr-scroll-animation;
5708
+ animation-name: wpr-scroll-animation;
5709
+ -webkit-animation-duration: 1300ms;
5710
+ animation-duration: 1300ms;
5711
+ -webkit-animation-iteration-count: infinite;
5712
+ animation-iteration-count: infinite;
5713
+ }
5714
+
5715
+
5716
+ /* Slider Video */
5717
+
5718
+ .wpr-slider-video {
5719
+ position: absolute;
5720
+ width: 100%;
5721
+ height: 100%;
5722
+ top: 0;
5723
+ left: 0;
5724
+ z-index: 90;
5725
+ }
5726
+
5727
+ .wpr-slider-video-btn {
5728
+ margin: 0 auto;
5729
+ }
5730
+
5731
+ .wpr-slider-video-btn i {
5732
+ display: block;
5733
+ }
5734
+
5735
+ .wpr-slider-video-icon-size-none .wpr-slider-video-btn {
5736
+ display: none;
5737
+ }
5738
+
5739
+ .wpr-slider-video-icon-size-small .wpr-slider-video-btn {
5740
+ height: 50px;
5741
+ width: 50px;
5742
+ font-size: 16px;
5743
+ padding: 16px 0 0 4px;
5744
+ border-width: 1px;
5745
+ }
5746
+
5747
+ .wpr-slider-video-icon-size-medium .wpr-slider-video-btn {
5748
+ height: 80px;
5749
+ width: 80px;
5750
+ font-size: 26px;
5751
+ padding: 25px 0 0 5px;
5752
+ border-width: 2px;
5753
+ }
5754
+
5755
+ .wpr-slider-video-icon-size-large .wpr-slider-video-btn {
5756
+ height: 100px;
5757
+ width: 100px;
5758
+ font-size: 30px;
5759
+ padding: 33px 0 0 7px;
5760
+ border-width: 2px;
5761
+ }
5762
+
5763
+ .wpr-slider-video-btn {
5764
+ text-align: center;
5765
+ border-style: solid;
5766
+ border-radius: 50%;
5767
+ cursor: pointer;
5768
+ }
5769
+
5770
+
5771
+ /* Slider Overlay */
5772
+
5773
+ .wpr-slider-item-overlay {
5774
+ position: absolute;
5775
+ left: 0;
5776
+ top: 0;
5777
+ width: 100%;
5778
+ height: 100%;
5779
+ z-index: 80;
5780
+ }
5781
+
5782
+
5783
+ /* Slick Slider */
5784
+
5785
+ .slick-slider {
5786
+ position: relative;
5787
+ display: block;
5788
+ -webkit-box-sizing: border-box;
5789
+ box-sizing: border-box;
5790
+ -webkit-user-select: none;
5791
+ -moz-user-select: none;
5792
+ -ms-user-select: none;
5793
+ user-select: none;
5794
+ -webkit-touch-callout: none;
5795
+ -khtml-user-select: none;
5796
+ -ms-touch-action: pan-y;
5797
+ touch-action: pan-y;
5798
+ -webkit-tap-highlight-color: transparent;
5799
+ }
5800
+
5801
+ .slick-list {
5802
+ position: relative;
5803
+ display: block;
5804
+ overflow: hidden;
5805
+ margin: 0;
5806
+ padding: 0;
5807
+ }
5808
+
5809
+ .slick-list:focus {
5810
+ outline: none;
5811
+ }
5812
+
5813
+ .slick-list.dragging {
5814
+ cursor: pointer;
5815
+ cursor: hand;
5816
+ }
5817
+
5818
+ .slick-slider .slick-track,
5819
+ .slick-slider .slick-list {
5820
+ -webkit-transform: translate3d(0, 0, 0);
5821
+ -ms-transform: translate3d(0, 0, 0);
5822
+ transform: translate3d(0, 0, 0);
5823
+ }
5824
+
5825
+ .slick-track {
5826
+ position: relative;
5827
+ top: 0;
5828
+ left: 0;
5829
+ display: block;
5830
+ margin-left: auto;
5831
+ margin-right: auto;
5832
+ }
5833
+
5834
+ .slick-track:before,
5835
+ .slick-track:after {
5836
+ display: table;
5837
+ content: '';
5838
+ }
5839
+
5840
+ .slick-track:after {
5841
+ clear: both;
5842
+ }
5843
+
5844
+ .slick-loading .slick-track {
5845
+ visibility: hidden;
5846
+ }
5847
+
5848
+ .slick-slide {
5849
+ display: none;
5850
+ float: left;
5851
+ height: 100%;
5852
+ min-height: 1px;
5853
+ }
5854
+
5855
+ [dir='rtl'] .slick-slide {
5856
+ float: right;
5857
+ }
5858
+
5859
+ .slick-slide img {
5860
+ display: block;
5861
+ }
5862
+
5863
+ .slick-slide.slick-loading img {
5864
+ display: none;
5865
+ }
5866
+
5867
+ .slick-slide.dragging img {
5868
+ pointer-events: none;
5869
+ }
5870
+
5871
+ .slick-initialized .slick-slide {
5872
+ display: block;
5873
+ }
5874
+
5875
+ .slick-loading .slick-slide {
5876
+ visibility: hidden;
5877
+ }
5878
+
5879
+ .slick-vertical .slick-slide {
5880
+ display: block;
5881
+ height: auto;
5882
+ border: 1px solid transparent;
5883
+ }
5884
+
5885
+ .slick-arrow.slick-hidden {
5886
+ display: none;
5887
+ }
5888
+
5889
+
5890
+ /*--------------------------------------------------------------
5891
+ == Pricing Table
5892
+ --------------------------------------------------------------*/
5893
+
5894
+ .wpr-pricing-table {
5895
+ position: relative;
5896
+ }
5897
+
5898
+
5899
+ /* Heading */
5900
+
5901
+ .wpr-pricing-table-heading {
5902
+ text-align: center;
5903
+ }
5904
+
5905
+ .wpr-pricing-table-headding-inner {
5906
+ display: inline-block;
5907
+ }
5908
+
5909
+ .wpr-pricing-table-heading-left .wpr-pricing-table-headding-inner>div,
5910
+ .wpr-pricing-table-heading-right .wpr-pricing-table-headding-inner>div {
5911
+ display: inline-block;
5912
+ vertical-align: top;
5913
+ }
5914
+
5915
+ .wpr-pricing-table-heading-left .wpr-pricing-table-icon {
5916
+ float: left;
5917
+ }
5918
+
5919
+ .wpr-pricing-table-heading-right .wpr-pricing-table-icon {
5920
+ float: right;
5921
+ }
5922
+
5923
+ .wpr-pricing-table-heading-left .wpr-pricing-table-title-wrap,
5924
+ .wpr-pricing-table-heading-right .wpr-pricing-table-title-wrap {
5925
+ text-align: left;
5926
+ }
5927
+
5928
+ .wpr-pricing-table-heading-center .wpr-pricing-table-icon img {
5929
+ margin: 0 auto;
5930
+ }
5931
+
5932
+ .wpr-pricing-table-icon img {
5933
+ display: block;
5934
+ border-style: none;
5935
+ }
5936
+
5937
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-title {
5938
+ font-size: 26px;
5939
+ font-weight: 600;
5940
+ }
5941
+
5942
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-title-wrap .wpr-pricing-table-sub-title {
5943
+ font-size: 14px;
5944
+ }
5945
+
5946
+ .wpr-pricing-table-price {
5947
+ text-align: center;
5948
+ font-size: 65px;
5949
+ font-weight: 500;
5950
+ line-height: 0.9;
5951
+ }
5952
+
5953
+ .wpr-pricing-table-price-inner {
5954
+ -ms-box-orient: horizontal;
5955
+ display: -webkit-box;
5956
+ display: -ms-flexbox;
5957
+ display: -moz-flex;
5958
+ display: flex;
5959
+ -webkit-box-pack: center;
5960
+ -ms-flex-pack: center;
5961
+ justify-content: center;
5962
+ }
5963
+
5964
+ .wpr-pricing-table-sub-price,
5965
+ .wpr-pricing-table-currency,
5966
+ .wpr-pricing-table-old-price,
5967
+ .wpr-pricing-table-preiod {
5968
+ line-height: 1;
5969
+ }
5970
+
5971
+ .wpr-pricing-table-preiod {
5972
+ font-size: 17px;
5973
+ line-height: 1.5;
5974
+ -webkit-align-self: flex-end;
5975
+ -ms-flex-item-align: end;
5976
+ align-self: flex-end;
5977
+ }
5978
+
5979
+ .wpr-pricing-table-old-price {
5980
+ text-decoration: line-through !important;
5981
+ }
5982
+
5983
+
5984
+ /* Feature */
5985
+
5986
+ .wpr-pricing-table-feature {
5987
+ position: relative;
5988
+ font-size: 15px;
5989
+ }
5990
+
5991
+ .wpr-pricing-table-feature-inner {
5992
+ display: -webkit-box;
5993
+ display: -ms-flexbox;
5994
+ display: flex;
5995
+ -webkit-box-align: center;
5996
+ -ms-flex-align: center;
5997
+ align-items: center;
5998
+ margin: 0 auto;
5999
+ }
6000
+
6001
+ .wpr-pricing-table-feature-inner span {
6002
+ position: relative;
6003
+ }
6004
+
6005
+ .wpr-pricing-table-feature-inner span.wpr-pricing-table-ftext-line-yes {
6006
+ text-decoration: line-through;
6007
+ }
6008
+
6009
+ .wpr-pricing-table-feature:after {
6010
+ content: "";
6011
+ display: block;
6012
+ width: 100%;
6013
+ margin: 0 auto;
6014
+ }
6015
+
6016
+ .wpr-pricing-table section:last-of-type:after {
6017
+ display: none;
6018
+ }
6019
+
6020
+ .wpr-pricing-table-feature-text,
6021
+ .wpr-pricing-table-feature-icon {
6022
+ display: inline;
6023
+ }
6024
+
6025
+ .wpr-pricing-table-feature-icon {
6026
+ margin-right: 8px;
6027
+ }
6028
+
6029
+ .wpr-pricing-table-feature-tooltip {
6030
+ position: absolute;
6031
+ top: 0;
6032
+ left: 50%;
6033
+ border-radius: 4px;
6034
+ padding: 6px 10px;
6035
+ visibility: hidden;
6036
+ opacity: 0;
6037
+ font-size: 15px;
6038
+ -webkit-transform: translate(-50%, -100%);
6039
+ -ms-transform: translate(-50%, -100%);
6040
+ transform: translate(-50%, -100%);
6041
+ -webkit-transition: all 230ms ease-in-out 0s;
6042
+ -o-transition: all 230ms ease-in-out 0s;
6043
+ transition: all 230ms ease-in-out 0s;
6044
+ text-align: center;
6045
+ }
6046
+
6047
+ .wpr-pricing-table-feature-tooltip:before {
6048
+ content: "";
6049
+ position: absolute;
6050
+ left: 10px;
6051
+ bottom: -5px;
6052
+ width: 0;
6053
+ height: 0;
6054
+ border-left: 6px solid transparent;
6055
+ border-right: 6px solid transparent;
6056
+ border-top-style: solid;
6057
+ border-top-width: 6px;
6058
+ }
6059
+
6060
+ .wpr-pricing-table-feature:hover .wpr-pricing-table-feature-tooltip {
6061
+ visibility: visible;
6062
+ opacity: 1;
6063
+ top: 5px;
6064
+ -ms-transform: translate(-50%, -100%);
6065
+ transform: translate(-50%, -100%);
6066
+ -webkit-transform: translate(-50%, -100%);
6067
+ }
6068
+
6069
+ .wpr-pricing-table-feature-tooltip:before {
6070
+ left: 50%;
6071
+ -ms-transform: translateX(-50%);
6072
+ transform: translateX(-50%);
6073
+ -webkit-transform: translateX(-50%) !important;
6074
+ }
6075
+
6076
+
6077
+ /* Button */
6078
+
6079
+ .wpr-pricing-table-button {
6080
+ text-align: center;
6081
+ font-size: 17px;
6082
+ }
6083
+
6084
+ .wpr-pricing-table-btn {
6085
+ position: relative;
6086
+ overflow: hidden;
6087
+ display: inline-block;
6088
+ vertical-align: middle;
6089
+ cursor: pointer;
6090
+ }
6091
+
6092
+ .wpr-pricing-table-btn span {
6093
+ position: relative;
6094
+ z-index: 2;
6095
+ opacity: 1 !important;
6096
+ }
6097
+
6098
+ .wpr-pricing-table-btn:before,
6099
+ .wpr-pricing-table-btn:after {
6100
+ z-index: 1 !important;
6101
+ }
6102
+
6103
+
6104
+ /* Badge */
6105
+
6106
+ .wpr-pricing-table-badge {
6107
+ position: absolute;
6108
+ display: inline-block;
6109
+ text-align: center;
6110
+ z-index: 2;
6111
+ }
6112
+
6113
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-badge .wpr-pricing-table-badge-inner {
6114
+ font-size: 15px;
6115
+ font-weight: 900;
6116
+ }
6117
+
6118
+ .wpr-pricing-table-badge-left {
6119
+ left: 0;
6120
+ right: auto;
6121
+ }
6122
+
6123
+ .wpr-pricing-table-badge-right {
6124
+ left: auto;
6125
+ right: 0;
6126
+ }
6127
+
6128
+ .wpr-pricing-table-badge-corner {
6129
+ top: 0;
6130
+ width: 200px;
6131
+ height: 200px;
6132
+ overflow: hidden;
6133
+ }
6134
+
6135
+ .wpr-pricing-table-badge-corner .wpr-pricing-table-badge-inner {
6136
+ width: 200%;
6137
+ }
6138
+
6139
+ .wpr-pricing-table-badge-corner.wpr-pricing-table-badge-right {
6140
+ -ms-transform: rotate(90deg);
6141
+ transform: rotate(90deg);
6142
+ -webkit-transform: rotate(90deg);
6143
+ }
6144
+
6145
+ .wpr-pricing-table-badge-cyrcle {
6146
+ top: 0;
6147
+ }
6148
+
6149
+ .wpr-pricing-table-badge-cyrcle .wpr-pricing-table-badge-inner {
6150
+ border-radius: 100%;
6151
+ }
6152
+
6153
+ .wpr-pricing-table-badge-flag {
6154
+ border-right: 5px;
6155
+ }
6156
+
6157
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left {
6158
+ margin-left: -10px;
6159
+ }
6160
+
6161
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right {
6162
+ margin-right: -10px;
6163
+ }
6164
+
6165
+ .wpr-pricing-table-badge-flag:before {
6166
+ content: "";
6167
+ position: absolute;
6168
+ z-index: 1;
6169
+ bottom: -5px;
6170
+ width: 0;
6171
+ height: 0;
6172
+ margin-left: -10px;
6173
+ border-left: 10px solid transparent;
6174
+ border-right: 10px solid transparent;
6175
+ border-top-style: solid;
6176
+ border-top-width: 10px;
6177
+ }
6178
+
6179
+ .wpr-pricing-table-badge-flag .wpr-pricing-table-badge-inner {
6180
+ position: relative;
6181
+ z-index: 2;
6182
+ border-top-left-radius: 3px;
6183
+ border-top-right-radius: 3px;
6184
+ }
6185
+
6186
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left:before {
6187
+ left: 5px;
6188
+ -ms-transform: rotate(90deg);
6189
+ transform: rotate(90deg);
6190
+ -webkit-transform: rotate(90deg);
6191
+ }
6192
+
6193
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right:before {
6194
+ right: -5px;
6195
+ -ms-transform: rotate(-90deg);
6196
+ transform: rotate(-90deg);
6197
+ -webkit-transform: rotate(-90deg);
6198
+ }
6199
+
6200
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-left .wpr-pricing-table-badge-inner {
6201
+ border-bottom-right-radius: 3px;
6202
+ }
6203
+
6204
+ .wpr-pricing-table-badge-flag.wpr-pricing-table-badge-right .wpr-pricing-table-badge-inner {
6205
+ border-bottom-left-radius: 3px;
6206
+ }
6207
+
6208
+
6209
+ /* Text */
6210
+ .wpr-pricing-table-text {
6211
+ font-size: 13px;
6212
+ line-height: 1.3;
6213
+ }
6214
+
6215
+
6216
+ /* Divider */
6217
+ .wpr-pricing-table-divider {
6218
+ margin: 0 auto;
6219
+ border: 0;
6220
+ }
6221
+
6222
+
6223
+ /* Animation */
6224
+ .wpr-pricing-table-animation-slide {
6225
+ -webkit-transition-property: margin;
6226
+ -o-transition-property: margin;
6227
+ transition-property: margin;
6228
+ -webkit-transition-timing-function: ease-in-out;
6229
+ -o-transition-timing-function: ease-in-out;
6230
+ transition-timing-function: ease-in-out;
6231
+ }
6232
+
6233
+ .wpr-pricing-table-animation-bounce {
6234
+ -webkit-animation-iteration-count: 1;
6235
+ animation-iteration-count: 1;
6236
+ }
6237
+
6238
+ .wpr-pricing-table-animation-slide:hover {
6239
+ margin-top: -5px;
6240
+ }
6241
+
6242
+ .wpr-pricing-table-animation-bounce:hover {
6243
+ -webkit-animation-name: bounce;
6244
+ animation-name: bounce;
6245
+ }
6246
+
6247
+
6248
+ /* Defaults */
6249
+
6250
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-heading {
6251
+ background-color: #f9f9f9;
6252
+ }
6253
+
6254
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-price {
6255
+ background-color: #605be5;
6256
+ }
6257
+
6258
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-button {
6259
+ background-color: #f9f9f9;
6260
+ }
6261
+
6262
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn {
6263
+ background-color: #2B2B2B;
6264
+ }
6265
+
6266
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-btn:hover {
6267
+ background-color: #4A45D2;
6268
+ }
6269
+
6270
+ .elementor-widget-wpr-pricing-table .wpr-pricing-table-text {
6271
+ background-color: #f9f9f9;
6272
+ }
6273
+
6274
+
6275
+ /*--------------------------------------------------------------
6276
+ == Logo
6277
+ --------------------------------------------------------------*/
6278
+
6279
+ .wpr-logo {
6280
+ position: relative;
6281
+ display: inline-table;
6282
+ overflow: hidden;
6283
+ }
6284
+
6285
+ .wpr-logo-image img {
6286
+ display: block;
6287
+ }
6288
+
6289
+ .wpr-logo-description {
6290
+ margin: 0;
6291
+ }
6292
+
6293
+ .wpr-logo-image,
6294
+ .wpr-logo-text {
6295
+ position: relative;
6296
+ display: block;
6297
+ width: 100%;
6298
+ z-index: 7;
6299
+ }
6300
+
6301
+ .wpr-logo-url {
6302
+ position: absolute;
6303
+ display: block;
6304
+ width: 100%;
6305
+ height: 100%;
6306
+ top: 0;
6307
+ left: 0;
6308
+ z-index: 5;
6309
+ }
6310
+
6311
+ .wpr-logo-position-left .wpr-logo-image,
6312
+ .wpr-logo-position-left .wpr-logo-text {
6313
+ float: left;
6314
+ }
6315
+
6316
+ .wpr-logo-position-right .wpr-logo-image,
6317
+ .wpr-logo-position-right .wpr-logo-text {
6318
+ float: right;
6319
+ }
6320
+
6321
+ .wpr-logo-position-center .wpr-logo-image {
6322
+ margin: 0 auto;
6323
+ }
6324
+
6325
+ .wpr-logo-position-center .wpr-logo-text {
6326
+ text-align: center;
6327
+ }
6328
+
6329
+ .wpr-logo-position-left .wpr-logo-text,
6330
+ .wpr-logo-position-right .wpr-logo-text {
6331
+ text-align: left;
6332
+ }
6333
+
6334
+
6335
+ /* Defaults */
6336
+
6337
+ .elementor-widget-wpr-logo .wpr-logo-title {
6338
+ font-size: 16px;
6339
+ line-height: 1.5;
6340
+ }
6341
+
6342
+ .elementor-widget-wpr-logo .wpr-logo-description {
6343
+ font-size: 13px;
6344
+ }
6345
+
6346
+
6347
+ /*--------------------------------------------------------------
6348
+ == Testimonial
6349
+ --------------------------------------------------------------*/
6350
+
6351
+ .wpr-testimonial-carousel .slick-slider {
6352
+ cursor: drag;
6353
+ }
6354
+
6355
+ .wpr-testimonial-carousel .slick-track {
6356
+ display: -webkit-box !important;
6357
+ display: flex !important;
6358
+ display: -ms-flexbox !important;
6359
+ }
6360
+
6361
+ .wpr-testimonial-carousel .slick-slide {
6362
+ height: inherit !important;
6363
+ }
6364
+
6365
+ .wpr-testimonial-carousel-wrap .slick-list {
6366
+ padding-right: 1px !important;
6367
+ }
6368
+
6369
+
6370
+ /* Testimonial Navigation */
6371
+ .wpr-testimonial-nav-position-default .wpr-testimonial-arrow-container {
6372
+ position: absolute;
6373
+ display: -webkit-box;
6374
+ display: -ms-flexbox;
6375
+ display: flex;
6376
+ }
6377
+
6378
+ .wpr-testimonial-nav-position-default .wpr-testimonial-arrow {
6379
+ position: static;
6380
+ }
6381
+
6382
+ .wpr-testimonial-nav-position-default .wpr-testimonial-prev-arrow {
6383
+ -ms-transform: none;
6384
+ transform: none;
6385
+ -webkit-transform: none;
6386
+ }
6387
+
6388
+ .wpr-testimonial-nav-position-default .wpr-testimonial-next-arrow {
6389
+ -ms-transform: translateY(0) rotate(180deg);
6390
+ transform: translateY(0) rotate(180deg);
6391
+ -webkit-transform: translateY(0) rotate(180deg);
6392
+ }
6393
+
6394
+ .wpr-testimonial-nav-align-top-center .wpr-testimonial-arrow-container,
6395
+ .wpr-testimonial-nav-align-bottom-center .wpr-testimonial-arrow-container {
6396
+ left: 50%;
6397
+ -webkit-transform: translateX(-50%);
6398
+ -ms-transform: translateX(-50%);
6399
+ transform: translateX(-50%);
6400
+ }
6401
+
6402
+ .wpr-testimonial-arrow {
6403
+ position: absolute;
6404
+ z-index: 120;
6405
+ top: 52%;
6406
+ -webkit-box-sizing: content-box;
6407
+ box-sizing: content-box;
6408
+ -webkit-box-align: center;
6409
+ -ms-flex-align: center;
6410
+ align-items: center;
6411
+ -webkit-box-pack: center;
6412
+ -ms-flex-pack: center;
6413
+ justify-content: center;
6414
+ text-align: center;
6415
+ -webkit-transition: all .5s;
6416
+ -o-transition: all .5s;
6417
+ transition: all .5s;
6418
+ cursor: pointer;
6419
+ }
6420
+
6421
+ .wpr-testimonial-arrow i {
6422
+ display: block;
6423
+ line-height: inherit;
6424
+ }
6425
+
6426
+ .wpr-testimonial-prev-arrow {
6427
+ left: 2%;
6428
+ -webkit-transform: translateY(-50%);
6429
+ -ms-transform: translateY(-50%);
6430
+ transform: translateY(-50%);
6431
+ }
6432
+
6433
+ .wpr-testimonial-next-arrow {
6434
+ right: 2%;
6435
+ -webkit-transform: translateY(-50%) rotate(180deg);
6436
+ -ms-transform: translateY(-50%) rotate(180deg);
6437
+ transform: translateY(-50%) rotate(180deg);
6438
+ }
6439
+
6440
+ .wpr-testimonial-nav-fade .wpr-testimonial-arrow {
6441
+ opacity: 0;
6442
+ }
6443
+
6444
+
6445
+ /* Testimonial Pagination */
6446
+
6447
+ .wpr-testimonial-dots {
6448
+ display: inline-table;
6449
+ position: absolute;
6450
+ z-index: 110;
6451
+ left: 50%;
6452
+ -webkit-transform: translate(-50%, -50%);
6453
+ -ms-transform: translate(-50%, -50%);
6454
+ transform: translate(-50%, -50%);
6455
+ }
6456
+
6457
+ .wpr-testimonial-dots ul {
6458
+ list-style: none;
6459
+ padding: 0;
6460
+ margin: 0;
6461
+ }
6462
+
6463
+ .wpr-testimonial-dots li {
6464
+ float: left;
6465
+ width: auto !important;
6466
+ margin: 0 !important;
6467
+ }
6468
+
6469
+ .wpr-testimonial-dot {
6470
+ display: block;
6471
+ cursor: pointer;
6472
+ }
6473
+
6474
+ .wpr-testimonial-dots li:last-child .wpr-testimonial-dot {
6475
+ margin: 0 !important;
6476
+ }
6477
+
6478
+
6479
+ /* Social Media */
6480
+
6481
+ .wpr-testimonial-social-media {
6482
+ display: inline-block;
6483
+ }
6484
+
6485
+ .wpr-testimonial-social {
6486
+ display: block;
6487
+ float: left;
6488
+ width: 45px;
6489
+ height: 45px;
6490
+ line-height: 45px;
6491
+ font-size: 45px;
6492
+ -webkit-box-sizing: content-box;
6493
+ box-sizing: content-box;
6494
+ text-align: center;
6495
+ -webkit-transition: all .5s;
6496
+ -o-transition: all .5s;
6497
+ transition: all .5s;
6498
+ cursor: pointer;
6499
+ }
6500
+
6501
+ .wpr-testimonial-social i {
6502
+ display: block;
6503
+ width: 100%;
6504
+ height: 100%;
6505
+ line-height: inherit;
6506
+ }
6507
+
6508
+ .wpr-testimonial-social:last-child {
6509
+ margin-right: 0 !important;
6510
+ }
6511
+
6512
+
6513
+ /* Rating */
6514
+
6515
+ .wpr-testimonial-rating i {
6516
+ display: inline;
6517
+ position: relative;
6518
+ font-family: "eicons";
6519
+ font-style: normal;
6520
+ line-height: 1;
6521
+ overflow: hidden;
6522
+ }
6523
+
6524
+ .wpr-testimonial-rating i:before {
6525
+ content: '\e934';
6526
+ font-weight: 900;
6527
+ display: block;
6528
+ position: absolute;
6529
+ top: 0;
6530
+ left: 0;
6531
+ font-size: inherit;
6532
+ font-family: inherit;
6533
+ overflow: hidden;
6534
+ }
6535
+
6536
+ .wpr-testimonial-rating-style_2 .wpr-testimonial-rating i:before {
6537
+ content: '\002605';
6538
+ }
6539
+
6540
+ .wpr-testimonial-rating i:last-of-type {
6541
+ margin-right: 0 !important;
6542
+ }
6543
+
6544
+ .wpr-rating-icon-empty:before {
6545
+ display: none !important;
6546
+ }
6547
+
6548
+
6549
+ /* Content */
6550
+
6551
+ .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-content-wrap .wpr-testimonial-title {
6552
+ font-size: 18px;
6553
+ font-weight: 700;
6554
+ }
6555
+
6556
+ .wpr-testimonial-content {
6557
+ position: relative;
6558
+ font-size: 15px;
6559
+ }
6560
+
6561
+ .wpr-testimonial-content p {
6562
+ position: relative;
6563
+ z-index: 5;
6564
+ margin: 0;
6565
+ }
6566
+
6567
+
6568
+ /* Icon */
6569
+
6570
+ .wpr-testimonial-content .wpr-testimonial-icon {
6571
+ position: absolute;
6572
+ width: 100%;
6573
+ z-index: 1;
6574
+ }
6575
+
6576
+ .wpr-testimonial-date {
6577
+ font-size: 10px;
6578
+ }
6579
+
6580
+
6581
+ /* Triangle */
6582
+ .wpr-testimonial-content-inner {
6583
+ position: relative;
6584
+ background-color: #f9f9f9;
6585
+ }
6586
+
6587
+ .wpr-testimonial-triangle-yes .wpr-testimonial-content-inner:before {
6588
+ content: "";
6589
+ position: absolute;
6590
+ width: 0;
6591
+ height: 0;
6592
+ border-left: 15px solid transparent;
6593
+ border-right: 15px solid transparent;
6594
+ border-top-style: solid;
6595
+ border-top-width: 15px;
6596
+ }
6597
+
6598
+ .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before,
6599
+ .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-center .wpr-testimonial-content-inner:before {
6600
+ right: calc( 50% - 15px);
6601
+ }
6602
+
6603
+ .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before,
6604
+ .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-left .wpr-testimonial-content-inner:before {
6605
+ margin-left: -15px;
6606
+ }
6607
+
6608
+ .wpr-testimonial-meta-position-top.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before,
6609
+ .wpr-testimonial-meta-position-bottom.wpr-testimonial-meta-align-right .wpr-testimonial-content-inner:before {
6610
+ margin-right: -15px;
6611
+ }
6612
+
6613
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6614
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6615
+ margin-top: -7.5px;
6616
+ }
6617
+
6618
+ .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6619
+ -webkit-transform: rotate(180deg);
6620
+ -ms-transform: rotate(180deg);
6621
+ transform: rotate(180deg);
6622
+ }
6623
+
6624
+ .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner {
6625
+ margin-top: 15px;
6626
+ }
6627
+
6628
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6629
+ -webkit-transform: rotate(-90deg);
6630
+ -ms-transform: rotate(-90deg);
6631
+ transform: rotate(-90deg);
6632
+ }
6633
+
6634
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6635
+ margin-right: 15px;
6636
+ }
6637
+
6638
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6639
+ -webkit-transform: rotate(90deg);
6640
+ -ms-transform: rotate(90deg);
6641
+ transform: rotate(90deg);
6642
+ }
6643
+
6644
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner {
6645
+ margin-left: 15px;
6646
+ }
6647
+
6648
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6649
+ bottom: -15px;
6650
+ }
6651
+
6652
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner {
6653
+ margin-bottom: 15px;
6654
+ }
6655
+
6656
+ .wpr-testimonial-meta-position-extra .wpr-testimonial-content-inner:before {
6657
+ display: none;
6658
+ }
6659
+
6660
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before {
6661
+ left: -22px;
6662
+ }
6663
+
6664
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6665
+ right: -22px;
6666
+ }
6667
+
6668
+ .wpr-testimonial-meta-position-top .wpr-testimonial-content-inner:before {
6669
+ top: -15px;
6670
+ }
6671
+
6672
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-content-inner:before {
6673
+ bottom: -15px;
6674
+ }
6675
+
6676
+
6677
+ /* Meta */
6678
+
6679
+ .wpr-testimonial-image {
6680
+ overflow: hidden;
6681
+ }
6682
+
6683
+ .elementor-widget-wpr-testimonial-carousel .wpr-testimonial-meta .wpr-testimonial-name {
6684
+ font-size: 14px;
6685
+ font-weight: 700;
6686
+ }
6687
+
6688
+ .wpr-testimonial-logo-image {
6689
+ display: block;
6690
+ overflow: hidden;
6691
+ }
6692
+
6693
+
6694
+ /* Meta Position */
6695
+
6696
+ .wpr-testimonial-item {
6697
+ display: -webkit-box !important;
6698
+ display: -ms-flexbox !important;
6699
+ display: flex !important;
6700
+ -webkit-box-pack: start;
6701
+ -ms-flex-pack: start;
6702
+ justify-content: flex-start;
6703
+ }
6704
+
6705
+ .wpr-testimonial-meta-position-extra .wpr-testimonial-item {
6706
+ -webkit-box-orient: vertical;
6707
+ -webkit-box-direction: normal;
6708
+ -ms-flex-direction: column;
6709
+ flex-direction: column;
6710
+ }
6711
+
6712
+ .wpr-testimonial-meta-position-top .wpr-testimonial-item {
6713
+ -webkit-box-orient: vertical;
6714
+ -webkit-box-direction: normal;
6715
+ -ms-flex-direction: column;
6716
+ flex-direction: column;
6717
+ }
6718
+
6719
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-item {
6720
+ -webkit-box-orient: vertical;
6721
+ -webkit-box-direction: reverse;
6722
+ -ms-flex-direction: column-reverse;
6723
+ flex-direction: column-reverse;
6724
+ -webkit-box-pack: end;
6725
+ -ms-flex-pack: end;
6726
+ justify-content: flex-end;
6727
+ }
6728
+
6729
+ .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6730
+ -webkit-box-orient: horizontal;
6731
+ -webkit-box-direction: reverse;
6732
+ -ms-flex-direction: row-reverse;
6733
+ flex-direction: row-reverse;
6734
+ }
6735
+
6736
+ .wpr-testimonial-meta-position-left .wpr-testimonial-item {
6737
+ -webkit-box-orient: horizontal;
6738
+ -webkit-box-direction: normal;
6739
+ -ms-flex-direction: row;
6740
+ flex-direction: row;
6741
+ }
6742
+
6743
+ .wpr-testimonial-meta-position-right .wpr-testimonial-meta,
6744
+ .wpr-testimonial-meta-position-left .wpr-testimonial-meta {
6745
+ -ms-flex-negative: 0;
6746
+ flex-shrink: 0;
6747
+ }
6748
+
6749
+ @media screen and ( max-width: 480px) {
6750
+ .wpr-testimonial-meta-position-left .wpr-testimonial-item,
6751
+ .wpr-testimonial-meta-position-right .wpr-testimonial-item {
6752
+ -webkit-box-orient: vertical;
6753
+ -webkit-box-direction: normal;
6754
+ -ms-flex-direction: column;
6755
+ flex-direction: column;
6756
+ }
6757
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner,
6758
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner {
6759
+ margin-left: 0 !important;
6760
+ }
6761
+ .wpr-testimonial-meta-position-left .wpr-testimonial-meta,
6762
+ .wpr-testimonial-meta-position-right .wpr-testimonial-meta {
6763
+ margin-left: 0 !important;
6764
+ margin-right: 0 !important;
6765
+ padding: 0 !important;
6766
+ margin-bottom: 20px;
6767
+ }
6768
+ .wpr-testimonial-meta-position-left .wpr-testimonial-content-inner:before,
6769
+ .wpr-testimonial-meta-position-right .wpr-testimonial-content-inner:before {
6770
+ display: none;
6771
+ }
6772
+ }
6773
+
6774
+
6775
+ /* Job */
6776
+
6777
+ .wpr-testimonial-job {
6778
+ font-size: 10px;
6779
+ }
6780
+
6781
+
6782
+ /* Meta Image Positon */
6783
+
6784
+ .wpr-testimonial-image-position-left .wpr-testimonial-meta-inner>div,
6785
+ .wpr-testimonial-image-position-right .wpr-testimonial-meta-inner>div {
6786
+ display: inline-block;
6787
+ vertical-align: top;
6788
+ }
6789
+
6790
+ .wpr-testimonial-image-position-left .wpr-testimonial-image,
6791
+ .wpr-testimonial-image-position-left .wpr-testimonial-logo-image img,
6792
+ .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-left .wpr-testimonial-meta img {
6793
+ float: left;
6794
+ }
6795
+
6796
+ .wpr-testimonial-image-position-right .wpr-testimonial-image,
6797
+ .wpr-testimonial-image-position-right .wpr-testimonial-logo-image img,
6798
+ .wpr-testimonial-image-position-center.wpr-testimonial-meta-align-right .wpr-testimonial-meta img {
6799
+ float: right;
6800
+ }
6801
+
6802
+ .wpr-testimonial-meta-align-left .wpr-testimonial-meta,
6803
+ .wpr-testimonial-image-position-left .wpr-testimonial-meta-content-wrap {
6804
+ text-align: left;
6805
+ }
6806
+
6807
+ .wpr-testimonial-meta-align-center .wpr-testimonial-meta {
6808
+ text-align: center;
6809
+ }
6810
+
6811
+ .wpr-testimonial-meta-align-right .wpr-testimonial-meta,
6812
+ .wpr-testimonial-image-position-right .wpr-testimonial-meta-content-wrap {
6813
+ text-align: right;
6814
+ }
6815
+
6816
+ .wpr-testimonial-meta-align-center .wpr-testimonial-meta img {
6817
+ margin: 0 auto;
6818
+ }
6819
+
6820
+ .wpr-testimonial-meta-position-extra .wpr-testimonial-meta img {
6821
+ display: inline-block;
6822
+ }
6823
+
6824
+ .wpr-testimonial-meta-inner {
6825
+ display: inline-block;
6826
+ }
6827
+
6828
+ .wpr-testimonial-meta-position-top .wpr-testimonial-meta-content-wrap,
6829
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-meta-content-wrap {
6830
+ /*text-align: center !important;*/
6831
+ }
6832
+
6833
+ .wpr-testimonial-meta-position-top .wpr-testimonial-logo-image img,
6834
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-logo-image img,
6835
+ .wpr-testimonial-meta-position-top .wpr-testimonial-social-media,
6836
+ .wpr-testimonial-meta-position-bottom .wpr-testimonial-social-media {
6837
+ float: none !important;
6838
+ display: inline-block !important;
6839
+ }
6840
+
6841
+ @media screen and (min-width: 480px) {
6842
+ .wpr-testimonial-image-position-left .wpr-testimonial-image,
6843
+ .wpr-testimonial-image-position-right .wpr-testimonial-image {
6844
+ margin-bottom: 0 !important;
6845
+ }
6846
+ }
6847
+
6848
+ @media screen and (max-width: 480px) {
6849
+ .wpr-testimonial-meta-position-left .wpr-testimonial-image,
6850
+ .wpr-testimonial-meta-position-right .wpr-testimonial-image,
6851
+ .wpr-testimonial-meta-position-left .wpr-testimonial-meta-content-wrap,
6852
+ .wpr-testimonial-meta-position-right .wpr-testimonial-meta-content-wrap {
6853
+ display: block !important;
6854
+ float: none !important;
6855
+ text-align: center !important;
6856
+ }
6857
+ .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-left .wpr-testimonial-image,
6858
+ .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-left .wpr-testimonial-image,
6859
+ .wpr-testimonial-meta-position-left.wpr-testimonial-image-position-right .wpr-testimonial-image,
6860
+ .wpr-testimonial-meta-position-right.wpr-testimonial-image-position-right .wpr-testimonial-image {
6861
+ margin-left: 0 !important;
6862
+ margin-right: 0 !important;
6863
+ }
6864
+ .wpr-testimonial-meta-position-left .wpr-testimonial-image img,
6865
+ .wpr-testimonial-meta-position-right .wpr-testimonial-image img,
6866
+ .wpr-testimonial-meta-position-left .wpr-testimonial-logo-image img,
6867
+ .wpr-testimonial-meta-position-right .wpr-testimonial-logo-image img {
6868
+ display: inline-block !important;
6869
+ float: none !important;
6870
+ }
6871
+ }
6872
+
6873
+
6874
+ /*--------------------------------------------------------------
6875
+ == Search
6876
+ --------------------------------------------------------------*/
6877
+
6878
+ .wpr-search-form-input-wrap {
6879
+ width: 100%;
6880
+ overflow: hidden;
6881
+ }
6882
+
6883
+ .wpr-search-form .wpr-search-form-input {
6884
+ width: 100%;
6885
+ height: 100%;
6886
+ font-size: 14px;
6887
+ background-color: transparent;
6888
+ border-style: solid;
6889
+ }
6890
+
6891
+ .wpr-search-form-style-inner .wpr-search-form-input-wrap,
6892
+ .wpr-search-form-style-outer .wpr-search-form {
6893
+ display: -webkit-box;
6894
+ display: -ms-flexbox;
6895
+ display: flex;
6896
+ }
6897
+
6898
+ .wpr-search-form-style-inner.wpr-search-form-position-left .wpr-search-form-input-wrap,
6899
+ .wpr-search-form-style-outer.wpr-search-form-position-left .wpr-search-form {
6900
+ -webkit-box-direction: reverse;
6901
+ -ms-flex-direction: row-reverse;
6902
+ flex-direction: row-reverse;
6903
+ }
6904
+
6905
+ .wpr-search-form-submit {
6906
+ padding: 0 !important;
6907
+ cursor: pointer;
6908
+ border-style: solid;
6909
+ -webkit-transition: all 200ms;
6910
+ -o-transition: all 200ms;
6911
+ transition: all 200ms;
6912
+ }
6913
+
6914
+ .wpr-search-form-disable-submit-btn-yes .wpr-search-form-submit {
6915
+ pointer-events: none;
6916
+ cursor: default;
6917
+ }
6918
+
6919
+
6920
+ /*--------------------------------------------------------------
6921
+ == Team Member
6922
+ --------------------------------------------------------------*/
6923
+
6924
+ .wpr-team-member {
6925
+ overflow: hidden;
6926
+ }
6927
+
6928
+ .wpr-member-content {
6929
+ overflow: hidden;
6930
+ }
6931
+
6932
+ .wpr-member-name {
6933
+ display: block;
6934
+ line-height: 1;
6935
+ }
6936
+
6937
+ .elementor .elementor-widget-wpr-team-member .wpr-member-name {
6938
+ font-size: 24px;
6939
+ font-weight: 500;
6940
+ }
6941
+
6942
+ .wpr-member-job {
6943
+ font-size: 13px;
6944
+ }
6945
+
6946
+ .wpr-member-description {
6947
+ font-size: 15px;
6948
+ line-height: 1.4;
6949
+ }
6950
+
6951
+ .wpr-member-media {
6952
+ position: relative;
6953
+ margin: 0 auto;
6954
+ width: 100%;
6955
+ overflow: hidden;
6956
+ }
6957
+
6958
+ .wpr-member-image {
6959
+ overflow: hidden;
6960
+ }
6961
+
6962
+
6963
+ /* Image Overlay */
6964
+
6965
+ .wpr-member-overlay-content {
6966
+ position: relative;
6967
+ }
6968
+
6969
+ .wpr-member-overlay {
6970
+ position: absolute;
6971
+ top: 0;
6972
+ left: 0;
6973
+ width: 100%;
6974
+ height: 100%;
6975
+ background-color: rgba(255, 255, 255, 0.9);
6976
+ }
6977
+
6978
+
6979
+ /* Social Media */
6980
+
6981
+ .wpr-member-social-media {
6982
+ display: -webkit-box;
6983
+ display: -ms-flexbox;
6984
+ display: flex;
6985
+ overflow: hidden;
6986
+ }
6987
+
6988
+ .wpr-member-social {
6989
+ display: block;
6990
+ width: 45px;
6991
+ height: 45px;
6992
+ line-height: 45px;
6993
+ font-size: 45px;
6994
+ -webkit-box-sizing: content-box;
6995
+ box-sizing: content-box;
6996
+ text-align: center;
6997
+ -webkit-transition: all .5s;
6998
+ -o-transition: all .5s;
6999
+ transition: all .5s;
7000
+ cursor: pointer;
7001
+ }
7002
+
7003
+ .wpr-member-social i {
7004
+ display: block;
7005
+ width: 100%;
7006
+ height: 100%;
7007
+ line-height: inherit;
7008
+ }
7009
+
7010
+ .wpr-member-social:last-child {
7011
+ margin-right: 0 !important;
7012
+ }
7013
+
7014
+ .wpr-team-member-social-media-left .wpr-member-social-media {
7015
+ -webkit-box-pack: start;
7016
+ -ms-flex-pack: start;
7017
+ justify-content: flex-start;
7018
+ }
7019
+
7020
+ .wpr-team-member-social-media-right .wpr-member-social-media {
7021
+ -webkit-box-pack: end;
7022
+ -ms-flex-pack: end;
7023
+ justify-content: flex-end;
7024
+ }
7025
+
7026
+ .wpr-team-member-social-media-center .wpr-member-social-media {
7027
+ -webkit-box-pack: center;
7028
+ -ms-flex-pack: center;
7029
+ justify-content: center;
7030
+ }
7031
+
7032
+
7033
+ /* Member Button */
7034
+
7035
+ .wpr-member-btn {
7036
+ display: inline-block;
7037
+ position: relative;
7038
+ overflow: hidden;
7039
+ display: inline-block;
7040
+ vertical-align: middle;
7041
+ background-color: #222222;
7042
+ cursor: pointer;
7043
+ font-size: 14px;
7044
+ }
7045
+
7046
+ .wpr-member-btn span {
7047
+ position: relative;
7048
+ z-index: 2;
7049
+ opacity: 1 !important;
7050
+ }
7051
+
7052
+ .wpr-member-btn:before,
7053
+ .wpr-member-btn:after {
7054
+ z-index: 1 !important;
7055
+ }
7056
+
7057
+
7058
+ /* Divider */
7059
+
7060
+ .wpr-member-divider {
7061
+ overflow: hidden;
7062
+ }
7063
+
7064
+ .wpr-member-divider:after {
7065
+ content: "";
7066
+ display: block;
7067
+ width: 100%;
7068
+ margin-top: 0;
7069
+ overflow: hidden;
7070
+ }
7071
+
7072
+ .wpr-team-member-divider-left .wpr-member-divider:after {
7073
+ float: left;
7074
+ }
7075
+
7076
+ .wpr-team-member-divider-right .wpr-member-divider:after {
7077
+ float: right;
7078
+ }
7079
+
7080
+ .wpr-team-member-divider-center .wpr-member-divider:after {
7081
+ margin-left: auto;
7082
+ margin-right: auto;
7083
+ }
7084
+
7085
+
7086
+ /*--------------------------------------------------------------
7087
+ == Button
7088
+ --------------------------------------------------------------*/
7089
+
7090
+ .wpr-button-wrap {
7091
+ position: relative;
7092
+ display: inline-table;
7093
+ z-index: 1;
7094
+ width: 100%;
7095
+ }
7096
+
7097
+ .wpr-button {
7098
+ display: block;
7099
+ position: relative;
7100
+ width: 100%;
7101
+ z-index: 1;
7102
+ overflow: hidden;
7103
+ }
7104
+
7105
+ .elementor .elementor-widget-wpr-button .wpr-button-text {
7106
+ font-size: 15px;
7107
+ font-weight: 500;
7108
+ }
7109
+
7110
+ .wpr-button-icon-style-block .wpr-button-text,
7111
+ .wpr-button-icon-style-inline-block .wpr-button-text {
7112
+ width: 100%;
7113
+ }
7114
+
7115
+ .wpr-button-icon-style-block .wpr-button-icon,
7116
+ .wpr-button-icon-style-inline-block .wpr-button-icon {
7117
+ -webkit-box-pack: center;
7118
+ -ms-flex-pack: center;
7119
+ justify-content: center;
7120
+ }
7121
+
7122
+ .wpr-button-content {
7123
+ display: -webkit-box;
7124
+ display: -ms-flexbox;
7125
+ display: flex;
7126
+ }
7127
+
7128
+ .wpr-button-text,
7129
+ .wpr-button-icon {
7130
+ display: -webkit-box;
7131
+ display: -ms-flexbox;
7132
+ display: flex;
7133
+ -webkit-box-align: center;
7134
+ -ms-flex-align: center;
7135
+ align-items: center;
7136
+ }
7137
+
7138
+ .wpr-button-icon-position-left .wpr-button-icon {
7139
+ -webkit-box-ordinal-group: 2;
7140
+ -ms-flex-order: 1;
7141
+ order: 1;
7142
+ }
7143
+
7144
+ .wpr-button-icon-position-left .wpr-button-text {
7145
+ -webkit-box-ordinal-group: 3;
7146
+ -ms-flex-order: 2;
7147
+ order: 2;
7148
+ }
7149
+
7150
+
7151
+ /* Tooltip */
7152
+
7153
+ .wpr-button-tooltip {
7154
+ position: absolute;
7155
+ border-radius: 4px;
7156
+ visibility: hidden;
7157
+ opacity: 0;
7158
+ font-size: 13px;
7159
+ line-height: 1.5;
7160
+ -webkit-transition-property: all;
7161
+ -o-transition-property: all;
7162
+ transition-property: all;
7163
+ -webkit-transition-timing-function: ease-in-out;
7164
+ -o-transition-timing-function: ease-in-out;
7165
+ transition-timing-function: ease-in-out;
7166
+ z-index: 20;
7167
+ }
7168
+
7169
+ .wpr-button-tooltip:before {
7170
+ content: "";
7171
+ position: absolute;
7172
+ width: 0;
7173
+ height: 0;
7174
+ border-top-style: solid;
7175
+ border-left: 6px solid transparent;
7176
+ border-right: 6px solid transparent;
7177
+ border-top-width: 6px;
7178
+ }
7179
+
7180
+ .wpr-button-tooltip p {
7181
+ margin: 0;
7182
+ }
7183
+
7184
+ .wpr-button-wrap:hover .wpr-button-tooltip {
7185
+ visibility: visible;
7186
+ opacity: 1;
7187
+ }
7188
+
7189
+ .wpr-button-tooltip-position-top .wpr-button-tooltip {
7190
+ top: 0;
7191
+ left: 50%;
7192
+ -ms-transform: translate(-50%, -120%);
7193
+ transform: translate(-50%, -120%);
7194
+ -webkit-transform: translate(-50%, -120%);
7195
+ margin-top: -5px;
7196
+ }
7197
+
7198
+ .wpr-button-tooltip-position-top .wpr-button-wrap:hover .wpr-button-tooltip {
7199
+ -ms-transform: translate(-50%, -100%);
7200
+ transform: translate(-50%, -100%);
7201
+ -webkit-transform: translate(-50%, -100%);
7202
+ }
7203
+
7204
+ .wpr-button-tooltip-position-top .wpr-button-tooltip:before {
7205
+ left: 50%;
7206
+ -ms-transform: translateX(-50%);
7207
+ transform: translateX(-50%);
7208
+ -webkit-transform: translateX(-50%);
7209
+ bottom: -5px;
7210
+ }
7211
+
7212
+ .wpr-button-tooltip-position-bottom .wpr-button-tooltip {
7213
+ bottom: 0;
7214
+ left: 50%;
7215
+ -ms-transform: translate(-50%, 120%);
7216
+ transform: translate(-50%, 120%);
7217
+ -webkit-transform: translate(-50%, 120%);
7218
+ margin-bottom: -5px;
7219
+ }
7220
+
7221
+ .wpr-button-tooltip-position-bottom .wpr-button-wrap:hover .wpr-button-tooltip {
7222
+ -ms-transform: translate(-50%, 100%);
7223
+ transform: translate(-50%, 100%);
7224
+ -webkit-transform: translate(-50%, 100%);
7225
+ }
7226
+
7227
+ .wpr-button-tooltip-position-bottom .wpr-button-tooltip:before {
7228
+ top: -5px;
7229
+ left: 50%;
7230
+ -webkit-transform: translateX(-50%) rotate(180deg);
7231
+ -ms-transform: translateX(-50%) rotate(180deg);
7232
+ transform: translateX(-50%) rotate(180deg);
7233
+ }
7234
+
7235
+ .wpr-button-tooltip-position-left .wpr-button-tooltip {
7236
+ top: 50%;
7237
+ left: 0;
7238
+ -ms-transform: translate(-120%, -50%);
7239
+ transform: translate(-120%, -50%);
7240
+ -webkit-transform: translate(-120%, -50%);
7241
+ margin-left: -5px;
7242
+ }
7243
+
7244
+ .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip {
7245
+ -ms-transform: translate(-100%, -50%);
7246
+ transform: translate(-100%, -50%);
7247
+ -webkit-transform: translate(-100%, -50%);
7248
+ }
7249
+
7250
+ .wpr-button-tooltip-position-left .wpr-button-tooltip:before {
7251
+ right: -8px;
7252
+ top: 50%;
7253
+ -webkit-transform: translateY(-50%) rotate(-90deg);
7254
+ -ms-transform: translateY(-50%) rotate(-90deg);
7255
+ transform: translateY(-50%) rotate(-90deg);
7256
+ }
7257
+
7258
+ .wpr-button-tooltip-position-right .wpr-button-tooltip {
7259
+ top: 50%;
7260
+ right: 0;
7261
+ -ms-transform: translate(120%, -50%);
7262
+ transform: translate(120%, -50%);
7263
+ -webkit-transform: translate(120%, -50%);
7264
+ margin-right: -5px;
7265
+ }
7266
+
7267
+ .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip {
7268
+ -ms-transform: translate(100%, -50%);
7269
+ transform: translate(100%, -50%);
7270
+ -webkit-transform: translate(100%, -50%);
7271
+ }
7272
+
7273
+ .wpr-button-tooltip-position-right .wpr-button-tooltip:before {
7274
+ left: -8px;
7275
+ top: 50%;
7276
+ -ms-transform: translateY(-50%) rotate(90deg);
7277
+ transform: translateY(-50%) rotate(90deg);
7278
+ -webkit-transform: translateY(-50%) rotate(90deg);
7279
+ }
7280
+
7281
+
7282
+ /* Defaults */
7283
+
7284
+ .elementor-widget-wpr-button .wpr-button {
7285
+ background-color: #605BE5;
7286
+ }
7287
+
7288
+ .elementor-widget-wpr-button .wpr-button-none:hover,
7289
+ .elementor-widget-wpr-button [class*="elementor-animation"]:hover,
7290
+ .elementor-widget-wpr-button .wpr-button::before,
7291
+ .elementor-widget-wpr-button .wpr-button::after {
7292
+ background-color: #4A45D2;
7293
+ }
7294
+
7295
+ .elementor-widget-wpr-button .wpr-button-text,
7296
+ .elementor-widget-wpr-button .wpr-button::after {
7297
+ font-size: 14px;
7298
+ }
7299
+
7300
+
7301
+ /*--------------------------------------------------------------
7302
+ == Dual Button
7303
+ --------------------------------------------------------------*/
7304
+
7305
+ .wpr-dual-button {
7306
+ display: -moz-flex;
7307
+ display: -ms-flex;
7308
+ display: -o-flex;
7309
+ display: -webkit-box;
7310
+ display: -ms-flexbox;
7311
+ display: flex;
7312
+ }
7313
+
7314
+ .wpr-button-a-wrap,
7315
+ .wpr-button-b-wrap {
7316
+ position: relative;
7317
+ width: 100%;
7318
+ }
7319
+
7320
+ .wpr-button-a-wrap {
7321
+ z-index: 5;
7322
+ }
7323
+
7324
+ .wpr-button-b-wrap {
7325
+ z-index: 2;
7326
+ }
7327
+
7328
+ .wpr-button-a,
7329
+ .wpr-button-b {
7330
+ display: block;
7331
+ position: relative;
7332
+ width: 100%;
7333
+ z-index: 1;
7334
+ overflow: hidden;
7335
+ }
7336
+
7337
+ .wpr-button-content-a,
7338
+ .wpr-button-content-b {
7339
+ display: -webkit-box;
7340
+ display: -ms-flexbox;
7341
+ display: flex;
7342
+ }
7343
+
7344
+ .wpr-button-text-a,
7345
+ .wpr-button-icon-a,
7346
+ .wpr-button-text-b,
7347
+ .wpr-button-icon-b {
7348
+ display: -webkit-box;
7349
+ display: -ms-flexbox;
7350
+ display: flex;
7351
+ -webkit-box-align: center;
7352
+ -ms-flex-align: center;
7353
+ align-items: center;
7354
+ }
7355
+
7356
+ .wpr-button-icon-a-position-left .wpr-button-icon-a,
7357
+ .wpr-button-icon-b-position-left .wpr-button-icon-b {
7358
+ -webkit-box-ordinal-group: 2;
7359
+ -ms-flex-order: 1;
7360
+ order: 1;
7361
+ }
7362
+
7363
+ .wpr-button-icon-a-position-left .wpr-button-text-a,
7364
+ .wpr-button-icon-b-position-left .wpr-button-text-b {
7365
+ -webkit-box-ordinal-group: 3;
7366
+ -ms-flex-order: 2;
7367
+ order: 2;
7368
+ }
7369
+
7370
+
7371
+ /* Middle Badge */
7372
+
7373
+ .wpr-button-middle-badge {
7374
+ display: -webkit-box;
7375
+ display: -ms-flexbox;
7376
+ display: flex;
7377
+ -webkit-box-align: center;
7378
+ -ms-flex-align: center;
7379
+ align-items: center;
7380
+ -webkit-box-pack: center;
7381
+ -ms-flex-pack: center;
7382
+ justify-content: center;
7383
+ position: absolute;
7384
+ top: 50%;
7385
+ right: 0;
7386
+ -webkit-transform: translate(50%, -50%);
7387
+ -ms-transform: translate(50%, -50%);
7388
+ transform: translate(50%, -50%);
7389
+ text-align: center;
7390
+ -webkit-box-sizing: content-box;
7391
+ box-sizing: content-box;
7392
+ z-index: 10;
7393
+ border-width: 3px;
7394
+ border-color: #00ce1b;
7395
+ -webkit-box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7396
+ box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
7397
+ }
7398
+
7399
+ .wpr-button-middle-badge i {
7400
+ line-height: inherit;
7401
+ }
7402
+
7403
+
7404
+ /* Tooltip A */
7405
+
7406
+ .wpr-button-tooltip-a {
7407
+ position: absolute;
7408
+ border-radius: 4px;
7409
+ visibility: hidden;
7410
+ opacity: 0;
7411
+ font-size: 13px;
7412
+ line-height: 1.5;
7413
+ -webkit-transition-property: all;
7414
+ -o-transition-property: all;
7415
+ transition-property: all;
7416
+ -webkit-transition-timing-function: ease-in-out;
7417
+ -o-transition-timing-function: ease-in-out;
7418
+ transition-timing-function: ease-in-out;
7419
+ z-index: 20;
7420
+ }
7421
+
7422
+ .wpr-button-tooltip-a:before {
7423
+ content: "";
7424
+ position: absolute;
7425
+ width: 0;
7426
+ height: 0;
7427
+ border-top-style: solid;
7428
+ border-left: 6px solid transparent;
7429
+ border-right: 6px solid transparent;
7430
+ border-top-width: 6px;
7431
+ }
7432
+
7433
+ .wpr-button-tooltip-a p {
7434
+ margin: 0;
7435
+ }
7436
+
7437
+ .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7438
+ visibility: visible;
7439
+ opacity: 1;
7440
+ }
7441
+
7442
+ .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a {
7443
+ top: 0;
7444
+ left: 50%;
7445
+ -ms-transform: translate(-50%, -120%);
7446
+ transform: translate(-50%, -120%);
7447
+ -webkit-transform: translate(-50%, -120%);
7448
+ margin-top: -5px;
7449
+ }
7450
+
7451
+ .wpr-button-tooltip-a-position-top .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7452
+ -ms-transform: translate(-50%, -100%);
7453
+ transform: translate(-50%, -100%);
7454
+ -webkit-transform: translate(-50%, -100%);
7455
+ }
7456
+
7457
+ .wpr-button-tooltip-a-position-top .wpr-button-tooltip-a:before {
7458
+ left: 50%;
7459
+ -ms-transform: translateX(-50%);
7460
+ transform: translateX(-50%);
7461
+ -webkit-transform: translateX(-50%);
7462
+ bottom: -5px;
7463
+ }
7464
+
7465
+ .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a {
7466
+ bottom: 0;
7467
+ left: 50%;
7468
+ -ms-transform: translate(-50%, 120%);
7469
+ transform: translate(-50%, 120%);
7470
+ -webkit-transform: translate(-50%, 120%);
7471
+ margin-bottom: -5px;
7472
+ }
7473
+
7474
+ .wpr-button-tooltip-a-position-bottom .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7475
+ -ms-transform: translate(-50%, 100%);
7476
+ transform: translate(-50%, 100%);
7477
+ -webkit-transform: translate(-50%, 100%);
7478
+ }
7479
+
7480
+ .wpr-button-tooltip-a-position-bottom .wpr-button-tooltip-a:before {
7481
+ top: -5px;
7482
+ left: 50%;
7483
+ -webkit-transform: translateX(-50%) rotate(180deg);
7484
+ -ms-transform: translateX(-50%) rotate(180deg);
7485
+ transform: translateX(-50%) rotate(180deg);
7486
+ }
7487
+
7488
+ .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a {
7489
+ top: 50%;
7490
+ left: 0;
7491
+ -ms-transform: translate(-120%, -50%);
7492
+ transform: translate(-120%, -50%);
7493
+ -webkit-transform: translate(-120%, -50%);
7494
+ margin-left: -5px;
7495
+ }
7496
+
7497
+ .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7498
+ -ms-transform: translate(-100%, -50%);
7499
+ transform: translate(-100%, -50%);
7500
+ -webkit-transform: translate(-100%, -50%);
7501
+ }
7502
+
7503
+ .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before {
7504
+ right: -8px;
7505
+ top: 50%;
7506
+ -webkit-transform: translateY(-50%) rotate(-90deg);
7507
+ -ms-transform: translateY(-50%) rotate(-90deg);
7508
+ transform: translateY(-50%) rotate(-90deg);
7509
+ }
7510
+
7511
+ .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a {
7512
+ top: 50%;
7513
+ right: 0;
7514
+ -ms-transform: translate(120%, -50%);
7515
+ transform: translate(120%, -50%);
7516
+ -webkit-transform: translate(120%, -50%);
7517
+ margin-right: -5px;
7518
+ }
7519
+
7520
+ .wpr-button-tooltip-a-position-right .wpr-button-a-wrap:hover .wpr-button-tooltip-a {
7521
+ -ms-transform: translate(100%, -50%);
7522
+ transform: translate(100%, -50%);
7523
+ -webkit-transform: translate(100%, -50%);
7524
+ }
7525
+
7526
+ .wpr-button-tooltip-a-position-right .wpr-button-tooltip-a:before {
7527
+ left: -8px;
7528
+ top: 50%;
7529
+ -webkit-transform: translateY(-50%) rotate(90deg);
7530
+ -ms-transform: translateY(-50%) rotate(90deg);
7531
+ transform: translateY(-50%) rotate(90deg);
7532
+ }
7533
+
7534
+
7535
+ /* Tooltip B */
7536
+
7537
+ .wpr-button-tooltip-b {
7538
+ position: absolute;
7539
+ border-radius: 4px;
7540
+ visibility: hidden;
7541
+ opacity: 0;
7542
+ font-size: 13px;
7543
+ line-height: 1.5;
7544
+ -webkit-transition-property: all;
7545
+ -o-transition-property: all;
7546
+ transition-property: all;
7547
+ -webkit-transition-timing-function: ease-in-out;
7548
+ -o-transition-timing-function: ease-in-out;
7549
+ transition-timing-function: ease-in-out;
7550
+ z-index: 20;
7551
+ }
7552
+
7553
+ .wpr-button-tooltip-b:before {
7554
+ content: "";
7555
+ position: absolute;
7556
+ width: 0;
7557
+ height: 0;
7558
+ border-top-style: solid;
7559
+ border-left: 6px solid transparent;
7560
+ border-right: 6px solid transparent;
7561
+ border-top-width: 6px;
7562
+ }
7563
+
7564
+ .wpr-button-tooltip-b p {
7565
+ margin: 0;
7566
+ }
7567
+
7568
+ .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7569
+ visibility: visible;
7570
+ opacity: 1;
7571
+ }
7572
+
7573
+ .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b {
7574
+ top: 0;
7575
+ left: 50%;
7576
+ -ms-transform: translate(-50%, -120%);
7577
+ transform: translate(-50%, -120%);
7578
+ -webkit-transform: translate(-50%, -120%);
7579
+ margin-top: -5px;
7580
+ }
7581
+
7582
+ .wpr-button-tooltip-b-position-top .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7583
+ -ms-transform: translate(-50%, -100%);
7584
+ transform: translate(-50%, -100%);
7585
+ -webkit-transform: translate(-50%, -100%);
7586
+ }
7587
+
7588
+ .wpr-button-tooltip-b-position-top .wpr-button-tooltip-b:before {
7589
+ left: 50%;
7590
+ -ms-transform: translateX(-50%);
7591
+ transform: translateX(-50%);
7592
+ -webkit-transform: translateX(-50%);
7593
+ bottom: -5px;
7594
+ }
7595
+
7596
+ .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b {
7597
+ bottom: 0;
7598
+ left: 50%;
7599
+ -ms-transform: translate(-50%, 120%);
7600
+ transform: translate(-50%, 120%);
7601
+ -webkit-transform: translate(-50%, 120%);
7602
+ margin-bottom: -5px;
7603
+ }
7604
+
7605
+ .wpr-button-tooltip-b-position-bottom .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7606
+ -ms-transform: translate(-50%, 100%);
7607
+ transform: translate(-50%, 100%);
7608
+ -webkit-transform: translate(-50%, 100%);
7609
+ }
7610
+
7611
+ .wpr-button-tooltip-b-position-bottom .wpr-button-tooltip-b:before {
7612
+ top: -5px;
7613
+ left: 50%;
7614
+ -webkit-transform: translateX(-50%) rotate(180deg);
7615
+ -ms-transform: translateX(-50%) rotate(180deg);
7616
+ transform: translateX(-50%) rotate(180deg);
7617
+ }
7618
+
7619
+ .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b {
7620
+ top: 50%;
7621
+ left: 0;
7622
+ -ms-transform: translate(-120%, -50%);
7623
+ transform: translate(-120%, -50%);
7624
+ -webkit-transform: translate(-120%, -50%);
7625
+ margin-left: -5px;
7626
+ }
7627
+
7628
+ .wpr-button-tooltip-b-position-left .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7629
+ -ms-transform: translate(-100%, -50%);
7630
+ transform: translate(-100%, -50%);
7631
+ -webkit-transform: translate(-100%, -50%);
7632
+ }
7633
+
7634
+ .wpr-button-tooltip-b-position-left .wpr-button-tooltip-b:before {
7635
+ right: -8px;
7636
+ top: 50%;
7637
+ -webkit-transform: translateY(-50%) rotate(-90deg);
7638
+ -ms-transform: translateY(-50%) rotate(-90deg);
7639
+ transform: translateY(-50%) rotate(-90deg);
7640
+ }
7641
+
7642
+ .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7643
+ top: 50%;
7644
+ right: 0;
7645
+ -ms-transform: translate(120%, -50%);
7646
+ transform: translate(120%, -50%);
7647
+ -webkit-transform: translate(120%, -50%);
7648
+ margin-right: -5px;
7649
+ }
7650
+
7651
+ .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7652
+ -ms-transform: translate(100%, -50%);
7653
+ transform: translate(100%, -50%);
7654
+ -webkit-transform: translate(100%, -50%);
7655
+ }
7656
+
7657
+ .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7658
+ left: -8px;
7659
+ top: 50%;
7660
+ -webkit-transform: translateY(-50%) rotate(90deg);
7661
+ -ms-transform: translateY(-50%) rotate(90deg);
7662
+ transform: translateY(-50%) rotate(90deg);
7663
+ }
7664
+
7665
+ @media screen and (max-width: 480px) {
7666
+ .wpr-button-tooltip-position-left .wpr-button-tooltip,
7667
+ .wpr-button-tooltip-position-right .wpr-button-tooltip,
7668
+ .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a,
7669
+ .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b {
7670
+ top: 0;
7671
+ left: 50% !important;
7672
+ right: auto !important;
7673
+ -ms-transform: translate(-50%, -120%);
7674
+ transform: translate(-50%, -120%);
7675
+ -webkit-transform: translate(-50%, -120%);
7676
+ margin-top: -5px;
7677
+ }
7678
+ .wpr-button-tooltip-position-left .wpr-button-wrap:hover .wpr-button-tooltip,
7679
+ .wpr-button-tooltip-position-right .wpr-button-wrap:hover .wpr-button-tooltip,
7680
+ .wpr-button-tooltip-a-position-left .wpr-button-a-wrap:hover .wpr-button-tooltip-a,
7681
+ .wpr-button-tooltip-b-position-right .wpr-button-b-wrap:hover .wpr-button-tooltip-b {
7682
+ -ms-transform: translate(-50%, -100%);
7683
+ transform: translate(-50%, -100%);
7684
+ -webkit-transform: translate(-50%, -100%);
7685
+ }
7686
+ .wpr-button-tooltip-position-left .wpr-button-tooltip:before,
7687
+ .wpr-button-tooltip-position-right .wpr-button-tooltip:before,
7688
+ .wpr-button-tooltip-a-position-left .wpr-button-tooltip-a:before,
7689
+ .wpr-button-tooltip-b-position-right .wpr-button-tooltip-b:before {
7690
+ left: 50%;
7691
+ -ms-transform: translateX(-50%);
7692
+ transform: translateX(-50%);
7693
+ -webkit-transform: translateX(-50%);
7694
+ bottom: -5px;
7695
+ top: auto;
7696
+ }
7697
+ }
7698
+
7699
+
7700
+ /* Default */
7701
+
7702
+ .elementor-widget-wpr-dual-button .wpr-button-a,
7703
+ .elementor-widget-wpr-dual-button .wpr-button-b {
7704
+ background-color: #605BE5;
7705
+ }
7706
+
7707
+ .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-none:hover,
7708
+ .elementor-widget-wpr-dual-button .wpr-dual-button [class*="elementor-animation"]:hover,
7709
+ .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::before,
7710
+ .elementor-widget-wpr-dual-button .wpr-dual-button .wpr-button-effect::after {
7711
+ background-color: #4A45D2;
7712
+ }
7713
+
7714
+ .elementor-widget-wpr-dual-button .wpr-button-text-a,
7715
+ .elementor-widget-wpr-dual-button .wpr-button-a::after,
7716
+ .elementor-widget-wpr-dual-button .wpr-button-text-b,
7717
+ .elementor-widget-wpr-dual-button .wpr-button-b::after {
7718
+ font-size: 14px;
7719
+ }
7720
+
7721
+ .elementor-widget-wpr-dual-button .wpr-button-middle-badge {
7722
+ font-size: 13px;
7723
+ }
7724
+
7725
+
7726
+ /*--------------------------------------------------------------
7727
+ == Advanced Text
7728
+ --------------------------------------------------------------*/
7729
+
7730
+ .wpr-highlighted-text,
7731
+ .wpr-anim-text,
7732
+ .wpr-clipped-text {
7733
+ display: inline-block;
7734
+ vertical-align: middle;
7735
+ }
7736
+
7737
+ .wpr-advanced-text-preffix,
7738
+ .wpr-advanced-text-suffix {
7739
+ vertical-align: middle;
7740
+ }
7741
+
7742
+ .elementor-widget-wpr-advanced-text b {
7743
+ font-weight: none;
7744
+ }
7745
+
7746
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-preffix,
7747
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-advanced-text-suffix,
7748
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-highlighted-text,
7749
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text,
7750
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-anim-text b {
7751
+ font-size: 32px;
7752
+ font-weight: 700;
7753
+ }
7754
+
7755
+ .wpr-advanced-text {
7756
+ display: block;
7757
+ margin: 0;
7758
+ }
7759
+
7760
+ /* Clipped Text */
7761
+ .wpr-clipped-text {
7762
+ position: relative;
7763
+ -ms-transform: translate(0, 0);
7764
+ transform: translate(0, 0);
7765
+ -webkit-transform: translate(0, 0);
7766
+ z-index: 0;
7767
+ }
7768
+
7769
+ .wpr-clipped-text-content {
7770
+ -webkit-text-fill-color: transparent;
7771
+ -webkit-background-clip: text;
7772
+ background-clip: text;
7773
+ }
7774
+
7775
+ .elementor-widget-wpr-advanced-text .wpr-advanced-text .wpr-clipped-text {
7776
+ font-size: 50px;
7777
+ font-weight: 700;
7778
+ }
7779
+
7780
+ .wpr-clipped-text-long-shadow {
7781
+ position: absolute;
7782
+ display: inline-block;
7783
+ top: 0;
7784
+ left: 0;
7785
+ width: 100%;
7786
+ height: 100%;
7787
+ z-index: -1;
7788
+ }
7789
+
7790
+
7791
+ /* Hilight Text */
7792
+
7793
+ .wpr-highlighted-text {
7794
+ position: relative;
7795
+ text-align: left;
7796
+ }
7797
+
7798
+ .wpr-highlighted-text-inner {
7799
+ position: relative;
7800
+ z-index: 1;
7801
+ }
7802
+
7803
+ .wpr-highlighted-text svg {
7804
+ position: absolute;
7805
+ top: 50%;
7806
+ left: 50%;
7807
+ width: 100%;
7808
+ height: 100%;
7809
+ -webkit-transform: translate(-50%, -50%);
7810
+ -ms-transform: translate(-50%, -50%);
7811
+ transform: translate(-50%, -50%);
7812
+ overflow: visible;
7813
+ z-index: auto;
7814
+ }
7815
+
7816
+ .wpr-highlighted-text svg path {
7817
+ -webkit-animation-name: wpr-anim-text;
7818
+ animation-name: wpr-anim-text;
7819
+ -webkit-animation-fill-mode: forwards;
7820
+ animation-fill-mode: forwards;
7821
+ fill: none;
7822
+ stroke-width: 4;
7823
+ stroke-dasharray: 1500;
7824
+ -webkit-animation-iteration-count: 1;
7825
+ -animation-iteration-count: 1;
7826
+ opacity: 0;
7827
+ }
7828
+
7829
+ .wpr-highlighted-text .wpr-highlight-curly {
7830
+ -webkit-transform: translate(-50%, 25%);
7831
+ -ms-transform: translate(-50%, 25%);
7832
+ transform: translate(-50%, 25%);
7833
+ }
7834
+
7835
+ .wpr-highlighted-text .wpr-highlight-x {
7836
+ -webkit-transform: translate(-50%, -35%);
7837
+ -ms-transform: translate(-50%, -35%);
7838
+ transform: translate(-50%, -35%);
7839
+ }
7840
+
7841
+ .wpr-highlighted-text .wpr-highlight-strikethrough {
7842
+ -webkit-transform: translate(-50%, -47%);
7843
+ -ms-transform: translate(-50%, -47%);
7844
+ transform: translate(-50%, -47%);
7845
+ }
7846
+
7847
+ .wpr-highlighted-text .wpr-highlight-underline {
7848
+ -webkit-transform: translate(-50%, 27%);
7849
+ -ms-transform: translate(-50%, 27%);
7850
+ transform: translate(-50%, 27%);
7851
+ }
7852
+
7853
+ .wpr-highlighted-text .wpr-highlight-double {
7854
+ -webkit-transform: translate(-50%, -40%);
7855
+ -ms-transform: translate(-50%, -40%);
7856
+ transform: translate(-50%, -40%);
7857
+ }
7858
+
7859
+ .wpr-highlighted-text .wpr-highlight-double-underline {
7860
+ -webkit-transform: translate(-50%, 30%);
7861
+ -ms-transform: translate(-50%, 30%);
7862
+ transform: translate(-50%, 30%);
7863
+ }
7864
+
7865
+ .wpr-highlighted-text .wpr-highlight-diagonal {
7866
+ -webkit-transform: translate(-50%, -40%);
7867
+ -ms-transform: translate(-50%, -40%);
7868
+ transform: translate(-50%, -40%);
7869
+ }
7870
+
7871
+ .wpr-animated-text-infinite-yes .wpr-highlighted-text svg path {
7872
+ -webkit-animation-name: wpr-anim-text-infinite;
7873
+ animation-name: wpr-anim-text-infinite;
7874
+ }
7875
+
7876
+ @-webkit-keyframes wpr-anim-text-infinite {
7877
+ 0% {
7878
+ opacity: 1;
7879
+ stroke-dasharray: 0 1500;
7880
+ }
7881
+ 12% {
7882
+ stroke-dasharray: 1500 1500;
7883
+ }
7884
+ 80% {
7885
+ opacity: 1;
7886
+ }
7887
+ 97% {
7888
+ opacity: 0;
7889
+ stroke-dasharray: 1500 1500;
7890
+ }
7891
+ 100% {
7892
+ stroke-dasharray: 0 1500;
7893
+ }
7894
+ }
7895
+
7896
+ @keyframes wpr-anim-text-infinite {
7897
+ 0% {
7898
+ opacity: 1;
7899
+ stroke-dasharray: 0 1500;
7900
+ }
7901
+ 12% {
7902
+ stroke-dasharray: 1500 1500;
7903
+ }
7904
+ 80% {
7905
+ opacity: 1;
7906
+ }
7907
+ 97% {
7908
+ opacity: 0;
7909
+ stroke-dasharray: 1500 1500;
7910
+ }
7911
+ 100% {
7912
+ stroke-dasharray: 0 1500;
7913
+ }
7914
+ }
7915
+
7916
+ @-webkit-keyframes wpr-anim-text {
7917
+ 0% {
7918
+ opacity: 1;
7919
+ stroke-dasharray: 0 1500;
7920
+ }
7921
+ 12% {
7922
+ stroke-dasharray: 1500 1500;
7923
+ }
7924
+ 100% {
7925
+ opacity: 1;
7926
+ }
7927
+ }
7928
+
7929
+ @keyframes wpr-anim-text {
7930
+ 0% {
7931
+ opacity: 1;
7932
+ stroke-dasharray: 0 1500;
7933
+ }
7934
+ 12% {
7935
+ stroke-dasharray: 1500 1500;
7936
+ }
7937
+ 100% {
7938
+ opacity: 1;
7939
+ }
7940
+ }
7941
+
7942
+ @-webkit-keyframes wpr-anim-text-infinite {
7943
+ 0% {
7944
+ opacity: 1;
7945
+ stroke-dasharray: 0 1500;
7946
+ }
7947
+ 12% {
7948
+ stroke-dasharray: 1500 1500;
7949
+ }
7950
+ 100% {
7951
+ opacity: 1;
7952
+ }
7953
+ }
7954
+
7955
+ .wpr-anim-text-inner {
7956
+ float: left;
7957
+ }
7958
+
7959
+ .wpr-anim-text-cursor {
7960
+ display: inline-block;
7961
+ zoom: 1;
7962
+ filter: alpha(opacity=100);
7963
+ opacity: 1;
7964
+ -webkit-animation-name: wpr-cursor-blink;
7965
+ animation-name: wpr-cursor-blink;
7966
+ -webkit-animation-iteration-count: infinite;
7967
+ animation-iteration-count: infinite;
7968
+ }
7969
+
7970
+ @-webkit-keyframes wpr-cursor-blink {
7971
+ 0% {
7972
+ opacity: 1;
7973
+ }
7974
+ 50% {
7975
+ opacity: 0;
7976
+ }
7977
+ 100% {
7978
+ opacity: 1;
7979
+ }
7980
+ }
7981
+
7982
+ @keyframes wpr-cursor-blink {
7983
+ 0% {
7984
+ opacity: 1;
7985
+ }
7986
+ 50% {
7987
+ opacity: 0;
7988
+ }
7989
+ 100% {
7990
+ opacity: 1;
7991
+ }
7992
+ }
7993
+
7994
+
7995
+ /* Defaults */
7996
+
7997
+ .elementor-widget-wpr-advanced-text .wpr-clipped-text-content {
7998
+ background-color: #605BE5;
7999
+ }
8000
+
8001
+
8002
+ /*--------------------------------------------------------------
8003
+ == Progress Bar
8004
+ --------------------------------------------------------------*/
8005
+
8006
+ .wpr-prbar-counter-value-suffix {
8007
+ line-height: 1;
8008
+ }
8009
+
8010
+
8011
+ /* Horizontal Line */
8012
+
8013
+ .wpr-prbar-hr-line {
8014
+ position: relative;
8015
+ width: 100%;
8016
+ overflow: hidden;
8017
+ }
8018
+
8019
+ .wpr-prbar-hr-line-inner {
8020
+ position: relative;
8021
+ top: 0;
8022
+ left: 0;
8023
+ width: 0;
8024
+ height: 100%;
8025
+ -webkit-transition-property: width;
8026
+ -o-transition-property: width;
8027
+ transition-property: width;
8028
+ overflow: hidden;
8029
+ }
8030
+
8031
+ .wpr-prbar-hr-line .wpr-prbar-content {
8032
+ position: absolute;
8033
+ top: 0;
8034
+ left: 0;
8035
+ width: 100%;
8036
+ height: 100%;
8037
+ }
8038
+
8039
+ .wpr-prbar-hr-line .wpr-prbar-title-wrap {
8040
+ position: absolute;
8041
+ top: 50%;
8042
+ left: 12px;
8043
+ -webkit-transform: translateY( -50%);
8044
+ -ms-transform: translateY( -50%);
8045
+ transform: translateY( -50%);
8046
+ }
8047
+
8048
+ .wpr-prbar-layout-hr-line .wpr-prbar-subtitle {
8049
+ text-align: left;
8050
+ }
8051
+
8052
+ .wpr-prbar-hr-line .wpr-prbar-counter {
8053
+ position: absolute;
8054
+ top: 50%;
8055
+ right: 12px;
8056
+ -webkit-transform: translateY( -50%);
8057
+ -ms-transform: translateY( -50%);
8058
+ transform: translateY( -50%);
8059
+ }
8060
+
8061
+ .wpr-prbar-layout-hr-line .wpr-prbar-title-wrap {
8062
+ float: left;
8063
+ }
8064
+
8065
+ .wpr-prbar-layout-hr-line .wpr-prbar-counter {
8066
+ float: right;
8067
+ }
8068
+
8069
+
8070
+ /* Vertical Line */
8071
+
8072
+ .wpr-prbar-vr-line {
8073
+ position: relative;
8074
+ display: -webkit-box;
8075
+ display: -ms-flexbox;
8076
+ display: flex;
8077
+ -webkit-box-orient: vertical;
8078
+ -webkit-box-direction: normal;
8079
+ -ms-flex-direction: column;
8080
+ flex-direction: column;
8081
+ -webkit-box-pack: end;
8082
+ -ms-flex-pack: end;
8083
+ justify-content: flex-end;
8084
+ width: 100%;
8085
+ margin: 0 auto;
8086
+ overflow: hidden;
8087
+ }
8088
+
8089
+ .wpr-prbar-vr-line-inner {
8090
+ position: relative;
8091
+ width: 100%;
8092
+ height: 0;
8093
+ -webkit-transition-property: height;
8094
+ -o-transition-property: height;
8095
+ transition-property: height;
8096
+ overflow: hidden;
8097
+ }
8098
+
8099
+
8100
+ /* Circle */
8101
+
8102
+ .wpr-prbar-circle {
8103
+ position: relative;
8104
+ display: table;
8105
+ width: 100%;
8106
+ height: auto;
8107
+ margin: 0 auto;
8108
+ }
8109
+
8110
+ .wpr-prbar-circle-svg {
8111
+ width: 100%;
8112
+ height: auto;
8113
+ -webkit-transform: rotate(-90deg);
8114
+ -ms-transform: rotate(-90deg);
8115
+ transform: rotate(-90deg);
8116
+ border-radius: 50%;
8117
+ }
8118
+
8119
+ .wpr-prbar-circle-prline {
8120
+ -webkit-transition-property: stroke-dasharray, stroke-dashoffset;
8121
+ -o-transition-property: stroke-dasharray, stroke-dashoffset;
8122
+ transition-property: stroke-dasharray, stroke-dashoffset;
8123
+ stroke-linecap: butt;
8124
+ }
8125
+
8126
+ .wpr-prbar-circle .wpr-prbar-content {
8127
+ position: absolute;
8128
+ top: 50%;
8129
+ left: 50%;
8130
+ -webkit-transform: translate( -50%, -50%);
8131
+ -ms-transform: translate( -50%, -50%);
8132
+ transform: translate( -50%, -50%);
8133
+ }
8134
+
8135
+ .wpr-prbar-content {
8136
+ text-align: center;
8137
+ overflow: hidden;
8138
+ }
8139
+
8140
+ .wpr-prbar-counter {
8141
+ display: -webkit-box;
8142
+ display: -ms-flexbox;
8143
+ display: -moz-flex;
8144
+ display: flex;
8145
+ font-size: 12px;
8146
+ -webkit-box-pack: center;
8147
+ -ms-flex-pack: center;
8148
+ justify-content: center;
8149
+ }
8150
+
8151
+ .wpr-prbar-title,
8152
+ .wpr-prbar-subtitle {
8153
+ font-size: 12px;
8154
+ text-align: center;
8155
+ }
8156
+
8157
+
8158
+ /* Stripe */
8159
+
8160
+ .wpr-prbar-stripe-yes .wpr-prbar-hr-line-inner:after,
8161
+ .wpr-prbar-stripe-yes .wpr-prbar-vr-line-inner:after {
8162
+ content: '';
8163
+ position: absolute;
8164
+ top: 0;
8165
+ left: -30px;
8166
+ width: calc(100% + 60px);
8167
+ height: 100%;
8168
+ 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);
8169
+ 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);
8170
+ background-size: 30px 30px;
8171
+ }
8172
+
8173
+ .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-hr-line-inner:after,
8174
+ .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-right .wpr-prbar-vr-line-inner:after {
8175
+ -webkit-animation: stripe-anim-right 2s linear infinite;
8176
+ animation: stripe-anim-right 2s linear infinite;
8177
+ }
8178
+
8179
+ .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-hr-line-inner:after,
8180
+ .wpr-prbar-stripe-yes.wpr-prbar-stripe-anim-left .wpr-prbar-vr-line-inner:after {
8181
+ -webkit-animation: stripe-anim-left 2s linear infinite;
8182
+ animation: stripe-anim-left 2s linear infinite;
8183
+ }
8184
+
8185
+ @-webkit-keyframes stripe-anim-right {
8186
+ 0% {
8187
+ -webkit-transform: translate(0, 0);
8188
+ transform: translate(0, 0);
8189
+ }
8190
+ 100% {
8191
+ -webkit-transform: translate(30px, 0);
8192
+ transform: translate(30px, 0);
8193
+ }
8194
+ }
8195
+
8196
+ @keyframes stripe-anim-right {
8197
+ 0% {
8198
+ -webkit-transform: translate(0, 0);
8199
+ transform: translate(0, 0);
8200
+ }
8201
+ 100% {
8202
+ -webkit-transform: translate(30px, 0);
8203
+ transform: translate(30px, 0);
8204
+ }
8205
+ }
8206
+
8207
+ @-webkit-keyframes stripe-anim-left {
8208
+ 0% {
8209
+ -webkit-transform: translate(0, 0);
8210
+ transform: translate(0, 0);
8211
+ }
8212
+ 100% {
8213
+ -webkit-transform: translate(-30px, 0);
8214
+ transform: translate(-30px, 0);
8215
+ }
8216
+ }
8217
+
8218
+ @keyframes stripe-anim-left {
8219
+ 0% {
8220
+ -webkit-transform: translate(0, 0);
8221
+ transform: translate(0, 0);
8222
+ }
8223
+ 100% {
8224
+ -webkit-transform: translate(-30px, 0);
8225
+ transform: translate(-30px, 0);
8226
+ }
8227
+ }
8228
+
8229
+
8230
+ /* Defaults */
8231
+
8232
+ .elementor-widget-wpr-progress-bar .wpr-prbar-hr-line-inner,
8233
+ .elementor-widget-wpr-progress-bar .wpr-prbar-vr-line-inner {
8234
+ background-color: #605BE5;
8235
+ }
8236
+
8237
+
8238
+ /*--------------------------------------------------------------
8239
+ == Price List
8240
+ --------------------------------------------------------------*/
8241
+
8242
+ .wpr-price-list-item:last-child {
8243
+ margin-bottom: 0;
8244
+ }
8245
+
8246
+ .wpr-price-list-content {
8247
+ width: 100%;
8248
+ overflow: hidden;
8249
+ }
8250
+
8251
+ .wpr-price-list-item {
8252
+ display: -moz-flex;
8253
+ display: -ms-flex;
8254
+ display: -o-flex;
8255
+ display: -webkit-box;
8256
+ display: -ms-flexbox;
8257
+ display: flex;
8258
+ position: relative;
8259
+ }
8260
+
8261
+ .wpr-price-list-link {
8262
+ position: absolute;
8263
+ top: 0;
8264
+ left: 0;
8265
+ width: 100%;
8266
+ height: 100%;
8267
+ z-index: 10;
8268
+ }
8269
+
8270
+ .wpr-price-list-position-right .wpr-price-list-item {
8271
+ -webkit-box-orient: horizontal;
8272
+ -webkit-box-direction: reverse;
8273
+ -ms-flex-direction: row-reverse;
8274
+ flex-direction: row-reverse;
8275
+ }
8276
+
8277
+ .wpr-price-list-position-center .wpr-price-list-item {
8278
+ -webkit-box-orient: vertical;
8279
+ -webkit-box-direction: normal;
8280
+ -ms-flex-direction: column;
8281
+ flex-direction: column;
8282
+ }
8283
+
8284
+ .wpr-price-list-position-center .wpr-price-list-heading {
8285
+ -webkit-box-orient: vertical;
8286
+ -webkit-box-direction: normal;
8287
+ -ms-flex-direction: column;
8288
+ flex-direction: column;
8289
+ }
8290
+
8291
+ .wpr-price-list-position-center .wpr-price-list-separator {
8292
+ display: none;
8293
+ }
8294
+
8295
+ .wpr-price-list-position-left .wpr-price-list-price-wrap,
8296
+ .wpr-price-list-position-right .wpr-price-list-price-wrap {
8297
+ margin-left: auto;
8298
+ }
8299
+
8300
+ .wpr-price-list-image img {
8301
+ display: block;
8302
+ margin: 0 auto;
8303
+ }
8304
+
8305
+ .wpr-price-list-heading {
8306
+ display: -webkit-box;
8307
+ display: -ms-flexbox;
8308
+ display: flex;
8309
+ -webkit-box-align: center;
8310
+ -ms-flex-align: center;
8311
+ align-items: center;
8312
+ }
8313
+
8314
+ .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-title,
8315
+ .elementor-widget-wpr-price-list .wpr-price-list-heading .wpr-price-list-price {
8316
+ font-size: 17px;
8317
+ font-weight: 700;
8318
+ }
8319
+
8320
+ .wpr-price-list-old-price {
8321
+ font-size: 11px;
8322
+ }
8323
+
8324
+ .wpr-price-list-description {
8325
+ font-size: 14px;
8326
+ }
8327
+
8328
+ .wpr-price-list-separator {
8329
+ -webkit-box-flex: 1;
8330
+ -ms-flex-positive: 1;
8331
+ flex-grow: 1;
8332
+ height: 0;
8333
+ }
8334
+
8335
+ .wpr-price-list-price-wrap {
8336
+ display: -moz-flex;
8337
+ display: -ms-flex;
8338
+ display: -o-flex;
8339
+ display: -webkit-box;
8340
+ display: -ms-flexbox;
8341
+ display: flex;
8342
+ -webkit-box-align: center;
8343
+ -ms-flex-align: center;
8344
+ align-items: center;
8345
+ -webkit-box-pack: center;
8346
+ -ms-flex-pack: center;
8347
+ justify-content: center;
8348
+ }
8349
+
8350
+ .wpr-price-list-old-position-after .wpr-price-list-price-wrap {
8351
+ -webkit-box-orient: horizontal;
8352
+ -webkit-box-direction: reverse;
8353
+ -ms-flex-direction: row-reverse;
8354
+ flex-direction: row-reverse;
8355
+ }
8356
+
8357
+ .wpr-price-list-old-position-after .wpr-price-list-old-price {
8358
+ margin-right: 10px;
8359
+ }
8360
+
8361
+ .wpr-price-list-old-position-before .wpr-price-list-old-price {
8362
+ margin-left: 3px;
8363
+ }
8364
+
8365
+ .wpr-price-list-old-price {
8366
+ display: -moz-flex;
8367
+ display: -ms-flex;
8368
+ display: -o-flex;
8369
+ display: -webkit-box;
8370
+ display: -ms-flexbox;
8371
+ display: flex;
8372
+ text-decoration: line-through;
8373
+ }
8374
+
8375
+
8376
+ /*--------------------------------------------------------------
8377
+ == Image Hotspots
8378
+ --------------------------------------------------------------*/
8379
+
8380
+ .wpr-image-hotspots {
8381
+ position: relative;
8382
+ }
8383
+
8384
+ .wpr-hotspot-item-container {
8385
+ position: absolute;
8386
+ top: 0;
8387
+ left: 0;
8388
+ width: 100%;
8389
+ height: 100%;
8390
+ z-index: 10;
8391
+ }
8392
+
8393
+ .wpr-hotspot-image img {
8394
+ width: 100%;
8395
+ }
8396
+
8397
+ .wpr-hotspot-item {
8398
+ position: absolute;
8399
+ }
8400
+
8401
+ .wpr-hotspot-text {
8402
+ font-size: 15px;
8403
+ }
8404
+
8405
+ .wpr-hotspot-content {
8406
+ position: relative;
8407
+ z-index: 15;
8408
+ display: -webkit-box;
8409
+ display: -ms-flexbox;
8410
+ display: flex;
8411
+ -webkit-box-align: center;
8412
+ -ms-flex-align: center;
8413
+ align-items: center;
8414
+ -webkit-box-pack: center;
8415
+ -ms-flex-pack: center;
8416
+ justify-content: center;
8417
+ width: 100%;
8418
+ height: 100%;
8419
+ text-align: center;
8420
+ }
8421
+
8422
+ .wpr-hotspot-icon-position-left .wpr-hotspot-content {
8423
+ -webkit-box-orient: horizontal;
8424
+ -webkit-box-direction: reverse;
8425
+ -ms-flex-direction: row-reverse;
8426
+ flex-direction: row-reverse;
8427
+ }
8428
+
8429
+ .wpr-hotspot-item,
8430
+ .wpr-hotspot-item:before {
8431
+ -webkit-animation-fill-mode: both;
8432
+ animation-fill-mode: both;
8433
+ -webkit-animation-iteration-count: infinite;
8434
+ animation-iteration-count: infinite;
8435
+ -webkit-animation-play-state: running;
8436
+ animation-play-state: running;
8437
+ }
8438
+
8439
+ .wpr-hotspot-trigger-hover .wpr-hotspot-item,
8440
+ .wpr-hotspot-trigger-click .wpr-hotspot-item {
8441
+ cursor: pointer;
8442
+ }
8443
+
8444
+
8445
+ /* Tooltip */
8446
+ .wpr-hotspot-tooltip {
8447
+ position: absolute;
8448
+ border-radius: 4px;
8449
+ visibility: hidden;
8450
+ opacity: 0;
8451
+ font-size: 13px;
8452
+ line-height: 1.5;
8453
+ -webkit-transition-property: all;
8454
+ -o-transition-property: all;
8455
+ transition-property: all;
8456
+ -webkit-transition-timing-function: ease-in-out;
8457
+ -o-transition-timing-function: ease-in-out;
8458
+ transition-timing-function: ease-in-out;
8459
+ z-index: 20;
8460
+ -webkit-box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8461
+ box-shadow: 0px 0px 4px 0px rgba( 0, 0, 0, 0.5);
8462
+ font-size: 13px;
8463
+ }
8464
+
8465
+ .wpr-hotspot-tooltip:before {
8466
+ content: "";
8467
+ position: absolute;
8468
+ width: 0;
8469
+ height: 0;
8470
+ }
8471
+
8472
+ .wpr-hotspot-tooltip-position-pro-bt .wpr-hotspot-tooltip,
8473
+ .wpr-hotspot-tooltip-position-pro-lt .wpr-hotspot-tooltip,
8474
+ .wpr-hotspot-tooltip-position-pro-rt .wpr-hotspot-tooltip {
8475
+ top: -120%;
8476
+ left: 50%;
8477
+ -webkit-transform: translateX(-50%);
8478
+ -ms-transform: translateX(-50%);
8479
+ transform: translateX(-50%);
8480
+ }
8481
+
8482
+ .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before,
8483
+ .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8484
+ border-left-color: transparent;
8485
+ border-right-color: transparent;
8486
+ border-top-style: solid;
8487
+ border-left-style: solid;
8488
+ border-right-style: solid;
8489
+ }
8490
+
8491
+ .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before,
8492
+ .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8493
+ border-bottom-color: transparent;
8494
+ border-top-color: transparent;
8495
+ border-right-style: solid;
8496
+ border-bottom-style: solid;
8497
+ border-top-style: solid;
8498
+ }
8499
+
8500
+ .wpr-hotspot-tooltip p {
8501
+ margin: 0;
8502
+ }
8503
+
8504
+ .wpr-tooltip-active .wpr-hotspot-tooltip {
8505
+ visibility: visible;
8506
+ opacity: 1;
8507
+ }
8508
+
8509
+
8510
+ /* Triangle Position */
8511
+
8512
+ .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip:before {
8513
+ left: 50%;
8514
+ -ms-transform: translateX(-50%);
8515
+ transform: translateX(-50%);
8516
+ -webkit-transform: translateX(-50%);
8517
+ }
8518
+
8519
+ .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip:before {
8520
+ left: 50%;
8521
+ -webkit-transform: translateX(-50%) rotate(180deg);
8522
+ -ms-transform: translateX(-50%) rotate(180deg);
8523
+ transform: translateX(-50%) rotate(180deg);
8524
+ }
8525
+
8526
+ .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip:before {
8527
+ top: 50%;
8528
+ -webkit-transform: translateY(-50%) rotate(180deg);
8529
+ -ms-transform: translateY(-50%) rotate(180deg);
8530
+ transform: translateY(-50%) rotate(180deg);
8531
+ }
8532
+
8533
+ .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip:before {
8534
+ top: 50%;
8535
+ -webkit-transform: translateY(-50%);
8536
+ -ms-transform: translateY(-50%);
8537
+ transform: translateY(-50%);
8538
+ }
8539
+
8540
+ .wpr-hotspot-tooltip-position-top .wpr-hotspot-tooltip,
8541
+ .wpr-hotspot-tooltip-position-bottom .wpr-hotspot-tooltip {
8542
+ left: 50%;
8543
+ }
8544
+
8545
+ .wpr-hotspot-tooltip-position-left .wpr-hotspot-tooltip,
8546
+ .wpr-hotspot-tooltip-position-right .wpr-hotspot-tooltip {
8547
+ top: 50%;
8548
+ }
8549
+
8550
+
8551
+ /* Tooltip Effects */
8552
+
8553
+ .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8554
+ -webkit-transform: translate(-50%, -120%);
8555
+ -ms-transform: translate(-50%, -120%);
8556
+ transform: translate(-50%, -120%);
8557
+ }
8558
+
8559
+ .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8560
+ -webkit-transform: translate(-50%, -100%);
8561
+ -ms-transform: translate(-50%, -100%);
8562
+ transform: translate(-50%, -100%);
8563
+ }
8564
+
8565
+ .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8566
+ -webkit-transform: translate(-50%, 120%);
8567
+ -ms-transform: translate(-50%, 120%);
8568
+ transform: translate(-50%, 120%);
8569
+ }
8570
+
8571
+ .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8572
+ -webkit-transform: translate(-50%, 100%);
8573
+ -ms-transform: translate(-50%, 100%);
8574
+ transform: translate(-50%, 100%);
8575
+ }
8576
+
8577
+ .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8578
+ -webkit-transform: translate(-120%, -50%);
8579
+ -ms-transform: translate(-120%, -50%);
8580
+ transform: translate(-120%, -50%);
8581
+ }
8582
+
8583
+ .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8584
+ -webkit-transform: translate(-100%, -50%);
8585
+ -ms-transform: translate(-100%, -50%);
8586
+ transform: translate(-100%, -50%);
8587
+ }
8588
+
8589
+ .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-hotspot-tooltip {
8590
+ -webkit-transform: translate(120%, -50%);
8591
+ -ms-transform: translate(120%, -50%);
8592
+ transform: translate(120%, -50%);
8593
+ }
8594
+
8595
+ .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-shift-toward .wpr-tooltip-active .wpr-hotspot-tooltip {
8596
+ -webkit-transform: translate(100%, -50%);
8597
+ -ms-transform: translate(100%, -50%);
8598
+ transform: translate(100%, -50%);
8599
+ }
8600
+
8601
+
8602
+ /* Fade */
8603
+
8604
+ .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8605
+ -webkit-transform: translate(-50%, -100%);
8606
+ -ms-transform: translate(-50%, -100%);
8607
+ transform: translate(-50%, -100%);
8608
+ }
8609
+
8610
+ .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8611
+ -webkit-transform: translate(-50%, 100%);
8612
+ -ms-transform: translate(-50%, 100%);
8613
+ transform: translate(-50%, 100%);
8614
+ }
8615
+
8616
+ .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8617
+ -webkit-transform: translate(-100%, -50%);
8618
+ -ms-transform: translate(-100%, -50%);
8619
+ transform: translate(-100%, -50%);
8620
+ }
8621
+
8622
+ .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-fade .wpr-hotspot-tooltip {
8623
+ -webkit-transform: translate(100%, -50%);
8624
+ -ms-transform: translate(100%, -50%);
8625
+ transform: translate(100%, -50%);
8626
+ }
8627
+
8628
+
8629
+ /* Scale */
8630
+
8631
+ .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8632
+ -webkit-transform: translate(-50%, -100%) scale(0.7);
8633
+ -ms-transform: translate(-50%, -100%) scale(0.7);
8634
+ transform: translate(-50%, -100%) scale(0.7);
8635
+ }
8636
+
8637
+ .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8638
+ -webkit-transform: translate(-50%, 100%) scale(0.7);
8639
+ -ms-transform: translate(-50%, 100%) scale(0.7);
8640
+ transform: translate(-50%, 100%) scale(0.7);
8641
+ }
8642
+
8643
+ .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8644
+ -webkit-transform: translate(-100%, -50%) scale(0.7);
8645
+ -ms-transform: translate(-100%, -50%) scale(0.7);
8646
+ transform: translate(-100%, -50%) scale(0.7);
8647
+ }
8648
+
8649
+ .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-hotspot-tooltip {
8650
+ -webkit-transform: translate(100%, -50%) scale(0.7);
8651
+ -ms-transform: translate(100%, -50%) scale(0.7);
8652
+ transform: translate(100%, -50%) scale(0.7);
8653
+ }
8654
+
8655
+ .wpr-hotspot-tooltip-position-top.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8656
+ -webkit-transform: translate(-50%, -100%) scale(1);
8657
+ -ms-transform: translate(-50%, -100%) scale(1);
8658
+ transform: translate(-50%, -100%) scale(1);
8659
+ }
8660
+
8661
+ .wpr-hotspot-tooltip-position-bottom.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8662
+ -webkit-transform: translate(-50%, 100%) scale(1);
8663
+ -ms-transform: translate(-50%, 100%) scale(1);
8664
+ transform: translate(-50%, 100%) scale(1);
8665
+ }
8666
+
8667
+ .wpr-hotspot-tooltip-position-left.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8668
+ -webkit-transform: translate(-100%, -50%) scale(1);
8669
+ -ms-transform: translate(-100%, -50%) scale(1);
8670
+ transform: translate(-100%, -50%) scale(1);
8671
+ }
8672
+
8673
+ .wpr-hotspot-tooltip-position-right.wpr-tooltip-effect-scale .wpr-tooltip-active .wpr-hotspot-tooltip {
8674
+ -webkit-transform: translate(100%, -50%) scale(1);
8675
+ -ms-transform: translate(100%, -50%) scale(1);
8676
+ transform: translate(100%, -50%) scale(1);
8677
+ }
8678
+
8679
+
8680
+ /* Hotspot Animation */
8681
+
8682
+ @keyframes wpr-hotspot-anim-pulse {
8683
+ 0%,
8684
+ 100%,
8685
+ 87% {
8686
+ -webkit-transform: scale3d(1, 1, 1);
8687
+ transform: scale3d(1, 1, 1);
8688
+ }
8689
+ 88%,
8690
+ 92%,
8691
+ 96% {
8692
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
8693
+ transform: scale3d(1.1, 1.1, 1.1);
8694
+ }
8695
+ 90%,
8696
+ 94% {
8697
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
8698
+ transform: scale3d(0.9, 0.9, 0.9);
8699
+ }
8700
+ }
8701
+
8702
+ @-webkit-keyframes wpr-hotspot-anim-pulse {
8703
+ 0%,
8704
+ 100%,
8705
+ 87% {
8706
+ -webkit-transform: scale3d(1, 1, 1);
8707
+ transform: scale3d(1, 1, 1);
8708
+ }
8709
+ 88%,
8710
+ 92%,
8711
+ 96% {
8712
+ -webkit-transform: scale3d(1.1, 1.1, 1.1);
8713
+ transform: scale3d(1.1, 1.1, 1.1);
8714
+ }
8715
+ 90%,
8716
+ 94% {
8717
+ -webkit-transform: scale3d(0.9, 0.9, 0.9);
8718
+ transform: scale3d(0.9, 0.9, 0.9);
8719
+ }
8720
+ }
8721
+
8722
+ .wpr-hotspot-anim-pulse {
8723
+ -webkit-animation-name: wpr-hotspot-anim-pulse;
8724
+ animation-name: wpr-hotspot-anim-pulse;
8725
+ -webkit-animation-duration: 5s;
8726
+ animation-duration: 5s;
8727
+ }
8728
+
8729
+ @keyframes wpr-hotspot-anim-shake {
8730
+ 0%,
8731
+ 100%,
8732
+ 87% {
8733
+ -webkit-transform: translate3d(0, 0, 0);
8734
+ transform: translate3d(0, 0, 0);
8735
+ }
8736
+ 88%,
8737
+ 92%,
8738
+ 96% {
8739
+ -webkit-transform: translate3d(-5px, 0, 0);
8740
+ transform: translate3d(-5px, 0, 0);
8741
+ }
8742
+ 90%,
8743
+ 94% {
8744
+ -webkit-transform: translate3d(5px, 0, 0);
8745
+ transform: translate3d(5px, 0, 0);
8746
+ }
8747
+ }
8748
+
8749
+ @-webkit-keyframes wpr-hotspot-anim-shake {
8750
+ 0%,
8751
+ 100%,
8752
+ 87% {
8753
+ -webkit-transform: translate3d(0, 0, 0);
8754
+ transform: translate3d(0, 0, 0);
8755
+ }
8756
+ 88%,
8757
+ 92%,
8758
+ 96% {
8759
+ -webkit-transform: translate3d(-5px, 0, 0);
8760
+ transform: translate3d(-5px, 0, 0);
8761
+ }
8762
+ 90%,
8763
+ 94% {
8764
+ -webkit-transform: translate3d(5px, 0, 0);
8765
+ transform: translate3d(5px, 0, 0);
8766
+ }
8767
+ }
8768
+
8769
+ .wpr-hotspot-anim-shake {
8770
+ -webkit-animation-name: wpr-hotspot-anim-shake;
8771
+ animation-name: wpr-hotspot-anim-shake;
8772
+ -webkit-animation-duration: 5s;
8773
+ animation-duration: 5s;
8774
+ }
8775
+
8776
+ @keyframes wpr-hotspot-anim-swing {
8777
+ 0%,
8778
+ 100%,
8779
+ 70% {
8780
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
8781
+ transform: rotate3d(0, 0, 1, 0deg);
8782
+ }
8783
+ 75% {
8784
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
8785
+ transform: rotate3d(0, 0, 1, 15deg);
8786
+ }
8787
+ 80% {
8788
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
8789
+ transform: rotate3d(0, 0, 1, -10deg);
8790
+ }
8791
+ 85% {
8792
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
8793
+ transform: rotate3d(0, 0, 1, 5deg);
8794
+ }
8795
+ 90% {
8796
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
8797
+ transform: rotate3d(0, 0, 1, -5deg);
8798
+ }
8799
+ }
8800
+
8801
+ @-webkit-keyframes wpr-hotspot-anim-swing {
8802
+ 0%,
8803
+ 100%,
8804
+ 70% {
8805
+ -webkit-transform: rotate3d(0, 0, 1, 0deg);
8806
+ transform: rotate3d(0, 0, 1, 0deg);
8807
+ }
8808
+ 75% {
8809
+ -webkit-transform: rotate3d(0, 0, 1, 15deg);
8810
+ transform: rotate3d(0, 0, 1, 15deg);
8811
+ }
8812
+ 80% {
8813
+ -webkit-transform: rotate3d(0, 0, 1, -10deg);
8814
+ transform: rotate3d(0, 0, 1, -10deg);
8815
+ }
8816
+ 85% {
8817
+ -webkit-transform: rotate3d(0, 0, 1, 5deg);
8818
+ transform: rotate3d(0, 0, 1, 5deg);
8819
+ }
8820
+ 90% {
8821
+ -webkit-transform: rotate3d(0, 0, 1, -5deg);
8822
+ transform: rotate3d(0, 0, 1, -5deg);
8823
+ }
8824
+ }
8825
+
8826
+ .wpr-hotspot-anim-swing {
8827
+ -webkit-animation-name: wpr-hotspot-anim-swing;
8828
+ animation-name: wpr-hotspot-anim-swing;
8829
+ -webkit-animation-duration: 5s;
8830
+ animation-duration: 5s;
8831
+ }
8832
+
8833
+ @keyframes wpr-hotspot-anim-tada {
8834
+ 0%,
8835
+ 100%,
8836
+ 84% {
8837
+ -webkit-transform: scale3d(1, 1, 1);
8838
+ transform: scale3d(1, 1, 1);
8839
+ }
8840
+ 85% {
8841
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8842
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8843
+ }
8844
+ 88%,
8845
+ 92%,
8846
+ 96% {
8847
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8848
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8849
+ }
8850
+ 90%,
8851
+ 94% {
8852
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8853
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8854
+ }
8855
+ }
8856
+
8857
+ @-webkit-keyframes wpr-hotspot-anim-tada {
8858
+ 0%,
8859
+ 100%,
8860
+ 84% {
8861
+ -webkit-transform: scale3d(1, 1, 1);
8862
+ transform: scale3d(1, 1, 1);
8863
+ }
8864
+ 85% {
8865
+ -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8866
+ transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
8867
+ }
8868
+ 88%,
8869
+ 92%,
8870
+ 96% {
8871
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8872
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
8873
+ }
8874
+ 90%,
8875
+ 94% {
8876
+ -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8877
+ transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
8878
+ }
8879
+ }
8880
+
8881
+ .wpr-hotspot-anim-tada {
8882
+ -webkit-animation-name: wpr-hotspot-anim-tada;
8883
+ animation-name: wpr-hotspot-anim-tada;
8884
+ -webkit-animation-duration: 6s;
8885
+ animation-duration: 6s;
8886
+ }
8887
+
8888
+ @keyframes wpr-hotspot-anim-glow {
8889
+ 0% {
8890
+ -webkit-transform: scale(1);
8891
+ transform: scale(1);
8892
+ opacity: 1;
8893
+ }
8894
+ 100% {
8895
+ -webkit-transform: scale(1.5);
8896
+ transform: scale(1.5);
8897
+ opacity: 0;
8898
+ }
8899
+ }
8900
+
8901
+ @-webkit-keyframes wpr-hotspot-anim-glow {
8902
+ 0% {
8903
+ -webkit-transform: scale(1);
8904
+ transform: scale(1);
8905
+ opacity: 1;
8906
+ }
8907
+ 100% {
8908
+ -webkit-transform: scale(1.5);
8909
+ transform: scale(1.5);
8910
+ opacity: 0;
8911
+ }
8912
+ }
8913
+
8914
+ .wpr-hotspot-anim-glow:before {
8915
+ content: '';
8916
+ display: block;
8917
+ position: absolute;
8918
+ left: 0;
8919
+ top: 0;
8920
+ height: 100%;
8921
+ width: 100%;
8922
+ z-index: -1;
8923
+ -webkit-animation-name: wpr-hotspot-anim-glow;
8924
+ animation-name: wpr-hotspot-anim-glow;
8925
+ -webkit-animation-duration: 2s;
8926
+ animation-duration: 2s;
8927
+ }
8928
+
8929
+
8930
+ /*--------------------------------------------------------------
8931
+ == Divider
8932
+ --------------------------------------------------------------*/
8933
+
8934
+ .wpr-divider-wrap {
8935
+ display: inline-block;
8936
+ width: 100%;
8937
+ overflow: hidden;
8938
+ }
8939
+
8940
+ .wpr-divider {
8941
+ display: -ms-flexbox;
8942
+ display: -webkit-box;
8943
+ display: flex;
8944
+ -webkit-box-align: center;
8945
+ -ms-flex-align: center;
8946
+ align-items: center;
8947
+ }
8948
+
8949
+ .wpr-divider-text {
8950
+ -webkit-box-flex: 0;
8951
+ -ms-flex: 0 1 auto;
8952
+ flex: 0 1 auto;
8953
+ }
8954
+
8955
+ .elementor-widget-wpr-divider .wpr-divider .wpr-divider-text {
8956
+ font-size: 21px;
8957
+ }
8958
+
8959
+ .wpr-divider-border-left,
8960
+ .wpr-divider-border-right {
8961
+ -webkit-box-flex: 1;
8962
+ -ms-flex: 1 1 auto;
8963
+ flex: 1 1 auto;
8964
+ }
8965
+
8966
+ .wpr-divider-border {
8967
+ display: block;
8968
+ width: 100%;
8969
+ height: 1px;
8970
+ }
8971
+
8972
+ .wpr-divider-align-left .wpr-divider-border-left,
8973
+ .wpr-divider-align-right .wpr-divider-border-right {
8974
+ display: none;
8975
+ }
8976
+
8977
+ .wpr-divider-image {
8978
+ display: block;
8979
+ overflow: hidden;
8980
+ }
8981
+
8982
+
8983
+ /*--------------------------------------------------------------
8984
+ == Business Hours
8985
+ --------------------------------------------------------------*/
8986
+
8987
+ .wpr-business-hours {
8988
+ overflow: hidden;
8989
+ }
8990
+
8991
+ .wpr-business-hours-item {
8992
+ position: relative;
8993
+ display: -ms-flexbox;
8994
+ display: -webkit-box;
8995
+ display: flex;
8996
+ -webkit-box-align: center;
8997
+ -ms-flex-align: center;
8998
+ align-items: center;
8999
+ -webkit-transition: all .1s;
9000
+ -o-transition: all .1s;
9001
+ transition: all .1s;
9002
+ }
9003
+
9004
+ .wpr-business-day {
9005
+ -webkit-box-flex: 1;
9006
+ -ms-flex: 1 0 0px;
9007
+ flex: 1 0 0;
9008
+ text-align: left;
9009
+ }
9010
+
9011
+ .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-day,
9012
+ .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-time,
9013
+ .elementor-widget-wpr-business-hours .wpr-business-hours .wpr-business-closed {
9014
+ font-size: 16px;
9015
+ font-weight: 500;
9016
+ }
9017
+
9018
+ .wpr-business-time,
9019
+ .wpr-business-closed {
9020
+ -webkit-box-flex: 1;
9021
+ -ms-flex: 1 0 0px;
9022
+ flex: 1 0 0;
9023
+ text-align: right;
9024
+ }
9025
+
9026
+ .wpr-business-hours-item:after {
9027
+ content: "";
9028
+ display: block;
9029
+ position: absolute;
9030
+ bottom: 0;
9031
+ left: 0;
9032
+ width: 100%;
9033
+ }
9034
+
9035
+ .wpr-business-hours-item:last-of-type:after {
9036
+ display: none;
9037
+ }
9038
+
9039
+
9040
+ /* Defaults */
9041
+
9042
+ .elementor-widget-wpr-business-hours .wpr-business-day,
9043
+ .elementor-widget-wpr-business-hours .wpr-business-time,
9044
+ .elementor-widget-wpr-business-hours .wpr-business-closed {
9045
+ font-weight: 500;
9046
+ }
9047
+
9048
+
9049
+ /*--------------------------------------------------------------
9050
+ == Flip Box
9051
+ --------------------------------------------------------------*/
9052
+
9053
+ .wpr-flip-box {
9054
+ position: relative;
9055
+ -webkit-transform-style: preserve-3d;
9056
+ transform-style: preserve-3d;
9057
+ -webkit-transition: all 500ms ease;
9058
+ -o-transition: all 500ms ease;
9059
+ transition: all 500ms ease;
9060
+ -webkit-perspective: 1000px;
9061
+ perspective: 1000px;
9062
+ }
9063
+
9064
+ .wpr-flip-box-item {
9065
+ position: absolute;
9066
+ top: 0;
9067
+ left: 0;
9068
+ width: 100%;
9069
+ height: 100%;
9070
+ }
9071
+
9072
+ .wpr-flip-box-front {
9073
+ z-index: 5;
9074
+ }
9075
+
9076
+ .wpr-flip-box[data-trigger="box"] {
9077
+ cursor: pointer;
9078
+ }
9079
+
9080
+ .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-title,
9081
+ .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-title {
9082
+ font-size: 23px;
9083
+ font-weight: 600;
9084
+ }
9085
+
9086
+ .elementor-widget-wpr-flip-box .wpr-flip-box-front .wpr-flip-box-content .wpr-flip-box-description,
9087
+ .elementor-widget-wpr-flip-box .wpr-flip-box-back .wpr-flip-box-content .wpr-flip-box-description {
9088
+ font-size: 15px;
9089
+ }
9090
+
9091
+ .wpr-flip-box-item {
9092
+ -webkit-transform-style: preserve-3d;
9093
+ transform-style: preserve-3d;
9094
+ -webkit-backface-visibility: hidden;
9095
+ backface-visibility: hidden;
9096
+ -webkit-transition-property: all;
9097
+ -o-transition-property: all;
9098
+ transition-property: all;
9099
+ }
9100
+
9101
+ .wpr-flip-box-content {
9102
+ display: -moz-flex;
9103
+ display: -ms-flex;
9104
+ display: -o-flex;
9105
+ display: -webkit-box;
9106
+ display: -ms-flexbox;
9107
+ display: flex;
9108
+ width: 100%;
9109
+ height: 100%;
9110
+ -webkit-box-orient: vertical;
9111
+ -webkit-box-direction: normal;
9112
+ -ms-flex-direction: column;
9113
+ flex-direction: column;
9114
+ position: relative;
9115
+ z-index: 10;
9116
+ }
9117
+
9118
+ .wpr-flip-box-overlay {
9119
+ position: absolute;
9120
+ width: 100%;
9121
+ height: 100%;
9122
+ top: 0;
9123
+ left: 0;
9124
+ z-index: 5;
9125
+ }
9126
+
9127
+ .wpr-flip-box-link {
9128
+ display: block;
9129
+ position: absolute;
9130
+ width: 100%;
9131
+ height: 100%;
9132
+ top: 0;
9133
+ left: 0;
9134
+ z-index: 20;
9135
+ }
9136
+
9137
+ .wpr-flip-box-btn {
9138
+ display: inline-table;
9139
+ cursor: pointer;
9140
+ }
9141
+
9142
+ .wpr-flip-box-btn-icon {
9143
+ margin-left: 5px;
9144
+ }
9145
+
9146
+ .wpr-flip-box-btn span {
9147
+ position: relative;
9148
+ z-index: 2;
9149
+ opacity: 1 !important;
9150
+ }
9151
+
9152
+ .wpr-flip-box-btn:before,
9153
+ .wpr-flip-box-btn:after {
9154
+ z-index: 1 !important;
9155
+ }
9156
+
9157
+ .wpr-flip-box-image img {
9158
+ display: block;
9159
+ width: 100%;
9160
+ }
9161
+
9162
+ .wpr-flip-box-title a,
9163
+ .wpr-flip-box-title a:hover {
9164
+ color: inherit;
9165
+ }
9166
+
9167
+ .wpr-flip-box-front-align-left .wpr-flip-box-front .wpr-flip-box-image img,
9168
+ .wpr-flip-box-back-align-left .wpr-flip-box-back .wpr-flip-box-image img {
9169
+ float: left;
9170
+ }
9171
+
9172
+ .wpr-flip-box-front-align-center .wpr-flip-box-front .wpr-flip-box-image img,
9173
+ .wpr-flip-box-back-align-center .wpr-flip-box-back .wpr-flip-box-image img {
9174
+ margin: 0 auto;
9175
+ }
9176
+
9177
+ .wpr-flip-box-front-align-right .wpr-flip-box-front .wpr-flip-box-image img,
9178
+ .wpr-flip-box-back-align-right .wpr-flip-box-back .wpr-flip-box-image img {
9179
+ float: right;
9180
+ }
9181
+
9182
+
9183
+ /* Flip */
9184
+
9185
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9186
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9187
+ -webkit-transform: rotateX(0) rotateY(-180deg);
9188
+ transform: rotateX(0) rotateY(-180deg);
9189
+ }
9190
+
9191
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9192
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9193
+ -webkit-transform: rotateX(0) rotateY(180deg);
9194
+ transform: rotateX(0) rotateY(180deg);
9195
+ }
9196
+
9197
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9198
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9199
+ -webkit-transform: rotateX(-180deg) rotateY(0);
9200
+ transform: rotateX(-180deg) rotateY(0);
9201
+ }
9202
+
9203
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9204
+ .wpr-flip-box-animation-flip.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9205
+ -webkit-transform: rotateX(180deg) rotateY(0);
9206
+ transform: rotateX(180deg) rotateY(0);
9207
+ }
9208
+
9209
+ .wpr-flip-box-animation-flip .wpr-flip-box-active .wpr-flip-box-back {
9210
+ -webkit-transform: none;
9211
+ -ms-transform: none;
9212
+ transform: none;
9213
+ }
9214
+
9215
+
9216
+ /* 3D Flip */
9217
+
9218
+ .wpr-flip-box-animation-3d-yes .wpr-flip-box-content {
9219
+ -webkit-transform-style: preserve-3d;
9220
+ transform-style: preserve-3d;
9221
+ -webkit-transform: translateZ(70px) scale(.93);
9222
+ transform: translateZ(70px) scale(.93);
9223
+ }
9224
+
9225
+
9226
+ /* Slide */
9227
+
9228
+ .wpr-flip-box-animation-push .wpr-flip-box,
9229
+ .wpr-flip-box-animation-slide .wpr-flip-box {
9230
+ overflow: hidden;
9231
+ }
9232
+
9233
+ .wpr-flip-box-animation-push .wpr-flip-box-back,
9234
+ .wpr-flip-box-animation-slide .wpr-flip-box-back {
9235
+ z-index: 10;
9236
+ }
9237
+
9238
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-back,
9239
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-back {
9240
+ top: 100%;
9241
+ }
9242
+
9243
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back,
9244
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-back {
9245
+ top: 0;
9246
+ }
9247
+
9248
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-back,
9249
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-back {
9250
+ top: auto;
9251
+ bottom: 100%;
9252
+ }
9253
+
9254
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back,
9255
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-back {
9256
+ top: auto;
9257
+ bottom: 0;
9258
+ }
9259
+
9260
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-back,
9261
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-back {
9262
+ left: 100%;
9263
+ }
9264
+
9265
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back,
9266
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-back {
9267
+ left: 0;
9268
+ }
9269
+
9270
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-back,
9271
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-back {
9272
+ left: auto;
9273
+ right: 100%;
9274
+ }
9275
+
9276
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back,
9277
+ .wpr-flip-box-animation-slide.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-back {
9278
+ left: auto;
9279
+ right: 0;
9280
+ }
9281
+
9282
+
9283
+ /* Push */
9284
+
9285
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-up .wpr-flip-box-active .wpr-flip-box-front {
9286
+ top: -100%;
9287
+ }
9288
+
9289
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-down .wpr-flip-box-active .wpr-flip-box-front {
9290
+ top: 100%;
9291
+ }
9292
+
9293
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-left .wpr-flip-box-active .wpr-flip-box-front {
9294
+ left: -100%;
9295
+ }
9296
+
9297
+ .wpr-flip-box-animation-push.wpr-flip-box-anim-direction-right .wpr-flip-box-active .wpr-flip-box-front {
9298
+ left: 100%;
9299
+ }
9300
+
9301
+
9302
+ /* Fade */
9303
+
9304
+ .wpr-flip-box-animation-fade .wpr-flip-box-active .wpr-flip-box-front {
9305
+ opacity: 0;
9306
+ }
9307
+
9308
+
9309
+ /* Zoom In */
9310
+
9311
+ .wpr-flip-box-animation-zoom-in .wpr-flip-box-back {
9312
+ opacity: 0;
9313
+ -webkit-transform: scale(0.9);
9314
+ -ms-transform: scale(0.9);
9315
+ transform: scale(0.9);
9316
+ z-index: 10;
9317
+ }
9318
+
9319
+ .wpr-flip-box-animation-zoom-in .wpr-flip-box-active .wpr-flip-box-back {
9320
+ opacity: 1;
9321
+ -webkit-transform: scale(1);
9322
+ -ms-transform: scale(1);
9323
+ transform: scale(1);
9324
+ }
9325
+
9326
+
9327
+ /* Zoom Out */
9328
+
9329
+ .wpr-flip-box-animation-zoom-out .wpr-flip-box-active .wpr-flip-box-front {
9330
+ opaci