Version Description
14 July 2021 = - Added: Search refine option - Added: Detailed time option for applicable skins - Added: Event dates to the monthly view when the Display All Events option is enabled - Added: A reset ability that can be added to the search module - Added: Custom color option to the categories - Improved: Language files - Improved: Display of the Load More button - Fixed: WC as Payment System in multilingual websites (pro) - Fixed: Booking import (pro) - Fixed: First and last name detection - Fixed: The event link and more info link in the modal - Fixed: Displaying more info section when location is not set - Fixed: Date localization in WooCommerce checkout (pro) - Fixed: An issue on Frontend Event Submission - Fixed: An issue on showing the wrong expired label - Fixed: An issue on saving event status data in Frontend Event Submission - Fixed: An issue in Mailchimp integration (pro) - Fixed: Some issues in the related events module - Fixed: Some issues in the search module - Fixed: Showing all-day events in the reports menu - Fixed: The User Event Publishing notification when the event was submitted from the frontend - Fixed: Some PHP notices and warnings
Release Info
Developer | webnus |
Plugin | Modern Events Calendar Lite |
Version | 5.21.0 |
Comparing to | |
See all releases |
Code changes from version 5.20.6 to 5.21.0
- app/core/mec.php +19 -0
- app/core/src/Base.php +139 -0
- app/core/src/Books/Book.php +329 -0
- app/core/src/Books/BookingForm.php +56 -0
- app/core/src/Books/BooksQuery.php +98 -0
- app/core/src/Books/index.php +5 -0
- app/core/src/Events/Event.php +173 -0
- app/core/src/Events/Events.php +100 -0
- app/core/src/Events/EventsQuery.php +183 -0
- app/core/src/Events/index.php +5 -0
- app/core/src/Forms/CustomForm.php +141 -0
- app/core/src/Forms/DisplayFields.php +250 -0
- app/core/src/Forms/FormFields.php +628 -0
- app/core/src/Forms/SettingsForm.php +310 -0
- app/core/src/Forms/backend.css +408 -0
- app/core/src/Forms/backend.js +131 -0
- app/core/src/Forms/custom-form.css +116 -0
- app/core/src/Forms/index.php +5 -0
- app/core/src/Locations/Location.php +39 -0
- app/core/src/Locations/index.php +5 -0
- app/core/src/Notifications/DisplayNotificationSettings.php +26 -0
- app/core/src/Notifications/SendEmail.php +448 -0
- app/core/src/Notifications/index.php +5 -0
- app/core/src/Notifications/template-notification-settings.php +134 -0
- app/core/src/PostBase.php +138 -0
- app/core/src/Settings/Settings.php +50 -0
- app/core/src/Settings/index.php +5 -0
- app/core/src/Singleton.php +20 -0
- app/core/src/Tickets/Ticket.php +67 -0
- app/core/src/Tickets/Tickets.php +51 -0
- app/core/src/Tickets/index.php +5 -0
- app/core/src/index.php +5 -0
- app/features/events.php +40 -5
- app/features/fes.php +391 -332
- app/features/fes/form.php +2 -1
- app/features/ix.php +4 -1
- app/features/mec.php +14 -0
- app/features/mec/meta_boxes/display_options.php +4 -1
- app/features/mec/meta_boxes/search_form.php +22 -0
- app/features/mec/support-page.php +1 -1
- app/features/search.php +23 -0
- app/features/wc.php +3 -3
- app/libraries/base.php +11 -0
- app/libraries/hourlyschedule.php +24 -3
- app/libraries/main.php +19 -8
- app/libraries/notifications.php +17 -3
- app/libraries/render.php +30 -4
- app/libraries/schedule.php +3 -8
- app/libraries/search.php +424 -0
- app/libraries/skins.php +92 -18
- app/libraries/wc.php +9 -6
- app/modules/booking/steps/tickets.php +2 -2
- app/modules/countdown/details.php +1 -1
- app/modules/googlemap/details.php +1 -1
- app/skins/agenda.php +3 -1
- app/skins/agenda/tpl.php +4 -2
- app/skins/custom.php +2 -0
- app/skins/custom/tpl.php +4 -2
- app/skins/daily_view.php +6 -1
- app/skins/daily_view/render.php +9 -1
- app/skins/daily_view/tpl.php +2 -0
- app/skins/default_full_calendar.php +2 -0
- app/skins/default_full_calendar/tpl.php +2 -0
- app/skins/full_calendar.php +2 -0
- app/skins/full_calendar/tpl.php +5 -0
- app/skins/grid.php +3 -0
- app/skins/grid/tpl.php +4 -2
- app/skins/list.php +3 -0
- app/skins/list/tpl.php +5 -2
- app/skins/map.php +2 -0
- app/skins/map/tpl.php +2 -0
- app/skins/masonry.php +2 -0
- app/skins/masonry/tpl.php +5 -3
- app/skins/monthly_view.php +6 -1
- app/skins/monthly_view/calendar.php +12 -3
- app/skins/monthly_view/calendar_clean.php +17 -3
- app/skins/monthly_view/calendar_simple.php +6 -3
- app/skins/monthly_view/tpl.php +2 -0
- app/skins/single.php +22 -5
- app/skins/single/default.php +22 -10
- app/skins/single/m1.php +15 -5
- app/skins/single/m2.php +15 -5
- app/skins/single/modern.php +12 -6
- app/skins/tile.php +14 -1
- app/skins/tile/tpl.php +4 -2
- app/skins/timeline.php +2 -0
- app/skins/timeline/tpl.php +5 -2
- app/skins/timetable.php +2 -0
- app/skins/timetable/classic.php +2 -0
- app/skins/timetable/clean.php +2 -0
- app/skins/timetable/modern.php +2 -0
- app/skins/weekly_view.php +5 -0
- app/skins/weekly_view/render.php +7 -1
- app/skins/weekly_view/tpl.php +2 -0
- app/skins/yearly_view.php +2 -0
- app/skins/yearly_view/render.php +2 -1
- app/skins/yearly_view/tpl.php +2 -0
- assets/css/backend.css +75 -29
- assets/css/backend.min.css +1 -1
- assets/css/frontend.css +68 -2
- assets/css/frontend.min.css +0 -1
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if ( !defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
if ( !defined( 'MEC_CORE_FILE' ) ) {
|
8 |
+
define( 'MEC_CORE_FILE', __FILE__ );
|
9 |
+
}
|
10 |
+
|
11 |
+
if ( !defined( 'MEC_CORE_URL' ) ) {
|
12 |
+
define('MEC_CORE_URL', plugin_dir_url( __FILE__ ));
|
13 |
+
}
|
14 |
+
/**
|
15 |
+
* Include Primary Class Plugin
|
16 |
+
*/
|
17 |
+
require __DIR__.'/src/Base.php';
|
18 |
+
|
19 |
+
\MEC\Base::instance()->init();
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Core Class in Plugin
|
7 |
+
*/
|
8 |
+
final class Base {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Plugin Version
|
12 |
+
*
|
13 |
+
* @var string
|
14 |
+
*/
|
15 |
+
public static $version = '1.0.0';
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Session instance
|
19 |
+
*
|
20 |
+
* @var bool
|
21 |
+
*/
|
22 |
+
protected static $instance;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* MEC Constructor
|
26 |
+
*/
|
27 |
+
public function __construct() {
|
28 |
+
|
29 |
+
$this->define();
|
30 |
+
$this->includes();
|
31 |
+
$this->init_hooks();
|
32 |
+
$this->admin();
|
33 |
+
$this->enqueue_scripts();
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* MEC Instance
|
38 |
+
*
|
39 |
+
* @return self()
|
40 |
+
*/
|
41 |
+
public static function instance() {
|
42 |
+
|
43 |
+
if ( is_null( self::$instance ) ) {
|
44 |
+
self::$instance = new self();
|
45 |
+
}
|
46 |
+
|
47 |
+
return self::$instance;
|
48 |
+
}
|
49 |
+
|
50 |
+
/**
|
51 |
+
* Set Constants
|
52 |
+
*
|
53 |
+
* @return void
|
54 |
+
*/
|
55 |
+
public function define(): void {
|
56 |
+
|
57 |
+
define( 'MEC_CORE_PD', plugin_dir_path( MEC_CORE_FILE ) );
|
58 |
+
define( 'MEC_CORE_PDI', plugin_dir_path( MEC_CORE_FILE ) . 'src/' );
|
59 |
+
define( 'MEC_CORE_PU_JS', plugins_url( 'assets/js/', MEC_CORE_FILE ) );
|
60 |
+
define( 'MEC_CORE_PU_CSS', plugins_url( 'assets/css/', MEC_CORE_FILE ) );
|
61 |
+
define( 'MEC_CORE_PU_IMG', plugins_url( 'assets/img/', MEC_CORE_FILE ) );
|
62 |
+
define( 'MEC_CORE_PU_FONTS', plugins_url( 'assets/fonts/', MEC_CORE_FILE ) );
|
63 |
+
define( 'MEC_CORE_TEMPLATES', plugin_dir_path( MEC_CORE_FILE ) . 'templates/' );
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Include Files
|
68 |
+
*
|
69 |
+
* @return void
|
70 |
+
*/
|
71 |
+
public function includes(): void {
|
72 |
+
|
73 |
+
}
|
74 |
+
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Include Files If is Admin
|
78 |
+
*
|
79 |
+
* @return void
|
80 |
+
*/
|
81 |
+
public function admin(): void {
|
82 |
+
|
83 |
+
if ( !is_admin() ) {
|
84 |
+
return;
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Register actions enqueue scripts
|
91 |
+
*
|
92 |
+
* @return void
|
93 |
+
*/
|
94 |
+
public function enqueue_scripts(): void {
|
95 |
+
|
96 |
+
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Add Hooks - Actions and Filters
|
101 |
+
*
|
102 |
+
* @return void
|
103 |
+
*/
|
104 |
+
public function init_hooks(): void {
|
105 |
+
|
106 |
+
add_action( 'init', [ $this, 'init' ] );
|
107 |
+
register_activation_hook( MEC_CORE_FILE, __CLASS__ . '::register_activation' );
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Active Plugin
|
112 |
+
*
|
113 |
+
* @return void
|
114 |
+
*/
|
115 |
+
public static function register_activation(): void {
|
116 |
+
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Init MEC after WordPress
|
122 |
+
*
|
123 |
+
* @return void
|
124 |
+
*/
|
125 |
+
public function init(): void {
|
126 |
+
|
127 |
+
}
|
128 |
+
|
129 |
+
public static function get_main(){
|
130 |
+
|
131 |
+
global $MEC_Main;
|
132 |
+
if(is_null($MEC_Main)){
|
133 |
+
|
134 |
+
$MEC_Main = new \MEC_main();
|
135 |
+
}
|
136 |
+
|
137 |
+
return $MEC_Main;
|
138 |
+
}
|
139 |
+
}
|
@@ -0,0 +1,329 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Books;
|
4 |
+
|
5 |
+
use MEC\PostBase;
|
6 |
+
|
7 |
+
class Book extends PostBase {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Constructor
|
11 |
+
*
|
12 |
+
* @param int|\WP_Post|array $data
|
13 |
+
*/
|
14 |
+
public function __construct( $data ) {
|
15 |
+
|
16 |
+
$this->type = 'book';
|
17 |
+
parent::__construct( $data );
|
18 |
+
}
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @return int
|
22 |
+
*/
|
23 |
+
public function get_event_id() {
|
24 |
+
|
25 |
+
return (int) $this->get_meta( 'mec_event_id' );
|
26 |
+
}
|
27 |
+
|
28 |
+
/**
|
29 |
+
* @return string
|
30 |
+
*/
|
31 |
+
public function get_title() {
|
32 |
+
|
33 |
+
return get_the_title( $this->ID );
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* @return array //TODO: Convert to Attendee[]
|
38 |
+
*/
|
39 |
+
public function get_attendees() {
|
40 |
+
|
41 |
+
return $this->get_meta( 'mec_attendees' );
|
42 |
+
}
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @return array
|
46 |
+
*/
|
47 |
+
public function get_primary_attendees(){
|
48 |
+
|
49 |
+
$attendees = $this->get_attendees();
|
50 |
+
return (array)current($attendees);
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* @return bool
|
55 |
+
*/
|
56 |
+
public function is_first_attendee_data_for_all() {
|
57 |
+
|
58 |
+
return (bool)$this->get_meta( 'mec_first_for_all' );
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* @return array
|
63 |
+
*/
|
64 |
+
public function get_fixed_fields() {
|
65 |
+
|
66 |
+
return (array)$this->get_meta( 'mec_fixed_fields' );
|
67 |
+
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* @return string $start_timestamp:$end_timestamp
|
71 |
+
*/
|
72 |
+
public function get_attention_time( $type = null ) {
|
73 |
+
|
74 |
+
$data = $this->get_meta( 'mec_attention_time' );
|
75 |
+
if ( !is_null( $type ) ) {
|
76 |
+
|
77 |
+
$data = explode( ':', $data );
|
78 |
+
}
|
79 |
+
|
80 |
+
if ( 'start' === $type ) {
|
81 |
+
|
82 |
+
$data = isset( $data[0] ) ? $data[0] : '';
|
83 |
+
} elseif ( 'end' === $type ) {
|
84 |
+
|
85 |
+
$data = isset( $data[1] ) ? $data[1] : '';
|
86 |
+
}
|
87 |
+
|
88 |
+
return $data;
|
89 |
+
}
|
90 |
+
|
91 |
+
/**
|
92 |
+
* @return int -1 , 0 , 1
|
93 |
+
*/
|
94 |
+
public function get_confirm_status() {
|
95 |
+
|
96 |
+
return $this->get_meta( 'mec_confirmed' );
|
97 |
+
}
|
98 |
+
|
99 |
+
public function get_confirm_status_text() {
|
100 |
+
|
101 |
+
$status = $this->get_confirm_status();
|
102 |
+
|
103 |
+
switch ( $status ) {
|
104 |
+
case '-1':
|
105 |
+
|
106 |
+
$text = __('Rejected', 'modern-events-calendar-lite');
|
107 |
+
|
108 |
+
break;
|
109 |
+
case '1':
|
110 |
+
|
111 |
+
$text = __('Confirmed', 'modern-events-calendar-lite');
|
112 |
+
|
113 |
+
break;
|
114 |
+
case '0':
|
115 |
+
default:
|
116 |
+
|
117 |
+
$text = __('Pending', 'modern-events-calendar-lite');
|
118 |
+
|
119 |
+
break;
|
120 |
+
}
|
121 |
+
|
122 |
+
return $text;
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* @param $status
|
127 |
+
* @param string $mode manually|automatic
|
128 |
+
*
|
129 |
+
* @return void
|
130 |
+
*/
|
131 |
+
public function set_confirm_status( $status, $mode = 'manually' ) {
|
132 |
+
|
133 |
+
$text_status = '';
|
134 |
+
$status = strtolower( trim( $status ) );
|
135 |
+
switch ( $status ) {
|
136 |
+
case 'reject':
|
137 |
+
case '-1':
|
138 |
+
$status = -1;
|
139 |
+
$text_status = 'rejected';
|
140 |
+
break;
|
141 |
+
case 'pending':
|
142 |
+
case '0':
|
143 |
+
$status = 0;
|
144 |
+
$text_status = 'pending';
|
145 |
+
break;
|
146 |
+
case 'confirm':
|
147 |
+
case '1':
|
148 |
+
$status = 1;
|
149 |
+
$text_status = 'confirm';
|
150 |
+
break;
|
151 |
+
}
|
152 |
+
|
153 |
+
if ( in_array( $status, array( -1, 0, 1 ), false ) ) {
|
154 |
+
|
155 |
+
$old_status = $this->get_meta( 'mec_confirmed' );
|
156 |
+
$status = apply_filters( 'mec_' . $this->type . '_confirmed_status_value', $status, $mode, $this->ID, $this );
|
157 |
+
if ( $old_status != $status ) {
|
158 |
+
|
159 |
+
$this->set_meta( 'mec_confirmed', $status );
|
160 |
+
$this->set_meta( 'mec_status_' . $text_status . '_changed', time() );
|
161 |
+
/**
|
162 |
+
* Do Action for send email or ...
|
163 |
+
*/
|
164 |
+
do_action( 'mec_' . $this->type . '_confirmed', $this->ID, $old_status, $status, $mode );
|
165 |
+
|
166 |
+
return true;
|
167 |
+
}
|
168 |
+
}
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* @return int -1 , 0 , 1
|
173 |
+
*/
|
174 |
+
public function get_verification_status() {
|
175 |
+
|
176 |
+
return $this->get_meta( 'mec_verified' );
|
177 |
+
}
|
178 |
+
|
179 |
+
public function get_verification_status_text() {
|
180 |
+
|
181 |
+
$status = $this->get_verification_status();
|
182 |
+
|
183 |
+
switch ( $status ) {
|
184 |
+
case '-1':
|
185 |
+
|
186 |
+
$text = __('Canceled', 'modern-events-calendar-lite');
|
187 |
+
|
188 |
+
break;
|
189 |
+
case '1':
|
190 |
+
|
191 |
+
$text = __('Verified', 'modern-events-calendar-lite');
|
192 |
+
|
193 |
+
break;
|
194 |
+
case '0':
|
195 |
+
default:
|
196 |
+
|
197 |
+
$text = __('Waiting', 'modern-events-calendar-lite');
|
198 |
+
|
199 |
+
break;
|
200 |
+
}
|
201 |
+
|
202 |
+
return $text;
|
203 |
+
}
|
204 |
+
|
205 |
+
/**
|
206 |
+
* @param $status
|
207 |
+
* @param string $mode manually|automatic
|
208 |
+
*
|
209 |
+
* @return void
|
210 |
+
*/
|
211 |
+
public function set_verification_status( $status, $mode = 'manually' ) {
|
212 |
+
|
213 |
+
$text_status = '';
|
214 |
+
$status = strtolower( trim( $status ) );
|
215 |
+
switch ( $status ) {
|
216 |
+
case 'canceled':
|
217 |
+
case '-1':
|
218 |
+
$status = -1;
|
219 |
+
$text_status = 'canceled';
|
220 |
+
break;
|
221 |
+
case 'waiting':
|
222 |
+
case '0':
|
223 |
+
$status = 0;
|
224 |
+
$text_status = 'waiting';
|
225 |
+
break;
|
226 |
+
case 'verified':
|
227 |
+
case '1':
|
228 |
+
$status = 1;
|
229 |
+
$text_status = 'verified';
|
230 |
+
break;
|
231 |
+
}
|
232 |
+
|
233 |
+
if ( in_array( $status, array( -1, 0, 1 ), false ) ) {
|
234 |
+
|
235 |
+
$old_status = $this->get_meta( 'mec_verified' );
|
236 |
+
$status = apply_filters( 'mec_' . $this->type . '_verified_status_value', $status, $mode, $this->ID, $this );
|
237 |
+
|
238 |
+
if ( $old_status != $status ) {
|
239 |
+
|
240 |
+
$this->set_meta( 'mec_verified', $status );
|
241 |
+
$this->set_meta( 'mec_status_' . $text_status . '_changed', time() );
|
242 |
+
/**
|
243 |
+
* Do Action for send email or ...
|
244 |
+
*/
|
245 |
+
do_action( 'mec_' . $this->type . '_verified', $this->ID, $old_status, $status, $mode );
|
246 |
+
|
247 |
+
return true;
|
248 |
+
}
|
249 |
+
}
|
250 |
+
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* @return int|float|string
|
255 |
+
*/
|
256 |
+
public function get_price() {
|
257 |
+
|
258 |
+
return $this->get_meta( 'mec_price' );
|
259 |
+
}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* @return mixed
|
263 |
+
*/
|
264 |
+
public function get_location_id() {
|
265 |
+
|
266 |
+
return $this->get_meta( 'mec_booking_location' );
|
267 |
+
}
|
268 |
+
|
269 |
+
/**
|
270 |
+
* @return array|\WP_Error|\WP_Term|null
|
271 |
+
*/
|
272 |
+
public function get_location_term() {
|
273 |
+
|
274 |
+
$location_id = $this->get_location_id();
|
275 |
+
$location = get_term( $location_id, 'mec_location', ARRAY_A );
|
276 |
+
|
277 |
+
return $location;
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* @return string 1,2,3
|
282 |
+
*/
|
283 |
+
public function get_tickets() {
|
284 |
+
|
285 |
+
return $this->get_meta( 'mec_ticket_id' );
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* @return array
|
290 |
+
*/
|
291 |
+
public function get_tickets_ids() {
|
292 |
+
|
293 |
+
$ids = array();
|
294 |
+
$tickets = $this->get_tickets();
|
295 |
+
$tickets = explode( ',', trim( $tickets, ', ' ) );
|
296 |
+
|
297 |
+
foreach ( $tickets as $ticket_id ) {
|
298 |
+
|
299 |
+
if ( empty( $ticket_id ) || isset( $ids[ $ticket_id ] ) ) {
|
300 |
+
|
301 |
+
continue;
|
302 |
+
}
|
303 |
+
|
304 |
+
$ids[ $ticket_id ] = $ticket_id;
|
305 |
+
}
|
306 |
+
|
307 |
+
return $ids;
|
308 |
+
}
|
309 |
+
|
310 |
+
public function timestamp($start, $end){
|
311 |
+
// Timestamp is already available
|
312 |
+
if(isset($start['timestamp']) and isset($end['timestamp']))
|
313 |
+
{
|
314 |
+
return $start['timestamp'].':'.$end['timestamp'];
|
315 |
+
}
|
316 |
+
|
317 |
+
$s_hour = $start['hour'];
|
318 |
+
if(strtoupper($start['ampm']) == 'AM' and $s_hour == '0') $s_hour = 12;
|
319 |
+
|
320 |
+
$e_hour = $end['hour'];
|
321 |
+
if(strtoupper($end['ampm']) == 'AM' and $e_hour == '0') $e_hour = 12;
|
322 |
+
|
323 |
+
$start_time = $start['date'].' '.sprintf("%02d", $s_hour).':'.sprintf("%02d", $start['minutes']).' '.$start['ampm'];
|
324 |
+
$end_time = $end['date'].' '.sprintf("%02d", $e_hour).':'.sprintf("%02d", $end['minutes']).' '.$end['ampm'];
|
325 |
+
|
326 |
+
return strtotime($start_time).':'.strtotime($end_time);
|
327 |
+
}
|
328 |
+
|
329 |
+
}
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Books;
|
4 |
+
|
5 |
+
use MEC\Settings\Settings;
|
6 |
+
use MEC\Singleton;
|
7 |
+
|
8 |
+
class BookingForm extends Singleton {
|
9 |
+
|
10 |
+
public function enqueue(){
|
11 |
+
|
12 |
+
wp_enqueue_style('mec-custom-form', MEC_CORE_URL.'src/Forms/custom-form.css');
|
13 |
+
}
|
14 |
+
|
15 |
+
public function display_form($event_id){
|
16 |
+
|
17 |
+
if(!$event_id){
|
18 |
+
return;
|
19 |
+
}
|
20 |
+
|
21 |
+
$this->enqueue();
|
22 |
+
$mainClass = new \MEC_main();
|
23 |
+
$single = new \MEC_skin_single();
|
24 |
+
$settings = Settings::getInstance()->get_settings();
|
25 |
+
|
26 |
+
global $MEC_Events;
|
27 |
+
$MEC_Events = $single->get_event_mec($event_id);
|
28 |
+
$single_event = $MEC_Events[0];
|
29 |
+
$booking_options = get_post_meta($event_id, 'mec_booking', true);
|
30 |
+
$occurrence = (isset($single_event->date['start']['date']) ? $single_event->date['start']['date'] : (isset($_GET['occurrence']) ? sanitize_text_field($_GET['occurrence']) : ''));
|
31 |
+
$occurrence_end_date = trim($occurrence) ? $mainClass->get_end_date_by_occurrence($single_event->data->ID, (isset($single_event->date['start']['date']) ? $single_event->date['start']['date'] : $occurrence)) : '';
|
32 |
+
|
33 |
+
if ($mainClass->is_sold($single_event, (trim($occurrence) ? $occurrence : $single_event->date['start']['date'])) && count($single_event->dates) <= 1) : ?>
|
34 |
+
<div class="mec-sold-tickets warning-msg"><?php esc_html_e('Sold out!', 'wpl'); ?></div>
|
35 |
+
<?php
|
36 |
+
elseif ($mainClass->can_show_booking_module($single_event)) :
|
37 |
+
$data_lity_class = '';
|
38 |
+
if (isset($settings['single_booking_style']) && $settings['single_booking_style'] == 'modal') {
|
39 |
+
$data_lity_class = 'lity-hide ';
|
40 |
+
}
|
41 |
+
?>
|
42 |
+
<div id="mec-events-meta-group-booking-<?php echo $single->uniqueid; ?>" class="<?php echo $data_lity_class; ?>mec-events-meta-group mec-events-meta-group-booking mec-custom-form-box">
|
43 |
+
<?php
|
44 |
+
if( isset($settings['booking_user_login']) && $settings['booking_user_login'] == '1' && !is_user_logged_in() ) {
|
45 |
+
echo do_shortcode('[MEC_login]');
|
46 |
+
} elseif ( isset($settings['booking_user_login']) && $settings['booking_user_login'] == '0' && !is_user_logged_in() && isset($booking_options['bookings_limit_for_users']) && $booking_options['bookings_limit_for_users'] == '1' ) {
|
47 |
+
echo do_shortcode('[MEC_login]');
|
48 |
+
} else {
|
49 |
+
echo $mainClass->module('booking.default', array('event' => $MEC_Events));
|
50 |
+
}
|
51 |
+
?>
|
52 |
+
</div>
|
53 |
+
<?php
|
54 |
+
endif;
|
55 |
+
}
|
56 |
+
}
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Books;
|
4 |
+
|
5 |
+
use MEC_Core\Singleton;
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Version 1.0.0
|
9 |
+
*/
|
10 |
+
class BooksQuery extends Singleton{
|
11 |
+
|
12 |
+
public function get_books($q_args){
|
13 |
+
|
14 |
+
$default = array(
|
15 |
+
'post_type' => 'mec-books',
|
16 |
+
'fields' => '',
|
17 |
+
'limit' => -1,
|
18 |
+
'post_status' => array('publish','pending','draft','future','private'),
|
19 |
+
'meta_query' => array(
|
20 |
+
'relation' => 'AND',
|
21 |
+
)
|
22 |
+
);
|
23 |
+
|
24 |
+
$q_args = wp_parse_args($q_args,$default);
|
25 |
+
|
26 |
+
//event_ids start
|
27 |
+
if(array_key_exists('event_id',$q_args) && !empty($q_args['event_id'])){
|
28 |
+
|
29 |
+
$q_args['meta_query']['event_id'] = array(
|
30 |
+
'key' => 'mec_event_id',
|
31 |
+
'value' => $q_args['event_id'],
|
32 |
+
'compare' => '=',
|
33 |
+
);
|
34 |
+
}
|
35 |
+
|
36 |
+
if(array_key_exists('event_ids__in',$q_args)){
|
37 |
+
|
38 |
+
$q_args['meta_query']['event_ids__in'] = array(
|
39 |
+
'key' => 'mec_event_id',
|
40 |
+
'value' => (array) $q_args['event_ids__in'],
|
41 |
+
'compare' => 'IN',
|
42 |
+
);
|
43 |
+
}
|
44 |
+
|
45 |
+
if(array_key_exists('event_ids__not_in',$q_args)){
|
46 |
+
|
47 |
+
$q_args['meta_query']['event_ids__not_in'] = array(
|
48 |
+
'key' => 'mec_event_id',
|
49 |
+
'value' => (array) $q_args['event_ids__not_in'],
|
50 |
+
'compare' => 'NOT IN',
|
51 |
+
);
|
52 |
+
}
|
53 |
+
//event_ids end
|
54 |
+
|
55 |
+
//other meta start
|
56 |
+
if(array_key_exists('attendee_email',$q_args) && !empty($q_args['event_id'])){
|
57 |
+
|
58 |
+
$q_args['meta_query']['attendee_email'] = array(
|
59 |
+
'key' => 'mec_attendees',
|
60 |
+
'value' => '"'.$q_args['attendee_email'].'"',
|
61 |
+
'compare' => 'LIKE',
|
62 |
+
);
|
63 |
+
}
|
64 |
+
|
65 |
+
if(array_key_exists('confirmed',$q_args) && !empty($q_args['confirmed'])){
|
66 |
+
|
67 |
+
$q_args['meta_query']['confirmed'] = array(
|
68 |
+
'key' => 'mec_confirmed',
|
69 |
+
'value' => $q_args['confirmed'],
|
70 |
+
'compare' => '=',
|
71 |
+
);
|
72 |
+
}
|
73 |
+
|
74 |
+
if(array_key_exists('verified',$q_args) && !empty($q_args['confirmed'])){
|
75 |
+
|
76 |
+
$q_args['meta_query']['verified'] = array(
|
77 |
+
'key' => 'mec_verified',
|
78 |
+
'value' => $q_args['verified'],
|
79 |
+
'compare' => '=',
|
80 |
+
);
|
81 |
+
}
|
82 |
+
//other meta end
|
83 |
+
|
84 |
+
return get_posts($q_args);
|
85 |
+
}
|
86 |
+
|
87 |
+
public function get_books_ids($q_args){
|
88 |
+
|
89 |
+
$default = array(
|
90 |
+
'limit' => -1,
|
91 |
+
'fields' => 'ids',
|
92 |
+
);
|
93 |
+
|
94 |
+
$q_args = wp_parse_args($q_args,$default);
|
95 |
+
|
96 |
+
return $this->get_books($q_args);
|
97 |
+
}
|
98 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Events;
|
4 |
+
|
5 |
+
use MEC\PostBase;
|
6 |
+
use MEC\Settings\Settings;
|
7 |
+
|
8 |
+
class Event extends PostBase {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Constructor
|
12 |
+
*
|
13 |
+
* @param int|\WP_Post|array $data
|
14 |
+
*/
|
15 |
+
public function __construct( $data, $load_post = true ) {
|
16 |
+
|
17 |
+
$this->type = 'event';
|
18 |
+
parent::__construct( $data, $load_post );
|
19 |
+
}
|
20 |
+
|
21 |
+
public function get_tickets() {
|
22 |
+
|
23 |
+
return $this->get_meta( 'mec_tickets' );
|
24 |
+
}
|
25 |
+
|
26 |
+
public function get_content( $content = null ) {
|
27 |
+
|
28 |
+
return is_null( $content ) ? $this->main->get_post_content( $this->ID ) : $content;
|
29 |
+
}
|
30 |
+
|
31 |
+
public function get_datetime() {
|
32 |
+
|
33 |
+
$date = $this->get_data( 'date' );
|
34 |
+
|
35 |
+
if ( ! is_null( $date ) ) {
|
36 |
+
|
37 |
+
return $date;
|
38 |
+
}
|
39 |
+
|
40 |
+
$types = array(
|
41 |
+
'start',
|
42 |
+
'end',
|
43 |
+
);
|
44 |
+
|
45 |
+
$datetime = array(
|
46 |
+
'hour' => '',
|
47 |
+
'minutes' => '',
|
48 |
+
'ampm' => '',
|
49 |
+
);
|
50 |
+
|
51 |
+
$datetimes = array(
|
52 |
+
'start' => $datetime,
|
53 |
+
'end' => $datetime,
|
54 |
+
);
|
55 |
+
|
56 |
+
foreach ( $types as $type ) {
|
57 |
+
|
58 |
+
$date = $this->get_meta( 'mec_' . $type . '_date' );
|
59 |
+
$hours = $this->get_meta( 'mec_' . $type . '_time_hour' );
|
60 |
+
$minutes = $this->get_meta( 'mec_' . $type . '_time_minutes' );
|
61 |
+
$ampm = $this->get_meta( 'mec_' . $type . '_time_ampm' );
|
62 |
+
|
63 |
+
$datetime = array(
|
64 |
+
'date' => $date,
|
65 |
+
'hours' => sprintf('%02d',$hours),
|
66 |
+
'minutes' => sprintf('%02d',$minutes),
|
67 |
+
'ampm' => $ampm ? $ampm : '',
|
68 |
+
);
|
69 |
+
|
70 |
+
$datetime['datetime'] = "{$date} {$datetime['hours']}:{$datetime['minutes']} {$datetime['ampm']}";
|
71 |
+
$datetime['timestamp'] = strtotime($datetime['datetime']);
|
72 |
+
$datetimes[ $type ] = $datetime;
|
73 |
+
}
|
74 |
+
|
75 |
+
$this->data['datetimes'] = $datetimes;
|
76 |
+
|
77 |
+
return $datetimes;
|
78 |
+
}
|
79 |
+
|
80 |
+
public function get_repeating_status(){
|
81 |
+
|
82 |
+
return $this->get_meta('mec_repeat_status');
|
83 |
+
}
|
84 |
+
|
85 |
+
public function get_occurrences_times( $start, $limit = 100 ) {
|
86 |
+
|
87 |
+
$k = 'mec-occurrences-'.$this->ID.'-' . $start . $limit;
|
88 |
+
$occurrences = wp_cache_get( $k );
|
89 |
+
if ( empty( $occurrences ) ) {
|
90 |
+
|
91 |
+
$feature = \MEC::getInstance('app.libraries.feature_occurrences');
|
92 |
+
$occurrences = $feature->get_dates( $this->ID, $start, $limit );
|
93 |
+
wp_cache_set( $k, $occurrences, 'mec-occurrences', 120 );
|
94 |
+
}
|
95 |
+
|
96 |
+
return $occurrences;
|
97 |
+
}
|
98 |
+
|
99 |
+
public function get_occurrence_data( $occurrence_id ){
|
100 |
+
|
101 |
+
return \MEC::getInstance('app.features.feature_occurrences')->get($occurrence_id);
|
102 |
+
}
|
103 |
+
|
104 |
+
|
105 |
+
public function get_occurrence_time( $start ){
|
106 |
+
|
107 |
+
$occurrence = $this->get_occurrences_times( $start, 1 );
|
108 |
+
$occurrence = is_array($occurrence) ? current($occurrence) : [];
|
109 |
+
|
110 |
+
return (object)$occurrence;
|
111 |
+
}
|
112 |
+
|
113 |
+
public function get_end_timestamp_occurrence($timestamp){
|
114 |
+
|
115 |
+
if(empty($timestamp) || !is_numeric($timestamp)){
|
116 |
+
|
117 |
+
return null;
|
118 |
+
}
|
119 |
+
|
120 |
+
$end_occurrence = $this->get_occurrence_time( $timestamp );
|
121 |
+
$event_end_datetime = isset($end_occurrence->tend) ? $end_occurrence->tend : false;
|
122 |
+
|
123 |
+
if(false === $event_end_datetime){
|
124 |
+
|
125 |
+
$start_date = date('Y-m-d',$timestamp);
|
126 |
+
$end_date = \MEC\Base::get_main()->get_end_date_by_occurrence( $this->ID, $start_date );
|
127 |
+
$datetimes = $this->get_datetime($this->ID);
|
128 |
+
$event_end_datetime = strtotime("{$end_date} {$datetimes['hours']}:{$datetimes['minutes']} {$datetimes['ampm']}");
|
129 |
+
}
|
130 |
+
|
131 |
+
return $event_end_datetime;
|
132 |
+
}
|
133 |
+
|
134 |
+
public function get_detail(){
|
135 |
+
|
136 |
+
$event_id = $this->ID;
|
137 |
+
$main = new \MEC_Main();
|
138 |
+
$render = $main->getRender();
|
139 |
+
|
140 |
+
$rendered = $render->data($event_id);
|
141 |
+
|
142 |
+
$dates = $render->dates($event_id, NULL, 1, date('Y-m-d', strtotime('Yesterday')));
|
143 |
+
|
144 |
+
if(empty($dates)){
|
145 |
+
|
146 |
+
}
|
147 |
+
|
148 |
+
$data = new \stdClass();
|
149 |
+
$data->ID = $event_id;
|
150 |
+
$data->data = $rendered;
|
151 |
+
$data->dates = $dates;
|
152 |
+
$data->date = isset($dates[0]) ? $dates[0] : $this->get_datetime($event_id);
|
153 |
+
|
154 |
+
$skin = new \stdClass();
|
155 |
+
$skin->skin = 'single_divi';
|
156 |
+
$skin->multiple_days_method = Settings::getInstance()->get_settings('multiple_day_show_method');
|
157 |
+
|
158 |
+
return $render->after_render( $data, $skin );
|
159 |
+
}
|
160 |
+
|
161 |
+
public function get_notifications_settings($group_id = null){
|
162 |
+
|
163 |
+
$notifications = $this->get_meta('mec_notifications');
|
164 |
+
|
165 |
+
if( !is_null( $group_id ) ){
|
166 |
+
|
167 |
+
return isset($notifications[$group_id]) ? $notifications[$group_id] : null;
|
168 |
+
}
|
169 |
+
|
170 |
+
return $notifications;
|
171 |
+
|
172 |
+
}
|
173 |
+
}
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Events;
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Not completed
|
7 |
+
*/
|
8 |
+
class Events {
|
9 |
+
|
10 |
+
public function save_event( $event ) {
|
11 |
+
|
12 |
+
$d_args = array(
|
13 |
+
'title' => '',
|
14 |
+
'content' => '',
|
15 |
+
'status' => 'publish',
|
16 |
+
);
|
17 |
+
|
18 |
+
$event = wp_parse_args( $event, $d_args );
|
19 |
+
|
20 |
+
$event_arg = array(
|
21 |
+
|
22 |
+
'post_title' => $event['title'],
|
23 |
+
'post_content' => $event['content'],
|
24 |
+
'post_status' => $event['status'],
|
25 |
+
);
|
26 |
+
|
27 |
+
$event_id = wp_insert_post( $event_arg );
|
28 |
+
|
29 |
+
do_action( 'mec_saved_event', $event_id, $event );
|
30 |
+
|
31 |
+
$event_mata = array(
|
32 |
+
'mec_location_id',
|
33 |
+
'mec_dont_show_map',
|
34 |
+
'mec_organizer_id',
|
35 |
+
'mec_read_more',
|
36 |
+
'mec_more_info',
|
37 |
+
'mec_more_info_title',
|
38 |
+
'mec_more_info_target',
|
39 |
+
'mec_cost',
|
40 |
+
|
41 |
+
'mec_additional_organizer_ids',
|
42 |
+
'mec_additional_location_ids',
|
43 |
+
|
44 |
+
'mec_date',
|
45 |
+
'mec_repeat',
|
46 |
+
'mec_certain_weekdays',
|
47 |
+
'mec_allday',
|
48 |
+
'one_occurrence',
|
49 |
+
'mec_hide_time',
|
50 |
+
'mec_hide_end_time',
|
51 |
+
'mec_comment',
|
52 |
+
'mec_timezone',
|
53 |
+
'mec_countdown_method',
|
54 |
+
'mec_public',
|
55 |
+
|
56 |
+
'mec_start_date',
|
57 |
+
'mec_start_time_hour',
|
58 |
+
'mec_start_time_minutes',
|
59 |
+
'mec_start_time_ampm',
|
60 |
+
'mec_start_day_seconds',
|
61 |
+
|
62 |
+
'mec_end_date',
|
63 |
+
'mec_end_time_hour',
|
64 |
+
'mec_end_time_minutes',
|
65 |
+
'mec_end_time_ampm',
|
66 |
+
'mec_end_day_seconds',
|
67 |
+
|
68 |
+
'mec_repeat_status',
|
69 |
+
'mec_repeat_type',
|
70 |
+
'mec_repeat_interval',
|
71 |
+
'mec_repeat_end',
|
72 |
+
'mec_repeat_end_at_occurrences',
|
73 |
+
'mec_repeat_end_at_date',
|
74 |
+
'mec_advanced_days',
|
75 |
+
|
76 |
+
'mec_event_date_submit',
|
77 |
+
|
78 |
+
'mec_in_days',
|
79 |
+
'mec_not_in_days',
|
80 |
+
'mec_hourly_schedules',
|
81 |
+
'mec_booking',
|
82 |
+
|
83 |
+
'mec_tickets',
|
84 |
+
'mec_fees_global_inheritance',
|
85 |
+
'mec_fees',
|
86 |
+
|
87 |
+
'mec_ticket_variations_global_inheritance',
|
88 |
+
'mec_ticket_variations',
|
89 |
+
'mec_reg_fields_global_inheritance',
|
90 |
+
|
91 |
+
'mec_reg_fields',
|
92 |
+
'mec_bfixed_fields',
|
93 |
+
'mec_op',
|
94 |
+
|
95 |
+
'mec_fields',
|
96 |
+
'mec_notifications',
|
97 |
+
);
|
98 |
+
|
99 |
+
}
|
100 |
+
}
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Events;
|
4 |
+
|
5 |
+
use MEC\Singleton;
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
class EventsQuery extends Singleton{
|
10 |
+
|
11 |
+
public function parse_args($q_args){
|
12 |
+
|
13 |
+
$default = array(
|
14 |
+
'post_type' => 'mec-events',
|
15 |
+
'fields' => '',
|
16 |
+
'posts_per_page' => get_option('posts_per_page',12),
|
17 |
+
'post_status' => array('publish','pending','draft','future','private'),
|
18 |
+
'meta_query' => array(
|
19 |
+
'relation' => 'AND',
|
20 |
+
),
|
21 |
+
'post__in' => array(),
|
22 |
+
'meta_query' => array(),
|
23 |
+
);
|
24 |
+
|
25 |
+
if(is_numeric($q_args) && $q_args > 0){
|
26 |
+
|
27 |
+
$q_args = array(
|
28 |
+
'event_id' => $q_args
|
29 |
+
);
|
30 |
+
}
|
31 |
+
|
32 |
+
$q_args = wp_parse_args( $q_args, $default );
|
33 |
+
|
34 |
+
return $q_args;
|
35 |
+
}
|
36 |
+
|
37 |
+
public function get_tax_query($q_args){
|
38 |
+
|
39 |
+
$taxonomies = array(
|
40 |
+
'label',
|
41 |
+
'category',
|
42 |
+
'location',
|
43 |
+
'organizer',
|
44 |
+
'speaker',
|
45 |
+
'event_type',
|
46 |
+
'event_type_2',
|
47 |
+
);
|
48 |
+
|
49 |
+
$tax_query = array(
|
50 |
+
'relation'=>'AND'
|
51 |
+
);
|
52 |
+
|
53 |
+
foreach($q_args as $tax => $v){
|
54 |
+
|
55 |
+
if(!empty($v) && in_array($tax,$taxonomies)){
|
56 |
+
|
57 |
+
$taxonomy = 'mec_'.$tax;
|
58 |
+
$tax_query[$taxonomy.'_term_ids'] = array(
|
59 |
+
'taxonomy'=> $taxonomy,
|
60 |
+
'field'=>'term_id',
|
61 |
+
'terms'=> !is_array($v) ? explode(',', trim($v, ', ')) : (array)$v,
|
62 |
+
);
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
$tax_query = apply_filters('mec_map_tax_query', $tax_query,$q_args);
|
67 |
+
|
68 |
+
return $tax_query;
|
69 |
+
}
|
70 |
+
|
71 |
+
public function get_events($q_args){
|
72 |
+
|
73 |
+
$tax_query = array_merge_recursive(
|
74 |
+
isset($q_args['tax_query']) ? $q_args['tax_query'] : array(),
|
75 |
+
$this->get_tax_query($q_args)
|
76 |
+
);
|
77 |
+
$q_args['tax_query'] = $tax_query;
|
78 |
+
|
79 |
+
$q_args = $this->parse_args($q_args);
|
80 |
+
|
81 |
+
//event_ids start
|
82 |
+
if(array_key_exists('event_id',$q_args) && !empty($q_args['event_id'])){
|
83 |
+
|
84 |
+
$q_args['meta_query']['event_id'] = array(
|
85 |
+
'key' => 'mec_event_id',
|
86 |
+
'value' => $q_args['event_id'],
|
87 |
+
'compare' => '=',
|
88 |
+
);
|
89 |
+
}
|
90 |
+
|
91 |
+
if(array_key_exists('event_ids__in',$q_args)){
|
92 |
+
|
93 |
+
$q_args['meta_query']['event_ids__in'] = array(
|
94 |
+
'key' => 'mec_event_id',
|
95 |
+
'value' => (array) $q_args['event_ids__in'],
|
96 |
+
'compare' => 'IN',
|
97 |
+
);
|
98 |
+
}
|
99 |
+
|
100 |
+
if(array_key_exists('event_ids__not_in',$q_args)){
|
101 |
+
|
102 |
+
$q_args['meta_query']['event_ids__not_in'] = array(
|
103 |
+
'key' => 'mec_event_id',
|
104 |
+
'value' => (array) $q_args['event_ids__not_in'],
|
105 |
+
'compare' => 'NOT IN',
|
106 |
+
);
|
107 |
+
}
|
108 |
+
//event_ids end
|
109 |
+
|
110 |
+
//other meta start
|
111 |
+
if(array_key_exists('attendee_email',$q_args) && !empty($q_args['event_id'])){
|
112 |
+
|
113 |
+
$q_args['meta_query']['attendee_email'] = array(
|
114 |
+
'key' => 'mec_attendees',
|
115 |
+
'value' => '"'.$q_args['attendee_email'].'"',
|
116 |
+
'compare' => 'LIKE',
|
117 |
+
);
|
118 |
+
}
|
119 |
+
|
120 |
+
if(array_key_exists('confirmed',$q_args) && !empty($q_args['confirmed'])){
|
121 |
+
|
122 |
+
$q_args['meta_query']['confirmed'] = array(
|
123 |
+
'key' => 'mec_confirmed',
|
124 |
+
'value' => $q_args['confirmed'],
|
125 |
+
'compare' => '=',
|
126 |
+
);
|
127 |
+
}
|
128 |
+
|
129 |
+
if(array_key_exists('verified',$q_args) && !empty($q_args['confirmed'])){
|
130 |
+
|
131 |
+
$q_args['meta_query']['verified'] = array(
|
132 |
+
'key' => 'mec_verified',
|
133 |
+
'value' => $q_args['verified'],
|
134 |
+
'compare' => '=',
|
135 |
+
);
|
136 |
+
}
|
137 |
+
//other meta end
|
138 |
+
|
139 |
+
return get_posts($q_args);
|
140 |
+
}
|
141 |
+
|
142 |
+
public function get_events_ids($q_args){
|
143 |
+
|
144 |
+
$default = array(
|
145 |
+
'limit' => -1,
|
146 |
+
'fields' => 'ids',
|
147 |
+
);
|
148 |
+
|
149 |
+
$q_args = wp_parse_args($q_args,$default);
|
150 |
+
|
151 |
+
return $this->get_events($q_args);
|
152 |
+
}
|
153 |
+
|
154 |
+
public function get_last_event($return = 'post'){
|
155 |
+
|
156 |
+
$query_args = $this->parse_args(
|
157 |
+
array(
|
158 |
+
'posts_per_page' => 1,
|
159 |
+
'order' => 'DESC',
|
160 |
+
'orderby' => 'ID'
|
161 |
+
)
|
162 |
+
);
|
163 |
+
$events = get_posts($query_args);
|
164 |
+
|
165 |
+
if(isset($events[0]) && !empty($events[0])){
|
166 |
+
switch($return){
|
167 |
+
case 'event':
|
168 |
+
$event = new Event($events[0]);
|
169 |
+
return $event->get_detail();
|
170 |
+
|
171 |
+
break;
|
172 |
+
case 'post':
|
173 |
+
default:
|
174 |
+
|
175 |
+
return (array)$events[0];
|
176 |
+
|
177 |
+
break;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
|
181 |
+
return false;
|
182 |
+
}
|
183 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Forms;
|
4 |
+
|
5 |
+
use MEC\Settings\Settings;
|
6 |
+
use MEC\Singleton;
|
7 |
+
|
8 |
+
class CustomForm extends Singleton {
|
9 |
+
|
10 |
+
public function get_fields( $group_id, $event_id = null, $translated_event_id = null ) {
|
11 |
+
|
12 |
+
if(is_null($event_id)){
|
13 |
+
|
14 |
+
$event_id = ('mec-events' === get_post_type()) ? get_the_ID() : null;
|
15 |
+
}
|
16 |
+
|
17 |
+
$form_id = str_replace( array( '_reg', '_bfixed', '' ), '', $group_id );
|
18 |
+
$group_id .= '_fields';
|
19 |
+
$primary_group_id = $group_id;
|
20 |
+
|
21 |
+
if ( false === strpos( $form_id, 'general' ) && ( !isset($_GET['page']) || 'MEC-settings' !== $_GET['page'] ) ) {
|
22 |
+
|
23 |
+
$status_key = 'form_' . $form_id . '_status';
|
24 |
+
$status = Settings::getInstance()->get_settings( $status_key );
|
25 |
+
switch ( $status ) {
|
26 |
+
case 'enable':
|
27 |
+
|
28 |
+
break;
|
29 |
+
case 'default':
|
30 |
+
default:
|
31 |
+
$group_keys = explode( '_', $form_id );
|
32 |
+
$group_id = str_replace( end( $group_keys ), 'general', $group_id );
|
33 |
+
break;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
$options = Settings::getInstance()->get_options();
|
38 |
+
$fields = isset( $options[ $group_id ] ) ? $options[ $group_id ] : array();
|
39 |
+
|
40 |
+
|
41 |
+
return apply_filters( 'mec_get_custom_form_fields', $fields, $event_id, $form_id, $group_id, $primary_group_id,$translated_event_id );
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
public function get_reg_fields( $group_id, $event_id = null, $translated_event_id = null ) {
|
46 |
+
|
47 |
+
$group_id .= '_reg';
|
48 |
+
$mec_email = false;
|
49 |
+
$mec_name = false;
|
50 |
+
|
51 |
+
$fields = $this->get_fields( $group_id, $event_id, $translated_event_id );
|
52 |
+
|
53 |
+
if ( !is_array( $fields ) ) {
|
54 |
+
$fields = array();
|
55 |
+
}
|
56 |
+
|
57 |
+
foreach ( $fields as $field ) {
|
58 |
+
if ( isset( $field['type'] ) ) {
|
59 |
+
if ( 'name' === $field['type'] ) {
|
60 |
+
$mec_name = true;
|
61 |
+
}
|
62 |
+
if ( 'mec_email' === $field['type'] ) {
|
63 |
+
$mec_email = true;
|
64 |
+
}
|
65 |
+
} else {
|
66 |
+
break;
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
if ( !$mec_name ) {
|
71 |
+
array_unshift(
|
72 |
+
$fields,
|
73 |
+
array(
|
74 |
+
'mandatory' => '0',
|
75 |
+
'type' => 'name',
|
76 |
+
'label' => esc_html__( 'Name', 'modern-events-calendar-lite' ),
|
77 |
+
)
|
78 |
+
);
|
79 |
+
}
|
80 |
+
|
81 |
+
if ( !$mec_email ) {
|
82 |
+
array_unshift(
|
83 |
+
$fields,
|
84 |
+
array(
|
85 |
+
'mandatory' => '0',
|
86 |
+
'type' => 'mec_email',
|
87 |
+
'label' => esc_html__( 'Email', 'modern-events-calendar-lite' ),
|
88 |
+
)
|
89 |
+
);
|
90 |
+
}
|
91 |
+
|
92 |
+
return $fields;
|
93 |
+
}
|
94 |
+
|
95 |
+
public function get_fixed_fields( $group_id, $event_id = null, $translated_event_id = null ) {
|
96 |
+
|
97 |
+
$group_id .= '_bfixed';
|
98 |
+
|
99 |
+
return $this->get_fields( $group_id, $event_id, $translated_event_id );
|
100 |
+
}
|
101 |
+
|
102 |
+
public function display_reg_fields( $group_id, $event_id = null, $attendee_id = 0, $translated_event_id = null, $data = array() ) {
|
103 |
+
|
104 |
+
if ( is_null( $event_id ) ) {
|
105 |
+
|
106 |
+
$event_id = get_the_ID();
|
107 |
+
}
|
108 |
+
|
109 |
+
$fields = $this->get_reg_fields( $group_id, $event_id );
|
110 |
+
ob_start();
|
111 |
+
DisplayFields::display_fields( $group_id, 'reg', $fields, $attendee_id,[], $data );
|
112 |
+
|
113 |
+
return ob_get_clean();
|
114 |
+
}
|
115 |
+
|
116 |
+
public function display_fixed_fields( $group_id, $event_id = null, $translated_event_id = null, $data = array() ) {
|
117 |
+
|
118 |
+
if ( is_null( $event_id ) ) {
|
119 |
+
|
120 |
+
$event_id = get_the_ID();
|
121 |
+
}
|
122 |
+
|
123 |
+
$fields = $this->get_fixed_fields( $group_id, $event_id );
|
124 |
+
ob_start();
|
125 |
+
DisplayFields::display_fields( $group_id, 'fixed', $fields, 0, [], $data );
|
126 |
+
|
127 |
+
return ob_get_clean();
|
128 |
+
}
|
129 |
+
|
130 |
+
public function display_fields( $group_id, $event_id = null, $attendee_id = 0,$data = [] ) {
|
131 |
+
|
132 |
+
$fixed_data = isset($data['fixed']) && is_array($data['fixed']) ? $data['fixed'] : [];
|
133 |
+
$html = $this->display_fixed_fields( $group_id, $event_id, null, $fixed_data );
|
134 |
+
|
135 |
+
$reg_data = isset($data['reg']) && is_array($data['reg']) ? $data['reg'] : [];
|
136 |
+
$html .= $this->display_reg_fields( $group_id, $event_id, $attendee_id, null, $reg_data );
|
137 |
+
|
138 |
+
return $html;
|
139 |
+
}
|
140 |
+
|
141 |
+
}
|
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace MEC\Forms;
|
5 |
+
|
6 |
+
use MEC\Settings\Settings;
|
7 |
+
|
8 |
+
class DisplayFields {
|
9 |
+
|
10 |
+
public static function display_fields( $group_id, $form_type, $fields = null, $j = null, $settings = array(), $data = array() ) {
|
11 |
+
|
12 |
+
if ( !is_array( $fields ) || empty( $fields ) ) {
|
13 |
+
|
14 |
+
return;
|
15 |
+
}
|
16 |
+
|
17 |
+
$lock_prefilled = isset( $settings['lock_prefilled'] ) ? $settings['lock_prefilled'] : false;
|
18 |
+
?>
|
19 |
+
<!-- Custom fields begin -->
|
20 |
+
<?php
|
21 |
+
foreach ( $fields as $field_id => $field ) :
|
22 |
+
|
23 |
+
if(in_array($field_id, [':i:',':fi:','_i_','_fi_',], true)){
|
24 |
+
|
25 |
+
continue;
|
26 |
+
}
|
27 |
+
|
28 |
+
$type = isset( $field['type'] ) ? $field['type'] : false;
|
29 |
+
if ( false === $type ) {
|
30 |
+
continue;
|
31 |
+
}
|
32 |
+
|
33 |
+
$j = !is_null($j) ? $j : $field_id;
|
34 |
+
$field_id = isset($field['key']) && !empty($field['key']) ? $field['key'] : $field_id;
|
35 |
+
$html_id = 'mec_field_' . $group_id . '_' . $type . '_' . $j;
|
36 |
+
$required = ( ( isset( $field['required'] ) && $field['required'] ) || ( isset( $field['mandatory'] ) && $field['mandatory'] ) ) ? 'required="required"' : '';
|
37 |
+
$field_label = isset($field['label']) ? $field['label'] : null;
|
38 |
+
|
39 |
+
$field_name = strtolower( str_replace( [
|
40 |
+
' ',
|
41 |
+
',',
|
42 |
+
':',
|
43 |
+
'"',
|
44 |
+
"'",
|
45 |
+
], '_', $field_label ) );
|
46 |
+
|
47 |
+
$field_id = strtolower( str_replace( [
|
48 |
+
' ',
|
49 |
+
',',
|
50 |
+
':',
|
51 |
+
'"',
|
52 |
+
"'",
|
53 |
+
], '_', $field_id ) );
|
54 |
+
|
55 |
+
if ( isset( $field['single_row'] ) && 'enable' === $field['single_row'] ) : ?>
|
56 |
+
<div class="clearfix"></div>
|
57 |
+
<?php endif; ?>
|
58 |
+
|
59 |
+
<?php
|
60 |
+
$class = '';
|
61 |
+
if ( isset( $field['inline'] ) && 'enable' === $field['inline'] ) {
|
62 |
+
$class = ' col-md-6';
|
63 |
+
} elseif ( isset( $field['inline_third'] ) && 'enable' === $field['inline_third'] ) {
|
64 |
+
$class = ' col-md-4';
|
65 |
+
} else {
|
66 |
+
$class = ' col-md-12';
|
67 |
+
}
|
68 |
+
|
69 |
+
if(is_admin()){
|
70 |
+
|
71 |
+
$class .= ' mec-form-row';
|
72 |
+
}
|
73 |
+
?>
|
74 |
+
<div class="mec-field-<?php echo $field['type']; ?> <?php $required ? 'mec-reg-mandatory' : ''; ?> <?php echo $class; ?>" data-field-id="<?php echo $j; ?>">
|
75 |
+
<?php
|
76 |
+
global $current_user;
|
77 |
+
$attributes = '';
|
78 |
+
switch ( $type ) {
|
79 |
+
case 'name':
|
80 |
+
$field_type = 'text';
|
81 |
+
$field_id = 'name';
|
82 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'Name';
|
83 |
+
$value = $current_user->display_name;
|
84 |
+
break;
|
85 |
+
case 'mec_email':
|
86 |
+
$field_type = 'email';
|
87 |
+
$field_id = $type;
|
88 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'Email';
|
89 |
+
$value = isset( $current_user->user_email ) ? $current_user->user_email : '';
|
90 |
+
case 'email':
|
91 |
+
$field_type = 'email';
|
92 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'Email';
|
93 |
+
$value = isset( $current_user->user_email ) ? $current_user->user_email : '';
|
94 |
+
break;
|
95 |
+
case 'text':
|
96 |
+
$field_type = 'text';
|
97 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : '';
|
98 |
+
$value = '';
|
99 |
+
break;
|
100 |
+
case 'date':
|
101 |
+
$field_type = 'date';
|
102 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'Date';
|
103 |
+
$value = '';
|
104 |
+
$class = 'mec-date-picker';
|
105 |
+
$attributes = ' min="' . esc_attr( date( 'Y-m-d', strtotime( '-100 years' ) ) ) . '" max="' . esc_attr( date( 'Y-m-d', strtotime( '+100 years' ) ) ) . '" onload="mec_add_datepicker()"';
|
106 |
+
break;
|
107 |
+
case 'file':
|
108 |
+
$field_type = 'file';
|
109 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'File';
|
110 |
+
$value = '';
|
111 |
+
break;
|
112 |
+
case 'tel':
|
113 |
+
$field_type = 'tel';
|
114 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : 'Tel';
|
115 |
+
$value = '';
|
116 |
+
break;
|
117 |
+
case 'textarea':
|
118 |
+
$field_type = 'textarea';
|
119 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : '';
|
120 |
+
$value = '';
|
121 |
+
break;
|
122 |
+
case 'select':
|
123 |
+
$field_type = 'select';
|
124 |
+
$field['label'] = isset( $field['label'] ) ? $field['label'] : '';
|
125 |
+
$value = '';
|
126 |
+
$selected = '';
|
127 |
+
break;
|
128 |
+
case 'radio':
|
129 |
+
case 'checkbox':
|
130 |
+
$field_type = $type;
|
131 |
+
$value = '';
|
132 |
+
break;
|
133 |
+
case 'agreement':
|
134 |
+
|
135 |
+
break;
|
136 |
+
|
137 |
+
}
|
138 |
+
|
139 |
+
if( 'fixed' === $form_type || ( 'reg' === $form_type && in_array($field_id,['mec_email','name'],true) ) ){
|
140 |
+
|
141 |
+
$field_id = 'mec_email' === $field_id ? 'email' : $field_id;
|
142 |
+
$value = isset($data[$field_id]) ? $data[$field_id] : $value;
|
143 |
+
} else {
|
144 |
+
|
145 |
+
$value = isset($data[$form_type][$field_id]) ? $data[$form_type][$field_id] : $value;
|
146 |
+
}
|
147 |
+
|
148 |
+
$lock_field = !empty( $value );
|
149 |
+
$lock_field = ( $lock_field && ( $lock_prefilled == 1 or ( $lock_prefilled == 2 and $j == 1 ) ) ) ? 'readonly' : '';
|
150 |
+
|
151 |
+
if('reg' === $form_type){
|
152 |
+
|
153 |
+
$field_name = 'rsvp[attendees][' . $j . '][' . $form_type . '][' . $field_id . ']';
|
154 |
+
}else{
|
155 |
+
|
156 |
+
$field_name = 'rsvp[' . $form_type . '][' . $field_id . ']';
|
157 |
+
}
|
158 |
+
// Display Label
|
159 |
+
if ( isset( $field['label'] ) && !empty( $field['label'] ) ) {
|
160 |
+
|
161 |
+
$label_field = '<label for="' . $html_id . '" style="display:block" class="' . ( $required ? 'required' : '' ) . '">'
|
162 |
+
. __( $field['label'], 'modern-events-calendar-lite' )
|
163 |
+
. ( $required ? '<span class="wbmec-mandatory">*</span>' : '' )
|
164 |
+
. '</label>';
|
165 |
+
|
166 |
+
echo is_admin() ? '<div class="mec-col-2">'.$label_field.'</div>' : $label_field;
|
167 |
+
}
|
168 |
+
|
169 |
+
$input_html = '';
|
170 |
+
// Display Input
|
171 |
+
switch ( $type ) {
|
172 |
+
case 'name':
|
173 |
+
case 'mec_email':
|
174 |
+
|
175 |
+
$placeholder = ( isset( $field['placeholder'] ) && $field['placeholder'] ) ? __( $field['placeholder'], 'modern-events-calendar-lite' ) : __( $field['label'], 'modern-events-calendar-lite' );
|
176 |
+
$input_html = '<input id="' . $html_id . '" class="' . $class . '" type="' . $field_type . '" name="rsvp[attendees][' . $j . '][' . $type . ']" value="' . trim( $value ) . '" placeholder="' . $placeholder . '" ' . $required . ' ' . $lock_field . ' ' . $attributes . ' />';
|
177 |
+
|
178 |
+
break;
|
179 |
+
case 'text':
|
180 |
+
case 'date':
|
181 |
+
case 'file':
|
182 |
+
case 'email':
|
183 |
+
case 'tel':
|
184 |
+
|
185 |
+
$placeholder = ( isset( $field['placeholder'] ) && $field['placeholder'] ) ? __( $field['placeholder'], 'modern-events-calendar-lite' ) : __( $field['label'], 'modern-events-calendar-lite' );
|
186 |
+
$input_html = '<input id="' . $html_id . '" class="' . $class . '" type="' . $field_type . '" name="' . $field_name . '" value="' . trim( $value ) . '" placeholder="' . $placeholder . '" ' . $required . ' ' . $lock_field . ' ' . $attributes . ' />';
|
187 |
+
|
188 |
+
break;
|
189 |
+
case 'textarea':
|
190 |
+
|
191 |
+
$placeholder = ( isset( $field['placeholder'] ) && $field['placeholder'] ) ? __( $field['placeholder'], 'modern-events-calendar-lite' ) : __( $field['label'], 'modern-events-calendar-lite' );
|
192 |
+
$input_html = '<textarea id="' . $html_id . '" class="' . $class . '" name="' . $field_name . '" value="' . trim( $value ) . '" placeholder="' . $placeholder . '" ' . $required . ' ' . $lock_field . ' ' . $attributes . ' ></textarea>';
|
193 |
+
|
194 |
+
break;
|
195 |
+
case 'select':
|
196 |
+
|
197 |
+
$placeholder = '';
|
198 |
+
$input_html = '<select id="' . $html_id . '" class="' . $class . '" name="'.$field_name.'" placeholder="' . $placeholder . '" ' . $required . ' ' . $lock_field . ' ' . $attributes . ' >';
|
199 |
+
$rd = 0;
|
200 |
+
$selected = $value;
|
201 |
+
$options = isset($field['options']) ? $field['options'] : [];
|
202 |
+
foreach ( $options as $field_option ) {
|
203 |
+
$rd++;
|
204 |
+
$option_text = isset( $field_option['label'] ) ? __( $field_option['label'], 'modern-events-calendar-lite' ) : '';
|
205 |
+
$option_value = ( $rd === 1 and isset( $field['ignore'] ) and $field['ignore'] ) ? '' : esc_attr__( $field_option['label'], 'modern-events-calendar-lite' );
|
206 |
+
|
207 |
+
$input_html .= '<option value="' . $option_value . '" ' . selected( $selected, $option_value, false ) . '>' . $option_text . '</option>';
|
208 |
+
}
|
209 |
+
$input_html .= '</select>';
|
210 |
+
|
211 |
+
break;
|
212 |
+
case 'radio':
|
213 |
+
case 'checkbox':
|
214 |
+
$options = isset($field['options']) ? $field['options'] : [];
|
215 |
+
foreach ( $options as $field_option ) {
|
216 |
+
$current_value = __( $field_option['label'], 'modern-events-calendar-lite' );
|
217 |
+
$checked = in_array($current_value,(array)$value);
|
218 |
+
$input_html .= '<label for="' . $html_id . $j . '_' . strtolower( str_replace( ' ', '_', $field_option['label'] ) ) . '">'
|
219 |
+
. '<input type="' . $field_type . '" id="mec_' . $form_type . '_field_' . $type . $j . '_' . $field_id . '_' . strtolower( str_replace( ' ', '_', $field_option['label'] ) ) . '" name="' . $field_name . '[]" value="' . $current_value . '" '.checked($checked,true,false).'/>'
|
220 |
+
. __( $field_option['label'], 'modern-events-calendar-lite' )
|
221 |
+
. '</label>';
|
222 |
+
}
|
223 |
+
|
224 |
+
break;
|
225 |
+
case 'agreement':
|
226 |
+
|
227 |
+
$checked = isset( $field['status'] ) ? $field['status'] : 'checked';
|
228 |
+
$input_html = '<label for="' . $html_id . $j . '">'
|
229 |
+
. '<input type="checkbox" id="' . $html_id . $j . '" name="' . $field_name . '" value="1" ' . checked( $checked, 'checked', false ) . ' onchange="mec_agreement_change(this);"/>'
|
230 |
+
. ( $required ? '<span class="wbmec-mandatory">*</span>' : '' )
|
231 |
+
. sprintf( __( stripslashes( $field['label'] ), 'modern-events-calendar-lite' ), '<a href="' . get_the_permalink( $field['page'] ) . '" target="_blank">' . get_the_title( $field['page'] ) . '</a>' )
|
232 |
+
. '</label>';
|
233 |
+
|
234 |
+
break;
|
235 |
+
|
236 |
+
case 'p':
|
237 |
+
|
238 |
+
$input_html = '<p>' . do_shortcode( stripslashes( $field['content'] ) ) . '</p>';
|
239 |
+
|
240 |
+
break;
|
241 |
+
}
|
242 |
+
|
243 |
+
echo is_admin() ? '<div class="mec-col-2">'.$input_html.'</div>' : $input_html;
|
244 |
+
?>
|
245 |
+
</div>
|
246 |
+
<?php endforeach;
|
247 |
+
|
248 |
+
}
|
249 |
+
|
250 |
+
}
|
@@ -0,0 +1,628 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Forms;
|
4 |
+
|
5 |
+
use MEC\Singleton;
|
6 |
+
|
7 |
+
class FormFields extends Singleton {
|
8 |
+
|
9 |
+
public function input_key($key,$field_type, $values = array(), $prefix = 'reg'){
|
10 |
+
|
11 |
+
$allowed_mapping_for = array(
|
12 |
+
'text',
|
13 |
+
'url',
|
14 |
+
'date',
|
15 |
+
'tel',
|
16 |
+
'textarea',
|
17 |
+
'checkbox',
|
18 |
+
'select',
|
19 |
+
);
|
20 |
+
|
21 |
+
$html = '';
|
22 |
+
if(false !== strpos($prefix,'_reg') && in_array($field_type,$allowed_mapping_for)){
|
23 |
+
|
24 |
+
$v = isset( $values['mapping'] ) ? $values['mapping'] : '';
|
25 |
+
$html = $this->get_wp_user_fields_dropdown(
|
26 |
+
'mec[' . $prefix . '_fields][' . $key . '][mapping]',
|
27 |
+
$v
|
28 |
+
);
|
29 |
+
}
|
30 |
+
|
31 |
+
$html .= '<div>
|
32 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][key]" placeholder="' . esc_attr__( 'Insert a key for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['key'] ) ? stripslashes( $values['key'] ) : '' ) . '" />
|
33 |
+
</div>';
|
34 |
+
|
35 |
+
|
36 |
+
return $html;
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Show text field options in booking form
|
41 |
+
*
|
42 |
+
* @param string $key
|
43 |
+
* @param array $values
|
44 |
+
* @param string $prefix
|
45 |
+
*
|
46 |
+
* @return string
|
47 |
+
*/
|
48 |
+
public function field_text( $key, $values = array(), $prefix = 'reg' ) {
|
49 |
+
|
50 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '" class="mec_form_field_item">
|
51 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
52 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Text', 'modern-events-calendar-lite' ) . '</span>
|
53 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
54 |
+
<p class="mec_' . $prefix . '_field_options">
|
55 |
+
<label>
|
56 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
57 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
58 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
59 |
+
</label>
|
60 |
+
</p>
|
61 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
62 |
+
<div>
|
63 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="text" />
|
64 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
65 |
+
' . $this->input_key( $key, 'text', $values, $prefix ) . '
|
66 |
+
</div>
|
67 |
+
</li>';
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Show text field options in booking form
|
72 |
+
*
|
73 |
+
* @param string $key
|
74 |
+
* @param array $values
|
75 |
+
* @param string $prefix
|
76 |
+
*
|
77 |
+
* @return string
|
78 |
+
*/
|
79 |
+
public function field_name( $key, $values = array(), $prefix = 'reg' ) {
|
80 |
+
|
81 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
82 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
83 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'MEC Name', 'modern-events-calendar-lite' ) . '</span>
|
84 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
85 |
+
<p class="mec_' . $prefix . '_field_options" style="display:none">
|
86 |
+
<label>
|
87 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" />
|
88 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" checked="checked" disabled />
|
89 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
90 |
+
</label>
|
91 |
+
</p>
|
92 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
93 |
+
<div>
|
94 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="name" />
|
95 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
96 |
+
</div>
|
97 |
+
</li>';
|
98 |
+
}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Show text field options in booking form
|
102 |
+
*
|
103 |
+
* @param string $key
|
104 |
+
* @param array $values
|
105 |
+
* @param string $prefix
|
106 |
+
*
|
107 |
+
* @return string
|
108 |
+
*/
|
109 |
+
public function field_mec_email( $key, $values = array(), $prefix = 'reg' ) {
|
110 |
+
|
111 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
112 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
113 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'MEC Email', 'modern-events-calendar-lite' ) . '</span>
|
114 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
115 |
+
<p class="mec_' . $prefix . '_field_options" style="display:none">
|
116 |
+
<label>
|
117 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" />
|
118 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" checked="checked" disabled />
|
119 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
120 |
+
</label>
|
121 |
+
</p>
|
122 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
123 |
+
<div>
|
124 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="mec_email" />
|
125 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
126 |
+
</div>
|
127 |
+
</li>';
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Show email field options in booking form
|
132 |
+
*
|
133 |
+
* @param string $key
|
134 |
+
* @param array $values
|
135 |
+
* @param string $prefix
|
136 |
+
*
|
137 |
+
* @return string
|
138 |
+
*/
|
139 |
+
public function field_email( $key, $values = array(), $prefix = 'reg' ) {
|
140 |
+
|
141 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
142 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
143 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Email', 'modern-events-calendar-lite' ) . '</span>
|
144 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
145 |
+
<p class="mec_' . $prefix . '_field_options">
|
146 |
+
<label>
|
147 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
148 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
149 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
150 |
+
</label>
|
151 |
+
</p>
|
152 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
153 |
+
<div>
|
154 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="email" />
|
155 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
156 |
+
' . $this->input_key( $key, 'email', $values, $prefix ) . '
|
157 |
+
</div>
|
158 |
+
</li>';
|
159 |
+
}
|
160 |
+
|
161 |
+
/**
|
162 |
+
* Show URL field options in forms
|
163 |
+
*
|
164 |
+
* @param string $key
|
165 |
+
* @param array $values
|
166 |
+
* @param string $prefix
|
167 |
+
*
|
168 |
+
* @return string
|
169 |
+
*/
|
170 |
+
public function field_url( $key, $values = array(), $prefix = 'reg' ) {
|
171 |
+
|
172 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
173 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
174 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'URL', 'modern-events-calendar-lite' ) . '</span>
|
175 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
176 |
+
<p class="mec_' . $prefix . '_field_options">
|
177 |
+
<label>
|
178 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
179 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
180 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
181 |
+
</label>
|
182 |
+
</p>
|
183 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
184 |
+
<div>
|
185 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="url" />
|
186 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
187 |
+
' . $this->input_key( $key, 'url', $values, $prefix ) . '
|
188 |
+
</div>
|
189 |
+
</li>';
|
190 |
+
}
|
191 |
+
|
192 |
+
/**
|
193 |
+
* Show file field options in booking form
|
194 |
+
*
|
195 |
+
* @param string $key
|
196 |
+
* @param array $values
|
197 |
+
* @param string $prefix
|
198 |
+
*
|
199 |
+
* @return string
|
200 |
+
*/
|
201 |
+
public function field_file( $key, $values = array(), $prefix = 'reg' ) {
|
202 |
+
|
203 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
204 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
205 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'File', 'modern-events-calendar-lite' ) . '</span>
|
206 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
207 |
+
<p class="mec_' . $prefix . '_field_options">
|
208 |
+
<label>
|
209 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
210 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
211 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
212 |
+
</label>
|
213 |
+
</p>
|
214 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
215 |
+
<div>
|
216 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="file" />
|
217 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
218 |
+
</div>
|
219 |
+
</li>';
|
220 |
+
}
|
221 |
+
|
222 |
+
/**
|
223 |
+
* Show date field options in booking form
|
224 |
+
*
|
225 |
+
* @param string $key
|
226 |
+
* @param array $values
|
227 |
+
* @param string $prefix
|
228 |
+
*
|
229 |
+
* @return string
|
230 |
+
*/
|
231 |
+
public function field_date( $key, $values = array(), $prefix = 'reg' ) {
|
232 |
+
|
233 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
234 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
235 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Date', 'modern-events-calendar-lite' ) . '</span>
|
236 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
237 |
+
<p class="mec_' . $prefix . '_field_options">
|
238 |
+
<label>
|
239 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
240 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
241 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
242 |
+
</label>
|
243 |
+
</p>
|
244 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
245 |
+
<div>
|
246 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="date" />
|
247 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
248 |
+
' . $this->input_key( $key, 'date', $values, $prefix ) . '
|
249 |
+
</div>
|
250 |
+
</li>';
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Show tel field options in booking form
|
255 |
+
*
|
256 |
+
* @param string $key
|
257 |
+
* @param array $values
|
258 |
+
* @param string $prefix
|
259 |
+
*
|
260 |
+
* @return string
|
261 |
+
*/
|
262 |
+
public function field_tel( $key, $values = array(), $prefix = 'reg' ) {
|
263 |
+
|
264 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
265 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
266 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Tel', 'modern-events-calendar-lite' ) . '</span>
|
267 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
268 |
+
<p class="mec_' . $prefix . '_field_options">
|
269 |
+
<label>
|
270 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
271 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
272 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
273 |
+
</label>
|
274 |
+
</p>
|
275 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
276 |
+
<div>
|
277 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="tel" />
|
278 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
279 |
+
' . $this->input_key( $key, 'tel', $values, $prefix ) . '
|
280 |
+
</div>
|
281 |
+
</li>';
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* Show textarea field options in booking form
|
286 |
+
*
|
287 |
+
* @param string $key
|
288 |
+
* @param array $values
|
289 |
+
* @param string $prefix
|
290 |
+
*
|
291 |
+
* @return string
|
292 |
+
*/
|
293 |
+
public function field_textarea( $key, $values = array(), $prefix = 'reg' ) {
|
294 |
+
|
295 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
296 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
297 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Textarea', 'modern-events-calendar-lite' ) . '</span>
|
298 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
299 |
+
<p class="mec_' . $prefix . '_field_options">
|
300 |
+
<label>
|
301 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
302 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
303 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
304 |
+
</label>
|
305 |
+
</p>
|
306 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
307 |
+
<div>
|
308 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="textarea" />
|
309 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
310 |
+
' . $this->input_key( $key, 'textarea', $values, $prefix ) . '
|
311 |
+
</div>
|
312 |
+
</li>';
|
313 |
+
}
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Show paragraph field options in booking form
|
317 |
+
*
|
318 |
+
* @param string $key
|
319 |
+
* @param array $values
|
320 |
+
* @param string $prefix
|
321 |
+
*
|
322 |
+
* @return string
|
323 |
+
*/
|
324 |
+
public function field_p( $key, $values = array(), $prefix = 'reg' ) {
|
325 |
+
|
326 |
+
return '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
327 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
328 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Paragraph', 'modern-events-calendar-lite' ) . '</span>
|
329 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
330 |
+
<div>
|
331 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="p" />
|
332 |
+
<textarea name="mec[' . $prefix . '_fields][' . $key . '][content]">' . ( isset( $values['content'] ) ? htmlentities( stripslashes( $values['content'] ) ) : '' ) . '</textarea>
|
333 |
+
<p class="description">' . __( 'HTML and shortcode are allowed.' ) . '</p>
|
334 |
+
</div>
|
335 |
+
</li>';
|
336 |
+
}
|
337 |
+
|
338 |
+
/**
|
339 |
+
* Show checkbox field options in booking form
|
340 |
+
*
|
341 |
+
* @param string $key
|
342 |
+
* @param array $values
|
343 |
+
* @param string $prefix
|
344 |
+
*
|
345 |
+
* @return string
|
346 |
+
*/
|
347 |
+
public function field_checkbox( $key, $values = array(), $prefix = 'reg' ) {
|
348 |
+
|
349 |
+
$i = 0;
|
350 |
+
$field = '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
351 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
352 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Checkboxes', 'modern-events-calendar-lite' ) . '</span>
|
353 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
354 |
+
<p class="mec_' . $prefix . '_field_options">
|
355 |
+
<label>
|
356 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
357 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
358 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
359 |
+
</label>
|
360 |
+
</p>
|
361 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
362 |
+
<div>
|
363 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="checkbox" />
|
364 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
365 |
+
' . $this->input_key( $key, 'checkbox', $values, $prefix ) . '
|
366 |
+
<ul id="mec_' . $prefix . '_fields_' . $key . '_options_container" class="mec_' . $prefix . '_fields_options_container mec_fields_options_container">';
|
367 |
+
|
368 |
+
if ( isset( $values['options'] ) and is_array( $values['options'] ) and count( $values['options'] ) ) {
|
369 |
+
foreach ( $values['options'] as $option_key => $option ) {
|
370 |
+
$i = max( $i, $option_key );
|
371 |
+
$field .= $this->field_option( $key, $option_key, $values, $prefix );
|
372 |
+
}
|
373 |
+
}
|
374 |
+
|
375 |
+
$field .= '</ul>
|
376 |
+
<button type="button" class="mec-' . $prefix . '-field-add-option mec-field-add-option" data-field-id="' . $key . '">' . __( 'Option', 'modern-events-calendar-lite' ) . '</button>
|
377 |
+
<input type="hidden" id="mec_new_' . $prefix . '_field_option_key_' . $key . '" value="' . ( $i + 1 ) . '" />
|
378 |
+
</div>
|
379 |
+
</li>';
|
380 |
+
|
381 |
+
return $field;
|
382 |
+
}
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Show radio field options in booking form
|
386 |
+
*
|
387 |
+
* @param string $key
|
388 |
+
* @param array $values
|
389 |
+
* @param string $prefix
|
390 |
+
*
|
391 |
+
* @return string
|
392 |
+
*/
|
393 |
+
public function field_radio( $key, $values = array(), $prefix = 'reg' ) {
|
394 |
+
|
395 |
+
$i = 0;
|
396 |
+
$field = '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
397 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
398 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Radio Buttons', 'modern-events-calendar-lite' ) . '</span>
|
399 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
400 |
+
<p class="mec_' . $prefix . '_field_options">
|
401 |
+
<label>
|
402 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
403 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
404 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
405 |
+
</label>
|
406 |
+
</p>
|
407 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
408 |
+
<div>
|
409 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="radio" />
|
410 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
411 |
+
' . $this->input_key( $key, 'radio', $values, $prefix ) . '
|
412 |
+
<ul id="mec_' . $prefix . '_fields_' . $key . '_options_container" class="mec_' . $prefix . '_fields_options_container mec_fields_options_container">';
|
413 |
+
|
414 |
+
if ( isset( $values['options'] ) and is_array( $values['options'] ) and count( $values['options'] ) ) {
|
415 |
+
foreach ( $values['options'] as $option_key => $option ) {
|
416 |
+
$i = max( $i, $option_key );
|
417 |
+
$field .= $this->field_option( $key, $option_key, $values, $prefix );
|
418 |
+
}
|
419 |
+
}
|
420 |
+
|
421 |
+
$field .= '</ul>
|
422 |
+
<button type="button" class="mec-' . $prefix . '-field-add-option mec-field-add-option" data-field-id="' . $key . '">' . __( 'Option', 'modern-events-calendar-lite' ) . '</button>
|
423 |
+
<input type="hidden" id="mec_new_' . $prefix . '_field_option_key_' . $key . '" value="' . ( $i + 1 ) . '" />
|
424 |
+
</div>
|
425 |
+
</li>';
|
426 |
+
|
427 |
+
return $field;
|
428 |
+
}
|
429 |
+
|
430 |
+
/**
|
431 |
+
* Show select field options in booking form
|
432 |
+
*
|
433 |
+
* @param string $key
|
434 |
+
* @param array $values
|
435 |
+
* @param string $prefix
|
436 |
+
*
|
437 |
+
* @return string
|
438 |
+
*/
|
439 |
+
public function field_select( $key, $values = array(), $prefix = 'reg' ) {
|
440 |
+
|
441 |
+
$i = 0;
|
442 |
+
$field = '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
443 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
444 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Dropdown', 'modern-events-calendar-lite' ) . '</span>
|
445 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
446 |
+
<p class="mec_' . $prefix . '_field_options">
|
447 |
+
<label>
|
448 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
449 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( isset( $values['mandatory'] ) and $values['mandatory'] ) ? 'checked="checked"' : '' ) . ' />
|
450 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
451 |
+
</label>
|
452 |
+
</p>
|
453 |
+
<p class="mec_' . $prefix . '_field_options">
|
454 |
+
<label>
|
455 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][ignore]" value="0" />
|
456 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][ignore]" value="1" ' . ( ( isset( $values['ignore'] ) and $values['ignore'] ) ? 'checked="checked"' : '' ) . ' />
|
457 |
+
' . __( 'Consider first item as placeholder', 'modern-events-calendar-lite' ) . '
|
458 |
+
</label>
|
459 |
+
</p>
|
460 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
461 |
+
<div>
|
462 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="select" />
|
463 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : '' ) . '" />
|
464 |
+
' . $this->input_key( $key, 'select', $values, $prefix ) . '
|
465 |
+
<ul id="mec_' . $prefix . '_fields_' . $key . '_options_container" class="mec_' . $prefix . '_fields_options_container mec_fields_options_container">';
|
466 |
+
|
467 |
+
if ( isset( $values['options'] ) and is_array( $values['options'] ) and count( $values['options'] ) ) {
|
468 |
+
foreach ( $values['options'] as $option_key => $option ) {
|
469 |
+
$i = max( $i, $option_key );
|
470 |
+
$field .= $this->field_option( $key, $option_key, $values, $prefix );
|
471 |
+
}
|
472 |
+
}
|
473 |
+
|
474 |
+
$field .= '</ul>
|
475 |
+
<button type="button" class="mec-' . $prefix . '-field-add-option mec-field-add-option" data-field-id="' . $key . '">' . __( 'Option', 'modern-events-calendar-lite' ) . '</button>
|
476 |
+
<input type="hidden" id="mec_new_' . $prefix . '_field_option_key_' . $key . '" value="' . ( $i + 1 ) . '" />
|
477 |
+
</div>
|
478 |
+
</li>';
|
479 |
+
|
480 |
+
return $field;
|
481 |
+
}
|
482 |
+
|
483 |
+
/**
|
484 |
+
* Show agreement field options in booking form
|
485 |
+
*
|
486 |
+
* @param string $key
|
487 |
+
* @param array $values
|
488 |
+
* @param string $prefix
|
489 |
+
*
|
490 |
+
* @return string
|
491 |
+
*/
|
492 |
+
public function field_agreement( $key, $values = array(), $prefix = 'reg' ) {
|
493 |
+
|
494 |
+
// WordPress Pages
|
495 |
+
$pages = get_pages();
|
496 |
+
|
497 |
+
$i = 0;
|
498 |
+
$field = '<li id="mec_' . $prefix . '_fields_' . $key . '">
|
499 |
+
<span class="mec_' . $prefix . '_field_sort mec_field_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
500 |
+
<span class="mec_' . $prefix . '_field_type mec_field_type">' . __( 'Agreement', 'modern-events-calendar-lite' ) . '</span>
|
501 |
+
' . ( $prefix === 'event' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%event_field_' . $key . '%%</span>' : ( $prefix === 'bfixed' ? '<span class="mec_' . $prefix . '_notification_placeholder">%%booking_field_' . $key . '%%</span>' : '' ) ) . '
|
502 |
+
<p class="mec_' . $prefix . '_field_options">
|
503 |
+
<label>
|
504 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="0" />
|
505 |
+
<input type="checkbox" name="mec[' . $prefix . '_fields][' . $key . '][mandatory]" value="1" ' . ( ( !isset( $values['mandatory'] ) or ( isset( $values['mandatory'] ) and $values['mandatory'] ) ) ? 'checked="checked"' : '' ) . ' />
|
506 |
+
' . __( 'Required Field', 'modern-events-calendar-lite' ) . '
|
507 |
+
</label>
|
508 |
+
</p>
|
509 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
510 |
+
<div>
|
511 |
+
<input type="hidden" name="mec[' . $prefix . '_fields][' . $key . '][type]" value="agreement" />
|
512 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this field', 'modern-events-calendar-lite' ) . '" value="' . ( isset( $values['label'] ) ? stripslashes( $values['label'] ) : 'I agree with %s' ) . '" /><p class="description">' . __( 'Instead of %s, the page title with a link will be show.', 'modern-events-calendar-lite' ) . '</p>
|
513 |
+
<div>
|
514 |
+
<label for="mec_' . $prefix . '_fields_' . $key . '_page">' . __( 'Agreement Page', 'modern-events-calendar-lite' ) . '</label>
|
515 |
+
<select id="mec_' . $prefix . '_fields_' . $key . '_page" name="mec[' . $prefix . '_fields][' . $key . '][page]">';
|
516 |
+
|
517 |
+
$page_options = '';
|
518 |
+
foreach ( $pages as $page ) {
|
519 |
+
$page_options .= '<option ' . ( ( isset( $values['page'] ) and $values['page'] === $page->ID ) ? 'selected="selected"' : '' ) . ' value="' . $page->ID . '">' . $page->post_title . '</option>';
|
520 |
+
}
|
521 |
+
|
522 |
+
$field .= $page_options . '</select>
|
523 |
+
</div>
|
524 |
+
<div>
|
525 |
+
<label for="mec_' . $prefix . '_fields_' . $key . '_status">' . __( 'Status', 'modern-events-calendar-lite' ) . '</label>
|
526 |
+
<select id="mec_' . $prefix . '_fields_' . $key . '_status" name="mec[' . $prefix . '_fields][' . $key . '][status]">
|
527 |
+
<option value="checked" ' . ( ( isset( $values['status'] ) and $values['status'] === 'checked' ) ? 'selected="selected"' : '' ) . '>' . __( 'Checked by default', 'modern-events-calendar-lite' ) . '</option>
|
528 |
+
<option value="unchecked" ' . ( ( isset( $values['status'] ) and $values['status'] === 'unchecked' ) ? 'selected="selected"' : '' ) . '>' . __( 'Unchecked by default', 'modern-events-calendar-lite' ) . '</option>
|
529 |
+
</select>
|
530 |
+
</div>
|
531 |
+
<input type="hidden" id="mec_new_' . $prefix . '_field_option_key_' . $key . '" value="' . ( $i + 1 ) . '" />
|
532 |
+
</div>
|
533 |
+
</li>';
|
534 |
+
|
535 |
+
return $field;
|
536 |
+
}
|
537 |
+
|
538 |
+
/**
|
539 |
+
* Show option tag parameters in booking form for select, checkbox and radio tags
|
540 |
+
*
|
541 |
+
* @param string $field_key
|
542 |
+
* @param string $key
|
543 |
+
* @param array $values
|
544 |
+
* @param string $prefix
|
545 |
+
*
|
546 |
+
* @return string
|
547 |
+
*/
|
548 |
+
public function field_option( $field_key, $key, $values = array(), $prefix = 'reg' ) {
|
549 |
+
|
550 |
+
return '<li id="mec_' . $prefix . '_fields_option_' . $field_key . '_' . $key . '" class="mec_fields_option">
|
551 |
+
<span class="mec_' . $prefix . '_field_option_sort mec_field_option_sort">' . __( 'Sort', 'modern-events-calendar-lite' ) . '</span>
|
552 |
+
<span class="mec_' . $prefix . '_field_remove mec_field_remove">' . __( 'Remove', 'modern-events-calendar-lite' ) . '</span>
|
553 |
+
<input type="text" name="mec[' . $prefix . '_fields][' . $field_key . '][options][' . $key . '][label]" placeholder="' . esc_attr__( 'Insert a label for this option', 'modern-events-calendar-lite' ) . '" value="' . ( ( isset( $values['options'] ) and isset( $values['options'][ $key ] ) ) ? esc_attr( stripslashes( $values['options'][ $key ]['label'] ) ) : '' ) . '" />
|
554 |
+
</li>';
|
555 |
+
}
|
556 |
+
|
557 |
+
public function get_wp_user_fields_dropdown( $name, $value ) {
|
558 |
+
|
559 |
+
$fields = $this->get_wp_user_fields();
|
560 |
+
|
561 |
+
$dropdown = '<select name="' . esc_attr( $name ) . '" title="' . esc_html__( 'Mapping with Profile Fields', 'modern-events-calendar-lite' ) . '">';
|
562 |
+
$dropdown .= '<option value="">-----</option>';
|
563 |
+
foreach ( $fields as $key => $label ) {
|
564 |
+
$dropdown .= '<option value="' . esc_attr( $key ) . '" ' . ( $value == $key ? 'selected="selected"' : '' ) . '>' . esc_html( $label ) . '</option>';
|
565 |
+
}
|
566 |
+
$dropdown .= '</select>';
|
567 |
+
|
568 |
+
return $dropdown;
|
569 |
+
}
|
570 |
+
|
571 |
+
public function get_wp_user_fields() {
|
572 |
+
|
573 |
+
$raw_fields = get_user_meta( get_current_user_id() );
|
574 |
+
$forbidden = array(
|
575 |
+
'nickname',
|
576 |
+
'syntax_highlighting',
|
577 |
+
'comment_shortcuts',
|
578 |
+
'admin_color',
|
579 |
+
'use_ssl',
|
580 |
+
'show_admin_bar_front',
|
581 |
+
'wp_user_level',
|
582 |
+
'user_last_view_date',
|
583 |
+
'user_last_view_date_events',
|
584 |
+
'wc_last_active',
|
585 |
+
'last_update',
|
586 |
+
'last_activity',
|
587 |
+
'locale',
|
588 |
+
'show_welcome_panel',
|
589 |
+
'rich_editing',
|
590 |
+
'nav_menu_recently_edited',
|
591 |
+
);
|
592 |
+
|
593 |
+
$fields = array();
|
594 |
+
foreach ( $raw_fields as $key => $values ) {
|
595 |
+
if ( substr( $key, 0, 1 ) === '_' ) {
|
596 |
+
continue;
|
597 |
+
}
|
598 |
+
if ( substr( $key, 0, 4 ) === 'icl_' ) {
|
599 |
+
continue;
|
600 |
+
}
|
601 |
+
if ( substr( $key, 0, 4 ) === 'mec_' ) {
|
602 |
+
continue;
|
603 |
+
}
|
604 |
+
if ( substr( $key, 0, 3 ) === 'wp_' ) {
|
605 |
+
continue;
|
606 |
+
}
|
607 |
+
if ( substr( $key, 0, 10 ) === 'dismissed_' ) {
|
608 |
+
continue;
|
609 |
+
}
|
610 |
+
if ( in_array( $key, $forbidden ) ) {
|
611 |
+
continue;
|
612 |
+
}
|
613 |
+
|
614 |
+
$value = ( isset( $values[0] ) ? $values[0] : null );
|
615 |
+
if ( is_array( $value ) ) {
|
616 |
+
continue;
|
617 |
+
}
|
618 |
+
if ( is_serialized( $value ) ) {
|
619 |
+
continue;
|
620 |
+
}
|
621 |
+
|
622 |
+
$fields[ $key ] = trim( ucwords( str_replace( '_', ' ', $key ) ) );
|
623 |
+
}
|
624 |
+
|
625 |
+
return $fields;
|
626 |
+
}
|
627 |
+
|
628 |
+
}
|
@@ -0,0 +1,310 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Forms;
|
4 |
+
|
5 |
+
use MEC\Singleton;
|
6 |
+
|
7 |
+
class SettingsForm extends Singleton {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @var \MEC_Main
|
11 |
+
*/
|
12 |
+
public $main;
|
13 |
+
|
14 |
+
public $enqueue;
|
15 |
+
|
16 |
+
/**
|
17 |
+
* @var \MEC\Forms\FormFields
|
18 |
+
*/
|
19 |
+
private $fieldFactory;
|
20 |
+
|
21 |
+
public function __construct() {
|
22 |
+
|
23 |
+
$this->main = new \MEC_Main();
|
24 |
+
}
|
25 |
+
|
26 |
+
public function enqueue() {
|
27 |
+
|
28 |
+
if ( true !== $this->enqueue ) {
|
29 |
+
|
30 |
+
wp_enqueue_style( 'mec-backend', plugin_dir_url( __FILE__ ) . 'backend.css' );
|
31 |
+
wp_enqueue_script( 'mec-backend', plugin_dir_url( __FILE__ ) . 'backend.js', array( 'jquery' ) );
|
32 |
+
$this->enqueue = true;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Get Form Fields
|
38 |
+
*
|
39 |
+
* @param $group_id
|
40 |
+
*
|
41 |
+
* @return array
|
42 |
+
*/
|
43 |
+
public function get_fields( $group_id ) {
|
44 |
+
|
45 |
+
return CustomForm::getInstance()->get_reg_fields( $group_id );
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* @param $group_id
|
50 |
+
*
|
51 |
+
* @return array
|
52 |
+
*/
|
53 |
+
public function get_fixed_fields( $group_id ) {
|
54 |
+
|
55 |
+
$fixed_fields = CustomForm::getInstance()->get_fixed_fields( $group_id );
|
56 |
+
if ( !is_array( $fixed_fields ) ) {
|
57 |
+
$fixed_fields = array();
|
58 |
+
}
|
59 |
+
|
60 |
+
return $fixed_fields;
|
61 |
+
}
|
62 |
+
|
63 |
+
/**
|
64 |
+
* @param string $type
|
65 |
+
*
|
66 |
+
* @return mixed|void
|
67 |
+
*/
|
68 |
+
public function get_element_fields( $type = 'reg' ) {
|
69 |
+
|
70 |
+
$elements = array(
|
71 |
+
'name' => array(
|
72 |
+
'required' => true,
|
73 |
+
'text' => __( 'MEC Name', 'modern-events-calendar-lite' ),
|
74 |
+
'class' => 'red',
|
75 |
+
),
|
76 |
+
'mec_email' => array(
|
77 |
+
'required' => true,
|
78 |
+
'text' => __( 'MEC Email', 'modern-events-calendar-lite' ),
|
79 |
+
'class' => 'red',
|
80 |
+
),
|
81 |
+
'text' => array(
|
82 |
+
'required' => false,
|
83 |
+
'text' => __( 'Text', 'modern-events-calendar-lite' ),
|
84 |
+
'class' => '',
|
85 |
+
),
|
86 |
+
'email' => array(
|
87 |
+
'required' => false,
|
88 |
+
'text' => __( 'Email', 'modern-events-calendar-lite' ),
|
89 |
+
'class' => '',
|
90 |
+
),
|
91 |
+
'date' => array(
|
92 |
+
'required' => false,
|
93 |
+
'text' => __( 'Date', 'modern-events-calendar-lite' ),
|
94 |
+
'class' => '',
|
95 |
+
),
|
96 |
+
'tel' => array(
|
97 |
+
'required' => false,
|
98 |
+
'text' => __( 'Tel', 'modern-events-calendar-lite' ),
|
99 |
+
'class' => '',
|
100 |
+
),
|
101 |
+
'file' => array(
|
102 |
+
'required' => false,
|
103 |
+
'text' => __( 'File', 'modern-events-calendar-lite' ),
|
104 |
+
'class' => '',
|
105 |
+
),
|
106 |
+
'textarea' => array(
|
107 |
+
'required' => false,
|
108 |
+
'text' => __( 'Textarea', 'modern-events-calendar-lite' ),
|
109 |
+
'class' => '',
|
110 |
+
),
|
111 |
+
'checkbox' => array(
|
112 |
+
'required' => false,
|
113 |
+
'text' => __( 'Checkboxes', 'modern-events-calendar-lite' ),
|
114 |
+
'class' => '',
|
115 |
+
),
|
116 |
+
'radio' => array(
|
117 |
+
'required' => false,
|
118 |
+
'text' => __( 'Radio Buttons', 'modern-events-calendar-lite' ),
|
119 |
+
'class' => '',
|
120 |
+
),
|
121 |
+
'select' => array(
|
122 |
+
'required' => false,
|
123 |
+
'text' => __( 'Dropdown', 'modern-events-calendar-lite' ),
|
124 |
+
'class' => '',
|
125 |
+
),
|
126 |
+
'agreement' => array(
|
127 |
+
'required' => false,
|
128 |
+
'text' => __( 'Agreement', 'modern-events-calendar-lite' ),
|
129 |
+
'class' => '',
|
130 |
+
),
|
131 |
+
'p' => array(
|
132 |
+
'required' => false,
|
133 |
+
'text' => __( 'Paragraph', 'modern-events-calendar-lite' ),
|
134 |
+
'class' => '',
|
135 |
+
),
|
136 |
+
);
|
137 |
+
|
138 |
+
if ( 'reg' !== $type ) {
|
139 |
+
|
140 |
+
unset( $elements['name'] );
|
141 |
+
unset( $elements['mec_email'] );
|
142 |
+
}
|
143 |
+
|
144 |
+
return apply_filters( 'mec_get_element_fields', $elements );
|
145 |
+
}
|
146 |
+
|
147 |
+
/**
|
148 |
+
* @param array $fields
|
149 |
+
* @param string $group_id
|
150 |
+
* @param string $type reg|bfixed|$custom
|
151 |
+
*/
|
152 |
+
public function display_fields( $fields, $group_id, $type = 'reg' ) {
|
153 |
+
|
154 |
+
$type_fields = $type;
|
155 |
+
$type = $group_id . '_' . $type;
|
156 |
+
add_action( 'admin_footer', array( $this, 'enqueue' ) );
|
157 |
+
?>
|
158 |
+
<div class="mec-container">
|
159 |
+
<?php do_action( 'before_mec_' . $type . '_fields_form' ); ?>
|
160 |
+
<div class="mec-form-row" id="mec_<?php echo $type ?>_form_container" data-form-type="<?php echo $type; ?>">
|
161 |
+
<?php do_action( 'mec_' . $type . '_fields_form_start' ); ?>
|
162 |
+
<?php /** Don't remove this hidden field **/ ?>
|
163 |
+
<input type="hidden" name="mec[<?php echo $type ?>_fields]" value=""/>
|
164 |
+
|
165 |
+
<ul id="mec_<?php echo $type ?>_form_fields" class="mec_form_fields">
|
166 |
+
<?php
|
167 |
+
|
168 |
+
$i = 0;
|
169 |
+
foreach ( $fields as $key => $field_args ) {
|
170 |
+
if(in_array($key, [':i:',':fi:','_i_','_fi_',], true)){
|
171 |
+
|
172 |
+
continue;
|
173 |
+
}
|
174 |
+
$i = max( $i, (int)$key );
|
175 |
+
|
176 |
+
|
177 |
+
echo $this->display_field( $key, $field_args, $type );
|
178 |
+
}
|
179 |
+
|
180 |
+
?>
|
181 |
+
</ul>
|
182 |
+
<div id="mec_<?php echo $type ?>_form_field_types" class="mec_form_field_types">
|
183 |
+
<?php
|
184 |
+
$elements = $this->get_element_fields( $type_fields );
|
185 |
+
foreach ( $elements as $element_id => $element ) {
|
186 |
+
|
187 |
+
$text = isset( $element['text'] ) ? $element['text'] : '';
|
188 |
+
$class = isset( $element['class'] ) ? $element['class'] : '';
|
189 |
+
echo '<button type="button" class="button ' . $class . '" data-type="' . $element_id . '">' . $text . '</button>';
|
190 |
+
}
|
191 |
+
|
192 |
+
?>
|
193 |
+
</div>
|
194 |
+
<?php do_action( 'mec_' . $type . '_fields_form_end' ); ?>
|
195 |
+
</div>
|
196 |
+
<?php do_action( 'after_mec_' . $type . '_fields_form' ); ?>
|
197 |
+
|
198 |
+
<input type="hidden" id="mec_new_<?php echo $type ?>_field_key" value="<?php echo $i + 1; ?>"/>
|
199 |
+
<div class="mec-util-hidden">
|
200 |
+
<?php
|
201 |
+
foreach ( $elements as $element_id => $element ) {
|
202 |
+
$method = 'field_' . $element_id;
|
203 |
+
if ( method_exists( $this->main, $method ) ) {
|
204 |
+
|
205 |
+
echo '<div id="mec_' . $type . '_field_' . $element_id . '" class="mec_field_' . $element_id . '">' .
|
206 |
+
$this->display_field( ':i:', [ 'type' => $element_id ], $type )
|
207 |
+
. '</div>';
|
208 |
+
}
|
209 |
+
}
|
210 |
+
|
211 |
+
?>
|
212 |
+
<div id="mec_<?php echo $type ?>_option" class="mec_field_option">
|
213 |
+
<?php echo FormFields::getInstance()->field_option( ':fi:', ':i:', array(), $type ); ?>
|
214 |
+
</div>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
|
218 |
+
<?php
|
219 |
+
}
|
220 |
+
|
221 |
+
/**
|
222 |
+
* @param string $key
|
223 |
+
* @param array $field_args
|
224 |
+
* @param string $prefix
|
225 |
+
*
|
226 |
+
* @return string
|
227 |
+
*/
|
228 |
+
public function display_field( $key, $field_args, $prefix = 'reg' ) {
|
229 |
+
|
230 |
+
$type = isset( $field_args['type'] ) ? $field_args['type'] : false;
|
231 |
+
|
232 |
+
if ( !$type ) {
|
233 |
+
|
234 |
+
return '';
|
235 |
+
}
|
236 |
+
|
237 |
+
if ( is_null( $this->fieldFactory ) ) {
|
238 |
+
|
239 |
+
$this->fieldFactory = FormFields::getInstance();
|
240 |
+
}
|
241 |
+
|
242 |
+
$html = '';
|
243 |
+
switch ( $type ) {
|
244 |
+
case 'text':
|
245 |
+
$html .= $this->fieldFactory->field_text( $key, $field_args, $prefix );
|
246 |
+
break;
|
247 |
+
case 'name':
|
248 |
+
$html .= $this->fieldFactory->field_name( $key, $field_args, $prefix );
|
249 |
+
break;
|
250 |
+
case 'mec_email':
|
251 |
+
$html .= $this->fieldFactory->field_mec_email( $key, $field_args, $prefix );
|
252 |
+
break;
|
253 |
+
case 'email':
|
254 |
+
$html .= $this->fieldFactory->field_email( $key, $field_args, $prefix );
|
255 |
+
break;
|
256 |
+
case 'date':
|
257 |
+
$html .= $this->fieldFactory->field_date( $key, $field_args, $prefix );
|
258 |
+
break;
|
259 |
+
case 'file':
|
260 |
+
$html .= $this->fieldFactory->field_file( $key, $field_args, $prefix );
|
261 |
+
break;
|
262 |
+
case 'tel':
|
263 |
+
$html .= $this->fieldFactory->field_tel( $key, $field_args, $prefix );
|
264 |
+
break;
|
265 |
+
case 'textarea':
|
266 |
+
$html .= $this->fieldFactory->field_textarea( $key, $field_args, $prefix );
|
267 |
+
break;
|
268 |
+
case 'p':
|
269 |
+
$html .= $this->fieldFactory->field_p( $key, $field_args, $prefix );
|
270 |
+
break;
|
271 |
+
case 'checkbox':
|
272 |
+
$html .= $this->fieldFactory->field_checkbox( $key, $field_args, $prefix );
|
273 |
+
break;
|
274 |
+
case 'radio':
|
275 |
+
$html .= $this->fieldFactory->field_radio( $key, $field_args, $prefix );
|
276 |
+
break;
|
277 |
+
case 'select':
|
278 |
+
$html .= $this->fieldFactory->field_select( $key, $field_args, $prefix );
|
279 |
+
break;
|
280 |
+
case 'agreement':
|
281 |
+
$html .= $this->fieldFactory->field_agreement( $key, $field_args, $prefix );
|
282 |
+
break;
|
283 |
+
}
|
284 |
+
|
285 |
+
return $html;
|
286 |
+
}
|
287 |
+
|
288 |
+
public function display_settings_form_fields( $group_id, $fields = null) {
|
289 |
+
|
290 |
+
$type = 'reg';
|
291 |
+
if( is_null( $fields ) ){
|
292 |
+
|
293 |
+
$fields = $this->get_fields( $group_id );
|
294 |
+
}
|
295 |
+
|
296 |
+
$this->display_fields( $fields, $group_id, $type );
|
297 |
+
}
|
298 |
+
|
299 |
+
public function display_settings_form_fixed_fields( $group_id, $fields = null ) {
|
300 |
+
|
301 |
+
$type = 'bfixed';
|
302 |
+
if( is_null( $fields ) ){
|
303 |
+
|
304 |
+
$fields = $this->get_fixed_fields( $group_id );
|
305 |
+
}
|
306 |
+
|
307 |
+
$this->display_fields( $fields, $group_id, $type );
|
308 |
+
}
|
309 |
+
|
310 |
+
}
|
@@ -0,0 +1,408 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.mec_form_field_types .button {
|
2 |
+
position: relative;
|
3 |
+
outline: 0;
|
4 |
+
border-radius: 50px;
|
5 |
+
padding: 2px 21px 2px 31px !important;
|
6 |
+
line-height: 1;
|
7 |
+
font-size: 11px;
|
8 |
+
font-weight: 600;
|
9 |
+
color: #40d9f1;
|
10 |
+
letter-spacing: 2px;
|
11 |
+
height: auto;
|
12 |
+
cursor: pointer;
|
13 |
+
margin-top: 5px;
|
14 |
+
text-transform: uppercase;
|
15 |
+
box-shadow: 0 2px 6px -3px #40d9f1;
|
16 |
+
border: 2px solid #cfeff5;
|
17 |
+
}
|
18 |
+
|
19 |
+
.mec_form_field_types .button.red {
|
20 |
+
color: #ea6485;
|
21 |
+
box-shadow: 0 2px 6px -3px #ea6485;
|
22 |
+
background: #fff;
|
23 |
+
border-color: #ffd2dd;
|
24 |
+
}
|
25 |
+
|
26 |
+
.mec_form_field_types .button.red:hover {
|
27 |
+
background: #ea6485;
|
28 |
+
color: #fff;
|
29 |
+
}
|
30 |
+
|
31 |
+
.mec_form_field_types .button:before {
|
32 |
+
position: absolute;
|
33 |
+
left: 12px;
|
34 |
+
color: #40d9f1;
|
35 |
+
content: "\e095";
|
36 |
+
font-family: simple-line-icons;
|
37 |
+
font-size: 13px;
|
38 |
+
display: inline-block;
|
39 |
+
}
|
40 |
+
|
41 |
+
.mec_form_field_types .button.red:before {
|
42 |
+
color: #ea6485;
|
43 |
+
}
|
44 |
+
|
45 |
+
.mec_form_field_types .button.red:hover:before{
|
46 |
+
color: #fff;
|
47 |
+
}
|
48 |
+
.mec_form_field_types .button:hover:before {
|
49 |
+
color: #0a4b78;
|
50 |
+
}
|
51 |
+
|
52 |
+
.mec_form_field_types .button.red:hover {
|
53 |
+
color: #fff;
|
54 |
+
border: 2px solid #ea6485;
|
55 |
+
}
|
56 |
+
|
57 |
+
.mec-fes-form .mec_form_fields span.mec_field_sort,
|
58 |
+
.mec-fes-form .mec_form_fields span.mec_bfixed_field_sort {
|
59 |
+
font-size: 0;
|
60 |
+
color: #fff;
|
61 |
+
padding-left: 20px;
|
62 |
+
}
|
63 |
+
|
64 |
+
.mec-fes-form .mec_form_fields .mec_waiting_field_options,
|
65 |
+
.mec-fes-form .mec_form_fields .mec_bfixed_field_option_sort,
|
66 |
+
.mec-fes-form .mec_form_fields span.mec_field_option_sort {
|
67 |
+
font-size: 0;
|
68 |
+
}
|
69 |
+
|
70 |
+
.mec-fes-form .mec_form_fields span.mec_field_option_sort:before,
|
71 |
+
.mec-fes-form .mec_form_fields span.mec_waiting_field_options:before,
|
72 |
+
.mec-fes-form .mec_form_fields span.mec_field_sort:before,
|
73 |
+
.mec-fes-form .mec_form_fields span.mec_bfixed_field_option_sort:before,
|
74 |
+
.mec-fes-form .mec_form_fields span.mec_bfixed_field_sort:before {
|
75 |
+
position: absolute;
|
76 |
+
left: px;
|
77 |
+
top: 12px;
|
78 |
+
width: 80px;
|
79 |
+
height: 20px;
|
80 |
+
display: block;
|
81 |
+
cursor: move;
|
82 |
+
font-family: simple-line-icons;
|
83 |
+
content: "\e023";
|
84 |
+
font-size: 18px;
|
85 |
+
color: #888
|
86 |
+
}
|
87 |
+
|
88 |
+
.mec-fes-form .mec_form_fields span.mec_field_option_sort:before,
|
89 |
+
.mec-fes-form .mec_form_fields span.mec_waiting_field_options:before,
|
90 |
+
.mec-fes-form .mec_form_fields span.mec_bfixed_field_option_sort:before {
|
91 |
+
font-size: 13px;
|
92 |
+
left: 2px;
|
93 |
+
top: 26px;
|
94 |
+
width: 14px;
|
95 |
+
height: 14px
|
96 |
+
}
|
97 |
+
|
98 |
+
|
99 |
+
.mec_form_fields,
|
100 |
+
#mec_event_form_fields,
|
101 |
+
.mec_form_fields {
|
102 |
+
padding: 20px;
|
103 |
+
background: #f7f8f9;
|
104 |
+
margin: 0 0 20px 0;
|
105 |
+
border-radius: 3px;
|
106 |
+
min-height: 150px;
|
107 |
+
border: 2px dashed #dcdee0
|
108 |
+
}
|
109 |
+
|
110 |
+
.mec_form_fields li, #mec_event_form_fields li {
|
111 |
+
margin: 4px 10px;
|
112 |
+
border-radius: 2px;
|
113 |
+
padding: 20px 34px 24px;
|
114 |
+
background: #fff;
|
115 |
+
position: relative;
|
116 |
+
transition: all .3s ease;
|
117 |
+
|
118 |
+
/*border-radius: 3px 11px 3px 3px;*/
|
119 |
+
/*padding: 10px 20px 15px;*/
|
120 |
+
position: relative;
|
121 |
+
border: 1px solid #f1f3f5;
|
122 |
+
box-shadow: 0 1px 5px rgba(0,0,0,2%)
|
123 |
+
}
|
124 |
+
|
125 |
+
.mec_form_fields li, #mec_event_form_fields li {
|
126 |
+
|
127 |
+
}
|
128 |
+
|
129 |
+
|
130 |
+
.mec_form_fields li,
|
131 |
+
#mec_event_form_fields li,
|
132 |
+
.mec_form_fields li {
|
133 |
+
margin: 4px;
|
134 |
+
border-radius: 2px;
|
135 |
+
padding: 20px 34px 24px;
|
136 |
+
background: #fff;
|
137 |
+
position: relative;
|
138 |
+
transition: all .3s ease
|
139 |
+
}
|
140 |
+
|
141 |
+
|
142 |
+
.mec_form_fields li ul,
|
143 |
+
#mec_event_form_fields li ul,
|
144 |
+
.mec_form_fields li ul {
|
145 |
+
padding-top: 15px;
|
146 |
+
padding-bottom: 15px;
|
147 |
+
margin: 1px
|
148 |
+
}
|
149 |
+
|
150 |
+
.mec_form_fields li ul li,
|
151 |
+
#mec_event_form_fields li ul li,
|
152 |
+
.mec_form_fields li ul li {
|
153 |
+
padding: 7px 30px 7px 46px
|
154 |
+
}
|
155 |
+
|
156 |
+
.mec_form_fields span.mec_event_field_type,
|
157 |
+
#mec_event_form_fields span.mec_event_field_type,
|
158 |
+
.mec_form_fields span.mec_field_type {
|
159 |
+
font-size: 11px;
|
160 |
+
font-weight: 600;
|
161 |
+
color: #8a8a8a;
|
162 |
+
text-transform: uppercase;
|
163 |
+
letter-spacing: 2px
|
164 |
+
}
|
165 |
+
|
166 |
+
.mec_form_fields span.mec_bfixed_field_option_sort,
|
167 |
+
.mec_form_fields span.mec_bfixed_field_remove,
|
168 |
+
.mec_form_fields span.mec_bfixed_field_sort,
|
169 |
+
#mec_event_form_fields span.mec_event_field_option_sort,
|
170 |
+
#mec_event_form_fields span.mec_event_field_remove,
|
171 |
+
#mec_event_form_fields span.mec_event_field_sort,
|
172 |
+
.mec_form_fields span.mec_field_option_sort,
|
173 |
+
.mec_form_fields span.mec_field_remove,
|
174 |
+
.mec_form_fields span.mec_field_sort {
|
175 |
+
font-size: 0;
|
176 |
+
color: #fff
|
177 |
+
}
|
178 |
+
|
179 |
+
.mec_form_fields span.mec_bfixed_field_remove,
|
180 |
+
#mec_event_form_fields span.mec_event_field_remove,
|
181 |
+
.mec_form_fields span.mec_field_remove {
|
182 |
+
position: absolute;
|
183 |
+
right: 0;
|
184 |
+
top: 0
|
185 |
+
}
|
186 |
+
|
187 |
+
.mec_form_fields span.mec_bfixed_field_option_sort:before,
|
188 |
+
.mec_form_fields span.mec_bfixed_field_remove:before,
|
189 |
+
.mec_form_fields span.mec_bfixed_field_sort:before,
|
190 |
+
#mec_event_form_fields span.mec_event_field_option_sort:before,
|
191 |
+
#mec_event_form_fields span.mec_event_field_remove:before,
|
192 |
+
#mec_event_form_fields span.mec_event_field_sort:before,
|
193 |
+
.mec_form_fields span.mec_field_option_sort:before,
|
194 |
+
.mec_form_fields span.mec_field_remove:before,
|
195 |
+
.mec_form_fields span.mec_field_sort:before {
|
196 |
+
position: absolute;
|
197 |
+
left: 10px;
|
198 |
+
top: 20px;
|
199 |
+
width: 80px;
|
200 |
+
height: 20px;
|
201 |
+
display: block;
|
202 |
+
cursor: move;
|
203 |
+
font-family: simple-line-icons;
|
204 |
+
content: "\e023";
|
205 |
+
font-size: 18px;
|
206 |
+
color: #888
|
207 |
+
}
|
208 |
+
|
209 |
+
.mec_form_fields span.mec_bfixed_field_remove:before,
|
210 |
+
#mec_event_form_fields span.mec_event_field_remove:before,
|
211 |
+
.mec_form_fields span.mec_field_remove:before {
|
212 |
+
content: "\e082";
|
213 |
+
width: 20px;
|
214 |
+
height: 20px;
|
215 |
+
left: auto;
|
216 |
+
right: 15px;
|
217 |
+
color: #f96666;
|
218 |
+
cursor: pointer
|
219 |
+
}
|
220 |
+
|
221 |
+
#mec_event_form_fields span.mec_event_field_option_sort:before,
|
222 |
+
.mec_form_fields span.mec_field_option_sort:before {
|
223 |
+
font-size: 13px;
|
224 |
+
left: 2px;
|
225 |
+
top: 23px;
|
226 |
+
width: 14px;
|
227 |
+
height: 14px
|
228 |
+
}
|
229 |
+
|
230 |
+
#mec_event_form_fields li ul li span.mec_event_field_remove,
|
231 |
+
.mec_form_fields li ul li span.mec_field_remove {
|
232 |
+
right: auto;
|
233 |
+
left: 60px;
|
234 |
+
top: 2px
|
235 |
+
}
|
236 |
+
|
237 |
+
#mec_event_form_fields p.mec_event_field_options,
|
238 |
+
.mec_form_fields p.mec_waiting_field_options {
|
239 |
+
margin: 6px 0 8px
|
240 |
+
}
|
241 |
+
|
242 |
+
.mec_form_fields input[type=number], .mec_form_fields input[type=text], .mec_form_fields select, .mec_form_fields textarea,
|
243 |
+
#mec_event_form_fields input[type=number], #mec_event_form_fields input[type=text], #mec_event_form_fields select, #mec_event_form_fields textarea,
|
244 |
+
.mec_form_fields input[type=number], .mec_form_fields input[type=text], .mec_form_fields select, .mec_form_fields textarea {
|
245 |
+
min-width: 260px;
|
246 |
+
min-height: 34px;
|
247 |
+
margin-bottom: 7px;
|
248 |
+
margin-top: 7px
|
249 |
+
}
|
250 |
+
|
251 |
+
.mec_form_fields textarea,
|
252 |
+
#mec_event_form_fields textarea,
|
253 |
+
.mec_form_fields textarea {
|
254 |
+
min-height: 66px
|
255 |
+
}
|
256 |
+
|
257 |
+
#mec_event_form_field_types button, #mec_event_form_fields button,
|
258 |
+
.mec_form_field_types button, .mec_form_fields button {
|
259 |
+
position: relative;
|
260 |
+
outline: 0;
|
261 |
+
background: #fff;
|
262 |
+
border: 1px solid #e2e2e2;
|
263 |
+
border-radius: 50px;
|
264 |
+
padding: 11px 21px 11px 31px;
|
265 |
+
line-height: 1;
|
266 |
+
font-size: 11px;
|
267 |
+
font-weight: 600;
|
268 |
+
color: #444;
|
269 |
+
letter-spacing: 2px;
|
270 |
+
height: auto;
|
271 |
+
cursor: pointer;
|
272 |
+
margin-top: 5px;
|
273 |
+
text-transform: uppercase;
|
274 |
+
box-shadow: 0 0 3px rgba(0, 0, 0, .03)
|
275 |
+
}
|
276 |
+
|
277 |
+
#mec_event_form_field_types button:hover, #mec_event_form_fields button:hover,
|
278 |
+
.mec_form_field_types button:hover, .mec_form_fields button:hover {
|
279 |
+
border-color: #008aff;
|
280 |
+
box-shadow: 0 0 7px rgba(0, 0, 0, .1)
|
281 |
+
}
|
282 |
+
|
283 |
+
#mec_bfixed_form_field_types button:before, .mec_form_fields button:before,
|
284 |
+
#mec_event_form_field_types button:before, #mec_event_form_fields button:before,
|
285 |
+
.mec_form_field_types button:before, .mec_form_fields button:before {
|
286 |
+
position: absolute;
|
287 |
+
left: 12px;
|
288 |
+
color: #008aff;
|
289 |
+
content: "\e095";
|
290 |
+
font-family: simple-line-icons;
|
291 |
+
font-size: 13px;
|
292 |
+
display: inline-block
|
293 |
+
}
|
294 |
+
|
295 |
+
.mec_form_fields button.red:hover,
|
296 |
+
#mec_event_form_field_types button.red:hover, #mec_event_form_fields button.red:hover,
|
297 |
+
.mec_form_field_types button.red:hover, .mec_form_fields button.red:hover {
|
298 |
+
border-color: red;
|
299 |
+
box-shadow: 0 0 7px rgba(0, 0, 0, .1)
|
300 |
+
}
|
301 |
+
|
302 |
+
.mec_form_fields button.red:before,
|
303 |
+
#mec_event_form_field_types button.red:before, #mec_event_form_fields button.red:before,
|
304 |
+
.mec_form_field_types button.red:before, .mec_form_fields button.red:before {
|
305 |
+
position: absolute;
|
306 |
+
left: 12px;
|
307 |
+
color: red;
|
308 |
+
content: "\e095";
|
309 |
+
font-family: simple-line-icons;
|
310 |
+
font-size: 13px;
|
311 |
+
display: inline-block
|
312 |
+
}
|
313 |
+
|
314 |
+
.mec_form_fields .mec_bfixed_notification_placeholder,
|
315 |
+
#mec_event_form_fields .mec_event_notification_placeholder {
|
316 |
+
padding: 2px;
|
317 |
+
display: block;
|
318 |
+
margin: 10px 0 20px;
|
319 |
+
}
|
320 |
+
|
321 |
+
@media (max-width: 768px) {
|
322 |
+
.mec_form_fields input[type=number], .mec_form_fields input[type=text], .mec_form_fields select, .mec_form_fields textarea,
|
323 |
+
#mec_event_form_fields input[type=number], #mec_event_form_fields input[type=text], #mec_event_form_fields select, #mec_event_form_fields textarea,
|
324 |
+
.mec_form_fields input[type=number], .mec_form_fields input[type=text], .mec_form_fields select, .mec_form_fields textarea {
|
325 |
+
min-width: 80px;
|
326 |
+
width: 100%
|
327 |
+
}
|
328 |
+
}
|
329 |
+
|
330 |
+
|
331 |
+
.mec-admin-dark-mode.post-type-mec-events .mec_form_fields li,
|
332 |
+
.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec_form_fields li {
|
333 |
+
background: #1F1F1F;
|
334 |
+
color: #fff;
|
335 |
+
}
|
336 |
+
|
337 |
+
.mec-admin-dark-mode.post-type-mec-events .mec_form_fields {
|
338 |
+
background: #282828;
|
339 |
+
border-color: #353535;
|
340 |
+
}
|
341 |
+
|
342 |
+
.mec-admin-dark-mode.post-type-mec-events .mec_form_fields button,
|
343 |
+
.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec_form_fields button,
|
344 |
+
.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec_form_fields {
|
345 |
+
background: #000;
|
346 |
+
}
|
347 |
+
|
348 |
+
/* MEC Backend Responsive Mobile & Tablet */
|
349 |
+
@media (max-width: 480px) {
|
350 |
+
#mec_event_form_fields,
|
351 |
+
.mec_form_fields {
|
352 |
+
padding: 10px;
|
353 |
+
}
|
354 |
+
}
|
355 |
+
|
356 |
+
|
357 |
+
.mec_form_fields span.mec_field_remove,
|
358 |
+
.mec_form_fields span.mec_field_sort {
|
359 |
+
font-size: 0;
|
360 |
+
color: #fff;
|
361 |
+
padding: 5px;
|
362 |
+
}
|
363 |
+
|
364 |
+
.mec_form_fields span.mec_field_remove {
|
365 |
+
position: absolute;
|
366 |
+
right: 0;
|
367 |
+
top: 0
|
368 |
+
}
|
369 |
+
|
370 |
+
.mec_form_fields span.mec_field_sort:before {
|
371 |
+
position: absolute;
|
372 |
+
left: 10px;
|
373 |
+
top: 20px;
|
374 |
+
width: 80px;
|
375 |
+
height: 20px;
|
376 |
+
display: block;
|
377 |
+
cursor: move;
|
378 |
+
font-family: simple-line-icons;
|
379 |
+
content: "\e023";
|
380 |
+
font-size: 18px;
|
381 |
+
color: #888
|
382 |
+
}
|
383 |
+
|
384 |
+
.mec_form_fields span.mec_field_remove:before {
|
385 |
+
content: "\e082";
|
386 |
+
width: 20px;
|
387 |
+
height: 20px;
|
388 |
+
left: auto;
|
389 |
+
right: 15px;
|
390 |
+
color: #f96666;
|
391 |
+
cursor: pointer
|
392 |
+
}
|
393 |
+
|
394 |
+
.mec_form_fields li ul li span.mec_field_remove {
|
395 |
+
right: auto;
|
396 |
+
left: 60px;
|
397 |
+
top: 2px
|
398 |
+
}
|
399 |
+
|
400 |
+
.mec_form_fields li ul, #mec_event_form_fields li ul {
|
401 |
+
padding-top: 15px;
|
402 |
+
padding-bottom: 15px;
|
403 |
+
margin: 1px
|
404 |
+
}
|
405 |
+
|
406 |
+
.mec_form_fields li ul li, #mec_event_form_fields li ul li {
|
407 |
+
padding: 7px 30px 7px 46px
|
408 |
+
}
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function mec_fields_option_listeners() {
|
2 |
+
|
3 |
+
jQuery('.mec_field_remove').on('click', function (e) {
|
4 |
+
jQuery(this).parent('li').remove();
|
5 |
+
});
|
6 |
+
|
7 |
+
jQuery('button.mec-field-add-option').off('click').on('click', function (e) {
|
8 |
+
|
9 |
+
var container = jQuery(e.currentTarget).parents('.mec-container');
|
10 |
+
if(container.length > 1){
|
11 |
+
container = container[0];
|
12 |
+
}
|
13 |
+
var form = jQuery(e.currentTarget).parents('.mec-form-row');
|
14 |
+
if(form.length > 1){
|
15 |
+
form = form[0];
|
16 |
+
}
|
17 |
+
var item_box = jQuery(e.currentTarget).parents('li');
|
18 |
+
var form_type = jQuery(form).data('form-type');
|
19 |
+
var field_id = jQuery(this).data('field-id');
|
20 |
+
var key = jQuery('#mec_new_' + form_type + '_field_option_key_' + field_id, container).val();
|
21 |
+
var html = jQuery('.mec_field_option', container).html().replace(/:i:/g, key).replace(/:fi:/g, field_id);
|
22 |
+
|
23 |
+
jQuery('.mec_fields_options_container', item_box).append(html);
|
24 |
+
jQuery('#mec_new_' + form_type + '_field_option_key_' + field_id, container).val(parseInt(key) + 1);
|
25 |
+
|
26 |
+
mec_fields_option_listeners();
|
27 |
+
});
|
28 |
+
|
29 |
+
if (typeof jQuery.fn.sortable !== 'undefined') {
|
30 |
+
jQuery(".mec_form_fields").sortable(
|
31 |
+
{
|
32 |
+
handle: '.mec_field_sort'
|
33 |
+
});
|
34 |
+
|
35 |
+
jQuery(".mec_fields_options_container").sortable(
|
36 |
+
{
|
37 |
+
handle: '.mec_field_option_sort'
|
38 |
+
});
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
jQuery(document).ready(function ($) {
|
43 |
+
|
44 |
+
/* Load event dates in Report page */
|
45 |
+
if ($('.mec-reports-selectbox-event').length > 0) {
|
46 |
+
$('.mec-reports-selectbox-event').select2();
|
47 |
+
$('.mec-reports-selectbox-event').on('change', function (e) {
|
48 |
+
e.preventDefault();
|
49 |
+
var id = $('.mec-reports-selectbox-event').val();
|
50 |
+
$.ajax({
|
51 |
+
url: mec_admin_localize.ajax_url,
|
52 |
+
type: 'POST',
|
53 |
+
data: {
|
54 |
+
action: 'report_event_dates',
|
55 |
+
nonce: mec_admin_localize.ajax_nonce,
|
56 |
+
event_id: id,
|
57 |
+
},
|
58 |
+
success: function (response) {
|
59 |
+
$('.mec-report-selected-event-attendees-wrap').hide();
|
60 |
+
$('.mec-reports-selectbox-dates').remove();
|
61 |
+
$('.mec-report-selected-event-attendees-wrap .w-row .w-col-sm-12').html('');
|
62 |
+
$('.mec-report-select-event-wrap .w-row .w-col-sm-12').append(response);
|
63 |
+
$('.mec-report-sendmail-wrap').hide();
|
64 |
+
$('.mec-report-backtoselect-wrap').hide();
|
65 |
+
},
|
66 |
+
});
|
67 |
+
});
|
68 |
+
}
|
69 |
+
|
70 |
+
|
71 |
+
jQuery('[name="mec[waiting_form][waiting_form_id]"]').on("change", function () {
|
72 |
+
if (jQuery(this).data("name") == "waiting_form_id") {
|
73 |
+
jQuery("div#mec_form_container").removeClass("mec-util-hidden");
|
74 |
+
jQuery("#waiting_form_id").addClass("mec-util-hidden");
|
75 |
+
} else {
|
76 |
+
jQuery("div#mec_form_container").addClass("mec-util-hidden");
|
77 |
+
jQuery("#waiting_form_id").removeClass("mec-util-hidden");
|
78 |
+
jQuery(this).val(jQuery("#waiting_form_id").val());
|
79 |
+
}
|
80 |
+
});
|
81 |
+
jQuery("#waiting_form_id").on("change", function () {
|
82 |
+
jQuery("input[data-name=formBuilder_waiting_form_id]").val(jQuery(this).val());
|
83 |
+
})
|
84 |
+
|
85 |
+
if (typeof (mec_default_waiting_form_id) != "undefined") {
|
86 |
+
jQuery("input[data-name=formBuilder_waiting_form_id]").prop("checked", true);
|
87 |
+
jQuery("#waiting_form_id").removeClass("mec-util-hidden");
|
88 |
+
jQuery("div#mec_form_container").addClass("mec-util-hidden");
|
89 |
+
jQuery("input[data-name=formBuilder_waiting_form_id]").val(mec_default_waiting_form_id);
|
90 |
+
} else {
|
91 |
+
jQuery("input[data-name=waiting_form_id]").prop("checked", true);
|
92 |
+
}
|
93 |
+
|
94 |
+
$('.mec_form_field_types button').on('click', function (e) {
|
95 |
+
var container = $(e.currentTarget).parents('.mec-container');
|
96 |
+
if(container.length > 1){
|
97 |
+
container = container[0];
|
98 |
+
}
|
99 |
+
var form = $(e.currentTarget).parents('.mec-form-row');
|
100 |
+
if(form.length > 1){
|
101 |
+
form = form[0];
|
102 |
+
}
|
103 |
+
var form_type = $(form).data('form-type');
|
104 |
+
var type = $(this).data('type');
|
105 |
+
|
106 |
+
if (type === 'mec_email') {
|
107 |
+
if ($('.mec_form_fields', form).find('input[value="mec_email"][type="hidden"]').length) {
|
108 |
+
return false;
|
109 |
+
}
|
110 |
+
}
|
111 |
+
|
112 |
+
if (type === 'name') {
|
113 |
+
if ($('.mec_form_fields', form).find('input[value="name"][type="hidden"]').length) {
|
114 |
+
return false;
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
var key = $('#mec_new_' + form_type + '_field_key', container).val();
|
119 |
+
var html = $('.mec_field_' + type, container).html().replace(/:i:/g, key);
|
120 |
+
console.log(container);
|
121 |
+
|
122 |
+
$('.mec_form_fields', form).append(html);
|
123 |
+
$('#mec_new_' + form_type + '_field_key', container).val(parseInt(key) + 1);
|
124 |
+
|
125 |
+
// Set onclick listener for add option fields
|
126 |
+
mec_fields_option_listeners();
|
127 |
+
});
|
128 |
+
|
129 |
+
// Set onclick listener for add option fields
|
130 |
+
mec_fields_option_listeners();
|
131 |
+
});
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.hidden {
|
2 |
+
display: none;
|
3 |
+
}
|
4 |
+
|
5 |
+
.mec-custom-form-box input[type=date],
|
6 |
+
.mec-custom-form-box input[type=email],
|
7 |
+
.mec-custom-form-box input[type=number],
|
8 |
+
.mec-custom-form-box input[type=password],
|
9 |
+
.mec-custom-form-box input[type=tel],
|
10 |
+
.mec-custom-form-box input[type=text],
|
11 |
+
.mec-custom-form-box select,
|
12 |
+
.mec-custom-form-box textarea {
|
13 |
+
display: block;
|
14 |
+
background: #fcfcfc;
|
15 |
+
min-height: 42px;
|
16 |
+
min-width: 180px;
|
17 |
+
font-size: 13px;
|
18 |
+
border: 1px solid #e0e0e0;
|
19 |
+
padding: 13px 10px;
|
20 |
+
width: 330px;
|
21 |
+
margin-bottom: 20px;
|
22 |
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 5%);
|
23 |
+
clear: both;
|
24 |
+
}
|
25 |
+
|
26 |
+
.mec-custom-form-box form > h4 {
|
27 |
+
text-transform: uppercase;
|
28 |
+
font-size: 15px;
|
29 |
+
font-weight: 700;
|
30 |
+
color: #313131;
|
31 |
+
border-bottom: 4px solid #ebebeb;
|
32 |
+
width: 100%;
|
33 |
+
display: block;
|
34 |
+
padding-bottom: 10px;
|
35 |
+
position: relative;
|
36 |
+
text-align: center;
|
37 |
+
margin-bottom: 20px;
|
38 |
+
}
|
39 |
+
|
40 |
+
.mec-custom-form-box form > h4:before {
|
41 |
+
padding: 1px 35px;
|
42 |
+
border-bottom: 4px solid #40d9f1;
|
43 |
+
font-size: 6px;
|
44 |
+
content: "";
|
45 |
+
text-align: center;
|
46 |
+
position: absolute;
|
47 |
+
bottom: -4px;
|
48 |
+
margin-left: -35px;
|
49 |
+
left: 50%;
|
50 |
+
}
|
51 |
+
|
52 |
+
.mec-custom-form-box select {
|
53 |
+
display: block;
|
54 |
+
background: #fcfcfc;
|
55 |
+
min-height: 42px;
|
56 |
+
min-width: 180px;
|
57 |
+
font-size: 13px;
|
58 |
+
border: 1px solid #e0e0e0;
|
59 |
+
padding: 13px 10px;
|
60 |
+
width: 330px;
|
61 |
+
margin-bottom: 20px;
|
62 |
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0 , 5%);
|
63 |
+
clear: both;
|
64 |
+
}
|
65 |
+
|
66 |
+
.mec-custom-form-box button {
|
67 |
+
min-width: 155px;
|
68 |
+
margin-top: 5px;
|
69 |
+
margin-left: 10px;
|
70 |
+
border-radius: 2px;
|
71 |
+
box-shadow: 0 2px 1px rgba(0 ,0 ,0 , 8%);
|
72 |
+
}
|
73 |
+
|
74 |
+
.mec-custom-form-box .button,
|
75 |
+
.mec-custom-form-box a.button:not(.owl-dot),
|
76 |
+
.mec-custom-form-box button:not(.owl-dot):not(.gm-control-active),
|
77 |
+
.mec-custom-form-box input[type=button],
|
78 |
+
.mec-custom-form-box input[type=reset],
|
79 |
+
.mec-custom-form-box input[type=submit] {
|
80 |
+
position: relative;
|
81 |
+
border: none;
|
82 |
+
border-radius: 0;
|
83 |
+
color: #fff;
|
84 |
+
display: inline-block;
|
85 |
+
font-size: 12px;
|
86 |
+
letter-spacing: 1px;
|
87 |
+
line-height: 1.5;
|
88 |
+
text-transform: uppercase;
|
89 |
+
font-weight: 600;
|
90 |
+
text-decoration: none;
|
91 |
+
cursor: pointer;
|
92 |
+
margin-bottom: 21px;
|
93 |
+
margin-right: 10px;
|
94 |
+
line-height: 1;
|
95 |
+
padding: 18px 20px 16px;
|
96 |
+
background: #24ca4f;
|
97 |
+
-webkit-transition: all .21s ease;
|
98 |
+
-moz-transition: all .21s ease;
|
99 |
+
transition: all .21s ease;
|
100 |
+
}
|
101 |
+
|
102 |
+
.mec-custom-form-box input[type=checkbox],
|
103 |
+
.mec-custom-form-box .mec-form-row input[type=checkbox],
|
104 |
+
.mec-custom-form-box .mec_rsvp_form .mec-form-row input[type=checkbox],
|
105 |
+
.mec-custom-form-box input[type=radio],
|
106 |
+
.mec-custom-form-box .mec-form-row input[type=radio],
|
107 |
+
.mec-custom-form-box .mec_rsvp_form .mec-form-row input[type=radio] {
|
108 |
+
-webkit-appearance: none;
|
109 |
+
-moz-appearance: none;
|
110 |
+
position: relative;
|
111 |
+
width: 25px;
|
112 |
+
height: 25px;
|
113 |
+
border: var(--form--border-width) solid var(--form--border-color) !important;
|
114 |
+
background: var(--global--color-white) !important;
|
115 |
+
margin:0 3px;
|
116 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Locations;
|
4 |
+
|
5 |
+
use MEC\Singleton;
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Not completed
|
9 |
+
*/
|
10 |
+
class Locations extends Singleton {
|
11 |
+
|
12 |
+
public $ID;
|
13 |
+
public $data;
|
14 |
+
/**
|
15 |
+
* @param \WP_Post|int $location
|
16 |
+
*/
|
17 |
+
public function __construct($location){
|
18 |
+
|
19 |
+
|
20 |
+
}
|
21 |
+
|
22 |
+
|
23 |
+
public function get_locations($query){
|
24 |
+
$term_id = $this->ID;
|
25 |
+
if(!$term_id){
|
26 |
+
return array();
|
27 |
+
}
|
28 |
+
|
29 |
+
return array(
|
30 |
+
'id'=>$term_id,
|
31 |
+
'name'=>$term->name,
|
32 |
+
'address'=> get_term_meta( $term_id, 'address', true),
|
33 |
+
'latitude'=>get_term_meta($term_id, 'latitude', true),
|
34 |
+
'longitude'=>get_term_meta($term_id, 'longitude', true),
|
35 |
+
'url'=>get_term_meta($term_id, 'url', true),
|
36 |
+
'thumbnail'=>get_term_meta($term_id, 'thumbnail', true)
|
37 |
+
);
|
38 |
+
}
|
39 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Notifications;
|
4 |
+
|
5 |
+
class DisplayNotificationSettings{
|
6 |
+
|
7 |
+
public function output($atts){
|
8 |
+
|
9 |
+
$default = array(
|
10 |
+
'class' => '',
|
11 |
+
'group_id' => '',
|
12 |
+
'base_field_name' => '',
|
13 |
+
'section_title' => '',
|
14 |
+
'enable_options_text' => '',
|
15 |
+
'enable_options_description' => '',
|
16 |
+
'placeholders' => [],
|
17 |
+
'options' => '',
|
18 |
+
);
|
19 |
+
|
20 |
+
$atts = wp_parse_args( $atts, $default );
|
21 |
+
|
22 |
+
$atts = apply_filters( 'mec_display_notification_settings_atts', $atts );
|
23 |
+
|
24 |
+
include __DIR__ .'/template-notification-settings.php';
|
25 |
+
}
|
26 |
+
}
|
@@ -0,0 +1,448 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Notifications;
|
4 |
+
|
5 |
+
use MEC\Events\Event;
|
6 |
+
use MEC\Settings\Settings;
|
7 |
+
|
8 |
+
class SendEmail{
|
9 |
+
|
10 |
+
public $group_id;
|
11 |
+
public $notifications_options;
|
12 |
+
public $event_id;
|
13 |
+
|
14 |
+
public function get_attendees(){
|
15 |
+
|
16 |
+
return [];
|
17 |
+
}
|
18 |
+
|
19 |
+
public function allowed_check_settings_for_attendees(){
|
20 |
+
|
21 |
+
return [];
|
22 |
+
}
|
23 |
+
|
24 |
+
public function get_event_times(){
|
25 |
+
|
26 |
+
return '';
|
27 |
+
}
|
28 |
+
|
29 |
+
public function _get_notifications_settings(){
|
30 |
+
|
31 |
+
$options = Settings::getInstance()->get_options('notifications');
|
32 |
+
|
33 |
+
return isset($options[$this->group_id]) && is_array($options[$this->group_id]) ? $options[$this->group_id] : [];
|
34 |
+
}
|
35 |
+
|
36 |
+
public function get_notification_settings( $key = null ){
|
37 |
+
|
38 |
+
if( empty($this->notifications_options) ){
|
39 |
+
|
40 |
+
$global_options = $this->_get_notifications_settings();
|
41 |
+
$this->notifications_options = $global_options;
|
42 |
+
|
43 |
+
$event_options = [];
|
44 |
+
if($this->event_id){
|
45 |
+
|
46 |
+
$event = new Event( $this->event_id, false );
|
47 |
+
$event_options = $event->get_notifications_settings();
|
48 |
+
if( isset($event_options['status']) && (bool)$event_options['status'] ){
|
49 |
+
|
50 |
+
$this->notifications_options['subject'] = $event_options['subject'];
|
51 |
+
$this->notifications_options['content'] = $event_options['content'];
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
$this->notifications_options = apply_filters('mec_get_notifications_options', $this->notifications_options, $this->group_id, $global_options, $event_options );
|
56 |
+
}
|
57 |
+
|
58 |
+
if(!is_null( $key )){
|
59 |
+
|
60 |
+
return isset( $this->notifications_options[$key] ) ? $this->notifications_options[$key] : null;
|
61 |
+
}
|
62 |
+
|
63 |
+
return $this->notifications_options;
|
64 |
+
}
|
65 |
+
|
66 |
+
public function get_subject( $default = '' ){
|
67 |
+
|
68 |
+
$subject = $this->get_notification_settings( 'subject' );
|
69 |
+
|
70 |
+
return !is_null($subject) ? __($subject,'modern-events-calendar-lite') : $default;
|
71 |
+
}
|
72 |
+
|
73 |
+
public function get_content( $default = '' ){
|
74 |
+
|
75 |
+
$content = $this->get_notification_settings( 'content' );
|
76 |
+
|
77 |
+
return !empty($content) ? $content : $default;
|
78 |
+
}
|
79 |
+
|
80 |
+
public function get_enabled_status(){
|
81 |
+
|
82 |
+
$status = $this->get_notification_settings( 'status' );
|
83 |
+
|
84 |
+
return (bool)$status ;
|
85 |
+
}
|
86 |
+
|
87 |
+
public function get_send_to_admin_status(){
|
88 |
+
|
89 |
+
$status = $this->get_notification_settings( 'send_to_admin' );
|
90 |
+
|
91 |
+
return (bool)$status ;
|
92 |
+
}
|
93 |
+
|
94 |
+
public function get_send_to_organizer_status(){
|
95 |
+
|
96 |
+
$status = $this->get_notification_settings( 'send_to_organizer' );
|
97 |
+
|
98 |
+
return (bool)$status ;
|
99 |
+
}
|
100 |
+
|
101 |
+
public function get_send_to_user_status(){
|
102 |
+
|
103 |
+
$status = $this->get_notification_settings( 'send_to_user' );
|
104 |
+
|
105 |
+
return (bool)$status ;
|
106 |
+
}
|
107 |
+
|
108 |
+
public function get_recipients_emails(){
|
109 |
+
|
110 |
+
$recipients = $this->get_notification_settings( 'recipients' );
|
111 |
+
$recipients = explode(',', trim($recipients));
|
112 |
+
|
113 |
+
return !empty($recipients) && is_array($recipients) ? $recipients : [];
|
114 |
+
}
|
115 |
+
|
116 |
+
public function get_receiver_users_ids(){
|
117 |
+
|
118 |
+
$users_ids = $this->get_notification_settings( 'receiver_users' );
|
119 |
+
|
120 |
+
return !empty($users_ids) && is_array($users_ids) ? $users_ids : [];
|
121 |
+
}
|
122 |
+
|
123 |
+
public function get_receiver_users_emails(){
|
124 |
+
|
125 |
+
$users_ids = $this->get_receiver_users_ids();
|
126 |
+
|
127 |
+
return (array)\MEC\base::get_main()->get_emails_by_users($users_ids);
|
128 |
+
}
|
129 |
+
|
130 |
+
public function get_receiver_roles(){
|
131 |
+
|
132 |
+
$users_ids = $this->get_notification_settings( 'receiver_roles' );
|
133 |
+
|
134 |
+
return !empty($users_ids) && is_array($users_ids) ? $users_ids : [];
|
135 |
+
}
|
136 |
+
|
137 |
+
public function get_receiver_roles_emails(){
|
138 |
+
|
139 |
+
$users_roles = $this->get_receiver_roles();
|
140 |
+
|
141 |
+
return (array)\MEC\base::get_main()->get_emails_by_roles( $users_roles );
|
142 |
+
}
|
143 |
+
|
144 |
+
public function get_organizer_email(){
|
145 |
+
|
146 |
+
$organizer_id = get_post_meta($this->event_id, 'mec_organizer_id', true);
|
147 |
+
$email = get_term_meta($organizer_id, 'email', true);
|
148 |
+
|
149 |
+
return trim($email) ? $email : false;
|
150 |
+
}
|
151 |
+
|
152 |
+
public function get_all_recipients_emails(){
|
153 |
+
|
154 |
+
$emails = array_merge(
|
155 |
+
$this->get_recipients_emails(),
|
156 |
+
$this->get_receiver_users_emails(),
|
157 |
+
);
|
158 |
+
|
159 |
+
$emails = array_merge(
|
160 |
+
$emails,
|
161 |
+
$this->get_receiver_roles_emails()
|
162 |
+
);
|
163 |
+
|
164 |
+
$emails = array_map('trim', $emails);
|
165 |
+
foreach($emails as $k => $email){
|
166 |
+
|
167 |
+
if(empty($email) || !filter_var($email, FILTER_VALIDATE_EMAIL)){
|
168 |
+
|
169 |
+
unset($emails[$k]);
|
170 |
+
}
|
171 |
+
}
|
172 |
+
|
173 |
+
return array_unique($emails);
|
174 |
+
}
|
175 |
+
|
176 |
+
public function get_target_users_or_emails(){
|
177 |
+
|
178 |
+
$users_or_emails = array();
|
179 |
+
|
180 |
+
|
181 |
+
$allowed_check_settings_for_attendees = $this->allowed_check_settings_for_attendees();
|
182 |
+
|
183 |
+
|
184 |
+
$is_in_allowed = in_array($this->group_id, $allowed_check_settings_for_attendees);
|
185 |
+
|
186 |
+
if(
|
187 |
+
!$is_in_allowed
|
188 |
+
||
|
189 |
+
($is_in_allowed && $this->get_send_to_user_status())
|
190 |
+
){
|
191 |
+
|
192 |
+
$attendees = $this->get_attendees();
|
193 |
+
|
194 |
+
if( is_array($attendees) && !empty($attendees) ){
|
195 |
+
|
196 |
+
$users_or_emails = $attendees;
|
197 |
+
}
|
198 |
+
}
|
199 |
+
|
200 |
+
if($this->get_send_to_admin_status()){
|
201 |
+
|
202 |
+
$users_or_emails[] = get_bloginfo('admin_email');
|
203 |
+
}
|
204 |
+
|
205 |
+
if($this->get_send_to_organizer_status()){
|
206 |
+
|
207 |
+
$organizer_email = $this->get_organizer_email();
|
208 |
+
if(!empty($organizer_email)){
|
209 |
+
|
210 |
+
$users_or_emails[] = $organizer_email;
|
211 |
+
}
|
212 |
+
}
|
213 |
+
|
214 |
+
return $users_or_emails;
|
215 |
+
}
|
216 |
+
|
217 |
+
public function get_author($object_id){
|
218 |
+
return (object)[];
|
219 |
+
}
|
220 |
+
|
221 |
+
public function render_author(&$content,$object_id,$attendee){
|
222 |
+
|
223 |
+
$author = $this->get_author($object_id);
|
224 |
+
|
225 |
+
|
226 |
+
$first_name = (isset($author->first_name) ? $author->first_name : '');
|
227 |
+
$last_name = (isset($author->last_name) ? $author->last_name : '');
|
228 |
+
$name = (isset($author->first_name) ? trim($author->first_name.' '.(isset($author->last_name) ? $author->last_name : '')) : '');
|
229 |
+
$email = (isset($author->user_email) ? $author->user_email : '');
|
230 |
+
|
231 |
+
/**
|
232 |
+
* Get the data from Attendee instead of main author user
|
233 |
+
*/
|
234 |
+
if(isset($attendee['name']) and trim($attendee['name'])){
|
235 |
+
$name = $attendee['name'];
|
236 |
+
$attendee_ex_name = explode(' ', $name);
|
237 |
+
|
238 |
+
$first_name = isset($attendee_ex_name[0]) ? $attendee_ex_name[0] : '';
|
239 |
+
$last_name = isset($attendee_ex_name[1]) ? $attendee_ex_name[1] : '';
|
240 |
+
$email = isset($attendee['email']) ? $attendee['email'] : $email;
|
241 |
+
}
|
242 |
+
|
243 |
+
// author Data
|
244 |
+
$content = str_replace('%%first_name%%', $first_name, $content);
|
245 |
+
$content = str_replace('%%last_name%%', $last_name, $content);
|
246 |
+
$content = str_replace('%%name%%', $name, $content);
|
247 |
+
$content = str_replace('%%user_email%%', $email, $content);
|
248 |
+
$content = str_replace('%%user_id%%', (isset($author->ID) ? $author->ID : ''), $content);
|
249 |
+
|
250 |
+
return $content;
|
251 |
+
}
|
252 |
+
|
253 |
+
public function render_site_data(&$content,$object_id){
|
254 |
+
|
255 |
+
$content = str_replace('%%blog_name%%', get_bloginfo('name'), $content);
|
256 |
+
$content = str_replace('%%blog_url%%', get_bloginfo('url'), $content);
|
257 |
+
$content = str_replace('%%blog_description%%', get_bloginfo('description'), $content);
|
258 |
+
|
259 |
+
return $content;
|
260 |
+
}
|
261 |
+
|
262 |
+
public function render_event_data(&$content,$object_id,$timestamps){
|
263 |
+
|
264 |
+
// Date & Time Format
|
265 |
+
$date_format = get_option('date_format');
|
266 |
+
$time_format = get_option('time_format');
|
267 |
+
|
268 |
+
if(!trim($timestamps)) {
|
269 |
+
|
270 |
+
$timestamps = $this->get_event_times();
|
271 |
+
}
|
272 |
+
list($start_timestamp, $end_timestamp) = explode(':', $timestamps);
|
273 |
+
|
274 |
+
// Event Data
|
275 |
+
$organizer_id = get_post_meta($this->event_id, 'mec_organizer_id', true);
|
276 |
+
$location_id = get_post_meta($this->event_id, 'mec_location_id', true);
|
277 |
+
$speaker_id = wp_get_post_terms( $this->event_id, 'mec_speaker', '');
|
278 |
+
|
279 |
+
$organizer = get_term($organizer_id, 'mec_organizer');
|
280 |
+
$location = get_term($location_id, 'mec_location');
|
281 |
+
|
282 |
+
// Data Fields
|
283 |
+
$event_fields = \MEC\Base::get_main()->get_event_fields();
|
284 |
+
$event_fields_data = get_post_meta($this->event_id, 'mec_fields', true);
|
285 |
+
if(!is_array($event_fields_data)) $event_fields_data = array();
|
286 |
+
|
287 |
+
foreach($event_fields as $f => $event_field){
|
288 |
+
if(!is_numeric($f)) {
|
289 |
+
|
290 |
+
continue;
|
291 |
+
}
|
292 |
+
|
293 |
+
$event_field_name = isset($event_field['label']) ? $event_field['label'] : '';
|
294 |
+
$field_value = isset($event_fields_data[$f]) ? $event_fields_data[$f] : NULL;
|
295 |
+
if((!is_array($field_value) and trim($field_value) === '') or (is_array($field_value) and !count($field_value))){
|
296 |
+
$content = str_replace('%%event_field_'.$f.'%%', '', $content);
|
297 |
+
$content = str_replace('%%event_field_'.$f.'_with_name%%', '', $content);
|
298 |
+
|
299 |
+
continue;
|
300 |
+
}
|
301 |
+
|
302 |
+
if(is_array($field_value)) $field_value = implode(', ', $field_value);
|
303 |
+
|
304 |
+
$content = str_replace('%%event_field_'.$f.'%%', trim(stripslashes($field_value), ', '), $content);
|
305 |
+
$content = str_replace('%%event_field_'.$f.'_with_name%%', trim((trim($event_field_name) ? stripslashes($event_field_name).': ' : '').trim(stripslashes($field_value), ', ')), $content);
|
306 |
+
}
|
307 |
+
|
308 |
+
$content = str_replace('%%event_title%%', get_the_title($this->event_id), $content);
|
309 |
+
$content = str_replace('%%event_description%%', strip_tags(strip_shortcodes(get_post_field('post_content', $this->event_id))), $content);
|
310 |
+
|
311 |
+
$event_tags = get_the_terms($this->event_id, apply_filters('mec_taxonomy_tag', ''));
|
312 |
+
$content = str_replace('%%event_tags%%', (is_array($event_tags) ? join(', ', wp_list_pluck($event_tags, 'name')) : ''), $content);
|
313 |
+
|
314 |
+
$event_labels = get_the_terms($this->event_id, 'mec_label');
|
315 |
+
$content = str_replace('%%event_labels%%', (is_array($event_labels) ? join(', ', wp_list_pluck($event_labels, 'name')) : ''), $content);
|
316 |
+
|
317 |
+
$event_categories = get_the_terms($this->event_id, 'mec_category');
|
318 |
+
$content = str_replace('%%event_categories%%', (is_array($event_categories) ? join(', ', wp_list_pluck($event_categories, 'name')) : ''), $content);
|
319 |
+
|
320 |
+
$mec_cost = get_post_meta($this->event_id, 'mec_cost', true);
|
321 |
+
$mec_cost = (isset($params['cost']) and trim($params['cost']) != '') ? preg_replace("/[^0-9.]/", '', $params['cost']) : $mec_cost;
|
322 |
+
|
323 |
+
$read_more = get_post_meta($this->event_id, 'mec_read_more', true);
|
324 |
+
$read_more = (isset($params['read_more']) and trim($params['read_more']) != '') ? $params['read_more'] : $read_more;
|
325 |
+
|
326 |
+
$more_info = get_post_meta($this->event_id, 'mec_more_info', true);
|
327 |
+
$more_info = (isset($params['more_info']) and trim($params['more_info']) != '') ? $params['more_info'] : $more_info;
|
328 |
+
|
329 |
+
$content = str_replace('%%event_cost%%', (is_numeric($mec_cost) ? \MEC\Base::get_main()->render_price($mec_cost, $this->event_id) : $mec_cost), $content);
|
330 |
+
$content = str_replace('%%event_link%%', \MEC\Base::get_main()->get_event_date_permalink(get_permalink($this->event_id), date('Y-m-d', $start_timestamp)), $content);
|
331 |
+
$content = str_replace('%%event_more_info%%', esc_url($read_more), $content);
|
332 |
+
$content = str_replace('%%event_other_info%%', esc_url($more_info), $content);
|
333 |
+
$content = str_replace('%%event_start_date%%', \MEC\Base::get_main()->date_i18n($date_format, $start_timestamp), $content);
|
334 |
+
$content = str_replace('%%event_end_date%%', \MEC\Base::get_main()->date_i18n($date_format, $end_timestamp), $content);
|
335 |
+
$content = str_replace('%%event_start_time%%', date_i18n($time_format, $start_timestamp), $content);
|
336 |
+
$content = str_replace('%%event_end_time%%', date_i18n($time_format, $end_timestamp), $content);
|
337 |
+
$content = str_replace('%%event_timezone%%', \MEC\Base::get_main()->get_timezone($this->event_id), $content);
|
338 |
+
|
339 |
+
$online_link = \MEC_feature_occurrences::param($this->event_id, $start_timestamp, 'moved_online_link', get_post_meta($this->event_id, 'mec_moved_online_link', true));
|
340 |
+
$content = str_replace('%%online_link%%', esc_url($online_link), $content);
|
341 |
+
|
342 |
+
$featured_image = '';
|
343 |
+
$thumbnail_url = \MEC\Base::get_main()->get_post_thumbnail_url($this->event_id, 'medium');
|
344 |
+
if(trim($thumbnail_url)) $featured_image = '<img src="'.$thumbnail_url.'">';
|
345 |
+
|
346 |
+
$content = str_replace('%%event_featured_image%%', $featured_image, $content);
|
347 |
+
|
348 |
+
$content = str_replace('%%event_organizer_name%%', (isset($organizer->name) ? $organizer->name : ''), $content);
|
349 |
+
$content = str_replace('%%event_organizer_tel%%', get_term_meta($organizer_id, 'tel', true), $content);
|
350 |
+
$content = str_replace('%%event_organizer_email%%', get_term_meta($organizer_id, 'email', true), $content);
|
351 |
+
$content = str_replace('%%event_organizer_url%%', get_term_meta($organizer_id, 'url', true), $content);
|
352 |
+
|
353 |
+
$additional_organizers_name = '';
|
354 |
+
$additional_organizers_tel = '';
|
355 |
+
$additional_organizers_email = '';
|
356 |
+
$additional_organizers_url = '';
|
357 |
+
|
358 |
+
$additional_organizers_ids = get_post_meta($this->event_id, 'mec_additional_organizer_ids', true);
|
359 |
+
if(!is_array($additional_organizers_ids)) $additional_organizers_ids = array();
|
360 |
+
|
361 |
+
foreach($additional_organizers_ids as $additional_organizers_id)
|
362 |
+
{
|
363 |
+
$additional_organizer = get_term($additional_organizers_id, 'mec_organizer');
|
364 |
+
if(isset($additional_organizer->name))
|
365 |
+
{
|
366 |
+
$additional_organizers_name .= $additional_organizer->name.', ';
|
367 |
+
$additional_organizers_tel .= get_term_meta($additional_organizers_id, 'tel', true).'<br>';
|
368 |
+
$additional_organizers_email .= get_term_meta($additional_organizers_id, 'email', true).'<br>';
|
369 |
+
$additional_organizers_url .= get_term_meta($additional_organizers_id, 'url', true).'<br>';
|
370 |
+
}
|
371 |
+
}
|
372 |
+
|
373 |
+
$content = str_replace('%%event_other_organizers_name%%', trim($additional_organizers_name, ', '), $content);
|
374 |
+
$content = str_replace('%%event_other_organizers_tel%%', trim($additional_organizers_tel, ', '), $content);
|
375 |
+
$content = str_replace('%%event_other_organizers_email%%', trim($additional_organizers_email, ', '), $content);
|
376 |
+
$content = str_replace('%%event_other_organizers_url%%', trim($additional_organizers_url, ', '), $content);
|
377 |
+
|
378 |
+
$speaker_name = array();
|
379 |
+
foreach($speaker_id as $speaker) $speaker_name[] = isset($speaker->name) ? $speaker->name : null;
|
380 |
+
|
381 |
+
$content = str_replace('%%event_speaker_name%%', (isset($speaker_name) ? implode(', ', $speaker_name): ''), $content);
|
382 |
+
$content = str_replace('%%event_location_name%%', (isset($location->name) ? $location->name : ''), $content);
|
383 |
+
$content = str_replace('%%event_location_address%%', get_term_meta($location_id, 'address', true), $content);
|
384 |
+
|
385 |
+
$additional_locations_name = '';
|
386 |
+
$additional_locations_address = '';
|
387 |
+
|
388 |
+
$additional_locations_ids = get_post_meta($this->event_id, 'mec_additional_location_ids', true);
|
389 |
+
if(!is_array($additional_locations_ids)) $additional_locations_ids = array();
|
390 |
+
|
391 |
+
foreach($additional_locations_ids as $additional_locations_id){
|
392 |
+
$additional_location = get_term($additional_locations_id, 'mec_location');
|
393 |
+
if(isset($additional_location->name))
|
394 |
+
{
|
395 |
+
$additional_locations_name .= $additional_location->name.', ';
|
396 |
+
$additional_locations_address .= get_term_meta($additional_locations_id, 'address', true).'<br>';
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
+
$content = str_replace('%%event_other_locations_name%%', trim($additional_locations_name, ', '), $content);
|
401 |
+
$content = str_replace('%%event_other_locations_address%%', trim($additional_locations_address, ', '), $content);
|
402 |
+
|
403 |
+
$gmt_offset_seconds = \MEC\Base::get_main()->get_gmt_offset_seconds($start_timestamp, $this->event_id);
|
404 |
+
$event_title = get_the_title($this->event_id);
|
405 |
+
$event_info = get_post($this->event_id);
|
406 |
+
$event_content = trim($event_info->post_content) ? strip_shortcodes(strip_tags($event_info->post_content)) : $event_title;
|
407 |
+
$event_content = apply_filters('mec_add_content_to_export_google_calendar_details', $event_content,$this->event_id );
|
408 |
+
|
409 |
+
// Virtual Event
|
410 |
+
$content = str_replace('%%virtual_link%%', get_post_meta($this->event_id, 'mec_virtual_link_url', true), $content);
|
411 |
+
$content = str_replace('%%virtual_password%%', get_post_meta($this->event_id, 'mec_virtual_password', true), $content);
|
412 |
+
$content = str_replace('%%virtual_embed%%', get_post_meta($this->event_id, 'mec_virtual_embed', true), $content);
|
413 |
+
|
414 |
+
$content = str_replace('%%zoom_join%%', get_post_meta($this->event_id, 'mec_zoom_join_url', true), $content);
|
415 |
+
$content = str_replace('%%zoom_link%%', get_post_meta($this->event_id, 'mec_zoom_link_url', true), $content);
|
416 |
+
$content = str_replace('%%zoom_password%%', get_post_meta($this->event_id, 'mec_zoom_password', true), $content);
|
417 |
+
$content = str_replace('%%zoom_embed%%', get_post_meta($this->event_id, 'mec_zoom_embed', true), $content);
|
418 |
+
|
419 |
+
return $content;
|
420 |
+
}
|
421 |
+
|
422 |
+
public function add_template($content){
|
423 |
+
|
424 |
+
$style = \MEC\Base::get_main()->get_styling();
|
425 |
+
$bgnotifications = isset($style['notification_bg']) ? $style['notification_bg'] : '#f6f6f6';
|
426 |
+
|
427 |
+
return '<table border="0" cellpadding="0" cellspacing="0" class="wn-body" style="background-color: '.$bgnotifications.'; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Oxygen,Open Sans, sans-serif;border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;">
|
428 |
+
<tr>
|
429 |
+
<td class="wn-container" style="display: block; margin: 0 auto !important; max-width: 680px; padding: 10px;font-family: sans-serif; font-size: 14px; vertical-align: top;">
|
430 |
+
<div class="wn-wrapper" style="box-sizing: border-box; padding: 38px 9% 50px; width: 100%; height: auto; background: #fff; background-size: contain; margin-bottom: 25px; margin-top: 30px; border-radius: 4px; box-shadow: 0 3px 55px -18px rgba(0,0,0,0.1);">
|
431 |
+
'.$content.'
|
432 |
+
</div>
|
433 |
+
</td>
|
434 |
+
</tr>
|
435 |
+
</table>';
|
436 |
+
}
|
437 |
+
|
438 |
+
public function send_mail($args){
|
439 |
+
|
440 |
+
return wp_mail(
|
441 |
+
$args['to'],
|
442 |
+
html_entity_decode(stripslashes($args['subject']), ENT_HTML5),
|
443 |
+
wpautop(stripslashes($args['message'])),
|
444 |
+
$args['headers'],
|
445 |
+
$args['attachments']
|
446 |
+
);
|
447 |
+
}
|
448 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
if(!defined('ABSPATH')){
|
4 |
+
die || exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
$class = $atts['class'];
|
8 |
+
$group_id = $atts['group_id'];
|
9 |
+
$base_field_name = $atts['base_field_name'];
|
10 |
+
$section_title = $atts['section_title'];
|
11 |
+
$enable_options_text = $atts['enable_options_text'];
|
12 |
+
$enable_options_description = $atts['enable_options_description'];
|
13 |
+
$placeholders = $atts['placeholders'];
|
14 |
+
$options = $atts['options'];
|
15 |
+
|
16 |
+
?>
|
17 |
+
|
18 |
+
<div id="<?php echo $group_id ?>_notification_section" class="mec-options-fields <?php echo $class ?>">
|
19 |
+
|
20 |
+
<h4 class="mec-form-subtitle"><?php echo $section_title; ?></h4>
|
21 |
+
<div class="mec-form-row">
|
22 |
+
<div class="mec-col-12">
|
23 |
+
<label>
|
24 |
+
<input type="hidden" name="<?php echo $base_field_name; ?>[<?php echo $group_id; ?>_notification][status]" value="0" />
|
25 |
+
<input onchange="jQuery('#mec_notification_<?php echo $group_id; ?>_notification_container_toggle').toggle();" value="1" type="checkbox" name="<?php echo $base_field_name; ?>[<?php echo $group_id; ?>_notification][status]" <?php if(!isset($options['status']) or (isset($options['status']) and $options['status'])) echo 'checked="checked"'; ?> /> <?php $enable_options_text; ?>
|
26 |
+
</label>
|
27 |
+
</div>
|
28 |
+
<p class="mec-col-12 description"><?php echo $enable_options_description ?></p>
|
29 |
+
</div>
|
30 |
+
<div id="mec_notification_<?php echo $group_id; ?>_notification_container_toggle" class="<?php if(isset($options) and isset($options['status']) and !$options['status']) echo 'mec-util-hidden'; ?>">
|
31 |
+
|
32 |
+
<?php do_action( 'mec_notifications_settings_start', $group_id, $options ); ?>
|
33 |
+
|
34 |
+
<div class="mec-form-row">
|
35 |
+
<div class="mec-col-3">
|
36 |
+
<label for="mec_notifications_<?php echo $group_id; ?>_notification_subject"><?php _e('Email Subject', 'modern-events-calendar-lite'); ?></label>
|
37 |
+
</div>
|
38 |
+
<div class="mec-col-9">
|
39 |
+
<input type="text" name="<?php echo $base_field_name; ?>[<?php echo $group_id; ?>_notification][subject]" id="mec_notifications_<?php echo $group_id; ?>_notification_subject" value="<?php echo (isset($options['subject']) ? stripslashes($options['subject']) : ''); ?>" />
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
|
43 |
+
<!-- Start Receiver Users -->
|
44 |
+
<div class="mec-form-row">
|
45 |
+
<div class="mec-col-3">
|
46 |
+
<label for="mec_notifications_<?php echo $group_id; ?>_notification_receiver_users"><?php _e('Receiver Users', 'modern-events-calendar-lite'); ?></label>
|
47 |
+
</div>
|
48 |
+
<div class="mec-col-9">
|
49 |
+
<?php
|
50 |
+
$users = isset($options['receiver_users']) ? $options['receiver_users'] : array();
|
51 |
+
echo \MEC\Base::get_main()->get_users_dropdown($users, $group_id . '_notification');
|
52 |
+
?>
|
53 |
+
<span class="mec-tooltip">
|
54 |
+
<div class="box left">
|
55 |
+
<h5 class="title"><?php _e('Receiver Users', 'modern-events-calendar-lite'); ?></h5>
|
56 |
+
<div class="content"><p><?php esc_attr_e('Select users to send a copy of email to them!', 'modern-events-calendar-lite'); ?></p></div>
|
57 |
+
</div>
|
58 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
59 |
+
</span>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
<!-- End Receiver Users -->
|
63 |
+
|
64 |
+
<!-- Start Receiver Roles -->
|
65 |
+
<div class="mec-form-row">
|
66 |
+
<div class="mec-col-3">
|
67 |
+
<label for="mec_notifications_<?php echo $group_id; ?>_notification_receiver_roles"><?php _e('Receiver Roles', 'modern-events-calendar-lite'); ?></label>
|
68 |
+
</div>
|
69 |
+
<div class="mec-col-9">
|
70 |
+
<?php
|
71 |
+
$roles = isset($options['receiver_roles']) ? $options['receiver_roles'] : array();
|
72 |
+
echo \MEC\Base::get_main()->get_roles_dropdown($roles, $group_id . '_notification');
|
73 |
+
?>
|
74 |
+
<span class="mec-tooltip">
|
75 |
+
<div class="box left">
|
76 |
+
<h5 class="title"><?php _e('Receiver Roles', 'modern-events-calendar-lite'); ?></h5>
|
77 |
+
<div class="content"><p><?php esc_attr_e('Select users a specific role.', 'modern-events-calendar-lite'); ?></p></div>
|
78 |
+
</div>
|
79 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
80 |
+
</span>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<!-- End Receiver Roles -->
|
84 |
+
|
85 |
+
<div class="mec-form-row">
|
86 |
+
<div class="mec-col-3">
|
87 |
+
<label for="mec_notifications_<?php echo $group_id; ?>_notification_recipients"><?php _e('Custom Recipients', 'modern-events-calendar-lite'); ?></label>
|
88 |
+
</div>
|
89 |
+
<div class="mec-col-9">
|
90 |
+
<input type="text" name="<?php echo $base_field_name; ?>[<?php echo $group_id; ?>_notification][recipients]" id="mec_notifications_<?php echo $group_id; ?>_notification_recipients" value="<?php echo (isset($options['recipients']) ? $options['recipients'] : ''); ?>" />
|
91 |
+
<span class="mec-tooltip">
|
92 |
+
<div class="box left">
|
93 |
+
<h5 class="title"><?php _e('Custom Recipients', 'modern-events-calendar-lite'); ?></h5>
|
94 |
+
<div class="content"><p><?php esc_attr_e('Insert comma separated emails for multiple recipients.', 'modern-events-calendar-lite'); ?><a href="https://webnus.net/dox/modern-events-calendar/notifications/" target="_blank"><?php _e('Read More', 'modern-events-calendar-lite'); ?></a></p></div>
|
95 |
+
</div>
|
96 |
+
<i title="" class="dashicons-before dashicons-editor-help"></i>
|
97 |
+
</span>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
|
101 |
+
<?php do_action( 'mec_notifications_settings_before_editor', $group_id, $options ); ?>
|
102 |
+
|
103 |
+
<div class="mec-form-row">
|
104 |
+
<label for="mec_notifications_<?php echo $group_id; ?>_notification_content"><?php _e('Email Content', 'modern-events-calendar-lite'); ?></label>
|
105 |
+
<?php
|
106 |
+
$content = isset($options['content']) ? stripslashes($options['content']) : '';
|
107 |
+
wp_editor(
|
108 |
+
$content,
|
109 |
+
'mec_notifications_' . $group_id . '_notification_content',
|
110 |
+
array(
|
111 |
+
'textarea_name'=> $base_field_name.'['. $group_id.'_notification][content]'
|
112 |
+
)
|
113 |
+
);
|
114 |
+
?>
|
115 |
+
</div>
|
116 |
+
|
117 |
+
<?php do_action( 'mec_notifications_settings_after_editor', $group_id, $options ); ?>
|
118 |
+
|
119 |
+
<div class="mec-form-row">
|
120 |
+
<div class="mec-col-12">
|
121 |
+
<p class="description"><?php _e('You can use the following placeholders', 'modern-events-calendar-lite'); ?></p>
|
122 |
+
<ul>
|
123 |
+
<?php foreach($placeholders as $p_key => $p_text): ?>
|
124 |
+
<li><span><?php echo $p_key ?></span>: <?php echo $p_text; ?></li>
|
125 |
+
<?php endforeach; ?>
|
126 |
+
<?php do_action( 'mec_extra_field_notifications', $group_id ); ?>
|
127 |
+
</ul>
|
128 |
+
</div>
|
129 |
+
</div>
|
130 |
+
|
131 |
+
<?php do_action( 'mec_notifications_settings_end', $group_id, $options ); ?>
|
132 |
+
|
133 |
+
</div>
|
134 |
+
</div>
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC;
|
4 |
+
|
5 |
+
abstract class PostBase {
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @var int
|
9 |
+
*/
|
10 |
+
public $ID;
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @var string
|
14 |
+
*/
|
15 |
+
public $type;
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @var array
|
19 |
+
*/
|
20 |
+
public $data;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Constructor
|
24 |
+
*
|
25 |
+
* @param int|\WP_Post|array $data
|
26 |
+
*/
|
27 |
+
public function __construct( $data, $load_post = true ) {
|
28 |
+
|
29 |
+
if ( is_numeric( $data ) && $load_post) {
|
30 |
+
|
31 |
+
$data = get_post( $data );
|
32 |
+
}elseif( is_numeric( $data ) && !$load_post ){
|
33 |
+
|
34 |
+
$data = array(
|
35 |
+
'ID' => $data,
|
36 |
+
);
|
37 |
+
}
|
38 |
+
|
39 |
+
if ( is_a( $data, '\WP_Post' ) ) {
|
40 |
+
|
41 |
+
$data = (array) $data;
|
42 |
+
} elseif ( is_object( $data ) ) {
|
43 |
+
|
44 |
+
$data = (array) $data;
|
45 |
+
}
|
46 |
+
|
47 |
+
$this->data = $data;
|
48 |
+
$this->ID = isset($this->data['ID']) ? $this->data['ID'] : 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* @return int
|
53 |
+
*/
|
54 |
+
public function get_id() {
|
55 |
+
|
56 |
+
return $this->ID;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* @return int
|
61 |
+
*/
|
62 |
+
public function get_title() {
|
63 |
+
|
64 |
+
return isset($this->data['title']) ? $this->data['title'] : get_the_title($this->ID);
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* @param string $key
|
69 |
+
* @param mixed $default
|
70 |
+
*
|
71 |
+
* @return mixed
|
72 |
+
*/
|
73 |
+
public function get_data( $key, $default = null ) {
|
74 |
+
|
75 |
+
$v = isset( $this->data[ $key ] ) ? $this->data[ $key ] : $default;
|
76 |
+
|
77 |
+
return apply_filters( 'mec_' . $this->type . '_get_data', $v, $key, $this->data, $default );
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* @param string $key
|
82 |
+
* @param mixed $value
|
83 |
+
*/
|
84 |
+
public function set_data( $key, $value ) {
|
85 |
+
|
86 |
+
$value = apply_filters( 'mec_' . $this->type . '_get_data', $value, $key, $this->data );
|
87 |
+
$this->data[ $key ] = $value;
|
88 |
+
}
|
89 |
+
|
90 |
+
public function get_cached_all_data() {
|
91 |
+
|
92 |
+
return $this->data;
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* @return array|int|\WP_Post|null
|
97 |
+
*/
|
98 |
+
public function to_array() {
|
99 |
+
|
100 |
+
return $this->get_cached_all_data();
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* @param string $key
|
105 |
+
* @param bool $return_cached
|
106 |
+
*
|
107 |
+
* @return mixed
|
108 |
+
*/
|
109 |
+
public function get_meta( $key, $return_cached = true ) {
|
110 |
+
|
111 |
+
if(empty($key)){
|
112 |
+
|
113 |
+
return null;
|
114 |
+
}
|
115 |
+
|
116 |
+
$data = $this->get_data( $key );
|
117 |
+
if ( is_null( $data ) || !$return_cached ) {
|
118 |
+
|
119 |
+
$data = get_post_meta( $this->ID, $key, true );
|
120 |
+
$this->data[ $key ] = $data;
|
121 |
+
}
|
122 |
+
|
123 |
+
return $data;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* @param string $key
|
128 |
+
* @param $value
|
129 |
+
*
|
130 |
+
* @return void
|
131 |
+
*/
|
132 |
+
public function set_meta( $key, $value ) {
|
133 |
+
|
134 |
+
update_post_meta( $this->ID, $key, $value );
|
135 |
+
$this->set_data( $key, $value );
|
136 |
+
}
|
137 |
+
|
138 |
+
}
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
namespace MEC\Settings;
|
5 |
+
|
6 |
+
|
7 |
+
use MEC\Singleton;
|
8 |
+
|
9 |
+
class Settings extends Singleton {
|
10 |
+
|
11 |
+
private $options;
|
12 |
+
|
13 |
+
public function __construct() {
|
14 |
+
|
15 |
+
$this->options = (array) get_option( 'mec_options' );
|
16 |
+
}
|
17 |
+
|
18 |
+
/**
|
19 |
+
* @param string|null $key
|
20 |
+
*
|
21 |
+
* @return false|mixed|void
|
22 |
+
*/
|
23 |
+
public function get_options( $key = null ) {
|
24 |
+
|
25 |
+
if ( !is_null( $key ) ) {
|
26 |
+
|
27 |
+
return isset( $this->options[ $key ] ) ? $this->options[ $key ] : null;
|
28 |
+
}
|
29 |
+
|
30 |
+
return $this->options;
|
31 |
+
}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* @param string|null $key
|
35 |
+
*
|
36 |
+
* @return false|mixed|void
|
37 |
+
*/
|
38 |
+
public function get_settings( $key = null ) {
|
39 |
+
|
40 |
+
|
41 |
+
if ( !is_null( $key ) ) {
|
42 |
+
|
43 |
+
return isset( $this->options['settings'][ $key ] ) ? $this->options['settings'][ $key ] : null;
|
44 |
+
}
|
45 |
+
|
46 |
+
return isset( $this->options['settings'] ) ? $this->options['settings'] : array();
|
47 |
+
}
|
48 |
+
|
49 |
+
|
50 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC;
|
4 |
+
|
5 |
+
class Singleton {
|
6 |
+
|
7 |
+
private static $instance;
|
8 |
+
|
9 |
+
public static function getInstance() {
|
10 |
+
|
11 |
+
$class_name = get_called_class();
|
12 |
+
|
13 |
+
if ( !isset( self::$instance[ $class_name ] ) ) {
|
14 |
+
|
15 |
+
self::$instance[ $class_name ] = new $class_name();
|
16 |
+
}
|
17 |
+
|
18 |
+
return self::$instance[ $class_name ];
|
19 |
+
}
|
20 |
+
}
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Tickets;
|
4 |
+
|
5 |
+
class Ticket{
|
6 |
+
|
7 |
+
public $data;
|
8 |
+
|
9 |
+
public function __construct($data){
|
10 |
+
|
11 |
+
$this->data = $data;
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* @param string $key
|
16 |
+
* @param mixed $default
|
17 |
+
* @return mixed
|
18 |
+
*/
|
19 |
+
public function get_data($key,$default = null){
|
20 |
+
|
21 |
+
$v = isset($this->data[$key]) ? $this->data[$key] : $default;
|
22 |
+
|
23 |
+
return apply_filters('mec_ticket_get_data',$v,$key,$this->data,$default);
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @param string $type start|end
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
private function _get_time($type){
|
31 |
+
|
32 |
+
return array(
|
33 |
+
'h' => isset($this->data['ticket_'.$type.'_time_hour']) ? sprintf('%02d',$this->data['ticket_'.$type.'_time_hour']) : '',
|
34 |
+
'm' => isset($this->data['ticket_'.$type.'_time_minute']) ? sprintf('%02d',$this->data['ticket_'.$type.'_time_minute']) : '',
|
35 |
+
'ampm' => isset($this->data['ticket_'.$type.'_time_ampm']) ? $this->data['ticket_'.$type.'_time_ampm'] : '',
|
36 |
+
);
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* @param string $type all|start|end
|
41 |
+
* @param string $format
|
42 |
+
* @return string
|
43 |
+
*/
|
44 |
+
public function get_time($type = 'all',$format = 'H:i A'){
|
45 |
+
|
46 |
+
$start = $this->_get_time('start');
|
47 |
+
$end = $this->_get_time('end');
|
48 |
+
|
49 |
+
$start_time = "{$start['h']}:{$start['m']} {$start['ampm']}";
|
50 |
+
$end_time = "{$end['h']}:{$end['m']} {$end['ampm']}";
|
51 |
+
|
52 |
+
$start = date($format,strtotime($start_time));
|
53 |
+
$end = date($format,strtotime($end_time));
|
54 |
+
|
55 |
+
switch($type){
|
56 |
+
case 'start':
|
57 |
+
return $start_time;
|
58 |
+
break;
|
59 |
+
case 'end':
|
60 |
+
return $end_time;
|
61 |
+
break;
|
62 |
+
default:
|
63 |
+
return "$start_time $end_time";
|
64 |
+
break;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
}
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace MEC\Tickets;
|
4 |
+
|
5 |
+
use MEC;
|
6 |
+
|
7 |
+
class Tickets extends MEC\Singleton{
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @param int $event_id
|
11 |
+
* @return array
|
12 |
+
*/
|
13 |
+
public function get_event_tickets($event_id){
|
14 |
+
|
15 |
+
$tickets = (array)get_post_meta($event_id, 'mec_tickets', true);
|
16 |
+
|
17 |
+
foreach($tickets as $k => $ticket){
|
18 |
+
|
19 |
+
$tickets[$k] = new Ticket($ticket);
|
20 |
+
}
|
21 |
+
|
22 |
+
return $tickets;
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @param int $event_id
|
27 |
+
* @param array $tickets //TODO: Ticket[]
|
28 |
+
* @return void
|
29 |
+
*/
|
30 |
+
public function update_event_tickets($event_id,$tickets){
|
31 |
+
|
32 |
+
update_post_meta($event_id, 'mec_tickets', $tickets);
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* @param int $event_id
|
37 |
+
* @param int $ticket_id
|
38 |
+
* @return array|null //TODO: Ticket
|
39 |
+
*/
|
40 |
+
public function get_ticket($event_id,$ticket_id){
|
41 |
+
|
42 |
+
if(!$event_id){
|
43 |
+
|
44 |
+
return null;
|
45 |
+
}
|
46 |
+
|
47 |
+
$tickets = $this->get_event_tickets($event_id);
|
48 |
+
|
49 |
+
return isset($tickets[$ticket_id]) ? $tickets[$ticket_id] : null;
|
50 |
+
}
|
51 |
+
}
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
@@ -15,6 +15,7 @@ class MEC_feature_events extends MEC_base
|
|
15 |
public $PT;
|
16 |
public $settings;
|
17 |
public $render;
|
|
|
18 |
/**
|
19 |
* Constructor method
|
20 |
*
|
@@ -263,6 +264,11 @@ class MEC_feature_events extends MEC_base
|
|
263 |
<a href="<?php echo $this->main->asset('icon.html'); ?>?&width=680&height=450&inlineId=my-content-id"
|
264 |
class="thickbox mec_category_icon button"><?php echo __('Select icon', 'modern-events-calendar-lite'); ?></a>
|
265 |
</div>
|
|
|
|
|
|
|
|
|
|
|
266 |
<?php if($fallback): ?>
|
267 |
<div class="form-field">
|
268 |
<label for="mec_thumbnail_button"><?php _e('Fallback Image', 'modern-events-calendar-lite'); ?></label>
|
@@ -292,6 +298,9 @@ class MEC_feature_events extends MEC_base
|
|
292 |
|
293 |
// Icon
|
294 |
$icon = get_metadata('term', $term->term_id, 'mec_cat_icon', true);
|
|
|
|
|
|
|
295 |
?>
|
296 |
<tr class="form-field">
|
297 |
<th scope="row" >
|
@@ -306,6 +315,15 @@ class MEC_feature_events extends MEC_base
|
|
306 |
<?php endif; ?>
|
307 |
</td>
|
308 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
<?php if($fallback): ?>
|
310 |
<tr class="form-field">
|
311 |
<th scope="row" >
|
@@ -336,6 +354,9 @@ class MEC_feature_events extends MEC_base
|
|
336 |
$icon = isset($_POST['mec_cat_icon']) ? sanitize_text_field($_POST['mec_cat_icon']) : '';
|
337 |
update_term_meta($term_id, 'mec_cat_icon', $icon);
|
338 |
|
|
|
|
|
|
|
339 |
$fallback = isset($_POST['fallback']) ? sanitize_text_field($_POST['fallback']) : '';
|
340 |
update_term_meta($term_id, 'mec_cat_fallback_image', $fallback);
|
341 |
}
|
@@ -1248,8 +1269,12 @@ class MEC_feature_events extends MEC_base
|
|
1248 |
<h4><?php echo $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')); ?></h4>
|
1249 |
<div id="mec_meta_box_cost_form">
|
1250 |
<div class="mec-form-row">
|
1251 |
-
|
1252 |
-
|
|
|
|
|
|
|
|
|
1253 |
</div>
|
1254 |
</div>
|
1255 |
|
@@ -2878,7 +2903,7 @@ class MEC_feature_events extends MEC_base
|
|
2878 |
|
2879 |
// New Trigger
|
2880 |
mec_attendees_trigger_load_dates();
|
2881 |
-
|
2882 |
setTimeout(function()
|
2883 |
{
|
2884 |
jQuery('#mec_att_occurrences_dropdown').trigger('change');
|
@@ -2928,6 +2953,9 @@ class MEC_feature_events extends MEC_base
|
|
2928 |
// Check if our nonce is set.
|
2929 |
if(!isset($_POST['mec_event_nonce'])) return;
|
2930 |
|
|
|
|
|
|
|
2931 |
// Verify that the nonce is valid.
|
2932 |
if(!wp_verify_nonce($_POST['mec_event_nonce'], 'mec_event_data')) return;
|
2933 |
|
@@ -2962,7 +2990,14 @@ class MEC_feature_events extends MEC_base
|
|
2962 |
$more_info = (isset($_mec['more_info']) and trim($_mec['more_info'])) ? (strpos($_mec['more_info'], 'http') === false ? 'http://' . sanitize_text_field($_mec['more_info']) : sanitize_text_field($_mec['more_info'])) : '';
|
2963 |
$more_info_title = isset($_mec['more_info_title']) ? sanitize_text_field($_mec['more_info_title']) : '';
|
2964 |
$more_info_target = isset($_mec['more_info_target']) ? sanitize_text_field($_mec['more_info_target']) : '';
|
2965 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2966 |
$currency_options = ((isset($_mec['currency']) and is_array($_mec['currency'])) ? $_mec['currency'] : array());
|
2967 |
|
2968 |
update_post_meta($post_id, 'mec_location_id', $location_id);
|
@@ -4575,7 +4610,7 @@ class MEC_feature_events extends MEC_base
|
|
4575 |
|
4576 |
return $fallback_image_id;
|
4577 |
}
|
4578 |
-
|
4579 |
public function mec_event_bookings()
|
4580 |
{
|
4581 |
$id = isset($_POST['id']) ? sanitize_text_field($_POST['id']) : 0;
|
15 |
public $PT;
|
16 |
public $settings;
|
17 |
public $render;
|
18 |
+
|
19 |
/**
|
20 |
* Constructor method
|
21 |
*
|
264 |
<a href="<?php echo $this->main->asset('icon.html'); ?>?&width=680&height=450&inlineId=my-content-id"
|
265 |
class="thickbox mec_category_icon button"><?php echo __('Select icon', 'modern-events-calendar-lite'); ?></a>
|
266 |
</div>
|
267 |
+
<div class="form-field">
|
268 |
+
<label for="mec_cat_color"><?php _e('Color', 'modern-events-calendar-lite'); ?></label>
|
269 |
+
<input type="text" name="mec_cat_color" id="mec_cat_color" class="mec-color-picker" />
|
270 |
+
<p class="description"><?php _e('Optional category color', 'modern-events-calendar-lite'); ?></p>
|
271 |
+
</div>
|
272 |
<?php if($fallback): ?>
|
273 |
<div class="form-field">
|
274 |
<label for="mec_thumbnail_button"><?php _e('Fallback Image', 'modern-events-calendar-lite'); ?></label>
|
298 |
|
299 |
// Icon
|
300 |
$icon = get_metadata('term', $term->term_id, 'mec_cat_icon', true);
|
301 |
+
|
302 |
+
// Color
|
303 |
+
$color = get_metadata('term', $term->term_id, 'mec_cat_color', true);
|
304 |
?>
|
305 |
<tr class="form-field">
|
306 |
<th scope="row" >
|
315 |
<?php endif; ?>
|
316 |
</td>
|
317 |
</tr>
|
318 |
+
<tr class="form-field">
|
319 |
+
<th scope="row" >
|
320 |
+
<label for="mec_cat_color"><?php _e('Color', 'modern-events-calendar-lite'); ?></label>
|
321 |
+
</th>
|
322 |
+
<td>
|
323 |
+
<input type="text" name="mec_cat_color" id="mec_cat_color" value="<?php echo $color; ?>" data-default-color="<?php echo $color; ?>" class="mec-color-picker" />
|
324 |
+
<p class="description"><?php _e('Optional category color', 'modern-events-calendar-lite'); ?></p>
|
325 |
+
</td>
|
326 |
+
</tr>
|
327 |
<?php if($fallback): ?>
|
328 |
<tr class="form-field">
|
329 |
<th scope="row" >
|
354 |
$icon = isset($_POST['mec_cat_icon']) ? sanitize_text_field($_POST['mec_cat_icon']) : '';
|
355 |
update_term_meta($term_id, 'mec_cat_icon', $icon);
|
356 |
|
357 |
+
$color = isset($_POST['mec_cat_color']) ? sanitize_text_field($_POST['mec_cat_color']) : '';
|
358 |
+
update_term_meta($term_id, 'mec_cat_color', $color);
|
359 |
+
|
360 |
$fallback = isset($_POST['fallback']) ? sanitize_text_field($_POST['fallback']) : '';
|
361 |
update_term_meta($term_id, 'mec_cat_fallback_image', $fallback);
|
362 |
}
|
1269 |
<h4><?php echo $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')); ?></h4>
|
1270 |
<div id="mec_meta_box_cost_form">
|
1271 |
<div class="mec-form-row">
|
1272 |
+
<?php if( apply_filters( 'mec_event_cost_custom_field_status', false ) ): ?>
|
1273 |
+
<?php do_action( 'mec_event_cost_custom_field', $cost, $type, 'mec[cost]' ); ?>
|
1274 |
+
<?php else: ?>
|
1275 |
+
<input type="<?php echo ($type === 'alphabetic' ? 'text' : 'number'); ?>" <?php echo ($type === 'numeric' ? 'min="0" step="any"' : ''); ?> class="mec-col-3" name="mec[cost]" id="mec_cost"
|
1276 |
+
value="<?php echo esc_attr($cost); ?>" title="<?php _e('Cost', 'modern-events-calendar-lite'); ?>" placeholder="<?php _e('Cost', 'modern-events-calendar-lite'); ?>"/>
|
1277 |
+
<?php endif; ?>
|
1278 |
</div>
|
1279 |
</div>
|
1280 |
|
2903 |
|
2904 |
// New Trigger
|
2905 |
mec_attendees_trigger_load_dates();
|
2906 |
+
|
2907 |
setTimeout(function()
|
2908 |
{
|
2909 |
jQuery('#mec_att_occurrences_dropdown').trigger('change');
|
2953 |
// Check if our nonce is set.
|
2954 |
if(!isset($_POST['mec_event_nonce'])) return;
|
2955 |
|
2956 |
+
// It's from FES
|
2957 |
+
if(isset($_POST['action']) and $_POST['action'] === 'mec_fes_form') return;
|
2958 |
+
|
2959 |
// Verify that the nonce is valid.
|
2960 |
if(!wp_verify_nonce($_POST['mec_event_nonce'], 'mec_event_data')) return;
|
2961 |
|
2990 |
$more_info = (isset($_mec['more_info']) and trim($_mec['more_info'])) ? (strpos($_mec['more_info'], 'http') === false ? 'http://' . sanitize_text_field($_mec['more_info']) : sanitize_text_field($_mec['more_info'])) : '';
|
2991 |
$more_info_title = isset($_mec['more_info_title']) ? sanitize_text_field($_mec['more_info_title']) : '';
|
2992 |
$more_info_target = isset($_mec['more_info_target']) ? sanitize_text_field($_mec['more_info_target']) : '';
|
2993 |
+
|
2994 |
+
$cost = isset($_mec['cost']) ? $_mec['cost'] : '';
|
2995 |
+
$cost = apply_filters(
|
2996 |
+
'mec_event_cost_sanitize',
|
2997 |
+
sanitize_text_field($cost),
|
2998 |
+
$cost
|
2999 |
+
);
|
3000 |
+
|
3001 |
$currency_options = ((isset($_mec['currency']) and is_array($_mec['currency'])) ? $_mec['currency'] : array());
|
3002 |
|
3003 |
update_post_meta($post_id, 'mec_location_id', $location_id);
|
4610 |
|
4611 |
return $fallback_image_id;
|
4612 |
}
|
4613 |
+
|
4614 |
public function mec_event_bookings()
|
4615 |
{
|
4616 |
$id = isset($_POST['id']) ? sanitize_text_field($_POST['id']) : 0;
|
@@ -24,20 +24,20 @@ class MEC_feature_fes extends MEC_base
|
|
24 |
{
|
25 |
// Import MEC Factory
|
26 |
$this->factory = $this->getFactory();
|
27 |
-
|
28 |
// Import MEC Main
|
29 |
$this->main = $this->getMain();
|
30 |
-
|
31 |
// Import MEC DB
|
32 |
$this->db = $this->getDB();
|
33 |
-
|
34 |
// MEC Settings
|
35 |
$this->settings = $this->main->get_settings();
|
36 |
-
|
37 |
// Event Post Type
|
38 |
$this->PT = $this->main->get_main_post_type();
|
39 |
}
|
40 |
-
|
41 |
/**
|
42 |
* Initialize colors feature
|
43 |
* @author Webnus <info@webnus.biz>
|
@@ -46,18 +46,18 @@ class MEC_feature_fes extends MEC_base
|
|
46 |
{
|
47 |
// Frontend Event Submission Form
|
48 |
$this->factory->shortcode('MEC_fes_form', array($this, 'vform'));
|
49 |
-
|
50 |
// Event Single Page
|
51 |
$this->factory->shortcode('MEC_fes_list', array($this, 'vlist'));
|
52 |
-
|
53 |
// Process the event form
|
54 |
$this->factory->action('wp_ajax_mec_fes_form', array($this, 'fes_form'));
|
55 |
$this->factory->action('wp_ajax_nopriv_mec_fes_form', array($this, 'fes_form'));
|
56 |
-
|
57 |
// Upload featured image
|
58 |
$this->factory->action('wp_ajax_mec_fes_upload_featured_image', array($this, 'fes_upload'));
|
59 |
$this->factory->action('wp_ajax_nopriv_mec_fes_upload_featured_image', array($this, 'fes_upload'));
|
60 |
-
|
61 |
// Export the event
|
62 |
$this->factory->action('wp_ajax_mec_fes_csv_export', array($this, 'mec_fes_csv_export'));
|
63 |
|
@@ -67,7 +67,7 @@ class MEC_feature_fes extends MEC_base
|
|
67 |
// Event Published
|
68 |
$this->factory->action('transition_post_status', array($this, 'status_changed'), 10, 3);
|
69 |
}
|
70 |
-
|
71 |
/**
|
72 |
* Generate frontend event submission form view
|
73 |
* @author Webnus <info@webnus.biz>
|
@@ -78,7 +78,7 @@ class MEC_feature_fes extends MEC_base
|
|
78 |
{
|
79 |
// Force to array
|
80 |
if(!is_array($atts)) $atts = array();
|
81 |
-
|
82 |
if(isset($_GET['vlist']) and $_GET['vlist'] == 1)
|
83 |
{
|
84 |
return $this->vlist($atts);
|
@@ -86,57 +86,57 @@ class MEC_feature_fes extends MEC_base
|
|
86 |
|
87 |
// Force to Relative Link
|
88 |
$this->relative_link = (isset($atts['relative-link']) and $atts['relative-link']);
|
89 |
-
|
90 |
// Show login/register message if user is not logged in and guest submission is not enabled.
|
91 |
if(!is_user_logged_in() and (!isset($this->settings['fes_guest_status']) or (isset($this->settings['fes_guest_status']) and $this->settings['fes_guest_status'] == '0')))
|
92 |
{
|
93 |
// Show message
|
94 |
$message = sprintf(__('Please %s/%s in order to submit new events.', 'modern-events-calendar-lite'), '<a href="'.wp_login_url($this->main->get_full_url()).'">'.__('Login', 'modern-events-calendar-lite').'</a>', '<a href="'.wp_registration_url().'">'.__('Register', 'modern-events-calendar-lite').'</a>');
|
95 |
-
|
96 |
ob_start();
|
97 |
include MEC::import('app.features.fes.message', true, true);
|
98 |
return $output = ob_get_clean();
|
99 |
}
|
100 |
-
|
101 |
$post_id = isset($_GET['post_id']) ? sanitize_text_field($_GET['post_id']) : -1;
|
102 |
-
|
103 |
// Selected post is not an event
|
104 |
if($post_id > 0 and get_post_type($post_id) != $this->PT)
|
105 |
{
|
106 |
// Show message
|
107 |
$message = __("Sorry! Selected post is not an event.", 'modern-events-calendar-lite');
|
108 |
-
|
109 |
ob_start();
|
110 |
include MEC::import('app.features.fes.message', true, true);
|
111 |
return $output = ob_get_clean();
|
112 |
}
|
113 |
-
|
114 |
// Show a warning to current user if modification of post is not possible for him/her
|
115 |
if($post_id != -1 and !current_user_can('edit_post', $post_id))
|
116 |
{
|
117 |
// Show message
|
118 |
$message = __("Sorry! You don't have access to modify this event.", 'modern-events-calendar-lite');
|
119 |
-
|
120 |
ob_start();
|
121 |
include MEC::import('app.features.fes.message', true, true);
|
122 |
return $output = ob_get_clean();
|
123 |
}
|
124 |
-
|
125 |
$post = get_post($post_id);
|
126 |
-
|
127 |
if($post_id == -1)
|
128 |
{
|
129 |
$post = new stdClass();
|
130 |
$post->ID = -1;
|
131 |
}
|
132 |
-
|
133 |
$path = MEC::import('app.features.fes.form', true, true);
|
134 |
-
|
135 |
ob_start();
|
136 |
include $path;
|
137 |
return $output = ob_get_clean();
|
138 |
}
|
139 |
-
|
140 |
/**
|
141 |
* Generate frontend event submission list view
|
142 |
* @author Webnus <info@webnus.biz>
|
@@ -147,18 +147,18 @@ class MEC_feature_fes extends MEC_base
|
|
147 |
{
|
148 |
// Force to array
|
149 |
if(!is_array($atts)) $atts = array();
|
150 |
-
|
151 |
$post_id = isset($_GET['post_id']) ? sanitize_text_field($_GET['post_id']) : NULL;
|
152 |
|
153 |
// Force to Relative Link
|
154 |
$this->relative_link = (isset($atts['relative-link']) and $atts['relative-link']);
|
155 |
-
|
156 |
// Show a warning to current user if modification of post is not possible for him/her
|
157 |
if($post_id > 0 and !current_user_can('edit_post', $post_id))
|
158 |
{
|
159 |
// Show message
|
160 |
$message = __("Sorry! You don't have access to modify this event.", 'modern-events-calendar-lite');
|
161 |
-
|
162 |
ob_start();
|
163 |
include MEC::import('app.features.fes.message', true, true);
|
164 |
return $output = ob_get_clean();
|
@@ -167,25 +167,25 @@ class MEC_feature_fes extends MEC_base
|
|
167 |
{
|
168 |
return $this->vform($atts);
|
169 |
}
|
170 |
-
|
171 |
// Show login/register message if user is not logged in
|
172 |
if(!is_user_logged_in())
|
173 |
{
|
174 |
// Show message
|
175 |
$message = sprintf(__('Please %s/%s in order to manage events.', 'modern-events-calendar-lite'), '<a href="'.wp_login_url($this->main->get_full_url()).'">'.__('Login', 'modern-events-calendar-lite').'</a>', '<a href="'.wp_registration_url().'">'.__('Register', 'modern-events-calendar-lite').'</a>');
|
176 |
-
|
177 |
ob_start();
|
178 |
include MEC::import('app.features.fes.message', true, true);
|
179 |
return $output = ob_get_clean();
|
180 |
}
|
181 |
-
|
182 |
$path = MEC::import('app.features.fes.list', true, true);
|
183 |
-
|
184 |
ob_start();
|
185 |
include $path;
|
186 |
return $output = ob_get_clean();
|
187 |
}
|
188 |
-
|
189 |
public function fes_remove()
|
190 |
{
|
191 |
// Check if our nonce is set.
|
@@ -193,18 +193,18 @@ class MEC_feature_fes extends MEC_base
|
|
193 |
|
194 |
// Verify that the nonce is valid.
|
195 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_remove')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
196 |
-
|
197 |
$post_id = isset($_POST['post_id']) ? sanitize_text_field($_POST['post_id']) : 0;
|
198 |
-
|
199 |
// Verify current user can remove the event
|
200 |
if(!current_user_can('delete_post', $post_id)) $this->main->response(array('success'=>0, 'code'=>'USER_CANNOT_REMOVE_EVENT'));
|
201 |
-
|
202 |
// Trash the event
|
203 |
wp_delete_post($post_id);
|
204 |
-
|
205 |
$this->main->response(array('success'=>1, 'message'=>__('Event removed!', 'modern-events-calendar-lite')));
|
206 |
}
|
207 |
-
|
208 |
public function mec_fes_csv_export()
|
209 |
{
|
210 |
if((!isset($_POST['mec_event_id'])) or (!isset($_POST['fes_nonce'])) or (!wp_verify_nonce($_POST['fes_nonce'], 'mec_fes_nonce'))) die(json_encode(array('ex' => "error")));
|
@@ -212,7 +212,7 @@ class MEC_feature_fes extends MEC_base
|
|
212 |
$event_id = intval($_POST['mec_event_id']);
|
213 |
$timestamp = isset($_POST['timestamp']) ? sanitize_text_field($_POST['timestamp']) : 0;
|
214 |
$booking_ids = '';
|
215 |
-
|
216 |
ob_start();
|
217 |
header('Content-Type: text/csv; charset=utf-8');
|
218 |
|
@@ -226,7 +226,7 @@ class MEC_feature_fes extends MEC_base
|
|
226 |
}
|
227 |
|
228 |
$post_ids = trim($booking_ids) ? explode(',', trim($booking_ids, ', ')) : array();
|
229 |
-
|
230 |
if(!count($post_ids) and !$timestamp)
|
231 |
{
|
232 |
$books = $this->db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_event_id' AND `meta_value`={$event_id}", 'loadAssocList');
|
@@ -265,7 +265,7 @@ class MEC_feature_fes extends MEC_base
|
|
265 |
|
266 |
// MEC User
|
267 |
$u = $this->getUser();
|
268 |
-
|
269 |
foreach($post_ids as $post_id)
|
270 |
{
|
271 |
$post_id = (int) $post_id;
|
@@ -281,12 +281,12 @@ class MEC_feature_fes extends MEC_base
|
|
281 |
$price = get_post_meta($post_id, 'mec_price', true);
|
282 |
$gateway_label = get_post_meta($post_id, 'mec_gateway_label', true);
|
283 |
$booker = $u->booking($post_id);
|
284 |
-
|
285 |
$confirmed = $this->main->get_confirmation_label(get_post_meta($post_id, 'mec_confirmed', true));
|
286 |
$verified = $this->main->get_verification_label(get_post_meta($post_id, 'mec_verified', true));
|
287 |
|
288 |
$attachments = '';
|
289 |
-
if(isset($attendees['attachments']))
|
290 |
{
|
291 |
foreach($attendees['attachments'] as $attachment)
|
292 |
{
|
@@ -353,10 +353,10 @@ class MEC_feature_fes extends MEC_base
|
|
353 |
$counter++;
|
354 |
}
|
355 |
}
|
356 |
-
|
357 |
die(json_encode(array('name' => md5(time().mt_rand(100, 999)), 'ex' => "data:text/csv; charset=utf-8;base64,".base64_encode(ob_get_clean()))));
|
358 |
}
|
359 |
-
|
360 |
public function fes_upload()
|
361 |
{
|
362 |
// Check if our nonce is set.
|
@@ -364,20 +364,20 @@ class MEC_feature_fes extends MEC_base
|
|
364 |
|
365 |
// Verify that the nonce is valid.
|
366 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_upload_featured_image')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
367 |
-
|
368 |
// Include the function
|
369 |
if(!function_exists('wp_handle_upload')) require_once ABSPATH.'wp-admin/includes/file.php';
|
370 |
|
371 |
$uploaded_file = isset($_FILES['file']) ? $_FILES['file'] : NULL;
|
372 |
-
|
373 |
// No file
|
374 |
if(!$uploaded_file) $this->main->response(array('success'=>0, 'code'=>'NO_FILE', 'message'=>esc_html__('Please upload an image.', 'modern-events-calendar-lite')));
|
375 |
-
|
376 |
$allowed = array('gif', 'jpeg', 'jpg', 'png');
|
377 |
-
|
378 |
$ex = explode('.', $uploaded_file['name']);
|
379 |
$extension = end($ex);
|
380 |
-
|
381 |
// Invalid Extension
|
382 |
if(!in_array($extension, $allowed)) $this->main->response(array('success'=>0, 'code'=>'INVALID_EXTENSION', 'message'=>sprintf(esc_html__('image extension is invalid. You can upload %s images.', 'modern-events-calendar-lite'), implode(', ', $allowed))));
|
383 |
|
@@ -386,27 +386,27 @@ class MEC_feature_fes extends MEC_base
|
|
386 |
|
387 |
// Invalid Size
|
388 |
if($uploaded_file['size'] > $max_file_size) $this->main->response(array('success'=>0, 'code'=>'IMAGE_IS_TOO_BIG', 'message'=>sprintf(esc_html__('Image is too big. Maximum size is %s KB.', 'modern-events-calendar-lite'), ($max_file_size / 1000))));
|
389 |
-
|
390 |
$movefile = wp_handle_upload($uploaded_file, array('test_form'=>false));
|
391 |
-
|
392 |
$success = 0;
|
393 |
$data = array();
|
394 |
-
|
395 |
if($movefile and !isset($movefile['error']))
|
396 |
{
|
397 |
$success = 1;
|
398 |
$message = __('Image uploaded!', 'modern-events-calendar-lite');
|
399 |
-
|
400 |
$data['url'] = $movefile['url'];
|
401 |
}
|
402 |
else
|
403 |
{
|
404 |
$message = $movefile['error'];
|
405 |
}
|
406 |
-
|
407 |
$this->main->response(array('success'=>$success, 'message'=>$message, 'data'=>$data));
|
408 |
}
|
409 |
-
|
410 |
public function fes_form()
|
411 |
{
|
412 |
// Check if our nonce is set.
|
@@ -414,9 +414,9 @@ class MEC_feature_fes extends MEC_base
|
|
414 |
|
415 |
// Verify that the nonce is valid.
|
416 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_form')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
417 |
-
|
418 |
$mec = isset($_POST['mec']) ? $_POST['mec'] : array();
|
419 |
-
|
420 |
// Google recaptcha
|
421 |
if($this->main->get_recaptcha_status('fes'))
|
422 |
{
|
@@ -464,13 +464,13 @@ class MEC_feature_fes extends MEC_base
|
|
464 |
|
465 |
// Label is Required
|
466 |
if(isset($this->settings['fes_section_labels']) and $this->settings['fes_section_labels'] and isset($this->settings['fes_required_label']) and $this->settings['fes_required_label'] and is_array($post_labels) and !count($post_labels)) $this->main->response(array('success'=>0, 'message'=>__('Please select at-least one label!', 'modern-events-calendar-lite'), 'code'=>'LABEL_IS_EMPTY'));
|
467 |
-
|
468 |
// Post Status
|
469 |
$status = 'pending';
|
470 |
if(current_user_can('publish_posts')) $status = 'publish';
|
471 |
-
|
472 |
$method = 'updated';
|
473 |
-
|
474 |
// Create new event
|
475 |
if($post_id == -1)
|
476 |
{
|
@@ -479,197 +479,243 @@ class MEC_feature_fes extends MEC_base
|
|
479 |
|
480 |
$post = array('post_title'=>$post_title, 'post_content'=>$post_content, 'post_excerpt'=>$post_excerpt, 'post_type'=>$this->PT, 'post_status'=>$status);
|
481 |
$post_id = wp_insert_post($post);
|
482 |
-
|
483 |
$method = 'added';
|
484 |
}
|
485 |
-
|
486 |
wp_update_post(array('ID'=>$post_id, 'post_title'=>$post_title, 'post_content'=>$post_content, 'post_excerpt'=>$post_excerpt,));
|
487 |
-
|
488 |
-
// Categories
|
489 |
-
$categories = array();
|
490 |
-
foreach($post_categories as $post_category=>$value) $categories[] = (int) $post_category;
|
491 |
-
|
492 |
-
wp_set_post_terms($post_id, $categories, 'mec_category');
|
493 |
|
494 |
-
//
|
495 |
-
if(isset($this->settings['
|
496 |
{
|
497 |
-
|
498 |
-
|
|
|
499 |
|
500 |
-
wp_set_post_terms($post_id, $
|
501 |
}
|
502 |
-
|
503 |
-
//
|
504 |
-
$
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
537 |
// Guest Name and Email
|
538 |
$fes_guest_email = isset($mec['fes_guest_email']) ? sanitize_email($mec['fes_guest_email']) : '';
|
539 |
$fes_guest_name = isset($mec['fes_guest_name']) ? sanitize_text_field($mec['fes_guest_name']) : '';
|
540 |
-
|
|
|
541 |
update_post_meta($post_id, 'fes_guest_email', $fes_guest_email);
|
542 |
update_post_meta($post_id, 'fes_guest_name', $fes_guest_name);
|
543 |
-
|
544 |
-
// Location
|
545 |
-
$location_id = isset($mec['location_id']) ? sanitize_text_field($mec['location_id']) : 1;
|
546 |
-
|
547 |
-
// Selected a saved location
|
548 |
-
if($location_id)
|
549 |
-
{
|
550 |
-
// Set term to the post
|
551 |
-
wp_set_object_terms($post_id, (int) $location_id, 'mec_location');
|
552 |
-
}
|
553 |
-
else
|
554 |
-
{
|
555 |
-
$address = (isset($mec['location']['address']) and trim($mec['location']['address'])) ? sanitize_text_field($mec['location']['address']) : '';
|
556 |
-
$name = (isset($mec['location']['name']) and trim($mec['location']['name'])) ? sanitize_text_field($mec['location']['name']) : (trim($address) ? $address : 'Location Name');
|
557 |
|
558 |
-
|
|
|
|
|
|
|
|
|
559 |
|
560 |
-
//
|
561 |
-
if(
|
562 |
{
|
563 |
// Set term to the post
|
564 |
-
wp_set_object_terms($post_id, (int) $
|
565 |
}
|
566 |
else
|
567 |
{
|
568 |
-
$
|
|
|
|
|
|
|
569 |
|
570 |
-
|
571 |
-
if($
|
572 |
{
|
573 |
// Set term to the post
|
574 |
-
wp_set_object_terms($post_id, (int) $
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
$
|
579 |
-
$thumbnail = (isset($mec['location']['thumbnail']) and trim($mec['location']['thumbnail'])) ? sanitize_text_field($mec['location']['thumbnail']) : '';
|
580 |
|
581 |
-
|
|
|
582 |
{
|
583 |
-
|
|
|
584 |
|
585 |
-
$latitude = $
|
586 |
-
$longitude = $
|
587 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
588 |
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
|
|
|
|
594 |
}
|
595 |
-
else $location_id = 1;
|
596 |
}
|
|
|
|
|
|
|
|
|
|
|
597 |
}
|
598 |
-
|
599 |
-
update_post_meta($post_id, 'mec_location_id', $location_id);
|
600 |
-
|
601 |
-
$dont_show_map = isset($mec['dont_show_map']) ? sanitize_text_field($mec['dont_show_map']) : 0;
|
602 |
-
update_post_meta($post_id, 'mec_dont_show_map', $dont_show_map);
|
603 |
-
|
604 |
-
// Organizer
|
605 |
-
$organizer_id = isset($mec['organizer_id']) ? sanitize_text_field($mec['organizer_id']) : 1;
|
606 |
-
|
607 |
-
// Selected a saved organizer
|
608 |
-
if(isset($organizer_id) and $organizer_id)
|
609 |
-
{
|
610 |
-
// Set term to the post
|
611 |
-
wp_set_object_terms($post_id, (int) $organizer_id, 'mec_organizer');
|
612 |
-
}
|
613 |
-
else
|
614 |
-
{
|
615 |
-
$name = (isset($mec['organizer']['name']) and trim($mec['organizer']['name'])) ? sanitize_text_field($mec['organizer']['name']) : 'Organizer Name';
|
616 |
|
617 |
-
|
|
|
|
|
|
|
|
|
618 |
|
619 |
-
//
|
620 |
-
if(
|
621 |
{
|
622 |
// Set term to the post
|
623 |
-
wp_set_object_terms($post_id, (int) $
|
624 |
}
|
625 |
else
|
626 |
{
|
627 |
-
$
|
|
|
|
|
628 |
|
629 |
-
|
630 |
-
if($
|
631 |
{
|
632 |
// Set term to the post
|
633 |
-
wp_set_object_terms($post_id, (int) $
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
$
|
638 |
-
$thumbnail = (isset($mec['organizer']['thumbnail']) and trim($mec['organizer']['thumbnail'])) ? sanitize_text_field($mec['organizer']['thumbnail']) : '';
|
639 |
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
}
|
645 |
-
else $organizer_id = 1;
|
646 |
}
|
647 |
-
}
|
648 |
-
|
649 |
-
update_post_meta($post_id, 'mec_organizer_id', $organizer_id);
|
650 |
|
651 |
-
|
652 |
-
$additional_organizer_ids = isset($mec['additional_organizer_ids']) ? $mec['additional_organizer_ids'] : array();
|
653 |
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
// Additional locations
|
658 |
-
$additional_location_ids = isset($mec['additional_location_ids']) ? $mec['additional_location_ids'] : array();
|
659 |
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
|
|
|
|
|
|
|
|
|
|
664 |
|
665 |
// Date Options
|
666 |
$date = isset($mec['date']) ? $mec['date'] : array();
|
667 |
|
668 |
$start_date = date('Y-m-d', strtotime($start_date));
|
669 |
-
|
670 |
// Set the start date
|
671 |
$date['start']['date'] = $start_date;
|
672 |
-
|
673 |
$start_time_hour = isset($date['start']) ? $date['start']['hour'] : '8';
|
674 |
$start_time_minutes = isset($date['start']) ? $date['start']['minutes'] : '00';
|
675 |
$start_time_ampm = (isset($date['start']) and isset($date['start']['ampm'])) ? $date['start']['ampm'] : 'AM';
|
@@ -678,14 +724,14 @@ class MEC_feature_fes extends MEC_base
|
|
678 |
|
679 |
// Fix end_date if it's smaller than start_date
|
680 |
if(strtotime($end_date) < strtotime($start_date)) $end_date = $start_date;
|
681 |
-
|
682 |
// Set the end date
|
683 |
$date['end']['date'] = $end_date;
|
684 |
-
|
685 |
$end_time_hour = isset($date['end']) ? $date['end']['hour'] : '6';
|
686 |
$end_time_minutes = isset($date['end']) ? $date['end']['minutes'] : '00';
|
687 |
$end_time_ampm = (isset($date['end']) and isset($date['end']['ampm'])) ? $date['end']['ampm'] : 'PM';
|
688 |
-
|
689 |
// If 24 hours format is enabled then convert it back to 12 hours
|
690 |
if(isset($this->settings['time_format']) and $this->settings['time_format'] == 24)
|
691 |
{
|
@@ -701,7 +747,7 @@ class MEC_feature_fes extends MEC_base
|
|
701 |
$start_time_hour = 12;
|
702 |
$start_time_ampm = 'AM';
|
703 |
}
|
704 |
-
|
705 |
if($end_time_hour < 12) $end_time_ampm = 'AM';
|
706 |
elseif($end_time_hour == 12) $end_time_ampm = 'PM';
|
707 |
elseif($end_time_hour > 12)
|
@@ -714,15 +760,15 @@ class MEC_feature_fes extends MEC_base
|
|
714 |
$end_time_hour = 12;
|
715 |
$end_time_ampm = 'AM';
|
716 |
}
|
717 |
-
|
718 |
// Set converted values to date array
|
719 |
$date['start']['hour'] = $start_time_hour;
|
720 |
$date['start']['ampm'] = $start_time_ampm;
|
721 |
-
|
722 |
$date['end']['hour'] = $end_time_hour;
|
723 |
$date['end']['ampm'] = $end_time_ampm;
|
724 |
}
|
725 |
-
|
726 |
$allday = isset($date['allday']) ? 1 : 0;
|
727 |
$one_occurrence = isset($date['one_occurrence']) ? 1 : 0;
|
728 |
$hide_time = isset($date['hide_time']) ? 1 : 0;
|
@@ -738,12 +784,12 @@ class MEC_feature_fes extends MEC_base
|
|
738 |
$start_time_hour = '8';
|
739 |
$start_time_minutes = '00';
|
740 |
$start_time_ampm = 'AM';
|
741 |
-
|
742 |
$end_time_hour = '6';
|
743 |
$end_time_minutes = '00';
|
744 |
$end_time_ampm = 'PM';
|
745 |
}
|
746 |
-
|
747 |
$day_start_seconds = $this->main->time_to_seconds($this->main->to_24hours($start_time_hour, $start_time_ampm), $start_time_minutes);
|
748 |
$day_end_seconds = $this->main->time_to_seconds($this->main->to_24hours($end_time_hour, $end_time_ampm), $end_time_minutes);
|
749 |
|
@@ -764,33 +810,33 @@ class MEC_feature_fes extends MEC_base
|
|
764 |
// Repeat Options
|
765 |
$repeat = isset($date['repeat']) ? $date['repeat'] : array();
|
766 |
$certain_weekdays = isset($repeat['certain_weekdays']) ? $repeat['certain_weekdays'] : array();
|
767 |
-
|
768 |
$repeat_status = isset($repeat['status']) ? 1 : 0;
|
769 |
$repeat_type = ($repeat_status and isset($repeat['type'])) ? $repeat['type'] : '';
|
770 |
-
|
771 |
$repeat_interval = ($repeat_status and isset($repeat['interval']) and trim($repeat['interval'])) ? $repeat['interval'] : 1;
|
772 |
|
773 |
// Advanced Repeat
|
774 |
$advanced = isset( $repeat['advanced'] ) ? sanitize_text_field($repeat['advanced']) : '';
|
775 |
-
|
776 |
if(!is_numeric($repeat_interval)) $repeat_interval = NULL;
|
777 |
-
|
778 |
if($repeat_type == 'weekly') $interval_multiply = 7;
|
779 |
else $interval_multiply = 1;
|
780 |
-
|
781 |
// Reset certain weekdays if repeat type is not set to certain weekdays
|
782 |
if($repeat_type != 'certain_weekdays') $certain_weekdays = array();
|
783 |
-
|
784 |
if(!is_null($repeat_interval)) $repeat_interval = $repeat_interval*$interval_multiply;
|
785 |
-
|
786 |
// String To Array
|
787 |
if($repeat_type == 'advanced' and trim($advanced)) $advanced = explode('-', $advanced);
|
788 |
else $advanced = array();
|
789 |
-
|
790 |
$repeat_end = ($repeat_status and isset($repeat['end'])) ? $repeat['end'] : '';
|
791 |
$repeat_end_at_occurrences = ($repeat_status and isset($repeat['end_at_occurrences'])) ? ($repeat['end_at_occurrences']-1) : '';
|
792 |
$repeat_end_at_date = ($repeat_status and isset($repeat['end_at_date'])) ? $this->main->standardize_format( $repeat['end_at_date'] ) : '';
|
793 |
-
|
794 |
update_post_meta($post_id, 'mec_date', $date);
|
795 |
update_post_meta($post_id, 'mec_repeat', $repeat);
|
796 |
update_post_meta($post_id, 'mec_certain_weekdays', $certain_weekdays);
|
@@ -809,20 +855,20 @@ class MEC_feature_fes extends MEC_base
|
|
809 |
update_post_meta($post_id, 'mec_repeat_end_at_occurrences', $repeat_end_at_occurrences);
|
810 |
update_post_meta($post_id, 'mec_repeat_end_at_date', $repeat_end_at_date);
|
811 |
update_post_meta($post_id, 'mec_advanced_days', $advanced);
|
812 |
-
|
813 |
// Creating $event array for inserting in mec_events table
|
814 |
$event = array('post_id'=>$post_id, 'start'=>$start_date, 'repeat'=>$repeat_status, 'rinterval'=>(!in_array($repeat_type, array('daily', 'weekly', 'monthly')) ? NULL : $repeat_interval), 'time_start'=>$day_start_seconds, 'time_end'=>$day_end_seconds);
|
815 |
-
|
816 |
$year = NULL;
|
817 |
$month = NULL;
|
818 |
$day = NULL;
|
819 |
$week = NULL;
|
820 |
$weekday = NULL;
|
821 |
$weekdays = NULL;
|
822 |
-
|
823 |
// MEC weekdays
|
824 |
$mec_weekdays = $this->main->get_weekdays();
|
825 |
-
|
826 |
// MEC weekends
|
827 |
$mec_weekends = $this->main->get_weekends();
|
828 |
|
@@ -839,67 +885,67 @@ class MEC_feature_fes extends MEC_base
|
|
839 |
{
|
840 |
$repeat_interval = 1;
|
841 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Weekdays';
|
842 |
-
|
843 |
$weekdays = ','.implode(',', $mec_weekdays).',';
|
844 |
}
|
845 |
elseif($repeat_type == 'weekend')
|
846 |
{
|
847 |
$repeat_interval = 1;
|
848 |
$plus_date = '+'.round($repeat_end_at_occurrences/2)*($repeat_interval*7).' Days';
|
849 |
-
|
850 |
$weekdays = ','.implode(',', $mec_weekends).',';
|
851 |
}
|
852 |
elseif($repeat_type == 'certain_weekdays')
|
853 |
{
|
854 |
$repeat_interval = 1;
|
855 |
$plus_date = '+' . ceil(($repeat_end_at_occurrences * $repeat_interval) * (7/count($certain_weekdays))) . ' days';
|
856 |
-
|
857 |
$weekdays = ','.implode(',', $certain_weekdays).',';
|
858 |
}
|
859 |
elseif($repeat_type == 'monthly')
|
860 |
{
|
861 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Months';
|
862 |
-
|
863 |
$year = '*';
|
864 |
$month = '*';
|
865 |
-
|
866 |
$s = $start_date;
|
867 |
$e = $end_date;
|
868 |
-
|
869 |
$_days = array();
|
870 |
while(strtotime($s) <= strtotime($e))
|
871 |
{
|
872 |
$_days[] = date('d', strtotime($s));
|
873 |
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
874 |
}
|
875 |
-
|
876 |
$day = ','.implode(',', array_unique($_days)).',';
|
877 |
-
|
878 |
$week = '*';
|
879 |
$weekday = '*';
|
880 |
}
|
881 |
elseif($repeat_type == 'yearly')
|
882 |
{
|
883 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Years';
|
884 |
-
|
885 |
$year = '*';
|
886 |
-
|
887 |
$s = $start_date;
|
888 |
$e = $end_date;
|
889 |
-
|
890 |
$_months = array();
|
891 |
$_days = array();
|
892 |
while(strtotime($s) <= strtotime($e))
|
893 |
{
|
894 |
$_months[] = date('m', strtotime($s));
|
895 |
$_days[] = date('d', strtotime($s));
|
896 |
-
|
897 |
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
898 |
}
|
899 |
-
|
900 |
$month = ','.implode(',', array_unique($_months)).',';
|
901 |
$day = ','.implode(',', array_unique($_days)).',';
|
902 |
-
|
903 |
$week = '*';
|
904 |
$weekday = '*';
|
905 |
}
|
@@ -911,10 +957,10 @@ class MEC_feature_fes extends MEC_base
|
|
911 |
// Get finish date
|
912 |
$event_info = array('start' => $date['start'], 'end' => $date['end']);
|
913 |
$dates = $this->render->generate_advanced_days($advanced, $event_info, $repeat_end_at_occurrences +1, date( 'Y-m-d', current_time( 'timestamp', 0 )), 'events');
|
914 |
-
|
915 |
$period_date = $this->main->date_diff($start_date, end($dates)['end']['date']);
|
916 |
|
917 |
-
$plus_date = '+' . $period_date->days . ' Days';
|
918 |
}
|
919 |
|
920 |
// "In Days" and "Not In Days"
|
@@ -1064,7 +1110,7 @@ class MEC_feature_fes extends MEC_base
|
|
1064 |
|
1065 |
update_post_meta($post_id, 'mec_in_days', $in_days);
|
1066 |
update_post_meta($post_id, 'mec_not_in_days', $not_in_days);
|
1067 |
-
|
1068 |
// Repeat End Date
|
1069 |
if($repeat_end == 'never') $repeat_end_date = '0000-00-00';
|
1070 |
elseif($repeat_end == 'date') $repeat_end_date = $repeat_end_at_date;
|
@@ -1088,7 +1134,7 @@ class MEC_feature_fes extends MEC_base
|
|
1088 |
$event['weekdays'] = $weekdays;
|
1089 |
$event['days'] = $in_days;
|
1090 |
$event['not_in_days'] = $not_in_days;
|
1091 |
-
|
1092 |
// Update MEC Events Table
|
1093 |
$mec_event_id = $this->db->select($this->db->prepare("SELECT `id` FROM `#__mec_events` WHERE `post_id` = %d", $post_id), 'loadResult');
|
1094 |
|
@@ -1096,27 +1142,27 @@ class MEC_feature_fes extends MEC_base
|
|
1096 |
{
|
1097 |
$q1 = "";
|
1098 |
$q2 = "";
|
1099 |
-
|
1100 |
foreach($event as $key=>$value)
|
1101 |
{
|
1102 |
$q1 .= "`$key`,";
|
1103 |
-
|
1104 |
if(is_null($value)) $q2 .= "NULL,";
|
1105 |
else $q2 .= "'$value',";
|
1106 |
}
|
1107 |
-
|
1108 |
$this->db->q("INSERT INTO `#__mec_events` (".trim($q1, ', ').") VALUES (".trim($q2, ', ').")", 'INSERT');
|
1109 |
}
|
1110 |
else
|
1111 |
{
|
1112 |
$q = "";
|
1113 |
-
|
1114 |
foreach($event as $key=>$value)
|
1115 |
{
|
1116 |
if(is_null($value)) $q .= "`$key`=NULL,";
|
1117 |
else $q .= "`$key`='$value',";
|
1118 |
}
|
1119 |
-
|
1120 |
$this->db->q("UPDATE `#__mec_events` SET ".trim($q, ', ')." WHERE `id`='$mec_event_id'");
|
1121 |
}
|
1122 |
|
@@ -1124,117 +1170,130 @@ class MEC_feature_fes extends MEC_base
|
|
1124 |
$schedule = $this->getSchedule();
|
1125 |
$schedule->reschedule($post_id, $schedule->get_reschedule_maximum($repeat_type));
|
1126 |
|
1127 |
-
// Hourly Schedule
|
1128 |
-
$
|
1129 |
-
unset($raw_hourly_schedules[':d:']);
|
1130 |
-
|
1131 |
-
$hourly_schedules = array();
|
1132 |
-
foreach($raw_hourly_schedules as $raw_hourly_schedule)
|
1133 |
{
|
1134 |
-
|
1135 |
-
$hourly_schedules[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1136 |
}
|
1137 |
|
1138 |
-
|
1139 |
-
|
1140 |
-
// Booking and Ticket Options
|
1141 |
-
$booking = isset($mec['booking']) ? $mec['booking'] : array();
|
1142 |
-
update_post_meta($post_id, 'mec_booking', $booking);
|
1143 |
-
|
1144 |
-
$tickets = isset($mec['tickets']) ? $mec['tickets'] : array();
|
1145 |
-
unset($tickets[':i:']);
|
1146 |
-
|
1147 |
-
// Unset Ticket Dats
|
1148 |
-
if(count($tickets))
|
1149 |
{
|
1150 |
-
|
1151 |
-
|
|
|
|
|
|
|
|
|
1152 |
{
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
$ticket_render_end_time = date('h:ia', strtotime(sprintf('%02d', $ticket['ticket_end_time_hour']) . ':' . sprintf('%02d', $ticket['ticket_end_time_minute']) . $ticket_end_time_ampm));
|
1159 |
-
|
1160 |
-
$ticket['ticket_start_time_hour'] = substr($ticket_render_start_time, 0, 2);
|
1161 |
-
$ticket['ticket_start_time_ampm'] = strtoupper(substr($ticket_render_start_time, 5, 6));
|
1162 |
-
$ticket['ticket_end_time_hour'] = substr($ticket_render_end_time, 0, 2);
|
1163 |
-
$ticket['ticket_end_time_ampm'] = strtoupper(substr($ticket_render_end_time, 5, 6));
|
1164 |
-
$ticket['price'] = trim($ticket['price']);
|
1165 |
-
$ticket['limit'] = trim($ticket['limit']);
|
1166 |
-
$ticket['minimum_ticket'] = trim($ticket['minimum_ticket']);
|
1167 |
-
$ticket['stop_selling_value'] = trim($ticket['stop_selling_value']);
|
1168 |
-
|
1169 |
-
// Bellow conditional block code is used to change ticket dates format to compatible ticket past dates structure for store in db.
|
1170 |
-
if(isset($ticket['dates']))
|
1171 |
{
|
1172 |
-
|
|
|
1173 |
{
|
1174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1175 |
{
|
1176 |
-
$ticket['dates']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1177 |
}
|
1178 |
|
1179 |
-
|
1180 |
-
{
|
1181 |
-
$ticket['dates'][$dates_ticket_key]['end'] = $this->main->standardize_format($dates_ticket_values['end']);
|
1182 |
-
}
|
1183 |
}
|
|
|
|
|
1184 |
}
|
1185 |
|
1186 |
-
$
|
1187 |
}
|
1188 |
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
$fees_global_inheritance = isset($mec['fees_global_inheritance']) ? $mec['fees_global_inheritance'] : 1;
|
1196 |
-
update_post_meta($post_id, 'mec_fees_global_inheritance', $fees_global_inheritance);
|
1197 |
-
|
1198 |
-
$fees = isset($mec['fees']) ? $mec['fees'] : array();
|
1199 |
-
update_post_meta($post_id, 'mec_fees', $fees);
|
1200 |
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
|
1205 |
-
|
1206 |
-
|
|
|
|
|
|
|
|
|
1207 |
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
|
1212 |
-
|
1213 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1214 |
|
1215 |
-
|
1216 |
|
1217 |
-
|
1218 |
-
|
1219 |
|
1220 |
-
|
|
|
|
|
1221 |
|
1222 |
// Organizer Payment Options
|
1223 |
$op = isset($mec['op']) ? $mec['op'] : array();
|
1224 |
update_post_meta($post_id, 'mec_op', $op);
|
1225 |
update_user_meta(get_post_field('post_author', $post_id), 'mec_op', $op);
|
1226 |
|
1227 |
-
// SEO Schema
|
1228 |
-
$event_status = isset($mec['event_status']) ? sanitize_text_field($mec['event_status']) : 'EventScheduled';
|
1229 |
-
if(!in_array($event_status, array('EventScheduled', 'EventPostponed', 'EventCancelled', 'EventMovedOnline'))) $event_status = 'EventScheduled';
|
1230 |
-
update_post_meta($post_id, 'mec_event_status', $event_status);
|
1231 |
-
|
1232 |
-
$moved_online_link = (isset($mec['moved_online_link']) and filter_var($mec['moved_online_link'], FILTER_VALIDATE_URL)) ? esc_url($mec['moved_online_link']) : '';
|
1233 |
-
update_post_meta($post_id, 'mec_moved_online_link', $moved_online_link);
|
1234 |
-
|
1235 |
-
$cancelled_reason = (isset($mec['cancelled_reason']) and filter_var($mec['cancelled_reason'], FILTER_VALIDATE_URL)) ? esc_url($mec['cancelled_reason']) : '';
|
1236 |
-
update_post_meta($post_id, 'mec_cancelled_reason', $cancelled_reason);
|
1237 |
-
|
1238 |
if($booking_date_update)
|
1239 |
{
|
1240 |
$render_date = $past_start_date . ':' . $past_end_date;
|
@@ -1307,7 +1366,7 @@ class MEC_feature_fes extends MEC_base
|
|
1307 |
$message = '';
|
1308 |
if($status == 'pending') $message = __('Event submitted. It will publish as soon as possible.', 'modern-events-calendar-lite');
|
1309 |
elseif($status == 'publish') $message = __('The event published.', 'modern-events-calendar-lite');
|
1310 |
-
|
1311 |
// Trigger Event
|
1312 |
if($method == 'updated') do_action('mec_fes_updated', $post_id , 'update');
|
1313 |
else do_action('mec_fes_added', $post_id , '');
|
@@ -1317,7 +1376,7 @@ class MEC_feature_fes extends MEC_base
|
|
1317 |
|
1318 |
$redirect_to = ((isset($this->settings['fes_thankyou_page']) and trim($this->settings['fes_thankyou_page'])) ? get_permalink(intval($this->settings['fes_thankyou_page'])) : '');
|
1319 |
if(isset($this->settings['fes_thankyou_page_url']) and trim($this->settings['fes_thankyou_page_url'])) $redirect_to = esc_url($this->settings['fes_thankyou_page_url']);
|
1320 |
-
|
1321 |
$this->main->response(array(
|
1322 |
'success' => 1,
|
1323 |
'message' => $message,
|
@@ -1327,19 +1386,19 @@ class MEC_feature_fes extends MEC_base
|
|
1327 |
),
|
1328 |
));
|
1329 |
}
|
1330 |
-
|
1331 |
public function link_add_event()
|
1332 |
{
|
1333 |
if(!$this->relative_link and isset($this->settings['fes_form_page']) and trim($this->settings['fes_form_page'])) return get_permalink($this->settings['fes_form_page']);
|
1334 |
else return $this->main->add_qs_var('post_id', '-1', $this->main->remove_qs_var('vlist'));
|
1335 |
}
|
1336 |
-
|
1337 |
public function link_edit_event($post_id)
|
1338 |
{
|
1339 |
if(!$this->relative_link and isset($this->settings['fes_form_page']) and trim($this->settings['fes_form_page'])) return $this->main->add_qs_var('post_id', $post_id, get_permalink($this->settings['fes_form_page']));
|
1340 |
else return $this->main->add_qs_var('post_id', $post_id, $this->main->remove_qs_var('vlist'));
|
1341 |
}
|
1342 |
-
|
1343 |
public function link_list_events()
|
1344 |
{
|
1345 |
if(!$this->relative_link and isset($this->settings['fes_list_page']) and trim($this->settings['fes_list_page'])) return get_permalink($this->settings['fes_list_page']);
|
@@ -1402,7 +1461,7 @@ class MEC_feature_fes extends MEC_base
|
|
1402 |
}
|
1403 |
|
1404 |
// FES Categories Custom Walker
|
1405 |
-
class FES_Custom_Walker extends Walker_Category
|
1406 |
{
|
1407 |
/**
|
1408 |
* This class is a custom walker for front end event submission hierarchical categories customizing
|
24 |
{
|
25 |
// Import MEC Factory
|
26 |
$this->factory = $this->getFactory();
|
27 |
+
|
28 |
// Import MEC Main
|
29 |
$this->main = $this->getMain();
|
30 |
+
|
31 |
// Import MEC DB
|
32 |
$this->db = $this->getDB();
|
33 |
+
|
34 |
// MEC Settings
|
35 |
$this->settings = $this->main->get_settings();
|
36 |
+
|
37 |
// Event Post Type
|
38 |
$this->PT = $this->main->get_main_post_type();
|
39 |
}
|
40 |
+
|
41 |
/**
|
42 |
* Initialize colors feature
|
43 |
* @author Webnus <info@webnus.biz>
|
46 |
{
|
47 |
// Frontend Event Submission Form
|
48 |
$this->factory->shortcode('MEC_fes_form', array($this, 'vform'));
|
49 |
+
|
50 |
// Event Single Page
|
51 |
$this->factory->shortcode('MEC_fes_list', array($this, 'vlist'));
|
52 |
+
|
53 |
// Process the event form
|
54 |
$this->factory->action('wp_ajax_mec_fes_form', array($this, 'fes_form'));
|
55 |
$this->factory->action('wp_ajax_nopriv_mec_fes_form', array($this, 'fes_form'));
|
56 |
+
|
57 |
// Upload featured image
|
58 |
$this->factory->action('wp_ajax_mec_fes_upload_featured_image', array($this, 'fes_upload'));
|
59 |
$this->factory->action('wp_ajax_nopriv_mec_fes_upload_featured_image', array($this, 'fes_upload'));
|
60 |
+
|
61 |
// Export the event
|
62 |
$this->factory->action('wp_ajax_mec_fes_csv_export', array($this, 'mec_fes_csv_export'));
|
63 |
|
67 |
// Event Published
|
68 |
$this->factory->action('transition_post_status', array($this, 'status_changed'), 10, 3);
|
69 |
}
|
70 |
+
|
71 |
/**
|
72 |
* Generate frontend event submission form view
|
73 |
* @author Webnus <info@webnus.biz>
|
78 |
{
|
79 |
// Force to array
|
80 |
if(!is_array($atts)) $atts = array();
|
81 |
+
|
82 |
if(isset($_GET['vlist']) and $_GET['vlist'] == 1)
|
83 |
{
|
84 |
return $this->vlist($atts);
|
86 |
|
87 |
// Force to Relative Link
|
88 |
$this->relative_link = (isset($atts['relative-link']) and $atts['relative-link']);
|
89 |
+
|
90 |
// Show login/register message if user is not logged in and guest submission is not enabled.
|
91 |
if(!is_user_logged_in() and (!isset($this->settings['fes_guest_status']) or (isset($this->settings['fes_guest_status']) and $this->settings['fes_guest_status'] == '0')))
|
92 |
{
|
93 |
// Show message
|
94 |
$message = sprintf(__('Please %s/%s in order to submit new events.', 'modern-events-calendar-lite'), '<a href="'.wp_login_url($this->main->get_full_url()).'">'.__('Login', 'modern-events-calendar-lite').'</a>', '<a href="'.wp_registration_url().'">'.__('Register', 'modern-events-calendar-lite').'</a>');
|
95 |
+
|
96 |
ob_start();
|
97 |
include MEC::import('app.features.fes.message', true, true);
|
98 |
return $output = ob_get_clean();
|
99 |
}
|
100 |
+
|
101 |
$post_id = isset($_GET['post_id']) ? sanitize_text_field($_GET['post_id']) : -1;
|
102 |
+
|
103 |
// Selected post is not an event
|
104 |
if($post_id > 0 and get_post_type($post_id) != $this->PT)
|
105 |
{
|
106 |
// Show message
|
107 |
$message = __("Sorry! Selected post is not an event.", 'modern-events-calendar-lite');
|
108 |
+
|
109 |
ob_start();
|
110 |
include MEC::import('app.features.fes.message', true, true);
|
111 |
return $output = ob_get_clean();
|
112 |
}
|
113 |
+
|
114 |
// Show a warning to current user if modification of post is not possible for him/her
|
115 |
if($post_id != -1 and !current_user_can('edit_post', $post_id))
|
116 |
{
|
117 |
// Show message
|
118 |
$message = __("Sorry! You don't have access to modify this event.", 'modern-events-calendar-lite');
|
119 |
+
|
120 |
ob_start();
|
121 |
include MEC::import('app.features.fes.message', true, true);
|
122 |
return $output = ob_get_clean();
|
123 |
}
|
124 |
+
|
125 |
$post = get_post($post_id);
|
126 |
+
|
127 |
if($post_id == -1)
|
128 |
{
|
129 |
$post = new stdClass();
|
130 |
$post->ID = -1;
|
131 |
}
|
132 |
+
|
133 |
$path = MEC::import('app.features.fes.form', true, true);
|
134 |
+
|
135 |
ob_start();
|
136 |
include $path;
|
137 |
return $output = ob_get_clean();
|
138 |
}
|
139 |
+
|
140 |
/**
|
141 |
* Generate frontend event submission list view
|
142 |
* @author Webnus <info@webnus.biz>
|
147 |
{
|
148 |
// Force to array
|
149 |
if(!is_array($atts)) $atts = array();
|
150 |
+
|
151 |
$post_id = isset($_GET['post_id']) ? sanitize_text_field($_GET['post_id']) : NULL;
|
152 |
|
153 |
// Force to Relative Link
|
154 |
$this->relative_link = (isset($atts['relative-link']) and $atts['relative-link']);
|
155 |
+
|
156 |
// Show a warning to current user if modification of post is not possible for him/her
|
157 |
if($post_id > 0 and !current_user_can('edit_post', $post_id))
|
158 |
{
|
159 |
// Show message
|
160 |
$message = __("Sorry! You don't have access to modify this event.", 'modern-events-calendar-lite');
|
161 |
+
|
162 |
ob_start();
|
163 |
include MEC::import('app.features.fes.message', true, true);
|
164 |
return $output = ob_get_clean();
|
167 |
{
|
168 |
return $this->vform($atts);
|
169 |
}
|
170 |
+
|
171 |
// Show login/register message if user is not logged in
|
172 |
if(!is_user_logged_in())
|
173 |
{
|
174 |
// Show message
|
175 |
$message = sprintf(__('Please %s/%s in order to manage events.', 'modern-events-calendar-lite'), '<a href="'.wp_login_url($this->main->get_full_url()).'">'.__('Login', 'modern-events-calendar-lite').'</a>', '<a href="'.wp_registration_url().'">'.__('Register', 'modern-events-calendar-lite').'</a>');
|
176 |
+
|
177 |
ob_start();
|
178 |
include MEC::import('app.features.fes.message', true, true);
|
179 |
return $output = ob_get_clean();
|
180 |
}
|
181 |
+
|
182 |
$path = MEC::import('app.features.fes.list', true, true);
|
183 |
+
|
184 |
ob_start();
|
185 |
include $path;
|
186 |
return $output = ob_get_clean();
|
187 |
}
|
188 |
+
|
189 |
public function fes_remove()
|
190 |
{
|
191 |
// Check if our nonce is set.
|
193 |
|
194 |
// Verify that the nonce is valid.
|
195 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_remove')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
196 |
+
|
197 |
$post_id = isset($_POST['post_id']) ? sanitize_text_field($_POST['post_id']) : 0;
|
198 |
+
|
199 |
// Verify current user can remove the event
|
200 |
if(!current_user_can('delete_post', $post_id)) $this->main->response(array('success'=>0, 'code'=>'USER_CANNOT_REMOVE_EVENT'));
|
201 |
+
|
202 |
// Trash the event
|
203 |
wp_delete_post($post_id);
|
204 |
+
|
205 |
$this->main->response(array('success'=>1, 'message'=>__('Event removed!', 'modern-events-calendar-lite')));
|
206 |
}
|
207 |
+
|
208 |
public function mec_fes_csv_export()
|
209 |
{
|
210 |
if((!isset($_POST['mec_event_id'])) or (!isset($_POST['fes_nonce'])) or (!wp_verify_nonce($_POST['fes_nonce'], 'mec_fes_nonce'))) die(json_encode(array('ex' => "error")));
|
212 |
$event_id = intval($_POST['mec_event_id']);
|
213 |
$timestamp = isset($_POST['timestamp']) ? sanitize_text_field($_POST['timestamp']) : 0;
|
214 |
$booking_ids = '';
|
215 |
+
|
216 |
ob_start();
|
217 |
header('Content-Type: text/csv; charset=utf-8');
|
218 |
|
226 |
}
|
227 |
|
228 |
$post_ids = trim($booking_ids) ? explode(',', trim($booking_ids, ', ')) : array();
|
229 |
+
|
230 |
if(!count($post_ids) and !$timestamp)
|
231 |
{
|
232 |
$books = $this->db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_event_id' AND `meta_value`={$event_id}", 'loadAssocList');
|
265 |
|
266 |
// MEC User
|
267 |
$u = $this->getUser();
|
268 |
+
|
269 |
foreach($post_ids as $post_id)
|
270 |
{
|
271 |
$post_id = (int) $post_id;
|
281 |
$price = get_post_meta($post_id, 'mec_price', true);
|
282 |
$gateway_label = get_post_meta($post_id, 'mec_gateway_label', true);
|
283 |
$booker = $u->booking($post_id);
|
284 |
+
|
285 |
$confirmed = $this->main->get_confirmation_label(get_post_meta($post_id, 'mec_confirmed', true));
|
286 |
$verified = $this->main->get_verification_label(get_post_meta($post_id, 'mec_verified', true));
|
287 |
|
288 |
$attachments = '';
|
289 |
+
if(isset($attendees['attachments']))
|
290 |
{
|
291 |
foreach($attendees['attachments'] as $attachment)
|
292 |
{
|
353 |
$counter++;
|
354 |
}
|
355 |
}
|
356 |
+
|
357 |
die(json_encode(array('name' => md5(time().mt_rand(100, 999)), 'ex' => "data:text/csv; charset=utf-8;base64,".base64_encode(ob_get_clean()))));
|
358 |
}
|
359 |
+
|
360 |
public function fes_upload()
|
361 |
{
|
362 |
// Check if our nonce is set.
|
364 |
|
365 |
// Verify that the nonce is valid.
|
366 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_upload_featured_image')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
367 |
+
|
368 |
// Include the function
|
369 |
if(!function_exists('wp_handle_upload')) require_once ABSPATH.'wp-admin/includes/file.php';
|
370 |
|
371 |
$uploaded_file = isset($_FILES['file']) ? $_FILES['file'] : NULL;
|
372 |
+
|
373 |
// No file
|
374 |
if(!$uploaded_file) $this->main->response(array('success'=>0, 'code'=>'NO_FILE', 'message'=>esc_html__('Please upload an image.', 'modern-events-calendar-lite')));
|
375 |
+
|
376 |
$allowed = array('gif', 'jpeg', 'jpg', 'png');
|
377 |
+
|
378 |
$ex = explode('.', $uploaded_file['name']);
|
379 |
$extension = end($ex);
|
380 |
+
|
381 |
// Invalid Extension
|
382 |
if(!in_array($extension, $allowed)) $this->main->response(array('success'=>0, 'code'=>'INVALID_EXTENSION', 'message'=>sprintf(esc_html__('image extension is invalid. You can upload %s images.', 'modern-events-calendar-lite'), implode(', ', $allowed))));
|
383 |
|
386 |
|
387 |
// Invalid Size
|
388 |
if($uploaded_file['size'] > $max_file_size) $this->main->response(array('success'=>0, 'code'=>'IMAGE_IS_TOO_BIG', 'message'=>sprintf(esc_html__('Image is too big. Maximum size is %s KB.', 'modern-events-calendar-lite'), ($max_file_size / 1000))));
|
389 |
+
|
390 |
$movefile = wp_handle_upload($uploaded_file, array('test_form'=>false));
|
391 |
+
|
392 |
$success = 0;
|
393 |
$data = array();
|
394 |
+
|
395 |
if($movefile and !isset($movefile['error']))
|
396 |
{
|
397 |
$success = 1;
|
398 |
$message = __('Image uploaded!', 'modern-events-calendar-lite');
|
399 |
+
|
400 |
$data['url'] = $movefile['url'];
|
401 |
}
|
402 |
else
|
403 |
{
|
404 |
$message = $movefile['error'];
|
405 |
}
|
406 |
+
|
407 |
$this->main->response(array('success'=>$success, 'message'=>$message, 'data'=>$data));
|
408 |
}
|
409 |
+
|
410 |
public function fes_form()
|
411 |
{
|
412 |
// Check if our nonce is set.
|
414 |
|
415 |
// Verify that the nonce is valid.
|
416 |
if(!wp_verify_nonce(sanitize_text_field($_POST['_wpnonce']), 'mec_fes_form')) $this->main->response(array('success'=>0, 'code'=>'NONCE_IS_INVALID'));
|
417 |
+
|
418 |
$mec = isset($_POST['mec']) ? $_POST['mec'] : array();
|
419 |
+
|
420 |
// Google recaptcha
|
421 |
if($this->main->get_recaptcha_status('fes'))
|
422 |
{
|
464 |
|
465 |
// Label is Required
|
466 |
if(isset($this->settings['fes_section_labels']) and $this->settings['fes_section_labels'] and isset($this->settings['fes_required_label']) and $this->settings['fes_required_label'] and is_array($post_labels) and !count($post_labels)) $this->main->response(array('success'=>0, 'message'=>__('Please select at-least one label!', 'modern-events-calendar-lite'), 'code'=>'LABEL_IS_EMPTY'));
|
467 |
+
|
468 |
// Post Status
|
469 |
$status = 'pending';
|
470 |
if(current_user_can('publish_posts')) $status = 'publish';
|
471 |
+
|
472 |
$method = 'updated';
|
473 |
+
|
474 |
// Create new event
|
475 |
if($post_id == -1)
|
476 |
{
|
479 |
|
480 |
$post = array('post_title'=>$post_title, 'post_content'=>$post_content, 'post_excerpt'=>$post_excerpt, 'post_type'=>$this->PT, 'post_status'=>$status);
|
481 |
$post_id = wp_insert_post($post);
|
482 |
+
|
483 |
$method = 'added';
|
484 |
}
|
485 |
+
|
486 |
wp_update_post(array('ID'=>$post_id, 'post_title'=>$post_title, 'post_content'=>$post_content, 'post_excerpt'=>$post_excerpt,));
|
|
|
|
|
|
|
|
|
|
|
|
|
487 |
|
488 |
+
// Categories Section
|
489 |
+
if(!isset($this->settings['fes_section_categories']) or (isset($this->settings['fes_section_categories']) and $this->settings['fes_section_categories']))
|
490 |
{
|
491 |
+
// Categories
|
492 |
+
$categories = array();
|
493 |
+
foreach($post_categories as $post_category=>$value) $categories[] = (int) $post_category;
|
494 |
|
495 |
+
wp_set_post_terms($post_id, $categories, 'mec_category');
|
496 |
}
|
497 |
+
|
498 |
+
// Speakers Section
|
499 |
+
if(!isset($this->settings['fes_section_speaker']) or (isset($this->settings['fes_section_speaker']) and $this->settings['fes_section_speaker']))
|
500 |
+
{
|
501 |
+
// Speakers
|
502 |
+
if(isset($this->settings['speakers_status']) and $this->settings['speakers_status'])
|
503 |
+
{
|
504 |
+
$speakers = array();
|
505 |
+
foreach($post_speakers as $post_speaker=>$value) $speakers[] = (int) $post_speaker;
|
506 |
+
|
507 |
+
wp_set_post_terms($post_id, $speakers, 'mec_speaker');
|
508 |
+
}
|
509 |
+
}
|
510 |
+
|
511 |
+
// Labels Section
|
512 |
+
if(!isset($this->settings['fes_section_labels']) or (isset($this->settings['fes_section_labels']) and $this->settings['fes_section_labels']))
|
513 |
+
{
|
514 |
+
// Labels
|
515 |
+
$labels = array();
|
516 |
+
foreach($post_labels as $post_label=>$value) $labels[] = (int) $post_label;
|
517 |
+
|
518 |
+
wp_set_post_terms($post_id, $labels, 'mec_label');
|
519 |
+
do_action('mec_label_change_to_radio', $labels, $post_labels, $post_id);
|
520 |
+
}
|
521 |
+
|
522 |
+
// Color Section
|
523 |
+
if(!isset($this->settings['fes_section_event_color']) or (isset($this->settings['fes_section_event_color']) and $this->settings['fes_section_event_color']))
|
524 |
+
{
|
525 |
+
// Color
|
526 |
+
$color = isset($mec['color']) ? sanitize_text_field(trim($mec['color'], '# ')) : '';
|
527 |
+
update_post_meta($post_id, 'mec_color', $color);
|
528 |
+
}
|
529 |
+
|
530 |
+
// Tags Section
|
531 |
+
if(!isset($this->settings['fes_section_tags']) or (isset($this->settings['fes_section_tags']) and $this->settings['fes_section_tags']))
|
532 |
+
{
|
533 |
+
// Tags
|
534 |
+
wp_set_post_terms($post_id, $post_tags, apply_filters('mec_taxonomy_tag', ''));
|
535 |
+
}
|
536 |
+
|
537 |
+
// Featured Image Section
|
538 |
+
if(!isset($this->settings['fes_section_featured_image']) or (isset($this->settings['fes_section_featured_image']) and $this->settings['fes_section_featured_image']))
|
539 |
+
{
|
540 |
+
// Featured Image
|
541 |
+
if(trim($featured_image)) $this->main->set_featured_image($featured_image, $post_id);
|
542 |
+
else delete_post_thumbnail($post_id);
|
543 |
+
}
|
544 |
+
|
545 |
+
// Links Section
|
546 |
+
if(!isset($this->settings['fes_section_event_links']) or (isset($this->settings['fes_section_event_links']) and $this->settings['fes_section_event_links']))
|
547 |
+
{
|
548 |
+
$read_more = isset($mec['read_more']) ? sanitize_text_field($mec['read_more']) : '';
|
549 |
+
$more_info = isset($mec['more_info']) ? (strpos($mec['more_info'], 'http') === false ? 'http://'.sanitize_text_field($mec['more_info']) : sanitize_text_field($mec['more_info'])) : '';
|
550 |
+
$more_info_title = isset($mec['more_info_title']) ? sanitize_text_field($mec['more_info_title']) : '';
|
551 |
+
$more_info_target = isset($mec['more_info_target']) ? sanitize_text_field($mec['more_info_target']) : '';
|
552 |
+
|
553 |
+
update_post_meta($post_id, 'mec_read_more', $read_more);
|
554 |
+
update_post_meta($post_id, 'mec_more_info', $more_info);
|
555 |
+
update_post_meta($post_id, 'mec_more_info_title', $more_info_title);
|
556 |
+
update_post_meta($post_id, 'mec_more_info_target', $more_info_target);
|
557 |
+
}
|
558 |
+
|
559 |
+
// Cost Section
|
560 |
+
if(!isset($this->settings['fes_section_cost']) or (isset($this->settings['fes_section_cost']) and $this->settings['fes_section_cost']))
|
561 |
+
{
|
562 |
+
$cost = isset($mec['cost']) ? $mec['cost'] : '';
|
563 |
+
$cost = apply_filters(
|
564 |
+
'mec_event_cost_sanitize',
|
565 |
+
sanitize_text_field($cost),
|
566 |
+
$cost
|
567 |
+
);
|
568 |
+
|
569 |
+
$currency_options = ((isset($mec['currency']) and is_array($mec['currency'])) ? $mec['currency'] : array());
|
570 |
+
|
571 |
+
update_post_meta($post_id, 'mec_cost', $cost);
|
572 |
+
update_post_meta($post_id, 'mec_currency', $currency_options);
|
573 |
+
}
|
574 |
+
|
575 |
// Guest Name and Email
|
576 |
$fes_guest_email = isset($mec['fes_guest_email']) ? sanitize_email($mec['fes_guest_email']) : '';
|
577 |
$fes_guest_name = isset($mec['fes_guest_name']) ? sanitize_text_field($mec['fes_guest_name']) : '';
|
578 |
+
$note = isset($mec['note']) ? sanitize_text_field($mec['note']) : '';
|
579 |
+
|
580 |
update_post_meta($post_id, 'fes_guest_email', $fes_guest_email);
|
581 |
update_post_meta($post_id, 'fes_guest_name', $fes_guest_name);
|
582 |
+
update_post_meta($post_id, 'mec_note', $note);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
583 |
|
584 |
+
// Location Section
|
585 |
+
if(!isset($this->settings['fes_section_location']) or (isset($this->settings['fes_section_location']) and $this->settings['fes_section_location']))
|
586 |
+
{
|
587 |
+
// Location
|
588 |
+
$location_id = isset($mec['location_id']) ? sanitize_text_field($mec['location_id']) : 1;
|
589 |
|
590 |
+
// Selected a saved location
|
591 |
+
if($location_id)
|
592 |
{
|
593 |
// Set term to the post
|
594 |
+
wp_set_object_terms($post_id, (int) $location_id, 'mec_location');
|
595 |
}
|
596 |
else
|
597 |
{
|
598 |
+
$address = (isset($mec['location']['address']) and trim($mec['location']['address'])) ? sanitize_text_field($mec['location']['address']) : '';
|
599 |
+
$name = (isset($mec['location']['name']) and trim($mec['location']['name'])) ? sanitize_text_field($mec['location']['name']) : (trim($address) ? $address : 'Location Name');
|
600 |
+
|
601 |
+
$term = get_term_by('name', $name, 'mec_location');
|
602 |
|
603 |
+
// Term already exists
|
604 |
+
if(is_object($term) and isset($term->term_id))
|
605 |
{
|
606 |
// Set term to the post
|
607 |
+
wp_set_object_terms($post_id, (int) $term->term_id, 'mec_location');
|
608 |
+
}
|
609 |
+
else
|
610 |
+
{
|
611 |
+
$term = wp_insert_term($name, 'mec_location');
|
|
|
612 |
|
613 |
+
$location_id = $term['term_id'];
|
614 |
+
if($location_id)
|
615 |
{
|
616 |
+
// Set term to the post
|
617 |
+
wp_set_object_terms($post_id, (int) $location_id, 'mec_location');
|
618 |
|
619 |
+
$latitude = (isset($mec['location']['latitude']) and trim($mec['location']['latitude'])) ? sanitize_text_field($mec['location']['latitude']) : 0;
|
620 |
+
$longitude = (isset($mec['location']['longitude']) and trim($mec['location']['longitude'])) ? sanitize_text_field($mec['location']['longitude']) : 0;
|
621 |
+
$url = (isset($mec['location']['url']) and trim($mec['location']['url'])) ? esc_url($mec['location']['url']) : '';
|
622 |
+
$thumbnail = (isset($mec['location']['thumbnail']) and trim($mec['location']['thumbnail'])) ? sanitize_text_field($mec['location']['thumbnail']) : '';
|
623 |
+
|
624 |
+
if(!trim($latitude) or !trim($longitude))
|
625 |
+
{
|
626 |
+
$geo_point = $this->main->get_lat_lng($address);
|
627 |
+
|
628 |
+
$latitude = $geo_point[0];
|
629 |
+
$longitude = $geo_point[1];
|
630 |
+
}
|
631 |
|
632 |
+
update_term_meta($location_id, 'address', $address);
|
633 |
+
update_term_meta($location_id, 'latitude', $latitude);
|
634 |
+
update_term_meta($location_id, 'longitude', $longitude);
|
635 |
+
update_term_meta($location_id, 'url', $url);
|
636 |
+
update_term_meta($location_id, 'thumbnail', $thumbnail);
|
637 |
+
}
|
638 |
+
else $location_id = 1;
|
639 |
}
|
|
|
640 |
}
|
641 |
+
|
642 |
+
update_post_meta($post_id, 'mec_location_id', $location_id);
|
643 |
+
|
644 |
+
$dont_show_map = isset($mec['dont_show_map']) ? sanitize_text_field($mec['dont_show_map']) : 0;
|
645 |
+
update_post_meta($post_id, 'mec_dont_show_map', $dont_show_map);
|
646 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
|
648 |
+
// Organizer Section
|
649 |
+
if(!isset($this->settings['fes_section_organizer']) or (isset($this->settings['fes_section_organizer']) and $this->settings['fes_section_organizer']))
|
650 |
+
{
|
651 |
+
// Organizer
|
652 |
+
$organizer_id = isset($mec['organizer_id']) ? sanitize_text_field($mec['organizer_id']) : 1;
|
653 |
|
654 |
+
// Selected a saved organizer
|
655 |
+
if(isset($organizer_id) and $organizer_id)
|
656 |
{
|
657 |
// Set term to the post
|
658 |
+
wp_set_object_terms($post_id, (int) $organizer_id, 'mec_organizer');
|
659 |
}
|
660 |
else
|
661 |
{
|
662 |
+
$name = (isset($mec['organizer']['name']) and trim($mec['organizer']['name'])) ? sanitize_text_field($mec['organizer']['name']) : 'Organizer Name';
|
663 |
+
|
664 |
+
$term = get_term_by('name', $name, 'mec_organizer');
|
665 |
|
666 |
+
// Term already exists
|
667 |
+
if(is_object($term) and isset($term->term_id))
|
668 |
{
|
669 |
// Set term to the post
|
670 |
+
wp_set_object_terms($post_id, (int) $term->term_id, 'mec_organizer');
|
671 |
+
}
|
672 |
+
else
|
673 |
+
{
|
674 |
+
$term = wp_insert_term($name, 'mec_organizer');
|
|
|
675 |
|
676 |
+
$organizer_id = $term['term_id'];
|
677 |
+
if($organizer_id)
|
678 |
+
{
|
679 |
+
// Set term to the post
|
680 |
+
wp_set_object_terms($post_id, (int) $organizer_id, 'mec_organizer');
|
681 |
+
|
682 |
+
$tel = (isset($mec['organizer']['tel']) and trim($mec['organizer']['tel'])) ? sanitize_text_field($mec['organizer']['tel']) : '';
|
683 |
+
$email = (isset($mec['organizer']['email']) and trim($mec['organizer']['email'])) ? sanitize_text_field($mec['organizer']['email']) : '';
|
684 |
+
$url = (isset($mec['organizer']['url']) and trim($mec['organizer']['url'])) ? (strpos($mec['organizer']['url'], 'http') === false ? 'http://'.sanitize_text_field($mec['organizer']['url']) : sanitize_text_field($mec['organizer']['url'])) : '';
|
685 |
+
$thumbnail = (isset($mec['organizer']['thumbnail']) and trim($mec['organizer']['thumbnail'])) ? sanitize_text_field($mec['organizer']['thumbnail']) : '';
|
686 |
+
|
687 |
+
update_term_meta($organizer_id, 'tel', $tel);
|
688 |
+
update_term_meta($organizer_id, 'email', $email);
|
689 |
+
update_term_meta($organizer_id, 'url', $url);
|
690 |
+
update_term_meta($organizer_id, 'thumbnail', $thumbnail);
|
691 |
+
}
|
692 |
+
else $organizer_id = 1;
|
693 |
}
|
|
|
694 |
}
|
|
|
|
|
|
|
695 |
|
696 |
+
update_post_meta($post_id, 'mec_organizer_id', $organizer_id);
|
|
|
697 |
|
698 |
+
// Additional Organizers
|
699 |
+
$additional_organizer_ids = isset($mec['additional_organizer_ids']) ? $mec['additional_organizer_ids'] : array();
|
|
|
|
|
|
|
700 |
|
701 |
+
foreach($additional_organizer_ids as $additional_organizer_id) wp_set_object_terms($post_id, (int) $additional_organizer_id, 'mec_organizer', true);
|
702 |
+
update_post_meta($post_id, 'mec_additional_organizer_ids', $additional_organizer_ids);
|
703 |
+
|
704 |
+
// Additional locations
|
705 |
+
$additional_location_ids = isset($mec['additional_location_ids']) ? $mec['additional_location_ids'] : array();
|
706 |
+
|
707 |
+
foreach($additional_location_ids as $additional_location_id) wp_set_object_terms($post_id, (int)$additional_location_id, 'mec_location', true);
|
708 |
+
update_post_meta($post_id, 'mec_additional_location_ids', $additional_location_ids);
|
709 |
+
}
|
710 |
|
711 |
// Date Options
|
712 |
$date = isset($mec['date']) ? $mec['date'] : array();
|
713 |
|
714 |
$start_date = date('Y-m-d', strtotime($start_date));
|
715 |
+
|
716 |
// Set the start date
|
717 |
$date['start']['date'] = $start_date;
|
718 |
+
|
719 |
$start_time_hour = isset($date['start']) ? $date['start']['hour'] : '8';
|
720 |
$start_time_minutes = isset($date['start']) ? $date['start']['minutes'] : '00';
|
721 |
$start_time_ampm = (isset($date['start']) and isset($date['start']['ampm'])) ? $date['start']['ampm'] : 'AM';
|
724 |
|
725 |
// Fix end_date if it's smaller than start_date
|
726 |
if(strtotime($end_date) < strtotime($start_date)) $end_date = $start_date;
|
727 |
+
|
728 |
// Set the end date
|
729 |
$date['end']['date'] = $end_date;
|
730 |
+
|
731 |
$end_time_hour = isset($date['end']) ? $date['end']['hour'] : '6';
|
732 |
$end_time_minutes = isset($date['end']) ? $date['end']['minutes'] : '00';
|
733 |
$end_time_ampm = (isset($date['end']) and isset($date['end']['ampm'])) ? $date['end']['ampm'] : 'PM';
|
734 |
+
|
735 |
// If 24 hours format is enabled then convert it back to 12 hours
|
736 |
if(isset($this->settings['time_format']) and $this->settings['time_format'] == 24)
|
737 |
{
|
747 |
$start_time_hour = 12;
|
748 |
$start_time_ampm = 'AM';
|
749 |
}
|
750 |
+
|
751 |
if($end_time_hour < 12) $end_time_ampm = 'AM';
|
752 |
elseif($end_time_hour == 12) $end_time_ampm = 'PM';
|
753 |
elseif($end_time_hour > 12)
|
760 |
$end_time_hour = 12;
|
761 |
$end_time_ampm = 'AM';
|
762 |
}
|
763 |
+
|
764 |
// Set converted values to date array
|
765 |
$date['start']['hour'] = $start_time_hour;
|
766 |
$date['start']['ampm'] = $start_time_ampm;
|
767 |
+
|
768 |
$date['end']['hour'] = $end_time_hour;
|
769 |
$date['end']['ampm'] = $end_time_ampm;
|
770 |
}
|
771 |
+
|
772 |
$allday = isset($date['allday']) ? 1 : 0;
|
773 |
$one_occurrence = isset($date['one_occurrence']) ? 1 : 0;
|
774 |
$hide_time = isset($date['hide_time']) ? 1 : 0;
|
784 |
$start_time_hour = '8';
|
785 |
$start_time_minutes = '00';
|
786 |
$start_time_ampm = 'AM';
|
787 |
+
|
788 |
$end_time_hour = '6';
|
789 |
$end_time_minutes = '00';
|
790 |
$end_time_ampm = 'PM';
|
791 |
}
|
792 |
+
|
793 |
$day_start_seconds = $this->main->time_to_seconds($this->main->to_24hours($start_time_hour, $start_time_ampm), $start_time_minutes);
|
794 |
$day_end_seconds = $this->main->time_to_seconds($this->main->to_24hours($end_time_hour, $end_time_ampm), $end_time_minutes);
|
795 |
|
810 |
// Repeat Options
|
811 |
$repeat = isset($date['repeat']) ? $date['repeat'] : array();
|
812 |
$certain_weekdays = isset($repeat['certain_weekdays']) ? $repeat['certain_weekdays'] : array();
|
813 |
+
|
814 |
$repeat_status = isset($repeat['status']) ? 1 : 0;
|
815 |
$repeat_type = ($repeat_status and isset($repeat['type'])) ? $repeat['type'] : '';
|
816 |
+
|
817 |
$repeat_interval = ($repeat_status and isset($repeat['interval']) and trim($repeat['interval'])) ? $repeat['interval'] : 1;
|
818 |
|
819 |
// Advanced Repeat
|
820 |
$advanced = isset( $repeat['advanced'] ) ? sanitize_text_field($repeat['advanced']) : '';
|
821 |
+
|
822 |
if(!is_numeric($repeat_interval)) $repeat_interval = NULL;
|
823 |
+
|
824 |
if($repeat_type == 'weekly') $interval_multiply = 7;
|
825 |
else $interval_multiply = 1;
|
826 |
+
|
827 |
// Reset certain weekdays if repeat type is not set to certain weekdays
|
828 |
if($repeat_type != 'certain_weekdays') $certain_weekdays = array();
|
829 |
+
|
830 |
if(!is_null($repeat_interval)) $repeat_interval = $repeat_interval*$interval_multiply;
|
831 |
+
|
832 |
// String To Array
|
833 |
if($repeat_type == 'advanced' and trim($advanced)) $advanced = explode('-', $advanced);
|
834 |
else $advanced = array();
|
835 |
+
|
836 |
$repeat_end = ($repeat_status and isset($repeat['end'])) ? $repeat['end'] : '';
|
837 |
$repeat_end_at_occurrences = ($repeat_status and isset($repeat['end_at_occurrences'])) ? ($repeat['end_at_occurrences']-1) : '';
|
838 |
$repeat_end_at_date = ($repeat_status and isset($repeat['end_at_date'])) ? $this->main->standardize_format( $repeat['end_at_date'] ) : '';
|
839 |
+
|
840 |
update_post_meta($post_id, 'mec_date', $date);
|
841 |
update_post_meta($post_id, 'mec_repeat', $repeat);
|
842 |
update_post_meta($post_id, 'mec_certain_weekdays', $certain_weekdays);
|
855 |
update_post_meta($post_id, 'mec_repeat_end_at_occurrences', $repeat_end_at_occurrences);
|
856 |
update_post_meta($post_id, 'mec_repeat_end_at_date', $repeat_end_at_date);
|
857 |
update_post_meta($post_id, 'mec_advanced_days', $advanced);
|
858 |
+
|
859 |
// Creating $event array for inserting in mec_events table
|
860 |
$event = array('post_id'=>$post_id, 'start'=>$start_date, 'repeat'=>$repeat_status, 'rinterval'=>(!in_array($repeat_type, array('daily', 'weekly', 'monthly')) ? NULL : $repeat_interval), 'time_start'=>$day_start_seconds, 'time_end'=>$day_end_seconds);
|
861 |
+
|
862 |
$year = NULL;
|
863 |
$month = NULL;
|
864 |
$day = NULL;
|
865 |
$week = NULL;
|
866 |
$weekday = NULL;
|
867 |
$weekdays = NULL;
|
868 |
+
|
869 |
// MEC weekdays
|
870 |
$mec_weekdays = $this->main->get_weekdays();
|
871 |
+
|
872 |
// MEC weekends
|
873 |
$mec_weekends = $this->main->get_weekends();
|
874 |
|
885 |
{
|
886 |
$repeat_interval = 1;
|
887 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Weekdays';
|
888 |
+
|
889 |
$weekdays = ','.implode(',', $mec_weekdays).',';
|
890 |
}
|
891 |
elseif($repeat_type == 'weekend')
|
892 |
{
|
893 |
$repeat_interval = 1;
|
894 |
$plus_date = '+'.round($repeat_end_at_occurrences/2)*($repeat_interval*7).' Days';
|
895 |
+
|
896 |
$weekdays = ','.implode(',', $mec_weekends).',';
|
897 |
}
|
898 |
elseif($repeat_type == 'certain_weekdays')
|
899 |
{
|
900 |
$repeat_interval = 1;
|
901 |
$plus_date = '+' . ceil(($repeat_end_at_occurrences * $repeat_interval) * (7/count($certain_weekdays))) . ' days';
|
902 |
+
|
903 |
$weekdays = ','.implode(',', $certain_weekdays).',';
|
904 |
}
|
905 |
elseif($repeat_type == 'monthly')
|
906 |
{
|
907 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Months';
|
908 |
+
|
909 |
$year = '*';
|
910 |
$month = '*';
|
911 |
+
|
912 |
$s = $start_date;
|
913 |
$e = $end_date;
|
914 |
+
|
915 |
$_days = array();
|
916 |
while(strtotime($s) <= strtotime($e))
|
917 |
{
|
918 |
$_days[] = date('d', strtotime($s));
|
919 |
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
920 |
}
|
921 |
+
|
922 |
$day = ','.implode(',', array_unique($_days)).',';
|
923 |
+
|
924 |
$week = '*';
|
925 |
$weekday = '*';
|
926 |
}
|
927 |
elseif($repeat_type == 'yearly')
|
928 |
{
|
929 |
$plus_date = '+'.$repeat_end_at_occurrences*$repeat_interval.' Years';
|
930 |
+
|
931 |
$year = '*';
|
932 |
+
|
933 |
$s = $start_date;
|
934 |
$e = $end_date;
|
935 |
+
|
936 |
$_months = array();
|
937 |
$_days = array();
|
938 |
while(strtotime($s) <= strtotime($e))
|
939 |
{
|
940 |
$_months[] = date('m', strtotime($s));
|
941 |
$_days[] = date('d', strtotime($s));
|
942 |
+
|
943 |
$s = date('Y-m-d', strtotime('+1 Day', strtotime($s)));
|
944 |
}
|
945 |
+
|
946 |
$month = ','.implode(',', array_unique($_months)).',';
|
947 |
$day = ','.implode(',', array_unique($_days)).',';
|
948 |
+
|
949 |
$week = '*';
|
950 |
$weekday = '*';
|
951 |
}
|
957 |
// Get finish date
|
958 |
$event_info = array('start' => $date['start'], 'end' => $date['end']);
|
959 |
$dates = $this->render->generate_advanced_days($advanced, $event_info, $repeat_end_at_occurrences +1, date( 'Y-m-d', current_time( 'timestamp', 0 )), 'events');
|
960 |
+
|
961 |
$period_date = $this->main->date_diff($start_date, end($dates)['end']['date']);
|
962 |
|
963 |
+
$plus_date = '+' . $period_date->days . ' Days';
|
964 |
}
|
965 |
|
966 |
// "In Days" and "Not In Days"
|
1110 |
|
1111 |
update_post_meta($post_id, 'mec_in_days', $in_days);
|
1112 |
update_post_meta($post_id, 'mec_not_in_days', $not_in_days);
|
1113 |
+
|
1114 |
// Repeat End Date
|
1115 |
if($repeat_end == 'never') $repeat_end_date = '0000-00-00';
|
1116 |
elseif($repeat_end == 'date') $repeat_end_date = $repeat_end_at_date;
|
1134 |
$event['weekdays'] = $weekdays;
|
1135 |
$event['days'] = $in_days;
|
1136 |
$event['not_in_days'] = $not_in_days;
|
1137 |
+
|
1138 |
// Update MEC Events Table
|
1139 |
$mec_event_id = $this->db->select($this->db->prepare("SELECT `id` FROM `#__mec_events` WHERE `post_id` = %d", $post_id), 'loadResult');
|
1140 |
|
1142 |
{
|
1143 |
$q1 = "";
|
1144 |
$q2 = "";
|
1145 |
+
|
1146 |
foreach($event as $key=>$value)
|
1147 |
{
|
1148 |
$q1 .= "`$key`,";
|
1149 |
+
|
1150 |
if(is_null($value)) $q2 .= "NULL,";
|
1151 |
else $q2 .= "'$value',";
|
1152 |
}
|
1153 |
+
|
1154 |
$this->db->q("INSERT INTO `#__mec_events` (".trim($q1, ', ').") VALUES (".trim($q2, ', ').")", 'INSERT');
|
1155 |
}
|
1156 |
else
|
1157 |
{
|
1158 |
$q = "";
|
1159 |
+
|
1160 |
foreach($event as $key=>$value)
|
1161 |
{
|
1162 |
if(is_null($value)) $q .= "`$key`=NULL,";
|
1163 |
else $q .= "`$key`='$value',";
|
1164 |
}
|
1165 |
+
|
1166 |
$this->db->q("UPDATE `#__mec_events` SET ".trim($q, ', ')." WHERE `id`='$mec_event_id'");
|
1167 |
}
|
1168 |
|
1170 |
$schedule = $this->getSchedule();
|
1171 |
$schedule->reschedule($post_id, $schedule->get_reschedule_maximum($repeat_type));
|
1172 |
|
1173 |
+
// Hourly Schedule
|
1174 |
+
if(!isset($this->settings['fes_section_hourly_schedule']) or (isset($this->settings['fes_section_hourly_schedule']) and $this->settings['fes_section_hourly_schedule']))
|
|
|
|
|
|
|
|
|
1175 |
{
|
1176 |
+
// Hourly Schedule Options
|
1177 |
+
$raw_hourly_schedules = isset($mec['hourly_schedules']) ? $mec['hourly_schedules'] : array();
|
1178 |
+
unset($raw_hourly_schedules[':d:']);
|
1179 |
+
|
1180 |
+
$hourly_schedules = array();
|
1181 |
+
foreach($raw_hourly_schedules as $raw_hourly_schedule)
|
1182 |
+
{
|
1183 |
+
unset($raw_hourly_schedule['schedules'][':i:']);
|
1184 |
+
$hourly_schedules[] = $raw_hourly_schedule;
|
1185 |
+
}
|
1186 |
+
|
1187 |
+
update_post_meta($post_id, 'mec_hourly_schedules', $hourly_schedules);
|
1188 |
}
|
1189 |
|
1190 |
+
// Booking Options
|
1191 |
+
if(!isset($this->settings['fes_section_booking']) or (isset($this->settings['fes_section_booking']) and $this->settings['fes_section_booking']))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1192 |
{
|
1193 |
+
// Booking and Ticket Options
|
1194 |
+
$booking = isset($mec['booking']) ? $mec['booking'] : array();
|
1195 |
+
update_post_meta($post_id, 'mec_booking', $booking);
|
1196 |
+
|
1197 |
+
// Tickets
|
1198 |
+
if(!isset($this->settings['fes_section_tickets']) or (isset($this->settings['fes_section_tickets']) and $this->settings['fes_section_tickets']))
|
1199 |
{
|
1200 |
+
$tickets = isset($mec['tickets']) ? $mec['tickets'] : array();
|
1201 |
+
unset($tickets[':i:']);
|
1202 |
+
|
1203 |
+
// Unset Ticket Dats
|
1204 |
+
if(count($tickets))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1205 |
{
|
1206 |
+
$new_tickets = array();
|
1207 |
+
foreach($tickets as $key => $ticket)
|
1208 |
{
|
1209 |
+
unset($ticket['dates'][':j:']);
|
1210 |
+
|
1211 |
+
$ticket_start_time_ampm = ((intval($ticket['ticket_start_time_hour']) > 0 and intval($ticket['ticket_start_time_hour']) < 13) and isset($ticket['ticket_start_time_ampm'])) ? $ticket['ticket_start_time_ampm'] : '';
|
1212 |
+
$ticket_render_start_time = date('h:ia', strtotime(sprintf('%02d', $ticket['ticket_start_time_hour']) . ':' . sprintf('%02d', $ticket['ticket_start_time_minute']) . $ticket_start_time_ampm));
|
1213 |
+
$ticket_end_time_ampm = ((intval($ticket['ticket_end_time_hour']) > 0 and intval($ticket['ticket_end_time_hour']) < 13) and isset($ticket['ticket_end_time_ampm'])) ? $ticket['ticket_end_time_ampm'] : '';
|
1214 |
+
$ticket_render_end_time = date('h:ia', strtotime(sprintf('%02d', $ticket['ticket_end_time_hour']) . ':' . sprintf('%02d', $ticket['ticket_end_time_minute']) . $ticket_end_time_ampm));
|
1215 |
+
|
1216 |
+
$ticket['ticket_start_time_hour'] = substr($ticket_render_start_time, 0, 2);
|
1217 |
+
$ticket['ticket_start_time_ampm'] = strtoupper(substr($ticket_render_start_time, 5, 6));
|
1218 |
+
$ticket['ticket_end_time_hour'] = substr($ticket_render_end_time, 0, 2);
|
1219 |
+
$ticket['ticket_end_time_ampm'] = strtoupper(substr($ticket_render_end_time, 5, 6));
|
1220 |
+
$ticket['price'] = trim($ticket['price']);
|
1221 |
+
$ticket['limit'] = trim($ticket['limit']);
|
1222 |
+
$ticket['minimum_ticket'] = trim($ticket['minimum_ticket']);
|
1223 |
+
$ticket['stop_selling_value'] = trim($ticket['stop_selling_value']);
|
1224 |
+
|
1225 |
+
// Bellow conditional block code is used to change ticket dates format to compatible ticket past dates structure for store in db.
|
1226 |
+
if(isset($ticket['dates']))
|
1227 |
{
|
1228 |
+
foreach($ticket['dates'] as $dates_ticket_key => $dates_ticket_values)
|
1229 |
+
{
|
1230 |
+
if(isset($dates_ticket_values['start']) and trim($dates_ticket_values['start']))
|
1231 |
+
{
|
1232 |
+
$ticket['dates'][$dates_ticket_key]['start'] = $this->main->standardize_format($dates_ticket_values['start']);
|
1233 |
+
}
|
1234 |
+
|
1235 |
+
if(isset($dates_ticket_values['end']) and trim($dates_ticket_values['end']))
|
1236 |
+
{
|
1237 |
+
$ticket['dates'][$dates_ticket_key]['end'] = $this->main->standardize_format($dates_ticket_values['end']);
|
1238 |
+
}
|
1239 |
+
}
|
1240 |
}
|
1241 |
|
1242 |
+
$new_tickets[$key] = $ticket;
|
|
|
|
|
|
|
1243 |
}
|
1244 |
+
|
1245 |
+
$tickets = $new_tickets;
|
1246 |
}
|
1247 |
|
1248 |
+
update_post_meta($post_id, 'mec_tickets', $tickets);
|
1249 |
}
|
1250 |
|
1251 |
+
// Fees
|
1252 |
+
if(!isset($this->settings['fes_section_fees']) or (isset($this->settings['fes_section_fees']) and $this->settings['fes_section_fees']))
|
1253 |
+
{
|
1254 |
+
// Fee options
|
1255 |
+
$fees_global_inheritance = isset($mec['fees_global_inheritance']) ? $mec['fees_global_inheritance'] : 1;
|
1256 |
+
update_post_meta($post_id, 'mec_fees_global_inheritance', $fees_global_inheritance);
|
|
|
|
|
|
|
|
|
|
|
1257 |
|
1258 |
+
$fees = isset($mec['fees']) ? $mec['fees'] : array();
|
1259 |
+
update_post_meta($post_id, 'mec_fees', $fees);
|
1260 |
+
}
|
1261 |
|
1262 |
+
// Variation
|
1263 |
+
if(!isset($this->settings['fes_section_ticket_variations']) or (isset($this->settings['fes_section_ticket_variations']) and $this->settings['fes_section_ticket_variations']))
|
1264 |
+
{
|
1265 |
+
// Ticket Variation options
|
1266 |
+
$ticket_variations_global_inheritance = isset($mec['ticket_variations_global_inheritance']) ? $mec['ticket_variations_global_inheritance'] : 1;
|
1267 |
+
update_post_meta($post_id, 'mec_ticket_variations_global_inheritance', $ticket_variations_global_inheritance);
|
1268 |
|
1269 |
+
$ticket_variations = isset($mec['ticket_variations']) ? $mec['ticket_variations'] : array();
|
1270 |
+
update_post_meta($post_id, 'mec_ticket_variations', $ticket_variations);
|
1271 |
+
}
|
1272 |
|
1273 |
+
// Booking Form
|
1274 |
+
if(!isset($this->settings['fes_section_reg_form']) or (isset($this->settings['fes_section_reg_form']) and $this->settings['fes_section_reg_form']))
|
1275 |
+
{
|
1276 |
+
// Registration Fields options
|
1277 |
+
$reg_fields_global_inheritance = isset($mec['reg_fields_global_inheritance']) ? $mec['reg_fields_global_inheritance'] : 1;
|
1278 |
+
update_post_meta($post_id, 'mec_reg_fields_global_inheritance', $reg_fields_global_inheritance);
|
1279 |
+
|
1280 |
+
$reg_fields = isset($mec['reg_fields']) ? $mec['reg_fields'] : array();
|
1281 |
+
if($reg_fields_global_inheritance) $reg_fields = array();
|
1282 |
|
1283 |
+
update_post_meta($post_id, 'mec_reg_fields', $reg_fields);
|
1284 |
|
1285 |
+
$bfixed_fields = isset($mec['bfixed_fields']) ? $mec['bfixed_fields'] : array();
|
1286 |
+
if($reg_fields_global_inheritance) $bfixed_fields = array();
|
1287 |
|
1288 |
+
update_post_meta($post_id, 'mec_bfixed_fields', $bfixed_fields);
|
1289 |
+
}
|
1290 |
+
}
|
1291 |
|
1292 |
// Organizer Payment Options
|
1293 |
$op = isset($mec['op']) ? $mec['op'] : array();
|
1294 |
update_post_meta($post_id, 'mec_op', $op);
|
1295 |
update_user_meta(get_post_field('post_author', $post_id), 'mec_op', $op);
|
1296 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1297 |
if($booking_date_update)
|
1298 |
{
|
1299 |
$render_date = $past_start_date . ':' . $past_end_date;
|
1366 |
$message = '';
|
1367 |
if($status == 'pending') $message = __('Event submitted. It will publish as soon as possible.', 'modern-events-calendar-lite');
|
1368 |
elseif($status == 'publish') $message = __('The event published.', 'modern-events-calendar-lite');
|
1369 |
+
|
1370 |
// Trigger Event
|
1371 |
if($method == 'updated') do_action('mec_fes_updated', $post_id , 'update');
|
1372 |
else do_action('mec_fes_added', $post_id , '');
|
1376 |
|
1377 |
$redirect_to = ((isset($this->settings['fes_thankyou_page']) and trim($this->settings['fes_thankyou_page'])) ? get_permalink(intval($this->settings['fes_thankyou_page'])) : '');
|
1378 |
if(isset($this->settings['fes_thankyou_page_url']) and trim($this->settings['fes_thankyou_page_url'])) $redirect_to = esc_url($this->settings['fes_thankyou_page_url']);
|
1379 |
+
|
1380 |
$this->main->response(array(
|
1381 |
'success' => 1,
|
1382 |
'message' => $message,
|
1386 |
),
|
1387 |
));
|
1388 |
}
|
1389 |
+
|
1390 |
public function link_add_event()
|
1391 |
{
|
1392 |
if(!$this->relative_link and isset($this->settings['fes_form_page']) and trim($this->settings['fes_form_page'])) return get_permalink($this->settings['fes_form_page']);
|
1393 |
else return $this->main->add_qs_var('post_id', '-1', $this->main->remove_qs_var('vlist'));
|
1394 |
}
|
1395 |
+
|
1396 |
public function link_edit_event($post_id)
|
1397 |
{
|
1398 |
if(!$this->relative_link and isset($this->settings['fes_form_page']) and trim($this->settings['fes_form_page'])) return $this->main->add_qs_var('post_id', $post_id, get_permalink($this->settings['fes_form_page']));
|
1399 |
else return $this->main->add_qs_var('post_id', $post_id, $this->main->remove_qs_var('vlist'));
|
1400 |
}
|
1401 |
+
|
1402 |
public function link_list_events()
|
1403 |
{
|
1404 |
if(!$this->relative_link and isset($this->settings['fes_list_page']) and trim($this->settings['fes_list_page'])) return get_permalink($this->settings['fes_list_page']);
|
1461 |
}
|
1462 |
|
1463 |
// FES Categories Custom Walker
|
1464 |
+
class FES_Custom_Walker extends Walker_Category
|
1465 |
{
|
1466 |
/**
|
1467 |
* This class is a custom walker for front end event submission hierarchical categories customizing
|
@@ -861,7 +861,7 @@ $this->factory->params('footer', $javascript);
|
|
861 |
<h4><?php echo $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')); ?> <?php echo ((isset($this->settings['fes_required_cost']) and $this->settings['fes_required_cost']) ? '<span class="mec-required">*</span>' : ''); ?></h4>
|
862 |
<div id="mec_meta_box_cost_form">
|
863 |
<div class="mec-form-row">
|
864 |
-
<input type="<?php echo ($cost_type === 'alphabetic' ? 'text' : 'number'); ?>" <?php echo ($
|
865 |
</div>
|
866 |
</div>
|
867 |
|
@@ -1092,6 +1092,7 @@ $this->factory->params('footer', $javascript);
|
|
1092 |
<input type="hidden" name="mec[post_id]" value="<?php echo $post_id; ?>" id="mec_fes_post_id" class="mec-fes-post-id" />
|
1093 |
<input type="hidden" name="action" value="mec_fes_form" />
|
1094 |
<?php wp_nonce_field('mec_fes_form'); ?>
|
|
|
1095 |
</div>
|
1096 |
</div>
|
1097 |
</form>
|
861 |
<h4><?php echo $this->main->m('event_cost', __('Event Cost', 'modern-events-calendar-lite')); ?> <?php echo ((isset($this->settings['fes_required_cost']) and $this->settings['fes_required_cost']) ? '<span class="mec-required">*</span>' : ''); ?></h4>
|
862 |
<div id="mec_meta_box_cost_form">
|
863 |
<div class="mec-form-row">
|
864 |
+
<input type="<?php echo ($cost_type === 'alphabetic' ? 'text' : 'number'); ?>" <?php echo ($cost_type === 'numeric' ? 'min="0" step="any"' : ''); ?> class="mec-col-3" name="mec[cost]" id="mec_cost" value="<?php echo esc_attr($cost); ?>" placeholder="<?php _e('Cost', 'modern-events-calendar-lite'); ?>" <?php echo ((isset($this->settings['fes_required_cost']) and $this->settings['fes_required_cost']) ? 'required' : ''); ?> />
|
865 |
</div>
|
866 |
</div>
|
867 |
|
1092 |
<input type="hidden" name="mec[post_id]" value="<?php echo $post_id; ?>" id="mec_fes_post_id" class="mec-fes-post-id" />
|
1093 |
<input type="hidden" name="action" value="mec_fes_form" />
|
1094 |
<?php wp_nonce_field('mec_fes_form'); ?>
|
1095 |
+
<?php wp_nonce_field('mec_event_data', 'mec_event_nonce'); ?>
|
1096 |
</div>
|
1097 |
</div>
|
1098 |
</form>
|
@@ -236,10 +236,13 @@ class MEC_feature_ix extends MEC_base
|
|
236 |
$gateway = new MEC_gateway();
|
237 |
$book = $this->getBook();
|
238 |
|
|
|
239 |
while(($data = fgetcsv($h, 1000, ",")) !== false)
|
240 |
{
|
|
|
|
|
241 |
$booking_id = $data[0];
|
242 |
-
if(!is_numeric($booking_id)) continue;
|
243 |
|
244 |
$event_title = $data[1];
|
245 |
$event_id = post_exists($event_title, '', '', $this->main->get_main_post_type());
|
236 |
$gateway = new MEC_gateway();
|
237 |
$book = $this->getBook();
|
238 |
|
239 |
+
$r = 0;
|
240 |
while(($data = fgetcsv($h, 1000, ",")) !== false)
|
241 |
{
|
242 |
+
$r++;
|
243 |
+
|
244 |
$booking_id = $data[0];
|
245 |
+
if($r === 1 and !is_numeric($booking_id)) continue;
|
246 |
|
247 |
$event_title = $data[1];
|
248 |
$event_id = post_exists($event_title, '', '', $this->main->get_main_post_type());
|
@@ -1114,6 +1114,20 @@ class MEC_feature_mec extends MEC_base
|
|
1114 |
</div>';
|
1115 |
}
|
1116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1117 |
/**
|
1118 |
* Disable Gutenberg Editor for MEC Post Types
|
1119 |
* @param boolean $status
|
1114 |
</div>';
|
1115 |
}
|
1116 |
|
1117 |
+
public function display_detailed_time_field($skin, $value = 0)
|
1118 |
+
{
|
1119 |
+
return '<div class="mec-form-row mec-switcher">
|
1120 |
+
<div class="mec-col-4">
|
1121 |
+
<label for="mec_skin_'.$skin.'_detailed_time">'.__('Detailed Time', 'modern-events-calendar-lite').'</label>
|
1122 |
+
<span>'.__('For Multiple Day Events', 'modern-events-calendar-lite').'</span>
|
1123 |
+
</div>
|
1124 |
+
<div class="mec-col-4">
|
1125 |
+
<input type="hidden" name="mec[sk-options]['.$skin.'][detailed_time]" value="0" />
|
1126 |
+
<input type="checkbox" name="mec[sk-options]['.$skin.'][detailed_time]" id="mec_skin_'.$skin.'_detailed_time" value="1" '.($value == '1' ? 'checked="checked"' : '').' /><label for="mec_skin_'.$skin.'_detailed_time"></label>
|
1127 |
+
</div>
|
1128 |
+
</div>';
|
1129 |
+
}
|
1130 |
+
|
1131 |
/**
|
1132 |
* Disable Gutenberg Editor for MEC Post Types
|
1133 |
* @param boolean $status
|
@@ -1185,6 +1185,7 @@ $upcoming_event_ids = $this->main->get_upcoming_event_ids();
|
|
1185 |
</div> -->
|
1186 |
<?php echo $this->booking_button_field('monthly_view', (isset($sk_options_monthly_view['booking_button']) ? $sk_options_monthly_view['booking_button'] : 0)); ?>
|
1187 |
<?php echo $this->display_custom_data_field('monthly_view', (isset($sk_options_monthly_view['custom_data']) ? $sk_options_monthly_view['custom_data'] : 0)); ?>
|
|
|
1188 |
<?php echo $this->sed_method_field('monthly_view', (isset($sk_options_monthly_view['sed_method']) ? $sk_options_monthly_view['sed_method'] : 0), (isset($sk_options_monthly_view['image_popup']) ? $sk_options_monthly_view['image_popup'] : 0)); ?>
|
1189 |
<?php do_action('mec_skin_options_monthly_view_end', $sk_options_monthly_view); ?>
|
1190 |
</div>
|
@@ -1286,6 +1287,7 @@ $upcoming_event_ids = $this->main->get_upcoming_event_ids();
|
|
1286 |
<label for="mec_skin_daily_view_next_previous_button"></label>
|
1287 |
</div>
|
1288 |
</div>
|
|
|
1289 |
<!-- Start Display Label -->
|
1290 |
<div class="mec-form-row mec-switcher mec-include-events-local-times" id="mec_skin_daily_view_display_normal_label">
|
1291 |
<div class="mec-col-4">
|
@@ -1325,9 +1327,9 @@ $upcoming_event_ids = $this->main->get_upcoming_event_ids();
|
|
1325 |
<!-- Start Display Organizer -->
|
1326 |
<?php echo $this->display_organizer_field('daily_view', (isset($sk_options_daily_view['display_organizer']) ? $sk_options_daily_view['display_organizer'] : 0)); ?>
|
1327 |
<!-- End Display Organizer -->
|
1328 |
-
<p class="description"><?php _e('For showing next/previous month navigation.', 'modern-events-calendar-lite'); ?></p>
|
1329 |
<?php echo $this->booking_button_field('daily_view', (isset($sk_options_daily_view['booking_button']) ? $sk_options_daily_view['booking_button'] : 0)); ?>
|
1330 |
<?php echo $this->display_custom_data_field('daily_view', (isset($sk_options_daily_view['custom_data']) ? $sk_options_daily_view['custom_data'] : 0)); ?>
|
|
|
1331 |
<?php echo $this->sed_method_field('daily_view', (isset($sk_options_daily_view['sed_method']) ? $sk_options_daily_view['sed_method'] : 0), (isset($sk_options_daily_view['image_popup']) ? $sk_options_daily_view['image_popup'] : 0)); ?>
|
1332 |
<?php do_action('mec_skin_options_daily_view_end', $sk_options_daily_view); ?>
|
1333 |
</div>
|
@@ -1419,6 +1421,7 @@ $upcoming_event_ids = $this->main->get_upcoming_event_ids();
|
|
1419 |
<p class="description"><?php _e('For showing next/previous month navigation.', 'modern-events-calendar-lite'); ?></p>
|
1420 |
<?php echo $this->booking_button_field('weekly_view', (isset($sk_options_weekly_view['booking_button']) ? $sk_options_weekly_view['booking_button'] : 0)); ?>
|
1421 |
<?php echo $this->display_custom_data_field('weekly_view', (isset($sk_options_weekly_view['custom_data']) ? $sk_options_weekly_view['custom_data'] : 0)); ?>
|
|
|
1422 |
<?php echo $this->sed_method_field('weekly_view', (isset($sk_options_weekly_view['sed_method']) ? $sk_options_weekly_view['sed_method'] : 0), (isset($sk_options_weekly_view['image_popup']) ? $sk_options_weekly_view['image_popup'] : 0)); ?>
|
1423 |
<?php do_action('mec_skin_options_weekly_view_end', $sk_options_weekly_view); ?>
|
1424 |
</div>
|
1185 |
</div> -->
|
1186 |
<?php echo $this->booking_button_field('monthly_view', (isset($sk_options_monthly_view['booking_button']) ? $sk_options_monthly_view['booking_button'] : 0)); ?>
|
1187 |
<?php echo $this->display_custom_data_field('monthly_view', (isset($sk_options_monthly_view['custom_data']) ? $sk_options_monthly_view['custom_data'] : 0)); ?>
|
1188 |
+
<?php echo $this->display_detailed_time_field('monthly_view', (isset($sk_options_monthly_view['detailed_time']) ? $sk_options_monthly_view['detailed_time'] : 0)); ?>
|
1189 |
<?php echo $this->sed_method_field('monthly_view', (isset($sk_options_monthly_view['sed_method']) ? $sk_options_monthly_view['sed_method'] : 0), (isset($sk_options_monthly_view['image_popup']) ? $sk_options_monthly_view['image_popup'] : 0)); ?>
|
1190 |
<?php do_action('mec_skin_options_monthly_view_end', $sk_options_monthly_view); ?>
|
1191 |
</div>
|
1287 |
<label for="mec_skin_daily_view_next_previous_button"></label>
|
1288 |
</div>
|
1289 |
</div>
|
1290 |
+
<p class="description"><?php _e('For showing next/previous month navigation.', 'modern-events-calendar-lite'); ?></p>
|
1291 |
<!-- Start Display Label -->
|
1292 |
<div class="mec-form-row mec-switcher mec-include-events-local-times" id="mec_skin_daily_view_display_normal_label">
|
1293 |
<div class="mec-col-4">
|
1327 |
<!-- Start Display Organizer -->
|
1328 |
<?php echo $this->display_organizer_field('daily_view', (isset($sk_options_daily_view['display_organizer']) ? $sk_options_daily_view['display_organizer'] : 0)); ?>
|
1329 |
<!-- End Display Organizer -->
|
|
|
1330 |
<?php echo $this->booking_button_field('daily_view', (isset($sk_options_daily_view['booking_button']) ? $sk_options_daily_view['booking_button'] : 0)); ?>
|
1331 |
<?php echo $this->display_custom_data_field('daily_view', (isset($sk_options_daily_view['custom_data']) ? $sk_options_daily_view['custom_data'] : 0)); ?>
|
1332 |
+
<?php echo $this->display_detailed_time_field('daily_view', (isset($sk_options_daily_view['detailed_time']) ? $sk_options_daily_view['detailed_time'] : 0)); ?>
|
1333 |
<?php echo $this->sed_method_field('daily_view', (isset($sk_options_daily_view['sed_method']) ? $sk_options_daily_view['sed_method'] : 0), (isset($sk_options_daily_view['image_popup']) ? $sk_options_daily_view['image_popup'] : 0)); ?>
|
1334 |
<?php do_action('mec_skin_options_daily_view_end', $sk_options_daily_view); ?>
|
1335 |
</div>
|
1421 |
<p class="description"><?php _e('For showing next/previous month navigation.', 'modern-events-calendar-lite'); ?></p>
|
1422 |
<?php echo $this->booking_button_field('weekly_view', (isset($sk_options_weekly_view['booking_button']) ? $sk_options_weekly_view['booking_button'] : 0)); ?>
|
1423 |
<?php echo $this->display_custom_data_field('weekly_view', (isset($sk_options_weekly_view['custom_data']) ? $sk_options_weekly_view['custom_data'] : 0)); ?>
|
1424 |
+
<?php echo $this->display_detailed_time_field('weekly_view', (isset($sk_options_weekly_view['detailed_time']) ? $sk_options_weekly_view['detailed_time'] : 0)); ?>
|
1425 |
<?php echo $this->sed_method_field('weekly_view', (isset($sk_options_weekly_view['sed_method']) ? $sk_options_weekly_view['sed_method'] : 0), (isset($sk_options_weekly_view['image_popup']) ? $sk_options_weekly_view['image_popup'] : 0)); ?>
|
1426 |
<?php do_action('mec_skin_options_weekly_view_end', $sk_options_weekly_view); ?>
|
1427 |
</div>
|
@@ -29,6 +29,28 @@ $sf_options = get_post_meta($post->ID, 'sf-options', true);
|
|
29 |
<label for="mec_sf_display_label"></label>
|
30 |
</div>
|
31 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
<!-- Search Form OPTIONS -->
|
34 |
<div class="mec-meta-box-fields" id="mec_meta_box_calendar_search_form_options">
|
29 |
<label for="mec_sf_display_label"></label>
|
30 |
</div>
|
31 |
</div>
|
32 |
+
<div class="mec-form-row mec-switcher">
|
33 |
+
<?php $sf_reset_button = get_post_meta($post->ID, 'sf_reset_button', true); ?>
|
34 |
+
<div class="mec-col-8">
|
35 |
+
<label><?php _e('Show Reset Button', 'modern-events-calendar-lite'); ?></label>
|
36 |
+
</div>
|
37 |
+
<div class="mec-col-4">
|
38 |
+
<input type="hidden" name="mec[sf_reset_button]" value="0" />
|
39 |
+
<input type="checkbox" name="mec[sf_reset_button]" id="mec_sf_reset_button" value="1" <?php if($sf_reset_button == 1) echo 'checked="checked"'; ?> />
|
40 |
+
<label for="mec_sf_reset_button"></label>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
<div class="mec-form-row mec-switcher">
|
44 |
+
<?php $sf_refine = get_post_meta($post->ID, 'sf_refine', true); ?>
|
45 |
+
<div class="mec-col-8">
|
46 |
+
<label><?php _e('Refine Search Parameters', 'modern-events-calendar-lite'); ?></label>
|
47 |
+
</div>
|
48 |
+
<div class="mec-col-4">
|
49 |
+
<input type="hidden" name="mec[sf_refine]" value="0" />
|
50 |
+
<input type="checkbox" name="mec[sf_refine]" id="mec_sf_refine" value="1" <?php if($sf_refine == 1) echo 'checked="checked"'; ?> />
|
51 |
+
<label for="mec_sf_refine"></label>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
|
55 |
<!-- Search Form OPTIONS -->
|
56 |
<div class="mec-meta-box-fields" id="mec_meta_box_calendar_search_form_options">
|
@@ -348,7 +348,7 @@ wp_enqueue_script('mec-lity-script', $this->main->asset('packages/lity/lity.min.
|
|
348 |
<div class="w-box-content">
|
349 |
<center><img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/wn-ms-icon-17-n.svg'; ?>" style="width:100px; margin-top:30px;" /></center>
|
350 |
<p style="margin-top:20px;"><?php esc_html_e('You don’t need to register anywhere for support anymore.You can click the following button, and the chat box will open up to ask all your different questions using our various channels.' , 'modern-events-calendar-lite'); ?><?php echo sprintf(__("<br><small style=\"color: #8a8a8a;\">Only enter your email address and the answers will be sent over to your mail box.</small>", 'modern-events-calendar-lite'));?></p>
|
351 |
-
<a href="#" class="support-button"><?php esc_html_e('Create a
|
352 |
</div>
|
353 |
</div>
|
354 |
</div>
|
348 |
<div class="w-box-content">
|
349 |
<center><img src="<?php echo plugin_dir_url(__FILE__ ) . '../../../assets/img/wn-ms-icon-17-n.svg'; ?>" style="width:100px; margin-top:30px;" /></center>
|
350 |
<p style="margin-top:20px;"><?php esc_html_e('You don’t need to register anywhere for support anymore.You can click the following button, and the chat box will open up to ask all your different questions using our various channels.' , 'modern-events-calendar-lite'); ?><?php echo sprintf(__("<br><small style=\"color: #8a8a8a;\">Only enter your email address and the answers will be sent over to your mail box.</small>", 'modern-events-calendar-lite'));?></p>
|
351 |
+
<a href="#" class="support-button"><?php esc_html_e('Create a Support Ticket','modern-events-calendar-lite'); ?></a>
|
352 |
</div>
|
353 |
</div>
|
354 |
</div>
|
@@ -7,8 +7,24 @@ defined('MECEXEC') or die();
|
|
7 |
*/
|
8 |
class MEC_feature_search extends MEC_base
|
9 |
{
|
|
|
|
|
|
|
10 |
public $factory;
|
|
|
|
|
|
|
|
|
11 |
public $main;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
public $settings;
|
13 |
|
14 |
/**
|
@@ -25,6 +41,9 @@ class MEC_feature_search extends MEC_base
|
|
25 |
|
26 |
// MEC Settings
|
27 |
$this->settings = $this->main->get_settings();
|
|
|
|
|
|
|
28 |
}
|
29 |
|
30 |
/**
|
@@ -45,6 +64,10 @@ class MEC_feature_search extends MEC_base
|
|
45 |
{
|
46 |
$this->factory->filter('pre_get_posts', array($this, 'mec_search_filter'));
|
47 |
}
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
/**
|
7 |
*/
|
8 |
class MEC_feature_search extends MEC_base
|
9 |
{
|
10 |
+
/**
|
11 |
+
* @var MEC_factory
|
12 |
+
*/
|
13 |
public $factory;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* @var MEC_main
|
17 |
+
*/
|
18 |
public $main;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* @var MEC_search
|
22 |
+
*/
|
23 |
+
public $search;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* @var array
|
27 |
+
*/
|
28 |
public $settings;
|
29 |
|
30 |
/**
|
41 |
|
42 |
// MEC Settings
|
43 |
$this->settings = $this->main->get_settings();
|
44 |
+
|
45 |
+
// Search Library
|
46 |
+
$this->search = $this->getSearch();
|
47 |
}
|
48 |
|
49 |
/**
|
64 |
{
|
65 |
$this->factory->filter('pre_get_posts', array($this, 'mec_search_filter'));
|
66 |
}
|
67 |
+
|
68 |
+
// Search Narrow
|
69 |
+
$this->factory->action('wp_ajax_mec_refine_search_items', array($this->search, 'refine'));
|
70 |
+
$this->factory->action('wp_ajax_nopriv_mec_refine_search_items', array($this->search, 'refine'));
|
71 |
}
|
72 |
|
73 |
/**
|
@@ -100,8 +100,8 @@ class MEC_feature_wc extends MEC_base
|
|
100 |
|
101 |
$dates = explode(':', $meta->value);
|
102 |
|
103 |
-
$start_datetime =
|
104 |
-
$end_datetime =
|
105 |
|
106 |
$display_value = sprintf(__('%s to %s', 'modern-events-calendar-lite'), $start_datetime, $end_datetime);
|
107 |
}
|
@@ -117,7 +117,7 @@ class MEC_feature_wc extends MEC_base
|
|
117 |
$timestamps = explode(':', $item['mec_date']);
|
118 |
|
119 |
$date_format = (isset($this->settings['booking_date_format1']) and trim($this->settings['booking_date_format1'])) ? $this->settings['booking_date_format1'] : get_option('date_format');
|
120 |
-
$start_date =
|
121 |
|
122 |
$name .= ' ('.$start_date.')';
|
123 |
return $name;
|
100 |
|
101 |
$dates = explode(':', $meta->value);
|
102 |
|
103 |
+
$start_datetime = date_i18n($datetime_format, $dates[0]);
|
104 |
+
$end_datetime = date_i18n($datetime_format, $dates[1]);
|
105 |
|
106 |
$display_value = sprintf(__('%s to %s', 'modern-events-calendar-lite'), $start_datetime, $end_datetime);
|
107 |
}
|
117 |
$timestamps = explode(':', $item['mec_date']);
|
118 |
|
119 |
$date_format = (isset($this->settings['booking_date_format1']) and trim($this->settings['booking_date_format1'])) ? $this->settings['booking_date_format1'] : get_option('date_format');
|
120 |
+
$start_date = date_i18n($date_format, $timestamps[0]);
|
121 |
|
122 |
$name .= ' ('.$start_date.')';
|
123 |
return $name;
|
@@ -252,4 +252,15 @@ abstract class MEC_base extends MEC
|
|
252 |
{
|
253 |
return MEC::getInstance('app.libraries.eventFields');
|
254 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
}
|
252 |
{
|
253 |
return MEC::getInstance('app.libraries.eventFields');
|
254 |
}
|
255 |
+
|
256 |
+
/**
|
257 |
+
* Returns Search instance
|
258 |
+
* @final
|
259 |
+
* @author Webnus <info@webnus.biz>
|
260 |
+
* @return MEC_search instance
|
261 |
+
*/
|
262 |
+
final public function getSearch()
|
263 |
+
{
|
264 |
+
return MEC::getInstance('app.libraries.search');
|
265 |
+
}
|
266 |
}
|
@@ -63,7 +63,14 @@ class MEC_hourlyschedule extends MEC_base
|
|
63 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['from']); ?>"/>
|
64 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['to']); ?>"/>
|
65 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['title']); ?>"/>
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, <?php echo $key; ?>, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
68 |
<?php if($speakers_status): ?>
|
69 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
@@ -84,7 +91,14 @@ class MEC_hourlyschedule extends MEC_base
|
|
84 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
85 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
86 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
87 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, :i:, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
89 |
<?php if($speakers_status): ?>
|
90 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
@@ -129,7 +143,14 @@ class MEC_hourlyschedule extends MEC_base
|
|
129 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
130 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
131 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(:d:, :i:, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
134 |
<?php if($speakers_status): ?>
|
135 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
63 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['from']); ?>"/>
|
64 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['to']); ?>"/>
|
65 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['title']); ?>"/>
|
66 |
+
<?php if(apply_filters('mec_hourly_schedule_custom_field_description_status',false)): ?>
|
67 |
+
<?php
|
68 |
+
$field_name = "{$name_prefix}[hourly_schedules][{$d}][schedules][{$key}][description]";
|
69 |
+
do_action('mec_hourly_schedule_custom_field_description', $hourly_schedule,$field_name, $name_prefix, $d, $key );
|
70 |
+
?>
|
71 |
+
<?php else: ?>
|
72 |
+
<input class="mec-col-6" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][<?php echo $key; ?>][description]" placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>" value="<?php echo esc_attr($hourly_schedule['description']); ?>"/>
|
73 |
+
<?php endif; ?>
|
74 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, <?php echo $key; ?>, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
75 |
<?php if($speakers_status): ?>
|
76 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
91 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
92 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
93 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
94 |
+
<?php if(apply_filters('mec_hourly_schedule_custom_field_description_status',false)): ?>
|
95 |
+
<?php
|
96 |
+
$field_name = "{$name_prefix}[hourly_schedules][{$d}][schedules][:i:][description]";
|
97 |
+
do_action('mec_hourly_schedule_custom_field_description', [],$field_name, $name_prefix, $d, ':i:' );
|
98 |
+
?>
|
99 |
+
<?php else: ?>
|
100 |
+
<input class="mec-col-6" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][<?php echo $d; ?>][schedules][:i:][description]" placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>" />
|
101 |
+
<?php endif; ?>
|
102 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(<?php echo $d; ?>, :i:, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
103 |
<?php if($speakers_status): ?>
|
104 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
143 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][from]" placeholder="<?php esc_attr_e('From e.g. 8:15', 'modern-events-calendar-lite'); ?>"/>
|
144 |
<input class="mec-col-1" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][to]" placeholder="<?php esc_attr_e('To e.g. 8:45', 'modern-events-calendar-lite'); ?>"/>
|
145 |
<input class="mec-col-3" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][title]" placeholder="<?php esc_attr_e('Title', 'modern-events-calendar-lite'); ?>"/>
|
146 |
+
<?php if(apply_filters('mec_hourly_schedule_custom_field_description_status',false)): ?>
|
147 |
+
<?php
|
148 |
+
$field_name = "{$name_prefix}[hourly_schedules][:d:][schedules][:i:][description]";
|
149 |
+
do_action('mec_hourly_schedule_custom_field_description', [],$field_name, $name_prefix, ':d:', ':i:' );
|
150 |
+
?>
|
151 |
+
<?php else: ?>
|
152 |
+
<input class="mec-col-6" type="text" name="<?php echo $name_prefix; ?>[hourly_schedules][:d:][schedules][:i:][description]" placeholder="<?php esc_attr_e('Description', 'modern-events-calendar-lite'); ?>" />
|
153 |
+
<?php endif; ?>
|
154 |
<button class="button" type="button" onclick="mec_hourly_schedule_remove(:d:, :i:, '<?php echo $prefix; ?>');"><?php _e('Remove', 'modern-events-calendar-lite'); ?></button>
|
155 |
<?php if($speakers_status): ?>
|
156 |
<div class="mec-col-12 mec-hourly-schedule-form-speakers">
|
@@ -8059,12 +8059,12 @@ class MEC_main extends MEC_base
|
|
8059 |
$end_date = (isset($date['end']) and isset($date['end']['date'])) ? $date['end']['date'] : NULL;
|
8060 |
if(!$end_date) return false;
|
8061 |
|
8062 |
-
$e_hour = (isset($date['end']['hour']) ? $date['end']['hour'] :
|
8063 |
if(isset($date['end']['ampm']) and strtoupper($date['end']['ampm']) == 'AM' and $e_hour == '0') $e_hour = 12;
|
8064 |
|
8065 |
$end_time = sprintf("%02d", $e_hour).':';
|
8066 |
-
$end_time .= sprintf("%02d", (isset($date['end']['minutes']) ? $date['end']['minutes'] :
|
8067 |
-
$end_time .= ' '.(isset($date['end']['ampm']) ? trim($date['end']['ampm']) : '');
|
8068 |
|
8069 |
$allday = isset($date['allday']) ? $date['allday'] : 0;
|
8070 |
if($allday) $end_time = '11:59 PM';
|
@@ -8215,6 +8215,9 @@ class MEC_main extends MEC_base
|
|
8215 |
|
8216 |
public function is_multipleday_occurrence($event, $check_same_month = false)
|
8217 |
{
|
|
|
|
|
|
|
8218 |
$start_date = ((isset($event->date) and isset($event->date['start']) and isset($event->date['start']['date'])) ? $event->date['start']['date'] : NULL);
|
8219 |
$end_date = ((isset($event->date) and isset($event->date['end']) and isset($event->date['end']['date'])) ? $event->date['end']['date'] : NULL);
|
8220 |
|
@@ -8281,7 +8284,8 @@ class MEC_main extends MEC_base
|
|
8281 |
return $dropdown;
|
8282 |
}
|
8283 |
|
8284 |
-
public function wizard_import_dummy_events()
|
|
|
8285 |
if(apply_filters('mec_activation_import_events', true))
|
8286 |
{
|
8287 |
// Create Default Events
|
@@ -8299,7 +8303,8 @@ class MEC_main extends MEC_base
|
|
8299 |
}
|
8300 |
}
|
8301 |
|
8302 |
-
public function wizard_import_dummy_shortcodes()
|
|
|
8303 |
if(apply_filters('mec_activation_import_shortcodes', true))
|
8304 |
{
|
8305 |
// Search Form Options
|
@@ -8345,14 +8350,14 @@ class MEC_main extends MEC_base
|
|
8345 |
}
|
8346 |
}
|
8347 |
|
8348 |
-
public function save_wizard_options()
|
|
|
8349 |
$request = $this->getRequest();
|
8350 |
$mec = $request->getVar('mec', array());
|
8351 |
|
8352 |
$filtered = array();
|
8353 |
foreach($mec as $key=>$value) $filtered[$key] = (is_array($value) ? $value : array());
|
8354 |
|
8355 |
-
|
8356 |
$current = get_option('mec_options', array());
|
8357 |
$final = $current;
|
8358 |
|
@@ -8375,7 +8380,6 @@ class MEC_main extends MEC_base
|
|
8375 |
}
|
8376 |
|
8377 |
update_option('mec_options', $final);
|
8378 |
-
|
8379 |
die();
|
8380 |
}
|
8381 |
|
@@ -8387,6 +8391,13 @@ class MEC_main extends MEC_base
|
|
8387 |
|
8388 |
public function get_event_attendees($id, $occurrence = NULL, $verified = true)
|
8389 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8390 |
$date_query = array();
|
8391 |
if($occurrence)
|
8392 |
{
|
8059 |
$end_date = (isset($date['end']) and isset($date['end']['date'])) ? $date['end']['date'] : NULL;
|
8060 |
if(!$end_date) return false;
|
8061 |
|
8062 |
+
$e_hour = (isset($date['end']['hour']) ? $date['end']['hour'] : 11);
|
8063 |
if(isset($date['end']['ampm']) and strtoupper($date['end']['ampm']) == 'AM' and $e_hour == '0') $e_hour = 12;
|
8064 |
|
8065 |
$end_time = sprintf("%02d", $e_hour).':';
|
8066 |
+
$end_time .= sprintf("%02d", (isset($date['end']['minutes']) ? $date['end']['minutes'] : 59));
|
8067 |
+
$end_time .= ' '.(isset($date['end']['ampm']) ? trim($date['end']['ampm']) : 'PM');
|
8068 |
|
8069 |
$allday = isset($date['allday']) ? $date['allday'] : 0;
|
8070 |
if($allday) $end_time = '11:59 PM';
|
8215 |
|
8216 |
public function is_multipleday_occurrence($event, $check_same_month = false)
|
8217 |
{
|
8218 |
+
// Multiple Day Flag
|
8219 |
+
if(isset($event->data) and isset($event->data->multipleday)) return (boolean) $event->data->multipleday;
|
8220 |
+
|
8221 |
$start_date = ((isset($event->date) and isset($event->date['start']) and isset($event->date['start']['date'])) ? $event->date['start']['date'] : NULL);
|
8222 |
$end_date = ((isset($event->date) and isset($event->date['end']) and isset($event->date['end']['date'])) ? $event->date['end']['date'] : NULL);
|
8223 |
|
8284 |
return $dropdown;
|
8285 |
}
|
8286 |
|
8287 |
+
public function wizard_import_dummy_events()
|
8288 |
+
{
|
8289 |
if(apply_filters('mec_activation_import_events', true))
|
8290 |
{
|
8291 |
// Create Default Events
|
8303 |
}
|
8304 |
}
|
8305 |
|
8306 |
+
public function wizard_import_dummy_shortcodes()
|
8307 |
+
{
|
8308 |
if(apply_filters('mec_activation_import_shortcodes', true))
|
8309 |
{
|
8310 |
// Search Form Options
|
8350 |
}
|
8351 |
}
|
8352 |
|
8353 |
+
public function save_wizard_options()
|
8354 |
+
{
|
8355 |
$request = $this->getRequest();
|
8356 |
$mec = $request->getVar('mec', array());
|
8357 |
|
8358 |
$filtered = array();
|
8359 |
foreach($mec as $key=>$value) $filtered[$key] = (is_array($value) ? $value : array());
|
8360 |
|
|
|
8361 |
$current = get_option('mec_options', array());
|
8362 |
$final = $current;
|
8363 |
|
8380 |
}
|
8381 |
|
8382 |
update_option('mec_options', $final);
|
|
|
8383 |
die();
|
8384 |
}
|
8385 |
|
8391 |
|
8392 |
public function get_event_attendees($id, $occurrence = NULL, $verified = true)
|
8393 |
{
|
8394 |
+
$allday = get_post_meta($id, 'mec_allday', true);
|
8395 |
+
if($allday and $occurrence)
|
8396 |
+
{
|
8397 |
+
$start_seconds = get_post_meta($id, 'mec_start_day_seconds', true);
|
8398 |
+
$occurrence = ($occurrence - 60) + $start_seconds;
|
8399 |
+
}
|
8400 |
+
|
8401 |
$date_query = array();
|
8402 |
if($occurrence)
|
8403 |
{
|
@@ -1174,15 +1174,27 @@ class MEC_notifications extends MEC_base
|
|
1174 |
$mec_cost = get_post_meta($post->ID, 'mec_cost', true);
|
1175 |
$message = str_replace('%%event_cost%%', (is_numeric($mec_cost) ? $this->main->render_price($mec_cost, $post->ID) : $mec_cost), $message);
|
1176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1177 |
$message = str_replace('%%event_link%%', get_post_permalink($post->ID), $message);
|
1178 |
-
$message = str_replace('%%event_start_date%%', $this->main->date_i18n($date_format,
|
1179 |
-
$message = str_replace('%%event_end_date%%', $this->main->date_i18n($date_format,
|
1180 |
$message = str_replace('%%event_timezone%%', $this->main->get_timezone($post->ID), $message);
|
1181 |
$message = str_replace('%%event_status%%', $status, $message);
|
1182 |
$message = str_replace('%%event_note%%', get_post_meta($post->ID, 'mec_note', true), $message);
|
1183 |
|
1184 |
// Data Fields
|
1185 |
$event_fields = $this->main->get_event_fields();
|
|
|
1186 |
$event_fields_data = get_post_meta($post->ID, 'mec_fields', true);
|
1187 |
if(!is_array($event_fields_data)) $event_fields_data = array();
|
1188 |
|
@@ -1503,7 +1515,9 @@ class MEC_notifications extends MEC_base
|
|
1503 |
$attendee_ex_name = explode(' ', $name);
|
1504 |
|
1505 |
$first_name = isset($attendee_ex_name[0]) ? $attendee_ex_name[0] : '';
|
1506 |
-
|
|
|
|
|
1507 |
$email = isset($attendee['email']) ? $attendee['email'] : $email;
|
1508 |
}
|
1509 |
|
1174 |
$mec_cost = get_post_meta($post->ID, 'mec_cost', true);
|
1175 |
$message = str_replace('%%event_cost%%', (is_numeric($mec_cost) ? $this->main->render_price($mec_cost, $post->ID) : $mec_cost), $message);
|
1176 |
|
1177 |
+
$mec_start_date = get_post_meta($post->ID, 'mec_start_date', true);
|
1178 |
+
$mec_end_date = get_post_meta($post->ID, 'mec_end_date', true);
|
1179 |
+
|
1180 |
+
if(!$mec_start_date and !$mec_end_date)
|
1181 |
+
{
|
1182 |
+
$mec = isset($_POST['mec']) ? $_POST['mec'] : array();
|
1183 |
+
|
1184 |
+
$mec_start_date = (isset($mec['date']) and isset($mec['date']['start']) and isset($mec['date']['start']['date']) and trim($mec['date']['start']['date'])) ? $this->main->standardize_format($mec['date']['start']['date']) : NULL;
|
1185 |
+
$mec_end_date = (isset($mec['date']) and isset($mec['date']['end']) and isset($mec['date']['end']['date']) and trim($mec['date']['end']['date'])) ? $this->main->standardize_format($mec['date']['end']['date']) : NULL;
|
1186 |
+
}
|
1187 |
+
|
1188 |
$message = str_replace('%%event_link%%', get_post_permalink($post->ID), $message);
|
1189 |
+
$message = str_replace('%%event_start_date%%', $this->main->date_i18n($date_format, $mec_start_date), $message);
|
1190 |
+
$message = str_replace('%%event_end_date%%', $this->main->date_i18n($date_format, $mec_end_date), $message);
|
1191 |
$message = str_replace('%%event_timezone%%', $this->main->get_timezone($post->ID), $message);
|
1192 |
$message = str_replace('%%event_status%%', $status, $message);
|
1193 |
$message = str_replace('%%event_note%%', get_post_meta($post->ID, 'mec_note', true), $message);
|
1194 |
|
1195 |
// Data Fields
|
1196 |
$event_fields = $this->main->get_event_fields();
|
1197 |
+
|
1198 |
$event_fields_data = get_post_meta($post->ID, 'mec_fields', true);
|
1199 |
if(!is_array($event_fields_data)) $event_fields_data = array();
|
1200 |
|
1515 |
$attendee_ex_name = explode(' ', $name);
|
1516 |
|
1517 |
$first_name = isset($attendee_ex_name[0]) ? $attendee_ex_name[0] : '';
|
1518 |
+
unset($attendee_ex_name[0]);
|
1519 |
+
|
1520 |
+
$last_name = implode(' ', $attendee_ex_name);
|
1521 |
$email = isset($attendee['email']) ? $attendee['email'] : $email;
|
1522 |
}
|
1523 |
|
@@ -611,6 +611,7 @@ class MEC_render extends MEC_base
|
|
611 |
'full'=>esc_url($this->main->get_post_thumbnail_url($post_id, 'full')),
|
612 |
'tileview'=>esc_url($this->main->get_post_thumbnail_url($post_id, 'tileview'))
|
613 |
), $post_id);
|
|
|
614 |
$data->featured_image = $dataFeaturedImage;
|
615 |
|
616 |
$taxonomies = array('mec_label', 'mec_organizer', 'mec_location', 'mec_category', apply_filters('mec_taxonomy_tag', ''));
|
@@ -629,7 +630,15 @@ class MEC_render extends MEC_base
|
|
629 |
$locations = array('id'=>$term->term_id, 'name'=>$term->name, 'address'=>get_metadata('term', $term->term_id, 'address', true), 'latitude'=>get_metadata('term', $term->term_id, 'latitude', true), 'longitude'=>get_metadata('term', $term->term_id, 'longitude', true), 'url'=>get_metadata('term', $term->term_id, 'url', true), 'thumbnail'=>get_metadata('term', $term->term_id, 'thumbnail', true));
|
630 |
$data->locations[$term->term_id] = apply_filters('mec_map_load_location_terms', $locations, $term);
|
631 |
}
|
632 |
-
elseif($term->taxonomy == 'mec_category')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
633 |
elseif($term->taxonomy == apply_filters('mec_taxonomy_tag', '')) $data->tags[$term->term_id] = array('id'=>$term->term_id, 'name'=>$term->name);
|
634 |
elseif($term->taxonomy == 'mec_speaker')
|
635 |
{
|
@@ -864,7 +873,8 @@ class MEC_render extends MEC_base
|
|
864 |
|
865 |
if($s_hour and $s_minutes and $s_ampm and strtotime($start_time))
|
866 |
{
|
867 |
-
$event->date['start']
|
|
|
868 |
'hour' => sprintf("%02d", $s_hour),
|
869 |
'minutes' => sprintf("%02d", $s_minutes),
|
870 |
'ampm' => $s_ampm,
|
@@ -874,7 +884,8 @@ class MEC_render extends MEC_base
|
|
874 |
|
875 |
if($e_hour and $e_minutes and $e_ampm and strtotime($end_time))
|
876 |
{
|
877 |
-
$event->date['end']
|
|
|
878 |
'hour' => sprintf("%02d", $e_hour),
|
879 |
'minutes' => sprintf("%02d", $e_minutes),
|
880 |
'ampm' => $e_ampm,
|
@@ -929,6 +940,9 @@ class MEC_render extends MEC_base
|
|
929 |
$cache->set($key, array($second_start_time, $second_end_time));
|
930 |
}
|
931 |
|
|
|
|
|
|
|
932 |
$event->data->time['start_raw'] = $new_start_time;
|
933 |
$event->data->time['end_raw'] = $new_end_time;
|
934 |
|
@@ -1460,10 +1474,22 @@ class MEC_render extends MEC_base
|
|
1460 |
$timestamps[$timestamp_key] = true;
|
1461 |
$uniques[] = $date;
|
1462 |
}
|
1463 |
-
|
|
|
|
|
|
|
1464 |
return $uniques;
|
1465 |
}
|
1466 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1467 |
/**
|
1468 |
* Render markers
|
1469 |
* @author Webnus <info@webnus.biz>
|
611 |
'full'=>esc_url($this->main->get_post_thumbnail_url($post_id, 'full')),
|
612 |
'tileview'=>esc_url($this->main->get_post_thumbnail_url($post_id, 'tileview'))
|
613 |
), $post_id);
|
614 |
+
|
615 |
$data->featured_image = $dataFeaturedImage;
|
616 |
|
617 |
$taxonomies = array('mec_label', 'mec_organizer', 'mec_location', 'mec_category', apply_filters('mec_taxonomy_tag', ''));
|
630 |
$locations = array('id'=>$term->term_id, 'name'=>$term->name, 'address'=>get_metadata('term', $term->term_id, 'address', true), 'latitude'=>get_metadata('term', $term->term_id, 'latitude', true), 'longitude'=>get_metadata('term', $term->term_id, 'longitude', true), 'url'=>get_metadata('term', $term->term_id, 'url', true), 'thumbnail'=>get_metadata('term', $term->term_id, 'thumbnail', true));
|
631 |
$data->locations[$term->term_id] = apply_filters('mec_map_load_location_terms', $locations, $term);
|
632 |
}
|
633 |
+
elseif($term->taxonomy == 'mec_category')
|
634 |
+
{
|
635 |
+
$data->categories[$term->term_id] = array(
|
636 |
+
'id'=>$term->term_id,
|
637 |
+
'name'=>$term->name,
|
638 |
+
'icon'=>get_metadata('term', $term->term_id, 'mec_cat_icon', true),
|
639 |
+
'color'=>get_metadata('term', $term->term_id, 'mec_cat_color', true),
|
640 |
+
);
|
641 |
+
}
|
642 |
elseif($term->taxonomy == apply_filters('mec_taxonomy_tag', '')) $data->tags[$term->term_id] = array('id'=>$term->term_id, 'name'=>$term->name);
|
643 |
elseif($term->taxonomy == 'mec_speaker')
|
644 |
{
|
873 |
|
874 |
if($s_hour and $s_minutes and $s_ampm and strtotime($start_time))
|
875 |
{
|
876 |
+
$d = ((isset($event->date['start']) and is_array($event->date['start'])) ? $event->date['start'] : array());
|
877 |
+
$event->date['start'] = array_merge($d, array(
|
878 |
'hour' => sprintf("%02d", $s_hour),
|
879 |
'minutes' => sprintf("%02d", $s_minutes),
|
880 |
'ampm' => $s_ampm,
|
884 |
|
885 |
if($e_hour and $e_minutes and $e_ampm and strtotime($end_time))
|
886 |
{
|
887 |
+
$d = ((isset($event->date['end']) and is_array($event->date['end'])) ? $event->date['end'] : array());
|
888 |
+
$event->date['end'] = array_merge($d, array(
|
889 |
'hour' => sprintf("%02d", $e_hour),
|
890 |
'minutes' => sprintf("%02d", $e_minutes),
|
891 |
'ampm' => $e_ampm,
|
940 |
$cache->set($key, array($second_start_time, $second_end_time));
|
941 |
}
|
942 |
|
943 |
+
// Flag to Multiple Day
|
944 |
+
$event->data->multipleday = 1;
|
945 |
+
|
946 |
$event->data->time['start_raw'] = $new_start_time;
|
947 |
$event->data->time['end_raw'] = $new_end_time;
|
948 |
|
1474 |
$timestamps[$timestamp_key] = true;
|
1475 |
$uniques[] = $date;
|
1476 |
}
|
1477 |
+
|
1478 |
+
// Sort
|
1479 |
+
usort($uniques, array($this, 'sort_dates'));
|
1480 |
+
|
1481 |
return $uniques;
|
1482 |
}
|
1483 |
|
1484 |
+
public function sort_dates($a, $b)
|
1485 |
+
{
|
1486 |
+
$a_timestamp = $a['start']['timestamp'];
|
1487 |
+
$b_timestamp = $b['end']['timestamp'];
|
1488 |
+
|
1489 |
+
if($a_timestamp == $b_timestamp) return 0;
|
1490 |
+
return ($a_timestamp > $b_timestamp) ? +1 : -1;
|
1491 |
+
}
|
1492 |
+
|
1493 |
/**
|
1494 |
* Render markers
|
1495 |
* @author Webnus <info@webnus.biz>
|
@@ -30,14 +30,9 @@ class MEC_schedule extends MEC_base
|
|
30 |
$maximum = 50;
|
31 |
$repeat_type = get_post_meta($event->ID, 'mec_repeat_type', true);
|
32 |
|
33 |
-
//
|
34 |
-
if($repeat_type === 'custom_days')
|
35 |
-
|
36 |
-
$this->clean($event->ID);
|
37 |
-
$maximum = 100;
|
38 |
-
}
|
39 |
-
|
40 |
-
$this->append($event->ID, $maximum);
|
41 |
}
|
42 |
}
|
43 |
|
30 |
$maximum = 50;
|
31 |
$repeat_type = get_post_meta($event->ID, 'mec_repeat_type', true);
|
32 |
|
33 |
+
// Reschedule Schedule for Custom Days Events
|
34 |
+
if($repeat_type === 'custom_days') $this->reschedule($event->ID, 200);
|
35 |
+
else $this->append($event->ID, $maximum);
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
}
|
38 |
|
@@ -0,0 +1,424 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/** no direct access **/
|
3 |
+
defined('MECEXEC') or die();
|
4 |
+
|
5 |
+
/**
|
6 |
+
* Webnus MEC schedule class.
|
7 |
+
* @author Webnus <info@webnus.biz>
|
8 |
+
*/
|
9 |
+
class MEC_search extends MEC_base
|
10 |
+
{
|
11 |
+
private $main;
|
12 |
+
private $settings;
|
13 |
+
|
14 |
+
public function __construct()
|
15 |
+
{
|
16 |
+
$this->main = $this->getMain();
|
17 |
+
|
18 |
+
// MEC Settings
|
19 |
+
$this->settings = $this->main->get_settings();
|
20 |
+
}
|
21 |
+
|
22 |
+
public function refine()
|
23 |
+
{
|
24 |
+
// Variables
|
25 |
+
$sf = (isset($_POST['sf']) ? $_POST['sf'] : array());
|
26 |
+
$id = (isset($_POST['id']) ? $_POST['id'] : '');
|
27 |
+
$current_field = (isset($_POST['last_field']) ? $_POST['last_field'] : '');
|
28 |
+
$category_type = (isset($_POST['category_type']) ? $_POST['category_type'] : 'dropdown');
|
29 |
+
$event_ids = array();
|
30 |
+
|
31 |
+
// Import
|
32 |
+
self::import('app.libraries.walker');
|
33 |
+
if(!function_exists('wp_terms_checklist')) include ABSPATH.'wp-admin/includes/template.php';
|
34 |
+
|
35 |
+
// Taxonomy Query
|
36 |
+
$tax_query = array(
|
37 |
+
'relation'=>'AND'
|
38 |
+
);
|
39 |
+
|
40 |
+
// Add event label to filter
|
41 |
+
if(isset($sf['label']) and trim($sf['label'], ', ') != '')
|
42 |
+
{
|
43 |
+
$tax_query[] = array(
|
44 |
+
'taxonomy'=>'mec_label',
|
45 |
+
'field'=>'term_id',
|
46 |
+
'terms'=>explode(',', trim($sf['label'], ', '))
|
47 |
+
);
|
48 |
+
}
|
49 |
+
|
50 |
+
// Add event category to filter
|
51 |
+
if(isset($sf['category']) and trim($sf['category'], ', ') != '')
|
52 |
+
{
|
53 |
+
$tax_query[] = array(
|
54 |
+
'taxonomy'=>'mec_category',
|
55 |
+
'field'=>'term_id',
|
56 |
+
'terms'=>explode(',', trim($sf['category'], ', '))
|
57 |
+
);
|
58 |
+
}
|
59 |
+
|
60 |
+
// Add event location to filter
|
61 |
+
if(isset($sf['location']) and trim($sf['location'], ', ') != '')
|
62 |
+
{
|
63 |
+
$tax_query[] = array(
|
64 |
+
'taxonomy'=>'mec_location',
|
65 |
+
'field'=>'term_id',
|
66 |
+
'terms'=>explode(',', trim($sf['location'], ', '))
|
67 |
+
);
|
68 |
+
}
|
69 |
+
|
70 |
+
// Add event address to filter
|
71 |
+
if(isset($sf['address']) and trim($sf['address'], ', ') != '')
|
72 |
+
{
|
73 |
+
$get_locations_id = $this->get_locations_id($sf['address']);
|
74 |
+
$tax_query[] = array(
|
75 |
+
'taxonomy'=>'mec_location',
|
76 |
+
'field'=>'term_id',
|
77 |
+
'terms'=>$get_locations_id,
|
78 |
+
);
|
79 |
+
}
|
80 |
+
|
81 |
+
// Add event organizer to filter
|
82 |
+
if(isset($sf['organizer']) and trim($sf['organizer'], ', ') != '')
|
83 |
+
{
|
84 |
+
$tax_query[] = array(
|
85 |
+
'taxonomy'=>'mec_organizer',
|
86 |
+
'field'=>'term_id',
|
87 |
+
'terms'=>explode(',', trim($sf['organizer'], ', '))
|
88 |
+
);
|
89 |
+
}
|
90 |
+
|
91 |
+
// Add event speaker to filter
|
92 |
+
if(isset($sf['speaker']) and trim($sf['speaker'], ', ') != '')
|
93 |
+
{
|
94 |
+
$tax_query[] = array(
|
95 |
+
'taxonomy'=>'mec_speaker',
|
96 |
+
'field'=>'term_id',
|
97 |
+
'terms'=>explode(',', trim($sf['speaker'], ', '))
|
98 |
+
);
|
99 |
+
}
|
100 |
+
|
101 |
+
// Event type
|
102 |
+
if(isset($sf['event_type']) and trim($sf['event_type'], ', ') != '')
|
103 |
+
{
|
104 |
+
$tax_query[] = array(
|
105 |
+
'taxonomy'=>'mec_event_type',
|
106 |
+
'field'=>'term_id',
|
107 |
+
'terms'=>explode(',', trim($sf['event_type'], ', '))
|
108 |
+
);
|
109 |
+
}
|
110 |
+
|
111 |
+
// Event Type 2
|
112 |
+
if(isset($sf['event_type_2']) and trim($sf['event_type_2'], ', ') != '')
|
113 |
+
{
|
114 |
+
$tax_query[] = array(
|
115 |
+
'taxonomy'=>'mec_event_type_2',
|
116 |
+
'field'=>'term_id',
|
117 |
+
'terms'=>explode(',', trim($sf['event_type_2'], ', '))
|
118 |
+
);
|
119 |
+
}
|
120 |
+
|
121 |
+
// Add event tags to filter
|
122 |
+
if(apply_filters('mec_taxonomy_tag', '') !== 'post_tag' and isset($sf['tag']) and trim($sf['tag'], ', ') != '')
|
123 |
+
{
|
124 |
+
if(is_numeric($sf['tag']))
|
125 |
+
{
|
126 |
+
$tax_query[] = array(
|
127 |
+
'taxonomy'=>'mec_tag',
|
128 |
+
'field'=>'term_id',
|
129 |
+
'terms'=>explode(',', trim($sf['tag'], ', '))
|
130 |
+
);
|
131 |
+
}
|
132 |
+
else
|
133 |
+
{
|
134 |
+
$tax_query[] = array(
|
135 |
+
'taxonomy'=>'mec_tag',
|
136 |
+
'field'=>'name',
|
137 |
+
'terms'=>explode(',', trim($sf['tag'], ', '))
|
138 |
+
);
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
$tax_query = apply_filters('mec_map_tax_query', $tax_query, $sf);
|
143 |
+
|
144 |
+
// Meta Query
|
145 |
+
$meta_query = array(
|
146 |
+
'relation' => 'AND',
|
147 |
+
);
|
148 |
+
|
149 |
+
// Event Min Cost
|
150 |
+
if(isset($sf['cost-min']) and trim($sf['cost-min']) != '')
|
151 |
+
{
|
152 |
+
$meta_query[] = array(
|
153 |
+
'key' => 'mec_cost',
|
154 |
+
'value' => $sf['cost-min'],
|
155 |
+
'type' => 'numeric',
|
156 |
+
'compare' => '>=',
|
157 |
+
);
|
158 |
+
}
|
159 |
+
|
160 |
+
// Event Max Cost
|
161 |
+
if(isset($sf['cost-max']) and trim($sf['cost-max']) != '')
|
162 |
+
{
|
163 |
+
$meta_query[] = array(
|
164 |
+
'key' => 'mec_cost',
|
165 |
+
'value' => $sf['cost-max'],
|
166 |
+
'type' => 'numeric',
|
167 |
+
'compare' => '<=',
|
168 |
+
);
|
169 |
+
}
|
170 |
+
|
171 |
+
$meta_query = apply_filters('mec_map_meta_query', $meta_query, $sf);
|
172 |
+
|
173 |
+
// Search Arguments
|
174 |
+
$args = array(
|
175 |
+
'post_type' => $this->main->get_main_post_type(),
|
176 |
+
'post_status' => 'publish',
|
177 |
+
'posts_per_page' => '-1',
|
178 |
+
's' => ((isset($sf['s']) and trim($sf['s'])) ? $sf['s'] : NULL),
|
179 |
+
'tax_query' => $tax_query,
|
180 |
+
'meta_query' => $meta_query,
|
181 |
+
);
|
182 |
+
|
183 |
+
// Query
|
184 |
+
$query = new WP_Query($args);
|
185 |
+
|
186 |
+
// The Loop
|
187 |
+
if($query->have_posts())
|
188 |
+
{
|
189 |
+
while($query->have_posts())
|
190 |
+
{
|
191 |
+
$query->the_post();
|
192 |
+
$event_ids[] = get_the_ID();
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
// Restore Original Post Data
|
197 |
+
wp_reset_postdata();
|
198 |
+
|
199 |
+
$categories = array();
|
200 |
+
$locations = array();
|
201 |
+
$organizers = array();
|
202 |
+
$speakers = array();
|
203 |
+
$tags = array();
|
204 |
+
$labels = array();
|
205 |
+
|
206 |
+
$upcoming_ids = $this->main->get_upcoming_event_ids(strtotime(current_time('Y-m-d')));
|
207 |
+
foreach($event_ids as $event_id)
|
208 |
+
{
|
209 |
+
// Expired Event
|
210 |
+
if(!in_array($event_id, $upcoming_ids)) continue;
|
211 |
+
|
212 |
+
$e_categories = wp_get_post_terms($event_id, 'mec_category');
|
213 |
+
if(!is_array($e_categories)) $e_categories = array();
|
214 |
+
|
215 |
+
foreach($e_categories as $e_category) $categories[] = $e_category->term_id;
|
216 |
+
|
217 |
+
$e_locations = wp_get_post_terms($event_id, 'mec_location');
|
218 |
+
if(!is_array($e_locations)) $e_locations = array();
|
219 |
+
|
220 |
+
foreach($e_locations as $e_location) $locations[] = $e_location->term_id;
|
221 |
+
|
222 |
+
$e_organizers = wp_get_post_terms($event_id, 'mec_organizer');
|
223 |
+
if(!is_array($e_organizers)) $e_organizers = array();
|
224 |
+
|
225 |
+
foreach($e_organizers as $e_organizer) $organizers[] = $e_organizer->term_id;
|
226 |
+
|
227 |
+
if((isset($this->settings['speakers_status']) and $this->settings['speakers_status']))
|
228 |
+
{
|
229 |
+
$e_speakers = wp_get_post_terms($event_id, 'mec_speaker');
|
230 |
+
if(!is_array($e_speakers)) $e_speakers = array();
|
231 |
+
|
232 |
+
foreach($e_speakers as $e_speaker) $speakers[] = $e_speaker->term_id;
|
233 |
+
}
|
234 |
+
|
235 |
+
$e_labels = wp_get_post_terms($event_id, 'mec_label');
|
236 |
+
if(!is_array($e_labels)) $e_labels = array();
|
237 |
+
|
238 |
+
foreach($e_labels as $e_label) $labels[] = $e_label->term_id;
|
239 |
+
|
240 |
+
$e_tags = wp_get_post_terms($event_id, apply_filters('mec_taxonomy_tag', ''));
|
241 |
+
if(!is_array($e_tags)) $e_tags = array();
|
242 |
+
|
243 |
+
foreach($e_tags as $e_tag) $tags[] = $e_tag->term_id;
|
244 |
+
}
|
245 |
+
|
246 |
+
$categories_html = '';
|
247 |
+
$locations_html = '';
|
248 |
+
$organizers_html = '';
|
249 |
+
$speakers_html = '';
|
250 |
+
$tags_html = '';
|
251 |
+
$labels_html = '';
|
252 |
+
|
253 |
+
// Categories
|
254 |
+
if($category_type == 'dropdown')
|
255 |
+
{
|
256 |
+
$label = $this->main->m('taxonomy_category', __('Category', 'modern-events-calendar-lite'));
|
257 |
+
|
258 |
+
$categories_html .= wp_dropdown_categories(array
|
259 |
+
(
|
260 |
+
'echo'=>false,
|
261 |
+
'taxonomy'=>'mec_category',
|
262 |
+
'name'=>' ',
|
263 |
+
'include'=>($current_field === 'category' ? '' : array_unique($categories)),
|
264 |
+
'id'=>'mec_sf_category_'.$id,
|
265 |
+
'hierarchical'=>true,
|
266 |
+
'show_option_none'=>$label,
|
267 |
+
'option_none_value'=>'',
|
268 |
+
'selected'=>(isset($sf['category']) ? $sf['category'] : ''),
|
269 |
+
'orderby'=>'name',
|
270 |
+
'order'=>'ASC',
|
271 |
+
'show_count'=>0,
|
272 |
+
'child_of'=>(!count($categories) ? -1 : 0),
|
273 |
+
));
|
274 |
+
}
|
275 |
+
elseif($category_type == 'checkboxes' and wp_count_terms(array('taxonomy' => 'mec_category')))
|
276 |
+
{
|
277 |
+
$selected = ((isset($sf['category']) and trim($sf['category'], ', ')) ? explode(',', trim($sf['category'], ', ')) : array());
|
278 |
+
|
279 |
+
$categories_html .= wp_terms_checklist(0, array
|
280 |
+
(
|
281 |
+
'echo'=>false,
|
282 |
+
'taxonomy'=>'mec_category',
|
283 |
+
'selected_cats'=>$selected,
|
284 |
+
'checked_ontop'=>false,
|
285 |
+
'walker'=>(new MEC_walker(array(
|
286 |
+
'include'=>($current_field === 'category' ? '' : array_unique($categories)),
|
287 |
+
'id' => $id,
|
288 |
+
))),
|
289 |
+
'descendants_and_self'=>(!count($categories) ? -1 : 0),
|
290 |
+
));
|
291 |
+
}
|
292 |
+
|
293 |
+
// Locations
|
294 |
+
$label = $this->main->m('taxonomy_location', __('Location', 'modern-events-calendar-lite'));
|
295 |
+
|
296 |
+
$locations_html .= wp_dropdown_categories(array
|
297 |
+
(
|
298 |
+
'echo'=>false,
|
299 |
+
'taxonomy'=>'mec_location',
|
300 |
+
'name'=>' ',
|
301 |
+
'include'=>($current_field === 'location' ? '' : array_unique($locations)),
|
302 |
+
'id'=>'mec_sf_location_'.$id,
|
303 |
+
'hierarchical'=>true,
|
304 |
+
'show_option_none'=>$label,
|
305 |
+
'option_none_value'=>'',
|
306 |
+
'selected'=>(isset($sf['location']) ? $sf['location'] : ''),
|
307 |
+
'orderby'=>'name',
|
308 |
+
'order'=>'ASC',
|
309 |
+
'show_count'=>0,
|
310 |
+
'child_of'=>(!count($locations) ? -1 : 0),
|
311 |
+
));
|
312 |
+
|
313 |
+
// Organizers
|
314 |
+
$label = $this->main->m('taxonomy_organizer', __('Organizer', 'modern-events-calendar-lite'));
|
315 |
+
|
316 |
+
$organizers_html .= wp_dropdown_categories(array
|
317 |
+
(
|
318 |
+
'echo'=>false,
|
319 |
+
'taxonomy'=>'mec_organizer',
|
320 |
+
'name'=>' ',
|
321 |
+
'include'=>($current_field === 'organizer' ? '' : array_unique($organizers)),
|
322 |
+
'id'=>'mec_sf_organizer_'.$id,
|
323 |
+
'hierarchical'=>true,
|
324 |
+
'show_option_none'=>$label,
|
325 |
+
'option_none_value'=>'',
|
326 |
+
'selected'=>(isset($sf['organizer']) ? $sf['organizer'] : ''),
|
327 |
+
'orderby'=>'name',
|
328 |
+
'order'=>'ASC',
|
329 |
+
'show_count'=>0,
|
330 |
+
'child_of'=>(!count($organizers) ? -1 : 0),
|
331 |
+
));
|
332 |
+
|
333 |
+
// Speakers
|
334 |
+
$label = $this->main->m('taxonomy_speaker', __('Speaker', 'modern-events-calendar-lite'));
|
335 |
+
|
336 |
+
$speakers_html .= wp_dropdown_categories(array
|
337 |
+
(
|
338 |
+
'echo'=>false,
|
339 |
+
'taxonomy'=>'mec_speaker',
|
340 |
+
'name'=>' ',
|
341 |
+
'include'=>($current_field === 'speaker' ? '' : array_unique($speakers)),
|
342 |
+
'id'=>'mec_sf_speaker_'.$id,
|
343 |
+
'hierarchical'=>true,
|
344 |
+
'show_option_none'=>$label,
|
345 |
+
'option_none_value'=>'',
|
346 |
+
'selected'=>(isset($sf['speaker']) ? $sf['speaker'] : ''),
|
347 |
+
'orderby'=>'name',
|
348 |
+
'order'=>'ASC',
|
349 |
+
'show_count'=>0,
|
350 |
+
'child_of'=>(!count($speakers) ? -1 : 0),
|
351 |
+
));
|
352 |
+
|
353 |
+
// Tags
|
354 |
+
$label = $this->main->m('taxonomy_tag', __('Tag', 'modern-events-calendar-lite'));
|
355 |
+
|
356 |
+
$tags_html .= wp_dropdown_categories(array
|
357 |
+
(
|
358 |
+
'echo'=>false,
|
359 |
+
'taxonomy'=>apply_filters('mec_taxonomy_tag', ''),
|
360 |
+
'name'=>' ',
|
361 |
+
'include'=>($current_field === 'tag' ? '' : array_unique($tags)),
|
362 |
+
'id'=>'mec_sf_tag_'.$id,
|
363 |
+
'hierarchical'=>true,
|
364 |
+
'show_option_none'=>$label,
|
365 |
+
'option_none_value'=>'',
|
366 |
+
'selected'=>(isset($sf['tag']) ? $sf['tag'] : ''),
|
367 |
+
'orderby'=>'name',
|
368 |
+
'order'=>'ASC',
|
369 |
+
'show_count'=>0,
|
370 |
+
'child_of'=>(!count($tags) ? -1 : 0),
|
371 |
+
));
|
372 |
+
|
373 |
+
// Labels
|
374 |
+
$label = $this->main->m('taxonomy_label', __('Label', 'modern-events-calendar-lite'));
|
375 |
+
|
376 |
+
$labels_html .= wp_dropdown_categories(array
|
377 |
+
(
|
378 |
+
'echo'=>false,
|
379 |
+
'taxonomy'=>'mec_label',
|
380 |
+
'name'=>' ',
|
381 |
+
'include'=>($current_field === 'label' ? '' : array_unique($labels)),
|
382 |
+
'id'=>'mec_sf_label_'.$id,
|
383 |
+
'hierarchical'=>true,
|
384 |
+
'show_option_none'=>$label,
|
385 |
+
'option_none_value'=>'',
|
386 |
+
'selected'=>(isset($sf['label']) ? $sf['label'] : ''),
|
387 |
+
'orderby'=>'name',
|
388 |
+
'order'=>'ASC',
|
389 |
+
'show_count'=>0,
|
390 |
+
'child_of'=>(!count($labels) ? -1 : 0),
|
391 |
+
));
|
392 |
+
|
393 |
+
$output = array(
|
394 |
+
'success' => 1,
|
395 |
+
'categories' => ((isset($sf['category']) and trim($sf['category'], ', ')) ? '' : $categories_html),
|
396 |
+
'locations' => ($current_field === 'location' ? '' : $locations_html),
|
397 |
+
'organizers' => ($current_field === 'organizer' ? '' : $organizers_html),
|
398 |
+
'speakers' => ($current_field === 'speaker' ? '' : $speakers_html),
|
399 |
+
'tags' => ($current_field === 'tag' ? '' : $tags_html),
|
400 |
+
'labels' => ($current_field === 'label' ? '' : $labels_html),
|
401 |
+
);
|
402 |
+
|
403 |
+
echo json_encode($output);
|
404 |
+
exit;
|
405 |
+
}
|
406 |
+
|
407 |
+
public function get_locations_id($address = '')
|
408 |
+
{
|
409 |
+
if(!trim($address)) return array();
|
410 |
+
|
411 |
+
$address = str_replace(' ', ',', $address);
|
412 |
+
$locations = explode(',', $address);
|
413 |
+
$query = "SELECT `term_id` FROM `#__termmeta` WHERE `meta_key` = 'address'";
|
414 |
+
|
415 |
+
foreach($locations as $location) if(trim($location)) $query .= " AND `meta_value` LIKE '%" . trim($location) . "%'";
|
416 |
+
|
417 |
+
$db = $this->getDB();
|
418 |
+
$locations_id = $db->select($query, 'loadAssocList');
|
419 |
+
return array_map(function($value)
|
420 |
+
{
|
421 |
+
return intval($value['term_id']);
|
422 |
+
}, $locations_id);
|
423 |
+
}
|
424 |
+
}
|
@@ -77,6 +77,8 @@ class MEC_skins extends MEC_base
|
|
77 |
public $sf;
|
78 |
public $sf_status;
|
79 |
public $sf_display_label;
|
|
|
|
|
80 |
public $sf_options;
|
81 |
public $id;
|
82 |
public $events;
|
@@ -107,8 +109,15 @@ class MEC_skins extends MEC_base
|
|
107 |
public $reason_for_cancellation;
|
108 |
public $display_label;
|
109 |
public $display_price;
|
|
|
110 |
public $cache;
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
/**
|
113 |
* Constructor method
|
114 |
* @author Webnus <info@webnus.biz>
|
@@ -799,6 +808,9 @@ class MEC_skins extends MEC_base
|
|
799 |
$this->args['posts_per_page'] = apply_filters('mec_skins_search_posts_per_page', 100);
|
800 |
$dates = apply_filters('mec_event_dates_search', $dates, $start, $end, $this);
|
801 |
|
|
|
|
|
|
|
802 |
$i = 0;
|
803 |
$found = 0;
|
804 |
$events = array();
|
@@ -875,6 +887,9 @@ class MEC_skins extends MEC_base
|
|
875 |
|
876 |
$primary_key = $event_data->data->time['start_timestamp'];
|
877 |
|
|
|
|
|
|
|
878 |
// global variable for use dates
|
879 |
$MEC_Events_dates[$ID][$primary_key] = $date_times;
|
880 |
|
@@ -916,7 +931,9 @@ class MEC_skins extends MEC_base
|
|
916 |
|
917 |
// Set found events
|
918 |
$this->found = $found;
|
919 |
-
|
|
|
|
|
920 |
|
921 |
return $events;
|
922 |
}
|
@@ -1016,7 +1033,16 @@ class MEC_skins extends MEC_base
|
|
1016 |
$fields = apply_filters('mec_filter_fields_search_form', $fields, $this);
|
1017 |
|
1018 |
$form = '';
|
1019 |
-
if(trim($fields) && (in_array('dropdown', $display_form) || in_array('checkboxes', $display_form) || in_array('text_input', $display_form) || in_array('address_input', $display_form) || in_array('minmax', $display_form) || in_array('local-time-picker', $display_form)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1020 |
|
1021 |
return $form;
|
1022 |
}
|
@@ -1051,10 +1077,9 @@ class MEC_skins extends MEC_base
|
|
1051 |
if($type == 'dropdown')
|
1052 |
{
|
1053 |
$output .='<div class="mec-dropdown-search">';
|
1054 |
-
$display_label == 1 ? $output .='<label for="mec_sf_category_'.$this->id.'">'.$label.': </label>' : null;
|
1055 |
|
1056 |
$output .='<i class="mec-sl-folder"></i>';
|
1057 |
-
|
1058 |
$output .= wp_dropdown_categories(array
|
1059 |
(
|
1060 |
'echo'=>false,
|
@@ -1107,10 +1132,9 @@ class MEC_skins extends MEC_base
|
|
1107 |
if($type == 'dropdown')
|
1108 |
{
|
1109 |
$output .= '<div class="mec-dropdown-search">';
|
1110 |
-
$display_label == 1 ? $output .='<label for="
|
1111 |
|
1112 |
$output .= '<i class="mec-sl-location-pin"></i>';
|
1113 |
-
|
1114 |
$output .= wp_dropdown_categories(array
|
1115 |
(
|
1116 |
'echo'=>false,
|
@@ -1137,7 +1161,7 @@ class MEC_skins extends MEC_base
|
|
1137 |
if($type == 'dropdown')
|
1138 |
{
|
1139 |
$output .= '<div class="mec-dropdown-search">';
|
1140 |
-
$display_label == 1 ? $output .='<label for="
|
1141 |
$output .= '<i class="mec-sl-user"></i>';
|
1142 |
|
1143 |
$output .= wp_dropdown_categories(array
|
@@ -1166,7 +1190,7 @@ class MEC_skins extends MEC_base
|
|
1166 |
if($type == 'dropdown')
|
1167 |
{
|
1168 |
$output .= '<div class="mec-dropdown-search">';
|
1169 |
-
$display_label == 1 ? $output .='<label for="
|
1170 |
$output .= '<i class="mec-sl-microphone"></i>';
|
1171 |
|
1172 |
$output .= wp_dropdown_categories(array
|
@@ -1195,7 +1219,7 @@ class MEC_skins extends MEC_base
|
|
1195 |
if($type == 'dropdown')
|
1196 |
{
|
1197 |
$output .= '<div class="mec-dropdown-search">';
|
1198 |
-
$display_label == 1 ? $output .='<label for="
|
1199 |
$output .= '<i class="mec-sl-tag"></i>';
|
1200 |
|
1201 |
$output .= wp_dropdown_categories(array
|
@@ -1223,7 +1247,7 @@ class MEC_skins extends MEC_base
|
|
1223 |
if($type == 'dropdown')
|
1224 |
{
|
1225 |
$output .= '<div class="mec-dropdown-search">';
|
1226 |
-
$display_label == 1 ? $output .='<label for="
|
1227 |
$output .= '<i class="mec-sl-pin"></i>';
|
1228 |
|
1229 |
$output .= wp_dropdown_categories(array
|
@@ -1307,7 +1331,7 @@ class MEC_skins extends MEC_base
|
|
1307 |
$min_date = (isset($this->start_date) ? $this->start_date : NULL);
|
1308 |
|
1309 |
$output .= '<div class="mec-date-search">';
|
1310 |
-
$display_label == 1 ? $output .='<label for="
|
1311 |
$output .= '<i class="mec-sl-calendar"></i>
|
1312 |
<input class="mec-col-3 mec_date_picker_dynamic_format_start" data-min="'.$min_date.'" type="text"
|
1313 |
id="mec_sf_date_start_'.$this->id.'"
|
@@ -1326,7 +1350,7 @@ class MEC_skins extends MEC_base
|
|
1326 |
$this->main->load_time_picker_assets();
|
1327 |
|
1328 |
$output .= '<div class="mec-time-picker-search">';
|
1329 |
-
$display_label == 1 ? $output .='<label for="
|
1330 |
$output .= '<i class="mec-sl-clock"></i>
|
1331 |
<input type="text" class="mec-timepicker-start" id="mec_sf_timepicker_start_'.$this->id.'" placeholder="'.__('Start Time', 'modern-events-calendar-lite').'" data-format="'.$this->main->get_hour_format().'" />
|
1332 |
<input type="text" class="mec-timepicker-end" id="mec_sf_timepicker_end_'.$this->id.'" placeholder="'.__('End Time', 'modern-events-calendar-lite').'" data-format="'.$this->main->get_hour_format().'" />
|
@@ -1341,7 +1365,7 @@ class MEC_skins extends MEC_base
|
|
1341 |
$placeholder = (isset($options['placeholder']) ? $options['placeholder'] : '');
|
1342 |
|
1343 |
$output .= '<div class="mec-text-input-search">';
|
1344 |
-
$display_label == 1 ? $output .='<label for="
|
1345 |
$output .= '<i class="mec-sl-magnifier"></i>
|
1346 |
<input type="search" value="'.(isset($this->atts['s']) ? $this->atts['s'] : '').'" id="mec_sf_s_'.$this->id.'" placeholder="'.esc_attr($placeholder).'" />
|
1347 |
</div>';
|
@@ -1355,7 +1379,7 @@ class MEC_skins extends MEC_base
|
|
1355 |
$placeholder = (isset($options['placeholder']) ? $options['placeholder'] : '');
|
1356 |
|
1357 |
$output .= '<div class="mec-text-address-search">';
|
1358 |
-
$display_label == 1 ? $output .='<label for="
|
1359 |
$output .= '<i class="mec-sl-map"></i>
|
1360 |
<input type="search" value="'.(isset($this->atts['address']) ? $this->atts['address'] : '').'" id="mec_sf_address_s_'.$this->id.'" placeholder="'.esc_attr($placeholder).'" />
|
1361 |
</div>';
|
@@ -1367,7 +1391,7 @@ class MEC_skins extends MEC_base
|
|
1367 |
if($type == 'minmax')
|
1368 |
{
|
1369 |
$output .= '<div class="mec-minmax-event-cost">';
|
1370 |
-
$display_label == 1 ? $output .='<label for="
|
1371 |
$output .= '<i class="mec-sl-credit-card"></i>
|
1372 |
<input type="number" min="0" step="0.01" value="'.(isset($this->atts['event-cost-min']) ? $this->atts['event-cost-min'] : '').'" id="mec_sf_event_cost_min_'.$this->id.'" class="mec-minmax-price" placeholder="'.esc_attr__('Min Price', 'modern-events-calendar-lite').'" />
|
1373 |
<input type="number" min="0" step="0.01" value="'.(isset($this->atts['event-cost-max']) ? $this->atts['event-cost-max'] : '').'" id="mec_sf_event_cost_max_'.$this->id.'" class="mec-minmax-price" placeholder="'.esc_attr__('Max Price', 'modern-events-calendar-lite').'" />
|
@@ -1375,8 +1399,7 @@ class MEC_skins extends MEC_base
|
|
1375 |
}
|
1376 |
}
|
1377 |
|
1378 |
-
|
1379 |
-
return $output;
|
1380 |
}
|
1381 |
|
1382 |
public function sf_apply($atts, $sf = array(), $apply_sf_date = 1)
|
@@ -1540,6 +1563,49 @@ class MEC_skins extends MEC_base
|
|
1540 |
return $output;
|
1541 |
}
|
1542 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1543 |
public function display_categories($event)
|
1544 |
{
|
1545 |
$output = '';
|
@@ -1549,7 +1615,15 @@ class MEC_skins extends MEC_base
|
|
1549 |
{
|
1550 |
foreach($event->data->categories as $category)
|
1551 |
{
|
1552 |
-
if(isset($category['name']) and trim($category['name']))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1553 |
}
|
1554 |
}
|
1555 |
|
77 |
public $sf;
|
78 |
public $sf_status;
|
79 |
public $sf_display_label;
|
80 |
+
public $sf_reset_button;
|
81 |
+
public $sf_refine;
|
82 |
public $sf_options;
|
83 |
public $id;
|
84 |
public $events;
|
109 |
public $reason_for_cancellation;
|
110 |
public $display_label;
|
111 |
public $display_price;
|
112 |
+
public $display_detailed_time;
|
113 |
public $cache;
|
114 |
|
115 |
+
/**
|
116 |
+
* Has More Events
|
117 |
+
* @var bool
|
118 |
+
*/
|
119 |
+
public $has_more_events = true;
|
120 |
+
|
121 |
/**
|
122 |
* Constructor method
|
123 |
* @author Webnus <info@webnus.biz>
|
808 |
$this->args['posts_per_page'] = apply_filters('mec_skins_search_posts_per_page', 100);
|
809 |
$dates = apply_filters('mec_event_dates_search', $dates, $start, $end, $this);
|
810 |
|
811 |
+
$last_timestamp = NULL;
|
812 |
+
$last_event_id = NULL;
|
813 |
+
|
814 |
$i = 0;
|
815 |
$found = 0;
|
816 |
$events = array();
|
887 |
|
888 |
$primary_key = $event_data->data->time['start_timestamp'];
|
889 |
|
890 |
+
$last_timestamp = $event_data->data->time['start_timestamp'];
|
891 |
+
$last_event_id = $ID;
|
892 |
+
|
893 |
// global variable for use dates
|
894 |
$MEC_Events_dates[$ID][$primary_key] = $date_times;
|
895 |
|
931 |
|
932 |
// Set found events
|
933 |
$this->found = $found;
|
934 |
+
|
935 |
+
// Has More Events
|
936 |
+
if($last_timestamp and $last_event_id) $this->has_more_events = (boolean) $this->db->select("SELECT COUNT(id) FROM `#__mec_dates` WHERE `tstart` >= ".$last_timestamp." AND `post_id`!='".$last_event_id."'", 'loadResult');
|
937 |
|
938 |
return $events;
|
939 |
}
|
1033 |
$fields = apply_filters('mec_filter_fields_search_form', $fields, $this);
|
1034 |
|
1035 |
$form = '';
|
1036 |
+
if(trim($fields) && (in_array('dropdown', $display_form) || in_array('checkboxes', $display_form) || in_array('text_input', $display_form) || in_array('address_input', $display_form) || in_array('minmax', $display_form) || in_array('local-time-picker', $display_form)))
|
1037 |
+
{
|
1038 |
+
$form .= '<div id="mec_search_form_'.$this->id.'" class="mec-search-form mec-totalcal-box">';
|
1039 |
+
$form .= $fields;
|
1040 |
+
|
1041 |
+
// Reset Button
|
1042 |
+
if($this->sf_reset_button) $form .='<div class="mec-search-reset-button"><button class="button mec-button" id="mec_search_form_'.$this->id.'_reset" type="button">'.esc_html__('Reset', 'modern-events-calendar-lite').'</button></div>';
|
1043 |
+
|
1044 |
+
$form .= '</div>';
|
1045 |
+
}
|
1046 |
|
1047 |
return $form;
|
1048 |
}
|
1077 |
if($type == 'dropdown')
|
1078 |
{
|
1079 |
$output .='<div class="mec-dropdown-search">';
|
1080 |
+
$display_label == 1 ? $output .= '<label for="mec_sf_category_'.$this->id.'">'.$label.': </label>' : null;
|
1081 |
|
1082 |
$output .='<i class="mec-sl-folder"></i>';
|
|
|
1083 |
$output .= wp_dropdown_categories(array
|
1084 |
(
|
1085 |
'echo'=>false,
|
1132 |
if($type == 'dropdown')
|
1133 |
{
|
1134 |
$output .= '<div class="mec-dropdown-search">';
|
1135 |
+
$display_label == 1 ? $output .='<label for="mec_sf_location_'.$this->id.'">'.$label.': </label>' : null;
|
1136 |
|
1137 |
$output .= '<i class="mec-sl-location-pin"></i>';
|
|
|
1138 |
$output .= wp_dropdown_categories(array
|
1139 |
(
|
1140 |
'echo'=>false,
|
1161 |
if($type == 'dropdown')
|
1162 |
{
|
1163 |
$output .= '<div class="mec-dropdown-search">';
|
1164 |
+
$display_label == 1 ? $output .='<label for="mec_sf_organizer_'.$this->id.'">'.$label.': </label>' : null;
|
1165 |
$output .= '<i class="mec-sl-user"></i>';
|
1166 |
|
1167 |
$output .= wp_dropdown_categories(array
|
1190 |
if($type == 'dropdown')
|
1191 |
{
|
1192 |
$output .= '<div class="mec-dropdown-search">';
|
1193 |
+
$display_label == 1 ? $output .='<label for="mec_sf_speaker_'.$this->id.'">'.$label.': </label>' : null;
|
1194 |
$output .= '<i class="mec-sl-microphone"></i>';
|
1195 |
|
1196 |
$output .= wp_dropdown_categories(array
|
1219 |
if($type == 'dropdown')
|
1220 |
{
|
1221 |
$output .= '<div class="mec-dropdown-search">';
|
1222 |
+
$display_label == 1 ? $output .='<label for="mec_sf_tag_'.$this->id.'">'.$label.': </label>' : null;
|
1223 |
$output .= '<i class="mec-sl-tag"></i>';
|
1224 |
|
1225 |
$output .= wp_dropdown_categories(array
|
1247 |
if($type == 'dropdown')
|
1248 |
{
|
1249 |
$output .= '<div class="mec-dropdown-search">';
|
1250 |
+
$display_label == 1 ? $output .='<label for="mec_sf_label_'.$this->id.'">'.$label.': </label>' : null;
|
1251 |
$output .= '<i class="mec-sl-pin"></i>';
|
1252 |
|
1253 |
$output .= wp_dropdown_categories(array
|
1331 |
$min_date = (isset($this->start_date) ? $this->start_date : NULL);
|
1332 |
|
1333 |
$output .= '<div class="mec-date-search">';
|
1334 |
+
$display_label == 1 ? $output .='<label for="mec_sf_date_start_'.$this->id.'">'.$label.': </label>' : null;
|
1335 |
$output .= '<i class="mec-sl-calendar"></i>
|
1336 |
<input class="mec-col-3 mec_date_picker_dynamic_format_start" data-min="'.$min_date.'" type="text"
|
1337 |
id="mec_sf_date_start_'.$this->id.'"
|
1350 |
$this->main->load_time_picker_assets();
|
1351 |
|
1352 |
$output .= '<div class="mec-time-picker-search">';
|
1353 |
+
$display_label == 1 ? $output .='<label for="mec_sf_timepicker_start_'.$this->id.'">'.$label.': </label>' : null;
|
1354 |
$output .= '<i class="mec-sl-clock"></i>
|
1355 |
<input type="text" class="mec-timepicker-start" id="mec_sf_timepicker_start_'.$this->id.'" placeholder="'.__('Start Time', 'modern-events-calendar-lite').'" data-format="'.$this->main->get_hour_format().'" />
|
1356 |
<input type="text" class="mec-timepicker-end" id="mec_sf_timepicker_end_'.$this->id.'" placeholder="'.__('End Time', 'modern-events-calendar-lite').'" data-format="'.$this->main->get_hour_format().'" />
|
1365 |
$placeholder = (isset($options['placeholder']) ? $options['placeholder'] : '');
|
1366 |
|
1367 |
$output .= '<div class="mec-text-input-search">';
|
1368 |
+
$display_label == 1 ? $output .='<label for="mec_sf_s_'.$this->id.'">'.$label.': </label>' : null;
|
1369 |
$output .= '<i class="mec-sl-magnifier"></i>
|
1370 |
<input type="search" value="'.(isset($this->atts['s']) ? $this->atts['s'] : '').'" id="mec_sf_s_'.$this->id.'" placeholder="'.esc_attr($placeholder).'" />
|
1371 |
</div>';
|
1379 |
$placeholder = (isset($options['placeholder']) ? $options['placeholder'] : '');
|
1380 |
|
1381 |
$output .= '<div class="mec-text-address-search">';
|
1382 |
+
$display_label == 1 ? $output .='<label for="mec_sf_address_s_'.$this->id.'">'.$label.': </label>' : null;
|
1383 |
$output .= '<i class="mec-sl-map"></i>
|
1384 |
<input type="search" value="'.(isset($this->atts['address']) ? $this->atts['address'] : '').'" id="mec_sf_address_s_'.$this->id.'" placeholder="'.esc_attr($placeholder).'" />
|
1385 |
</div>';
|
1391 |
if($type == 'minmax')
|
1392 |
{
|
1393 |
$output .= '<div class="mec-minmax-event-cost">';
|
1394 |
+
$display_label == 1 ? $output .='<label for="mec_sf_event_cost_min_'.$this->id.'">'.$label.': </label>' : null;
|
1395 |
$output .= '<i class="mec-sl-credit-card"></i>
|
1396 |
<input type="number" min="0" step="0.01" value="'.(isset($this->atts['event-cost-min']) ? $this->atts['event-cost-min'] : '').'" id="mec_sf_event_cost_min_'.$this->id.'" class="mec-minmax-price" placeholder="'.esc_attr__('Min Price', 'modern-events-calendar-lite').'" />
|
1397 |
<input type="number" min="0" step="0.01" value="'.(isset($this->atts['event-cost-max']) ? $this->atts['event-cost-max'] : '').'" id="mec_sf_event_cost_max_'.$this->id.'" class="mec-minmax-price" placeholder="'.esc_attr__('Max Price', 'modern-events-calendar-lite').'" />
|
1399 |
}
|
1400 |
}
|
1401 |
|
1402 |
+
return apply_filters('mec_search_fields_to_box', $output, $field, $type, $this->atts, $this->id);
|
|
|
1403 |
}
|
1404 |
|
1405 |
public function sf_apply($atts, $sf = array(), $apply_sf_date = 1)
|
1563 |
return $output;
|
1564 |
}
|
1565 |
|
1566 |
+
public function display_detailed_time($event)
|
1567 |
+
{
|
1568 |
+
// Event Date
|
1569 |
+
$date = (isset($event->date) ? $event->date : array());
|
1570 |
+
|
1571 |
+
$to = $date['end']['date'];
|
1572 |
+
$from = $this->main->get_start_of_multiple_days($event->ID, $to);
|
1573 |
+
|
1574 |
+
$start_time = NULL;
|
1575 |
+
if(isset($date['start']['hour']))
|
1576 |
+
{
|
1577 |
+
$s_hour = $date['start']['hour'];
|
1578 |
+
if(strtoupper($date['start']['ampm']) == 'AM' and $s_hour == '0') $s_hour = 12;
|
1579 |
+
|
1580 |
+
$start_time = sprintf("%02d", $s_hour).':';
|
1581 |
+
$start_time .= sprintf("%02d", $date['start']['minutes']);
|
1582 |
+
$start_time .= ' '.trim($date['start']['ampm']);
|
1583 |
+
}
|
1584 |
+
elseif(isset($event->data->time) and is_array($event->data->time) and isset($event->data->time['start_timestamp'])) $start_time = date('H:i', $event->data->time['start_timestamp']);
|
1585 |
+
|
1586 |
+
$end_time = NULL;
|
1587 |
+
if(isset($date['end']['hour']))
|
1588 |
+
{
|
1589 |
+
$e_hour = $date['end']['hour'];
|
1590 |
+
if(strtoupper($date['end']['ampm']) == 'AM' and $e_hour == '0') $e_hour = 12;
|
1591 |
+
|
1592 |
+
$end_time = sprintf("%02d", $e_hour).':';
|
1593 |
+
$end_time .= sprintf("%02d", $date['end']['minutes']);
|
1594 |
+
$end_time .= ' '.trim($date['end']['ampm']);
|
1595 |
+
}
|
1596 |
+
elseif(isset($event->data->time) and is_array($event->data->time) and isset($event->data->time['end_timestamp'])) $end_time = date('H:i', $event->data->time['end_timestamp']);
|
1597 |
+
|
1598 |
+
$date_format = get_option('date_format');
|
1599 |
+
$time_format = get_option('time_format');
|
1600 |
+
|
1601 |
+
$output = '<div class="mec-detailed-time-wrapper">';
|
1602 |
+
$output .= '<div class="mec-detailed-time-start">'.sprintf(__('Start from: %s - %s', 'modern-events-calendar-lite'), date_i18n($date_format, strtotime($from)), date_i18n($time_format, strtotime($from.' '.$start_time))).'</div>';
|
1603 |
+
$output .= '<div class="mec-detailed-time-end">'.sprintf(__('End at: %s - %s', 'modern-events-calendar-lite'), date_i18n($date_format, strtotime($to)), date_i18n($time_format, strtotime($to.' '.$end_time))).'</div>';
|
1604 |
+
$output .= '</div>';
|
1605 |
+
|
1606 |
+
return $output;
|
1607 |
+
}
|
1608 |
+
|
1609 |
public function display_categories($event)
|
1610 |
{
|
1611 |
$output = '';
|
1615 |
{
|
1616 |
foreach($event->data->categories as $category)
|
1617 |
{
|
1618 |
+
if(isset($category['name']) and trim($category['name']))
|
1619 |
+
{
|
1620 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
1621 |
+
|
1622 |
+
$color_html = '';
|
1623 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
1624 |
+
|
1625 |
+
$output .= '<li class="mec-category"><a class="mec-color-hover" href="'.esc_url(get_term_link($category['id'])).'" target="_blank">' . trim($category['name']) . $color_html .'</a></li>';
|
1626 |
+
}
|
1627 |
}
|
1628 |
}
|
1629 |
|
@@ -20,6 +20,9 @@ class MEC_wc extends MEC_base
|
|
20 |
|
21 |
public function cart($event_id, $date, $tickets, $transaction_id = NULL)
|
22 |
{
|
|
|
|
|
|
|
23 |
$db = $this->getDB();
|
24 |
|
25 |
// Added to cart after ticket selection
|
@@ -29,15 +32,15 @@ class MEC_wc extends MEC_base
|
|
29 |
{
|
30 |
if(trim($ticket_id) == '') continue;
|
31 |
|
32 |
-
$ticket_key = $
|
33 |
|
34 |
// Get Product ID
|
35 |
$product_id = $db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_ticket' AND `meta_value`='".$ticket_key."'", 'loadResult');
|
36 |
|
37 |
// Create Product if Doesn't Exists
|
38 |
-
if(!$product_id) $product_id = $this->create($
|
39 |
// Update Existing Product
|
40 |
-
else $this->update($product_id, $
|
41 |
|
42 |
// Add to Cart
|
43 |
WC()->cart->add_to_cart($product_id, $count, 0, array(), array(
|
@@ -57,15 +60,15 @@ class MEC_wc extends MEC_base
|
|
57 |
$ticket_id = isset($info['id']) ? $info['id'] : '';
|
58 |
if(trim($ticket_id) == '') continue;
|
59 |
|
60 |
-
$ticket_key = $
|
61 |
|
62 |
// Get Product ID
|
63 |
$product_id = $db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_ticket' AND `meta_value`='".$ticket_key."'", 'loadResult');
|
64 |
|
65 |
// Create Product if Doesn't Exists
|
66 |
-
if(!$product_id) $product_id = $this->create($
|
67 |
// Update Existing Product
|
68 |
-
else $this->update($product_id, $
|
69 |
|
70 |
// Ticket Count
|
71 |
$count = isset($info['count']) ? $info['count'] : 1;
|
20 |
|
21 |
public function cart($event_id, $date, $tickets, $transaction_id = NULL)
|
22 |
{
|
23 |
+
$translated_event_id = (isset($_REQUEST['translated_event_id']) ? sanitize_text_field($_REQUEST['translated_event_id']) : 0);
|
24 |
+
if(!trim($translated_event_id)) $translated_event_id = $event_id;
|
25 |
+
|
26 |
$db = $this->getDB();
|
27 |
|
28 |
// Added to cart after ticket selection
|
32 |
{
|
33 |
if(trim($ticket_id) == '') continue;
|
34 |
|
35 |
+
$ticket_key = $translated_event_id.':'.$ticket_id;
|
36 |
|
37 |
// Get Product ID
|
38 |
$product_id = $db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_ticket' AND `meta_value`='".$ticket_key."'", 'loadResult');
|
39 |
|
40 |
// Create Product if Doesn't Exists
|
41 |
+
if(!$product_id) $product_id = $this->create($translated_event_id, $ticket_id);
|
42 |
// Update Existing Product
|
43 |
+
else $this->update($product_id, $translated_event_id, $ticket_id);
|
44 |
|
45 |
// Add to Cart
|
46 |
WC()->cart->add_to_cart($product_id, $count, 0, array(), array(
|
60 |
$ticket_id = isset($info['id']) ? $info['id'] : '';
|
61 |
if(trim($ticket_id) == '') continue;
|
62 |
|
63 |
+
$ticket_key = $translated_event_id.':'.$ticket_id;
|
64 |
|
65 |
// Get Product ID
|
66 |
$product_id = $db->select("SELECT `post_id` FROM `#__postmeta` WHERE `meta_key`='mec_ticket' AND `meta_value`='".$ticket_key."'", 'loadResult');
|
67 |
|
68 |
// Create Product if Doesn't Exists
|
69 |
+
if(!$product_id) $product_id = $this->create($translated_event_id, $ticket_id);
|
70 |
// Update Existing Product
|
71 |
+
else $this->update($product_id, $translated_event_id, $ticket_id);
|
72 |
|
73 |
// Ticket Count
|
74 |
$count = isset($info['count']) ? $info['count'] : 1;
|
@@ -184,8 +184,8 @@ $modal_booking = (isset($_GET['method']) and $_GET['method'] === 'mec-booking-mo
|
|
184 |
<?php echo $ticket_message_sold_out; ?>
|
185 |
</div>
|
186 |
<?php if($ticket_limit == '0') do_action( 'mec_booking_sold_out',$event, $ticket,$ticket_id,$dates ); ?>
|
187 |
-
<input type="hidden" id="mec-ticket-message-sales-<?php echo $ticket_id; ?>" value="<?php echo $ticket_message_sales; ?>" />
|
188 |
-
<input type="hidden" id="mec-ticket-message-sold-out-<?php echo $ticket_id; ?>" value="<?php echo $ticket_message_sold_out; ?>" />
|
189 |
</div>
|
190 |
<?php endif; ?>
|
191 |
</div>
|
184 |
<?php echo $ticket_message_sold_out; ?>
|
185 |
</div>
|
186 |
<?php if($ticket_limit == '0') do_action( 'mec_booking_sold_out',$event, $ticket,$ticket_id,$dates ); ?>
|
187 |
+
<input type="hidden" id="mec-ticket-message-sales-<?php echo $ticket_id; ?>" value="<?php echo esc_attr($ticket_message_sales); ?>" />
|
188 |
+
<input type="hidden" id="mec-ticket-message-sold-out-<?php echo $ticket_id; ?>" value="<?php echo esc_attr($ticket_message_sold_out); ?>" />
|
189 |
</div>
|
190 |
<?php endif; ?>
|
191 |
</div>
|
@@ -69,9 +69,9 @@ if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'], 'E
|
|
69 |
if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') == true) $gmt_offset = substr(trim($gmt_offset), 2 , 3);
|
70 |
|
71 |
$datetime = $ongoing ? $end_time : $start_time;
|
|
|
72 |
// Generating javascript code of countdown default module
|
73 |
$defaultjs = '<script type="text/javascript">
|
74 |
-
|
75 |
jQuery(document).ready(function($)
|
76 |
{
|
77 |
jQuery.each(jQuery(".mec-countdown-details"),function(i,el){
|
69 |
if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') == true) $gmt_offset = substr(trim($gmt_offset), 2 , 3);
|
70 |
|
71 |
$datetime = $ongoing ? $end_time : $start_time;
|
72 |
+
|
73 |
// Generating javascript code of countdown default module
|
74 |
$defaultjs = '<script type="text/javascript">
|
|
|
75 |
jQuery(document).ready(function($)
|
76 |
{
|
77 |
jQuery.each(jQuery(".mec-countdown-details"),function(i,el){
|
@@ -58,7 +58,7 @@ if(!$this->is_ajax()) $this->load_map_assets();
|
|
58 |
$get_direction = (isset($settings['google_maps_get_direction_status']) and in_array($settings['google_maps_get_direction_status'], array(0,1,2))) ? $settings['google_maps_get_direction_status'] : 0;
|
59 |
|
60 |
$additional_location_ids = get_post_meta($event_id, 'mec_additional_location_ids', true);
|
61 |
-
$event_locations = array_keys($event->data->locations);
|
62 |
|
63 |
$map_data = new stdClass;
|
64 |
$map_data->id = $uniqueid;
|
58 |
$get_direction = (isset($settings['google_maps_get_direction_status']) and in_array($settings['google_maps_get_direction_status'], array(0,1,2))) ? $settings['google_maps_get_direction_status'] : 0;
|
59 |
|
60 |
$additional_location_ids = get_post_meta($event_id, 'mec_additional_location_ids', true);
|
61 |
+
$event_locations = array_keys((array)$event->data->locations);
|
62 |
|
63 |
$map_data = new stdClass;
|
64 |
$map_data->id = $uniqueid;
|
@@ -60,7 +60,9 @@ class MEC_skin_agenda extends MEC_skins
|
|
60 |
// Search Form Status
|
61 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
62 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
63 |
-
|
|
|
|
|
64 |
// Generate an ID for the sking
|
65 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
66 |
|
60 |
// Search Form Status
|
61 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
62 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
63 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
64 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
65 |
+
|
66 |
// Generate an ID for the sking
|
67 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
68 |
|
@@ -13,7 +13,7 @@ $items_html = ob_get_clean();
|
|
13 |
|
14 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
15 |
{
|
16 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'current_month_divider'=>$current_month_divider));
|
17 |
exit;
|
18 |
}
|
19 |
|
@@ -39,6 +39,8 @@ jQuery(document).ready(function()
|
|
39 |
sf:
|
40 |
{
|
41 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
42 |
},
|
43 |
});
|
44 |
});
|
@@ -80,7 +82,7 @@ do_action('mec_agenda_skin_head');
|
|
80 |
<?php endif; ?>
|
81 |
|
82 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
83 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
84 |
<?php endif; ?>
|
85 |
|
86 |
</div>
|
13 |
|
14 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
15 |
{
|
16 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'current_month_divider'=>$current_month_divider, 'has_more_event' => (int) $this->has_more_events));
|
17 |
exit;
|
18 |
}
|
19 |
|
39 |
sf:
|
40 |
{
|
41 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
42 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
43 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
44 |
},
|
45 |
});
|
46 |
});
|
82 |
<?php endif; ?>
|
83 |
|
84 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
85 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
86 |
<?php endif; ?>
|
87 |
|
88 |
</div>
|
@@ -56,6 +56,8 @@ class MEC_skin_custom extends MEC_skins
|
|
56 |
// Search Form Status
|
57 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
58 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
59 |
|
60 |
// Generate an ID for the sking
|
61 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
56 |
// Search Form Status
|
57 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
58 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
59 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
60 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
61 |
|
62 |
// Generate an ID for the sking
|
63 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -11,7 +11,7 @@ $items_html = ob_get_clean();
|
|
11 |
|
12 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
13 |
{
|
14 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found));
|
15 |
exit;
|
16 |
}
|
17 |
|
@@ -36,6 +36,8 @@ jQuery(document).ready(function()
|
|
36 |
sf:
|
37 |
{
|
38 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
39 |
},
|
40 |
});
|
41 |
});
|
@@ -76,7 +78,7 @@ do_action('mec_custom_skin_head');
|
|
76 |
<?php endif; ?>
|
77 |
|
78 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
79 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
80 |
<?php endif; ?>
|
81 |
|
82 |
</div>
|
11 |
|
12 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
13 |
{
|
14 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'has_more_event' => (int) $this->has_more_events));
|
15 |
exit;
|
16 |
}
|
17 |
|
36 |
sf:
|
37 |
{
|
38 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
39 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
40 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
41 |
},
|
42 |
});
|
43 |
});
|
78 |
<?php endif; ?>
|
79 |
|
80 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
81 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
82 |
<?php endif; ?>
|
83 |
|
84 |
</div>
|
@@ -50,6 +50,8 @@ class MEC_skin_daily_view extends MEC_skins
|
|
50 |
// Search Form Status
|
51 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
52 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
53 |
|
54 |
// Generate an ID for the skin
|
55 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -84,7 +86,10 @@ class MEC_skin_daily_view extends MEC_skins
|
|
84 |
|
85 |
// Display Price
|
86 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
87 |
-
|
|
|
|
|
|
|
88 |
// Init MEC
|
89 |
$this->args['mec-init'] = true;
|
90 |
$this->args['mec-skin'] = $this->skin;
|
50 |
// Search Form Status
|
51 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
52 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
53 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
54 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
55 |
|
56 |
// Generate an ID for the skin
|
57 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
86 |
|
87 |
// Display Price
|
88 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
89 |
+
|
90 |
+
// Detailed Time
|
91 |
+
$this->display_detailed_time = (isset($this->skin_options['detailed_time']) and trim($this->skin_options['detailed_time'])) ? true : false;
|
92 |
+
|
93 |
// Init MEC
|
94 |
$this->args['mec-init'] = true;
|
95 |
$this->args['mec-skin'] = $this->skin;
|
@@ -2,6 +2,8 @@
|
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
|
|
|
|
|
5 |
$this->localtime = isset($this->skin_options['include_local_time']) ? $this->skin_options['include_local_time'] : false;
|
6 |
$display_label = isset($this->skin_options['display_label']) ? $this->skin_options['display_label'] : false;
|
7 |
$reason_for_cancellation = isset($this->skin_options['reason_for_cancellation']) ? $this->skin_options['reason_for_cancellation'] : false;
|
@@ -26,7 +28,13 @@ $reason_for_cancellation = isset($this->skin_options['reason_for_cancellation'])
|
|
26 |
<article class="<?php echo (isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : ''; ?>mec-event-article <?php echo $this->get_event_classes($event); ?>">
|
27 |
<div class="mec-event-image"><?php echo $event->data->thumbnails['thumbnail']; ?></div>
|
28 |
<?php echo $this->get_label_captions($event); ?>
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
<h4 class="mec-event-title"><?php echo $this->display_link($event); ?><?php echo $this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation); ?><?php do_action('mec_shortcode_virtual_badge', $event->data->ID ); ?></h4>
|
31 |
<?php if($this->localtime) echo $this->main->module('local-time.type3', array('event'=>$event)); ?>
|
32 |
<div class="mec-event-detail"><div class="mec-event-loc-place"><?php echo (isset($location['name']) ? $location['name'] : ''); ?><div></div>
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
|
5 |
+
/** @var MEC_skin_daily_view $this */
|
6 |
+
|
7 |
$this->localtime = isset($this->skin_options['include_local_time']) ? $this->skin_options['include_local_time'] : false;
|
8 |
$display_label = isset($this->skin_options['display_label']) ? $this->skin_options['display_label'] : false;
|
9 |
$reason_for_cancellation = isset($this->skin_options['reason_for_cancellation']) ? $this->skin_options['reason_for_cancellation'] : false;
|
28 |
<article class="<?php echo (isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : ''; ?>mec-event-article <?php echo $this->get_event_classes($event); ?>">
|
29 |
<div class="mec-event-image"><?php echo $event->data->thumbnails['thumbnail']; ?></div>
|
30 |
<?php echo $this->get_label_captions($event); ?>
|
31 |
+
|
32 |
+
<?php if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)): ?>
|
33 |
+
<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> <?php echo $this->display_detailed_time($event); ?></div>
|
34 |
+
<?php elseif(trim($start_time)): ?>
|
35 |
+
<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> <?php echo $start_time.(trim($end_time) ? ' - '.$end_time : ''); ?></div>
|
36 |
+
<?php endif; ?>
|
37 |
+
|
38 |
<h4 class="mec-event-title"><?php echo $this->display_link($event); ?><?php echo $this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation); ?><?php do_action('mec_shortcode_virtual_badge', $event->data->ID ); ?></h4>
|
39 |
<?php if($this->localtime) echo $this->main->module('local-time.type3', array('event'=>$event)); ?>
|
40 |
<div class="mec-event-detail"><div class="mec-event-loc-place"><?php echo (isset($location['name']) ? $location['name'] : ''); ?><div></div>
|
@@ -89,6 +89,8 @@ jQuery(document).ready(function()
|
|
89 |
sf:
|
90 |
{
|
91 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
92 |
},
|
93 |
});
|
94 |
});
|
89 |
sf:
|
90 |
{
|
91 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
92 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
93 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
94 |
},
|
95 |
});
|
96 |
});
|
@@ -58,6 +58,8 @@ class MEC_skin_default_full_calendar extends MEC_skins
|
|
58 |
// Search Form Status
|
59 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
60 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
61 |
|
62 |
// Show Only Expired Events
|
63 |
$this->show_only_expired_events = (isset($this->atts['show_only_past_events']) and trim($this->atts['show_only_past_events'])) ? '1' : '0';
|
58 |
// Search Form Status
|
59 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
60 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
61 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
62 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
63 |
|
64 |
// Show Only Expired Events
|
65 |
$this->show_only_expired_events = (isset($this->atts['show_only_past_events']) and trim($this->atts['show_only_past_events'])) ? '1' : '0';
|
@@ -22,6 +22,8 @@ jQuery(document).ready(function()
|
|
22 |
sf:
|
23 |
{
|
24 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
25 |
},
|
26 |
skin: "'.$this->default_view.'",
|
27 |
});
|
22 |
sf:
|
23 |
{
|
24 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
25 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
26 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
27 |
},
|
28 |
skin: "'.$this->default_view.'",
|
29 |
});
|
@@ -67,6 +67,8 @@ class MEC_skin_full_calendar extends MEC_skins
|
|
67 |
// Search Form Status
|
68 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
69 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
70 |
|
71 |
// Show Only Expired Events
|
72 |
$this->show_only_expired_events = (isset($this->atts['show_only_past_events']) and trim($this->atts['show_only_past_events'])) ? '1' : '0';
|
67 |
// Search Form Status
|
68 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
69 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
70 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
71 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
72 |
|
73 |
// Show Only Expired Events
|
74 |
$this->show_only_expired_events = (isset($this->atts['show_only_past_events']) and trim($this->atts['show_only_past_events'])) ? '1' : '0';
|
@@ -22,6 +22,8 @@ jQuery(document).ready(function()
|
|
22 |
sf:
|
23 |
{
|
24 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
25 |
},
|
26 |
skin: "'.$this->default_view.'",
|
27 |
});
|
@@ -117,6 +119,9 @@ do_action('mec_full_skin_head');
|
|
117 |
<?php if($sf_local_time_status): $sf_columns -= 3; ?>
|
118 |
<?php echo $this->sf_search_field('time_filter', $sf_local_time , $this->sf_display_label); ?>
|
119 |
<?php endif; ?>
|
|
|
|
|
|
|
120 |
<div class="col-md-12 mec-tab-loader">
|
121 |
<div class="mec-totalcal-view">
|
122 |
<?php if($this->yearly): ?><span class="mec-totalcal-yearlyview<?php if($this->default_view == 'yearly') echo ' mec-totalcalview-selected'; ?>" data-skin="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></span><?php endif; ?>
|
22 |
sf:
|
23 |
{
|
24 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
25 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
26 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
27 |
},
|
28 |
skin: "'.$this->default_view.'",
|
29 |
});
|
119 |
<?php if($sf_local_time_status): $sf_columns -= 3; ?>
|
120 |
<?php echo $this->sf_search_field('time_filter', $sf_local_time , $this->sf_display_label); ?>
|
121 |
<?php endif; ?>
|
122 |
+
<?php if($this->sf_reset_button): ?>
|
123 |
+
<div class="mec-search-reset-button"><button class="button mec-button" id="mec_search_form_<?php echo $this->id; ?>_reset" type="button"><?php echo esc_html__('Reset', 'modern-events-calendar-lite'); ?></button></div>
|
124 |
+
<?php endif; ?>
|
125 |
<div class="col-md-12 mec-tab-loader">
|
126 |
<div class="mec-totalcal-view">
|
127 |
<?php if($this->yearly): ?><span class="mec-totalcal-yearlyview<?php if($this->default_view == 'yearly') echo ' mec-totalcalview-selected'; ?>" data-skin="yearly"><?php _e('Yearly', 'modern-events-calendar-lite'); ?></span><?php endif; ?>
|
@@ -106,6 +106,8 @@ class MEC_skin_grid extends MEC_skins
|
|
106 |
// Search Form Status
|
107 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
108 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
109 |
|
110 |
// Generate an ID for the sking
|
111 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -323,6 +325,7 @@ class MEC_skin_grid extends MEC_skins
|
|
323 |
$i = 0;
|
324 |
$found = 0;
|
325 |
$events = array();
|
|
|
326 |
foreach($dates as $date=>$IDs)
|
327 |
{
|
328 |
// No Event
|
106 |
// Search Form Status
|
107 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
108 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
109 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
110 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
111 |
|
112 |
// Generate an ID for the sking
|
113 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
325 |
$i = 0;
|
326 |
$found = 0;
|
327 |
$events = array();
|
328 |
+
|
329 |
foreach($dates as $date=>$IDs)
|
330 |
{
|
331 |
// No Event
|
@@ -16,7 +16,7 @@ $items_html = ob_get_clean();
|
|
16 |
|
17 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
18 |
{
|
19 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found));
|
20 |
exit;
|
21 |
}
|
22 |
|
@@ -41,6 +41,8 @@ jQuery(document).ready(function()
|
|
41 |
sf:
|
42 |
{
|
43 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
44 |
},
|
45 |
});
|
46 |
});
|
@@ -82,7 +84,7 @@ do_action('mec_grid_skin_head');
|
|
82 |
<?php endif; ?>
|
83 |
|
84 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
85 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
86 |
<?php endif; ?>
|
87 |
|
88 |
</div>
|
16 |
|
17 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
18 |
{
|
19 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'has_more_event' => (int) $this->has_more_events));
|
20 |
exit;
|
21 |
}
|
22 |
|
41 |
sf:
|
42 |
{
|
43 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
44 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
45 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
46 |
},
|
47 |
});
|
48 |
});
|
84 |
<?php endif; ?>
|
85 |
|
86 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
87 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
88 |
<?php endif; ?>
|
89 |
|
90 |
</div>
|
@@ -93,6 +93,8 @@ class MEC_skin_list extends MEC_skins
|
|
93 |
// Search Form Status
|
94 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
95 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
96 |
|
97 |
// Generate an ID for the sking
|
98 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -322,6 +324,7 @@ class MEC_skin_list extends MEC_skins
|
|
322 |
$i = 0;
|
323 |
$found = 0;
|
324 |
$events = array();
|
|
|
325 |
foreach($dates as $date=>$IDs)
|
326 |
{
|
327 |
// No Event
|
93 |
// Search Form Status
|
94 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
95 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
96 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
97 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
98 |
|
99 |
// Generate an ID for the sking
|
100 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
324 |
$i = 0;
|
325 |
$found = 0;
|
326 |
$events = array();
|
327 |
+
|
328 |
foreach($dates as $date=>$IDs)
|
329 |
{
|
330 |
// No Event
|
@@ -2,6 +2,7 @@
|
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
|
|
|
5 |
$current_month_divider = $this->request->getVar('current_month_divider', 0);
|
6 |
|
7 |
// Get layout path
|
@@ -18,7 +19,7 @@ $items_html = ob_get_clean();
|
|
18 |
|
19 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
20 |
{
|
21 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'current_month_divider'=>$current_month_divider));
|
22 |
exit;
|
23 |
}
|
24 |
|
@@ -46,6 +47,8 @@ jQuery(document).ready(function()
|
|
46 |
sf:
|
47 |
{
|
48 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
49 |
},
|
50 |
});
|
51 |
});
|
@@ -87,7 +90,7 @@ do_action('mec_list_skin_head');
|
|
87 |
<?php endif; ?>
|
88 |
|
89 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
90 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
91 |
<?php endif; ?>
|
92 |
|
93 |
</div>
|
2 |
/** no direct access **/
|
3 |
defined('MECEXEC') or die();
|
4 |
|
5 |
+
/** @var MEC_skin_list $this */
|
6 |
$current_month_divider = $this->request->getVar('current_month_divider', 0);
|
7 |
|
8 |
// Get layout path
|
19 |
|
20 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
21 |
{
|
22 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'current_month_divider'=>$current_month_divider, 'has_more_event' => (int) $this->has_more_events));
|
23 |
exit;
|
24 |
}
|
25 |
|
47 |
sf:
|
48 |
{
|
49 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
50 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
51 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
52 |
},
|
53 |
});
|
54 |
});
|
90 |
<?php endif; ?>
|
91 |
|
92 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
93 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
94 |
<?php endif; ?>
|
95 |
|
96 |
</div>
|
@@ -51,6 +51,8 @@ class MEC_skin_map extends MEC_skins
|
|
51 |
// Search Form Status
|
52 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
53 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
54 |
|
55 |
// Generate an ID for the sking
|
56 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
51 |
// Search Form Status
|
52 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
53 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
54 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
55 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
56 |
|
57 |
// Generate an ID for the sking
|
58 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -40,6 +40,8 @@ if(count($this->events))
|
|
40 |
sf:
|
41 |
{
|
42 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
43 |
},
|
44 |
});
|
45 |
});
|
40 |
sf:
|
41 |
{
|
42 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
43 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
44 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
45 |
},
|
46 |
});
|
47 |
});
|
@@ -62,6 +62,8 @@ class MEC_skin_masonry extends MEC_skins
|
|
62 |
// Search Form Status
|
63 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
64 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
65 |
|
66 |
// Generate an ID for the sking
|
67 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
62 |
// Search Form Status
|
63 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
64 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
65 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
66 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
67 |
|
68 |
// Generate an ID for the sking
|
69 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -11,7 +11,7 @@ $items_html = ob_get_clean();
|
|
11 |
|
12 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
13 |
{
|
14 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>($this->next_offset +1), 'count'=>$this->found, 'current_month_divider'=>$current_month_divider));
|
15 |
exit;
|
16 |
}
|
17 |
|
@@ -39,7 +39,9 @@ jQuery(document).ready(function()
|
|
39 |
fit_to_row: "'.$this->fit_to_row.'",
|
40 |
sf:
|
41 |
{
|
42 |
-
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'"
|
|
|
|
|
43 |
}
|
44 |
});
|
45 |
});
|
@@ -76,7 +78,7 @@ do_action('mec_masonry_skin_head');
|
|
76 |
<?php endif; ?>
|
77 |
|
78 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
79 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
80 |
<?php endif; ?>
|
81 |
</div>
|
82 |
<?php do_action('mec_masonry_customization'); ?>
|
11 |
|
12 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
13 |
{
|
14 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>($this->next_offset +1), 'count'=>$this->found, 'current_month_divider'=>$current_month_divider, 'has_more_event' => (int) $this->has_more_events));
|
15 |
exit;
|
16 |
}
|
17 |
|
39 |
fit_to_row: "'.$this->fit_to_row.'",
|
40 |
sf:
|
41 |
{
|
42 |
+
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
43 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
44 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
45 |
}
|
46 |
});
|
47 |
});
|
78 |
<?php endif; ?>
|
79 |
|
80 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
81 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
82 |
<?php endif; ?>
|
83 |
</div>
|
84 |
<?php do_action('mec_masonry_customization'); ?>
|
@@ -53,6 +53,8 @@ class MEC_skin_monthly_view extends MEC_skins
|
|
53 |
// Search Form Status
|
54 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
55 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
56 |
|
57 |
// The events
|
58 |
$this->events_str = '';
|
@@ -100,6 +102,9 @@ class MEC_skin_monthly_view extends MEC_skins
|
|
100 |
|
101 |
// Display Price
|
102 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
|
|
|
|
|
|
103 |
|
104 |
// Init MEC
|
105 |
$this->args['mec-init'] = true;
|
@@ -175,7 +180,7 @@ class MEC_skin_monthly_view extends MEC_skins
|
|
175 |
if($this->show_only_expired_events)
|
176 |
{
|
177 |
$start = date('Y-m-d H:i:s', current_time('timestamp', 0));
|
178 |
-
$end =
|
179 |
|
180 |
$this->weeks = $this->main->split_to_weeks($end, $start);
|
181 |
|
53 |
// Search Form Status
|
54 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
55 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
56 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
57 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
58 |
|
59 |
// The events
|
60 |
$this->events_str = '';
|
102 |
|
103 |
// Display Price
|
104 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
105 |
+
|
106 |
+
// Detailed Time
|
107 |
+
$this->display_detailed_time = (isset($this->skin_options['detailed_time']) and trim($this->skin_options['detailed_time'])) ? true : false;
|
108 |
|
109 |
// Init MEC
|
110 |
$this->args['mec-init'] = true;
|
180 |
if($this->show_only_expired_events)
|
181 |
{
|
182 |
$start = date('Y-m-d H:i:s', current_time('timestamp', 0));
|
183 |
+
$end = date('Y-m-d', strtotime('first day of this month'));
|
184 |
|
185 |
$this->weeks = $this->main->split_to_weeks($end, $start);
|
186 |
|
@@ -79,7 +79,10 @@ $events_str = '';
|
|
79 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
80 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
81 |
$events_str .= $this->get_label_captions($event);
|
82 |
-
|
|
|
|
|
|
|
83 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
84 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
85 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
@@ -137,7 +140,10 @@ $events_str = '';
|
|
137 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
138 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
139 |
$events_str .= $this->get_label_captions($event);
|
140 |
-
|
|
|
|
|
|
|
141 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
142 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
143 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
@@ -222,7 +228,10 @@ $events_str = '';
|
|
222 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
223 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
224 |
$events_str .= $this->get_label_captions($event);
|
225 |
-
|
|
|
|
|
|
|
226 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
227 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
228 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
79 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
80 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
81 |
$events_str .= $this->get_label_captions($event);
|
82 |
+
|
83 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
84 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
85 |
+
|
86 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
87 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
88 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
140 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
141 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
142 |
$events_str .= $this->get_label_captions($event);
|
143 |
+
|
144 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
145 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
146 |
+
|
147 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
148 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
149 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
228 |
$events_str .= '<article class="'.((isset($event->data->meta['event_past']) and trim($event->data->meta['event_past'])) ? 'mec-past-event ' : '').'ended-relative mec-event-article '.$this->get_event_classes($event).'">';
|
229 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumbnail'].'</div>';
|
230 |
$events_str .= $this->get_label_captions($event);
|
231 |
+
|
232 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
233 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
234 |
+
|
235 |
$event_color = isset($event->data->meta['mec_color']) ? '<span class="event-color" style="background: #'.$event->data->meta['mec_color'].'"></span>' : '';
|
236 |
$events_str .= '<h4 class="mec-event-title">'.$this->display_link($event).$this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation);
|
237 |
if(has_filter('mec_monthly_virtual_badge')) $events_str .= apply_filters('mec_monthly_virtual_badge', $events_str, $event->data->ID);
|
@@ -42,6 +42,8 @@ elseif($week_start == 5) // Friday
|
|
42 |
|
43 |
$events_str = '';
|
44 |
if($this->display_all) $events_str .= '<h3 class="mec-table-side-title">'.esc_html__('Events', 'modern-events-calendar-lite').'</h3>';
|
|
|
|
|
45 |
?>
|
46 |
<dl class="mec-calendar-row">
|
47 |
<?php
|
@@ -81,7 +83,11 @@ if($this->display_all) $events_str .= '<h3 class="mec-table-side-title">'.esc_ht
|
|
81 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
82 |
$events_str .= $this->get_label_captions($event);
|
83 |
|
84 |
-
if(
|
|
|
|
|
|
|
|
|
85 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
86 |
|
87 |
$events_str .= $after_time_filter;
|
@@ -146,7 +152,11 @@ if($this->display_all) $events_str .= '<h3 class="mec-table-side-title">'.esc_ht
|
|
146 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
147 |
$events_str .= $this->get_label_captions($event);
|
148 |
|
149 |
-
if(
|
|
|
|
|
|
|
|
|
150 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
151 |
|
152 |
$events_str .= $after_time_filter;
|
@@ -238,7 +248,11 @@ if($this->display_all) $events_str .= '<h3 class="mec-table-side-title">'.esc_ht
|
|
238 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
239 |
$events_str .= $this->get_label_captions($event);
|
240 |
|
241 |
-
if(
|
|
|
|
|
|
|
|
|
242 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
243 |
|
244 |
$events_str .= $after_time_filter;
|
42 |
|
43 |
$events_str = '';
|
44 |
if($this->display_all) $events_str .= '<h3 class="mec-table-side-title">'.esc_html__('Events', 'modern-events-calendar-lite').'</h3>';
|
45 |
+
|
46 |
+
$date_format = get_option('date_format');
|
47 |
?>
|
48 |
<dl class="mec-calendar-row">
|
49 |
<?php
|
83 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
84 |
$events_str .= $this->get_label_captions($event);
|
85 |
|
86 |
+
if($this->display_all) $events_str .= '<div class="mec-event-date">'.$this->main->date_i18n($date_format, strtotime($event->date['start']['date'])).'</div>';
|
87 |
+
|
88 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
89 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
90 |
+
|
91 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
92 |
|
93 |
$events_str .= $after_time_filter;
|
152 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
153 |
$events_str .= $this->get_label_captions($event);
|
154 |
|
155 |
+
if($this->display_all) $events_str .= '<div class="mec-event-date">'.$this->main->date_i18n($date_format, strtotime($event->date['start']['date'])).'</div>';
|
156 |
+
|
157 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
158 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
159 |
+
|
160 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
161 |
|
162 |
$events_str .= $after_time_filter;
|
248 |
$events_str .= '<div class="mec-event-image">'.$event->data->thumbnails['thumblist'].'</div>';
|
249 |
$events_str .= $this->get_label_captions($event);
|
250 |
|
251 |
+
if($this->display_all) $events_str .= '<div class="mec-event-date">'.$this->main->date_i18n($date_format, strtotime($event->date['start']['date'])).'</div>';
|
252 |
+
|
253 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $events_str .= '<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
254 |
+
elseif(trim($start_time)) $events_str .= '<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
255 |
+
|
256 |
if(has_filter('monthly_event_after_time')) $after_time_filter = apply_filters('monthly_event_after_time', $events_str, $event);
|
257 |
|
258 |
$events_str .= $after_time_filter;
|
@@ -79,7 +79,7 @@ elseif($week_start == 5) // Friday
|
|
79 |
// Event Content
|
80 |
if(!$this->cache->has($event->data->ID.'_content'))
|
81 |
{
|
82 |
-
$event_content = ((isset($event->data->content) and trim($event->data->content) != '') ?
|
83 |
$this->cache->set($event->data->ID.'_content', $event_content);
|
84 |
}
|
85 |
else $event_content = $this->cache->get($event->data->ID.'_content');
|
@@ -92,8 +92,11 @@ elseif($week_start == 5) // Friday
|
|
92 |
echo '</div>';
|
93 |
|
94 |
$tooltip_content = '';
|
95 |
-
$tooltip_content .= !empty(
|
96 |
-
|
|
|
|
|
|
|
97 |
$tooltip_content .= $this->display_cost($event);
|
98 |
|
99 |
$tooltip_content .= (!empty($event->data->thumbnails['thumbnail']) || !empty($event->data->content)) ? '<div class="mec-tooltip-event-content">' : '';
|
79 |
// Event Content
|
80 |
if(!$this->cache->has($event->data->ID.'_content'))
|
81 |
{
|
82 |
+
$event_content = ((isset($event->data->content) and trim($event->data->content) != '') ? mb_substr(strip_tags($event->data->content), 0, 320) : '');
|
83 |
$this->cache->set($event->data->ID.'_content', $event_content);
|
84 |
}
|
85 |
else $event_content = $this->cache->get($event->data->ID.'_content');
|
92 |
echo '</div>';
|
93 |
|
94 |
$tooltip_content = '';
|
95 |
+
$tooltip_content .= !empty($event->data->title) ? '<div class="mec-tooltip-event-title">'.$event->data->title.'</div>' : '';
|
96 |
+
|
97 |
+
if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)) $tooltip_content .= '<div class="mec-event-detailed-time mec-tooltip-event-time mec-color"><i class="mec-sl-clock-o"></i> '.$this->display_detailed_time($event).'</div>';
|
98 |
+
elseif(trim($start_time)) $tooltip_content .= '<div class="mec-tooltip-event-time"><i class="mec-sl-clock-o"></i> '.$start_time.(trim($end_time) ? ' - '.$end_time : '').'</div>';
|
99 |
+
|
100 |
$tooltip_content .= $this->display_cost($event);
|
101 |
|
102 |
$tooltip_content .= (!empty($event->data->thumbnails['thumbnail']) || !empty($event->data->content)) ? '<div class="mec-tooltip-event-content">' : '';
|
@@ -82,6 +82,8 @@ jQuery(document).ready(function()
|
|
82 |
sf:
|
83 |
{
|
84 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
85 |
},
|
86 |
});
|
87 |
});
|
82 |
sf:
|
83 |
{
|
84 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
85 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
86 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
87 |
},
|
88 |
});
|
89 |
});
|
@@ -57,6 +57,8 @@ class MEC_skin_single extends MEC_skins
|
|
57 |
// Search Form Status
|
58 |
$this->sf_status = false;
|
59 |
$this->sf_display_label = false;
|
|
|
|
|
60 |
|
61 |
// HTML class
|
62 |
$this->html_class = '';
|
@@ -91,7 +93,7 @@ class MEC_skin_single extends MEC_skins
|
|
91 |
|
92 |
$related_args = array(
|
93 |
'post_type' => $this->main->get_main_post_type(),
|
94 |
-
'posts_per_page' => $limit,
|
95 |
'post_status' => 'publish',
|
96 |
'post__not_in' => array($event_id),
|
97 |
'tax_query' => array(),
|
@@ -182,7 +184,7 @@ class MEC_skin_single extends MEC_skins
|
|
182 |
<div class="row mec-related-events-wrap">
|
183 |
<h3 class="mec-rec-events-title"><?php echo __('Related Events', 'modern-events-calendar-lite'); ?></h3>
|
184 |
<div class="mec-related-events">
|
185 |
-
<?php while($query->have_posts()): if($printed >= 4) break; $query->the_post(); ?>
|
186 |
<?php
|
187 |
// Event Repeat Type
|
188 |
$repeat_type = get_post_meta(get_the_ID(), 'mec_repeat_type', true);
|
@@ -1060,9 +1062,14 @@ class MEC_skin_single extends MEC_skins
|
|
1060 |
<?php
|
1061 |
foreach($event->data->categories as $category)
|
1062 |
{
|
1063 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1064 |
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
1065 |
-
echo '<dl><dd class="mec-events-event-categories"><a href="' . get_term_link($category['id'], 'mec_category') . '" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . '</a></dd></dl>';
|
1066 |
}
|
1067 |
|
1068 |
echo '</div>';
|
@@ -1085,7 +1092,17 @@ class MEC_skin_single extends MEC_skins
|
|
1085 |
<div class="mec-event-cost">
|
1086 |
<i class="mec-sl-wallet"></i>
|
1087 |
<h3 class="mec-cost"><?php echo $this->main->m('cost', __('Cost', 'modern-events-calendar-lite')); ?></h3>
|
1088 |
-
<dl><dd class="mec-events-event-cost"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1089 |
</div>
|
1090 |
<?php
|
1091 |
echo '</div>';
|
57 |
// Search Form Status
|
58 |
$this->sf_status = false;
|
59 |
$this->sf_display_label = false;
|
60 |
+
$this->sf_reset_button = false;
|
61 |
+
$this->sf_refine = false;
|
62 |
|
63 |
// HTML class
|
64 |
$this->html_class = '';
|
93 |
|
94 |
$related_args = array(
|
95 |
'post_type' => $this->main->get_main_post_type(),
|
96 |
+
'posts_per_page' => max($limit, 20),
|
97 |
'post_status' => 'publish',
|
98 |
'post__not_in' => array($event_id),
|
99 |
'tax_query' => array(),
|
184 |
<div class="row mec-related-events-wrap">
|
185 |
<h3 class="mec-rec-events-title"><?php echo __('Related Events', 'modern-events-calendar-lite'); ?></h3>
|
186 |
<div class="mec-related-events">
|
187 |
+
<?php while($query->have_posts()): if($printed >= min($limit, 4)) break; $query->the_post(); ?>
|
188 |
<?php
|
189 |
// Event Repeat Type
|
190 |
$repeat_type = get_post_meta(get_the_ID(), 'mec_repeat_type', true);
|
1062 |
<?php
|
1063 |
foreach($event->data->categories as $category)
|
1064 |
{
|
1065 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
1066 |
+
|
1067 |
+
$color_html = '';
|
1068 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
1069 |
+
|
1070 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
1071 |
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
1072 |
+
echo '<dl><dd class="mec-events-event-categories"><a href="' . get_term_link($category['id'], 'mec_category') . '" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html . '</a></dd></dl>';
|
1073 |
}
|
1074 |
|
1075 |
echo '</div>';
|
1092 |
<div class="mec-event-cost">
|
1093 |
<i class="mec-sl-wallet"></i>
|
1094 |
<h3 class="mec-cost"><?php echo $this->main->m('cost', __('Cost', 'modern-events-calendar-lite')); ?></h3>
|
1095 |
+
<dl><dd class="mec-events-event-cost">
|
1096 |
+
<?php
|
1097 |
+
if(is_numeric($cost)){
|
1098 |
+
$rendered_cost = $this->main->render_price($cost, $event->ID);
|
1099 |
+
}else{
|
1100 |
+
$rendered_cost = $cost;
|
1101 |
+
}
|
1102 |
+
|
1103 |
+
echo apply_filters( 'mec_display_event_cost', $rendered_cost, $cost );
|
1104 |
+
?>
|
1105 |
+
</dd></dl>
|
1106 |
</div>
|
1107 |
<?php
|
1108 |
echo '</div>';
|
@@ -268,7 +268,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
268 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
269 |
</dd>
|
270 |
<?php endif;
|
271 |
-
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location');
|
272 |
<dd class="mec-location-description">
|
273 |
<p><?php echo $location_term->description;?></p>
|
274 |
</dd>
|
@@ -291,10 +291,16 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
291 |
<?php
|
292 |
foreach($event->data->categories as $category)
|
293 |
{
|
294 |
-
|
295 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
echo '<dl><dd class="mec-events-event-categories">
|
297 |
-
<a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">'
|
298 |
}
|
299 |
?>
|
300 |
</div>
|
@@ -341,7 +347,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
341 |
<?php do_action('mec_single_default_organizer', $organizer); ?>
|
342 |
</dd>
|
343 |
<?php endif;
|
344 |
-
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer');
|
345 |
<dd class="mec-organizer-description">
|
346 |
<p><?php echo $organizer_term->description;?></p>
|
347 |
</dd>
|
@@ -509,7 +515,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
509 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
510 |
</dd>
|
511 |
<?php endif;
|
512 |
-
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location');
|
513 |
<dd class="mec-location-description">
|
514 |
<p><?php echo $location_term->description;?></p>
|
515 |
</dd>
|
@@ -532,9 +538,15 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
532 |
<?php
|
533 |
foreach($event->data->categories as $category)
|
534 |
{
|
535 |
-
|
536 |
-
|
537 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
}
|
539 |
?>
|
540 |
</div>
|
@@ -581,7 +593,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
581 |
<?php do_action('mec_single_default_organizer', $organizer); ?>
|
582 |
</dd>
|
583 |
<?php endif;
|
584 |
-
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer');
|
585 |
<dd class="mec-organizer-description"><p><?php echo $organizer_term->description;?></p></dd>
|
586 |
<?php endif; } } endif; ?>
|
587 |
</dl>
|
268 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
269 |
</dd>
|
270 |
<?php endif;
|
271 |
+
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1' and is_array($location_terms) and count($location_terms)): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
272 |
<dd class="mec-location-description">
|
273 |
<p><?php echo $location_term->description;?></p>
|
274 |
</dd>
|
291 |
<?php
|
292 |
foreach($event->data->categories as $category)
|
293 |
{
|
294 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
295 |
+
|
296 |
+
$color_html = '';
|
297 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
298 |
+
|
299 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
300 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
301 |
+
|
302 |
echo '<dl><dd class="mec-events-event-categories">
|
303 |
+
<a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html .'</a></dd></dl>';
|
304 |
}
|
305 |
?>
|
306 |
</div>
|
347 |
<?php do_action('mec_single_default_organizer', $organizer); ?>
|
348 |
</dd>
|
349 |
<?php endif;
|
350 |
+
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer'); if($organizer_description_setting == '1' and is_array($organizer_terms) and count($organizer_terms)): foreach($organizer_terms as $organizer_term) { if ($organizer_term->term_id == $organizer['id'] ) { if(isset($organizer_term->description) && !empty($organizer_term->description)): ?>
|
351 |
<dd class="mec-organizer-description">
|
352 |
<p><?php echo $organizer_term->description;?></p>
|
353 |
</dd>
|
515 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
516 |
</dd>
|
517 |
<?php endif;
|
518 |
+
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1' and is_array($location_terms) and count($location_terms)): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
519 |
<dd class="mec-location-description">
|
520 |
<p><?php echo $location_term->description;?></p>
|
521 |
</dd>
|
538 |
<?php
|
539 |
foreach($event->data->categories as $category)
|
540 |
{
|
541 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
542 |
+
|
543 |
+
$color_html = '';
|
544 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
545 |
+
|
546 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
547 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
548 |
+
|
549 |
+
echo '<dl><dd class="mec-events-event-categories"><a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html . '</a></dd></dl>';
|
550 |
}
|
551 |
?>
|
552 |
</div>
|
593 |
<?php do_action('mec_single_default_organizer', $organizer); ?>
|
594 |
</dd>
|
595 |
<?php endif;
|
596 |
+
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer'); if($organizer_description_setting == '1' and is_array($organizer_terms) and count($organizer_terms)): foreach($organizer_terms as $organizer_term) { if ($organizer_term->term_id == $organizer['id'] ) { if(isset($organizer_term->description) && !empty($organizer_term->description)): ?>
|
597 |
<dd class="mec-organizer-description"><p><?php echo $organizer_term->description;?></p></dd>
|
598 |
<?php endif; } } endif; ?>
|
599 |
</dl>
|
@@ -7,6 +7,8 @@ defined('MECEXEC') or die();
|
|
7 |
$booking_options = get_post_meta($event->data->ID, 'mec_booking', true);
|
8 |
if(!is_array($booking_options)) $booking_options = array();
|
9 |
|
|
|
|
|
10 |
$more_info = (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') ? $event->data->meta['mec_more_info'] : '';
|
11 |
if(isset($event->date) and isset($event->date['start']) and isset($event->date['start']['timestamp'])) $more_info = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'more_info', $more_info);
|
12 |
|
@@ -145,7 +147,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
145 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
146 |
</dd>
|
147 |
<?php endif;
|
148 |
-
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer');
|
149 |
<dd class="mec-organizer-description">
|
150 |
<p><?php echo $organizer_term->description;?></p>
|
151 |
</dd>
|
@@ -160,6 +162,8 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
160 |
<!-- Register Booking Button -->
|
161 |
<?php if($this->main->can_show_booking_module($event)): ?>
|
162 |
<a class="mec-booking-button mec-bg-color" href="#mec-events-meta-group-booking-<?php echo $this->uniqueid; ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
|
|
|
|
163 |
<?php elseif($more_info): ?>
|
164 |
<a class="mec-booking-button mec-bg-color" target="<?php echo $more_info_target; ?>" href="<?php echo esc_url($more_info); ?>"><?php if($more_info_title) echo esc_html__($more_info_title, 'modern-events-calendar-lite'); else echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
165 |
<?php endif; ?>
|
@@ -201,7 +205,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
201 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
202 |
</dd>
|
203 |
<?php endif;
|
204 |
-
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location');
|
205 |
<dd class="mec-location-description">
|
206 |
<p><?php echo $location_term->description;?></p>
|
207 |
</dd>
|
@@ -223,9 +227,15 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
223 |
<?php
|
224 |
foreach($event->data->categories as $category)
|
225 |
{
|
226 |
-
$
|
227 |
-
|
228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
}
|
230 |
?>
|
231 |
</div>
|
7 |
$booking_options = get_post_meta($event->data->ID, 'mec_booking', true);
|
8 |
if(!is_array($booking_options)) $booking_options = array();
|
9 |
|
10 |
+
$event_link = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'read_more', (isset($event->data->meta['mec_read_more']) ? $event->data->meta['mec_read_more'] : ''));
|
11 |
+
|
12 |
$more_info = (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') ? $event->data->meta['mec_more_info'] : '';
|
13 |
if(isset($event->date) and isset($event->date['start']) and isset($event->date['start']['timestamp'])) $more_info = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'more_info', $more_info);
|
14 |
|
147 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
148 |
</dd>
|
149 |
<?php endif;
|
150 |
+
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer'); if($organizer_description_setting == '1' and is_array($organizer_terms) and count($organizer_terms)): foreach($organizer_terms as $organizer_term) { if ($organizer_term->term_id == $organizer['id'] ) { if(isset($organizer_term->description) && !empty($organizer_term->description)): ?>
|
151 |
<dd class="mec-organizer-description">
|
152 |
<p><?php echo $organizer_term->description;?></p>
|
153 |
</dd>
|
162 |
<!-- Register Booking Button -->
|
163 |
<?php if($this->main->can_show_booking_module($event)): ?>
|
164 |
<a class="mec-booking-button mec-bg-color" href="#mec-events-meta-group-booking-<?php echo $this->uniqueid; ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
165 |
+
<?php elseif($event_link): ?>
|
166 |
+
<a class="mec-booking-button mec-bg-color" target="_blank" href="<?php echo esc_url($event_link); ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
167 |
<?php elseif($more_info): ?>
|
168 |
<a class="mec-booking-button mec-bg-color" target="<?php echo $more_info_target; ?>" href="<?php echo esc_url($more_info); ?>"><?php if($more_info_title) echo esc_html__($more_info_title, 'modern-events-calendar-lite'); else echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
169 |
<?php endif; ?>
|
205 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
206 |
</dd>
|
207 |
<?php endif;
|
208 |
+
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1' and is_array($location_terms) and count($location_terms)): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
209 |
<dd class="mec-location-description">
|
210 |
<p><?php echo $location_term->description;?></p>
|
211 |
</dd>
|
227 |
<?php
|
228 |
foreach($event->data->categories as $category)
|
229 |
{
|
230 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
231 |
+
|
232 |
+
$color_html = '';
|
233 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
234 |
+
|
235 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
236 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
237 |
+
|
238 |
+
echo '<dl><dd class="mec-events-event-categories"><a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html .'</a></dd></dl>';
|
239 |
}
|
240 |
?>
|
241 |
</div>
|
@@ -7,6 +7,8 @@ defined('MECEXEC') or die();
|
|
7 |
$booking_options = get_post_meta($event->data->ID, 'mec_booking', true);
|
8 |
if(!is_array($booking_options)) $booking_options = array();
|
9 |
|
|
|
|
|
10 |
$more_info = (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') ? $event->data->meta['mec_more_info'] : '';
|
11 |
if(isset($event->date) and isset($event->date['start']) and isset($event->date['start']['timestamp'])) $more_info = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'more_info', $more_info);
|
12 |
|
@@ -64,7 +66,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
64 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
65 |
</dd>
|
66 |
<?php endif;
|
67 |
-
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer');
|
68 |
<dd class="mec-organizer-description">
|
69 |
<p><?php echo $organizer_term->description;?></p>
|
70 |
</dd>
|
@@ -79,6 +81,8 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
79 |
<!-- Register Booking Button -->
|
80 |
<?php if($this->main->can_show_booking_module($event)): ?>
|
81 |
<a class="mec-booking-button mec-bg-color" href="#mec-events-meta-group-booking-<?php echo $this->uniqueid; ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
|
|
|
|
82 |
<?php elseif($more_info): ?>
|
83 |
<a class="mec-booking-button mec-bg-color" target="<?php echo $more_info_target; ?>" href="<?php echo esc_url($more_info); ?>"><?php if($more_info_title) echo esc_html__($more_info_title, 'modern-events-calendar-lite'); else echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
84 |
<?php endif; ?>
|
@@ -120,7 +124,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
120 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
121 |
</dd>
|
122 |
<?php endif;
|
123 |
-
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1'): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
124 |
<dd class="mec-location-description">
|
125 |
<p><?php echo $location_term->description;?></p>
|
126 |
</dd>
|
@@ -142,9 +146,15 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
142 |
<?php
|
143 |
foreach($event->data->categories as $category)
|
144 |
{
|
145 |
-
$
|
146 |
-
|
147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
}
|
149 |
?>
|
150 |
</div>
|
7 |
$booking_options = get_post_meta($event->data->ID, 'mec_booking', true);
|
8 |
if(!is_array($booking_options)) $booking_options = array();
|
9 |
|
10 |
+
$event_link = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'read_more', (isset($event->data->meta['mec_read_more']) ? $event->data->meta['mec_read_more'] : ''));
|
11 |
+
|
12 |
$more_info = (isset($event->data->meta['mec_more_info']) and trim($event->data->meta['mec_more_info']) and $event->data->meta['mec_more_info'] != 'http://') ? $event->data->meta['mec_more_info'] : '';
|
13 |
if(isset($event->date) and isset($event->date['start']) and isset($event->date['start']['timestamp'])) $more_info = MEC_feature_occurrences::param($event->ID, $event->date['start']['timestamp'], 'more_info', $more_info);
|
14 |
|
66 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
67 |
</dd>
|
68 |
<?php endif;
|
69 |
+
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer'); if($organizer_description_setting == '1' and is_array($organizer_terms) and count($organizer_terms)): foreach($organizer_terms as $organizer_term) { if ($organizer_term->term_id == $organizer['id'] ) { if(isset($organizer_term->description) && !empty($organizer_term->description)): ?>
|
70 |
<dd class="mec-organizer-description">
|
71 |
<p><?php echo $organizer_term->description;?></p>
|
72 |
</dd>
|
81 |
<!-- Register Booking Button -->
|
82 |
<?php if($this->main->can_show_booking_module($event)): ?>
|
83 |
<a class="mec-booking-button mec-bg-color" href="#mec-events-meta-group-booking-<?php echo $this->uniqueid; ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
84 |
+
<?php elseif($event_link): ?>
|
85 |
+
<a class="mec-booking-button mec-bg-color" target="_blank" href="<?php echo esc_url($event_link); ?>"><?php echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
86 |
<?php elseif($more_info): ?>
|
87 |
<a class="mec-booking-button mec-bg-color" target="<?php echo $more_info_target; ?>" href="<?php echo esc_url($more_info); ?>"><?php if($more_info_title) echo esc_html__($more_info_title, 'modern-events-calendar-lite'); else echo esc_html($this->main->m('register_button', __('REGISTER', 'modern-events-calendar-lite'))); ?></a>
|
88 |
<?php endif; ?>
|
124 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
125 |
</dd>
|
126 |
<?php endif;
|
127 |
+
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1' and is_array($location_terms) and count($location_terms)): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
128 |
<dd class="mec-location-description">
|
129 |
<p><?php echo $location_term->description;?></p>
|
130 |
</dd>
|
146 |
<?php
|
147 |
foreach($event->data->categories as $category)
|
148 |
{
|
149 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
150 |
+
|
151 |
+
$color_html = '';
|
152 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
153 |
+
|
154 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
155 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
156 |
+
|
157 |
+
echo '<dl><dd class="mec-events-event-categories"><a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html . '</a></dd></dl>';
|
158 |
}
|
159 |
?>
|
160 |
</div>
|
@@ -91,7 +91,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
91 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
92 |
</dd>
|
93 |
<?php endif;
|
94 |
-
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer');
|
95 |
<dd class="mec-organizer-description">
|
96 |
<p><?php echo $organizer_term->description;?></p>
|
97 |
</dd>
|
@@ -127,7 +127,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
127 |
<?php if($single->found_value('local_time', $settings) == 'on') echo $this->main->module('local-time.details', array('event'=>$event)); ?>
|
128 |
|
129 |
<?php if($single->found_value('event_location', $settings) == 'on' || $single->found_value('event_categories', $settings) == 'on' || $single->found_value('more_info', $settings) == 'on'): ?>
|
130 |
-
<div class="mec-event-meta mec-color-before mec-frontbox <?php if(!count($location)
|
131 |
|
132 |
<?php
|
133 |
// Event Location
|
@@ -151,7 +151,7 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
151 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
152 |
</dd>
|
153 |
<?php endif;
|
154 |
-
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location');
|
155 |
<dd class="mec-location-description">
|
156 |
<p><?php echo $location_term->description;?></p>
|
157 |
</dd>
|
@@ -174,9 +174,15 @@ $organizer = ($organizer_id ? $this->main->get_organizer_data($organizer_id) : a
|
|
174 |
<?php
|
175 |
foreach($event->data->categories as $category)
|
176 |
{
|
177 |
-
$
|
178 |
-
|
179 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
?>
|
182 |
</div>
|
91 |
<span><a href="<?php echo (strpos($organizer['url'], 'http') === false ? 'http://'.$organizer['url'] : $organizer['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $organizer['url']; ?></a></span>
|
92 |
</dd>
|
93 |
<?php endif;
|
94 |
+
$organizer_description_setting = isset( $settings['organizer_description'] ) ? $settings['organizer_description'] : ''; $organizer_terms = get_the_terms($event->data, 'mec_organizer'); if($organizer_description_setting == '1' and is_array($organizer_terms) and count($organizer_terms)): foreach($organizer_terms as $organizer_term) { if ($organizer_term->term_id == $organizer['id'] ) { if(isset($organizer_term->description) && !empty($organizer_term->description)): ?>
|
95 |
<dd class="mec-organizer-description">
|
96 |
<p><?php echo $organizer_term->description;?></p>
|
97 |
</dd>
|
127 |
<?php if($single->found_value('local_time', $settings) == 'on') echo $this->main->module('local-time.details', array('event'=>$event)); ?>
|
128 |
|
129 |
<?php if($single->found_value('event_location', $settings) == 'on' || $single->found_value('event_categories', $settings) == 'on' || $single->found_value('more_info', $settings) == 'on'): ?>
|
130 |
+
<div class="mec-event-meta mec-color-before mec-frontbox <?php if((!count($location) or $single->found_value('event_location', $settings) == '') and (!count($event->data->categories) or $single->found_value('event_categories', $settings) == '') and (!$more_info or $single->found_value('more_info', $settings) == '')) echo 'mec-util-hidden'; ?>">
|
131 |
|
132 |
<?php
|
133 |
// Event Location
|
151 |
<span><a href="<?php echo (strpos($location['url'], 'http') === false ? 'http://'.$location['url'] : $location['url']); ?>" class="mec-color-hover" target="_blank"><?php echo $location['url']; ?></a></span>
|
152 |
</dd>
|
153 |
<?php endif;
|
154 |
+
$location_description_setting = isset( $settings['location_description'] ) ? $settings['location_description'] : ''; $location_terms = get_the_terms($event->data, 'mec_location'); if($location_description_setting == '1' and is_array($location_terms) and count($location_terms)): foreach($location_terms as $location_term) { if ($location_term->term_id == $location['id'] ) { if(isset($location_term->description) && !empty($location_term->description)): ?>
|
155 |
<dd class="mec-location-description">
|
156 |
<p><?php echo $location_term->description;?></p>
|
157 |
</dd>
|
174 |
<?php
|
175 |
foreach($event->data->categories as $category)
|
176 |
{
|
177 |
+
$color = ((isset($category['color']) and trim($category['color'])) ? $category['color'] : '');
|
178 |
+
|
179 |
+
$color_html = '';
|
180 |
+
if($color) $color_html .= '<span class="mec-event-category-color" style="--background-color: '.esc_attr($color).';background-color: '.esc_attr($color).'"> </span>';
|
181 |
+
|
182 |
+
$icon = (isset($category['icon']) ? $category['icon'] : '');
|
183 |
+
$icon = isset($icon) && $icon != '' ? '<i class="' . $icon . ' mec-color"></i>' : '<i class="mec-fa-angle-right"></i>';
|
184 |
+
|
185 |
+
echo '<dl><dd class="mec-events-event-categories"><a href="'.get_term_link($category['id'], 'mec_category').'" class="mec-color-hover" rel="tag">' . $icon . $category['name'] . $color_html . '</a></dd></dl>';
|
186 |
}
|
187 |
?>
|
188 |
</div>
|
@@ -68,6 +68,8 @@ class MEC_skin_tile extends MEC_skins
|
|
68 |
// Search Form Status
|
69 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
70 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
71 |
|
72 |
// Generate an ID for the sking
|
73 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -193,6 +195,9 @@ class MEC_skin_tile extends MEC_skins
|
|
193 |
// Limit
|
194 |
$this->args['posts_per_page'] = $this->limit;
|
195 |
|
|
|
|
|
|
|
196 |
$i = 0;
|
197 |
$found = 0;
|
198 |
$events = array();
|
@@ -250,7 +255,12 @@ class MEC_skin_tile extends MEC_skins
|
|
250 |
'end'=>array('date'=>$this->main->get_end_date($date, $rendered))
|
251 |
);
|
252 |
|
253 |
-
$
|
|
|
|
|
|
|
|
|
|
|
254 |
$found++;
|
255 |
}
|
256 |
|
@@ -282,6 +292,9 @@ class MEC_skin_tile extends MEC_skins
|
|
282 |
// Set found events
|
283 |
$this->found = $found;
|
284 |
|
|
|
|
|
|
|
285 |
return $events;
|
286 |
}
|
287 |
|
68 |
// Search Form Status
|
69 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
70 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
71 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
72 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
73 |
|
74 |
// Generate an ID for the sking
|
75 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
195 |
// Limit
|
196 |
$this->args['posts_per_page'] = $this->limit;
|
197 |
|
198 |
+
$last_timestamp = NULL;
|
199 |
+
$last_event_id = NULL;
|
200 |
+
|
201 |
$i = 0;
|
202 |
$found = 0;
|
203 |
$events = array();
|
255 |
'end'=>array('date'=>$this->main->get_end_date($date, $rendered))
|
256 |
);
|
257 |
|
258 |
+
$event_data = $this->render->after_render($data, $this, $i);
|
259 |
+
|
260 |
+
$last_timestamp = $event_data->data->time['start_timestamp'];
|
261 |
+
$last_event_id = $ID;
|
262 |
+
|
263 |
+
$d[] = $event_data;
|
264 |
$found++;
|
265 |
}
|
266 |
|
292 |
// Set found events
|
293 |
$this->found = $found;
|
294 |
|
295 |
+
// Has More Events
|
296 |
+
if($last_timestamp and $last_event_id) $this->has_more_events = (boolean) $this->db->select("SELECT COUNT(id) FROM `#__mec_dates` WHERE `tstart` >= ".$last_timestamp." AND `post_id`!='".$last_event_id."'", 'loadResult');
|
297 |
+
|
298 |
return $events;
|
299 |
}
|
300 |
|
@@ -19,7 +19,7 @@ $month_html = ob_get_clean();
|
|
19 |
|
20 |
if(isset($this->atts['return_only_items']) and $this->atts['return_only_items'])
|
21 |
{
|
22 |
-
echo json_encode(array('html'=>$month_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found));
|
23 |
exit;
|
24 |
}
|
25 |
|
@@ -91,6 +91,8 @@ jQuery(document).ready(function()
|
|
91 |
sf:
|
92 |
{
|
93 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
94 |
}
|
95 |
});
|
96 |
});
|
@@ -133,7 +135,7 @@ do_action('mec_tile_head');
|
|
133 |
</div>
|
134 |
|
135 |
<?php if($this->load_method === 'list' and $this->load_more_button and $this->found >= $this->limit): ?>
|
136 |
-
|
137 |
<?php endif; ?>
|
138 |
</div>
|
139 |
</div>
|
19 |
|
20 |
if(isset($this->atts['return_only_items']) and $this->atts['return_only_items'])
|
21 |
{
|
22 |
+
echo json_encode(array('html'=>$month_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'has_more_event' => (int) $this->has_more_events));
|
23 |
exit;
|
24 |
}
|
25 |
|
91 |
sf:
|
92 |
{
|
93 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
94 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
95 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
96 |
}
|
97 |
});
|
98 |
});
|
135 |
</div>
|
136 |
|
137 |
<?php if($this->load_method === 'list' and $this->load_more_button and $this->found >= $this->limit): ?>
|
138 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
139 |
<?php endif; ?>
|
140 |
</div>
|
141 |
</div>
|
@@ -65,6 +65,8 @@ class MEC_skin_timeline extends MEC_skins
|
|
65 |
// Search Form Status
|
66 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
67 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
68 |
|
69 |
// Generate an ID for the sking
|
70 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
65 |
// Search Form Status
|
66 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
67 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
68 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
69 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
70 |
|
71 |
// Generate an ID for the sking
|
72 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -16,7 +16,7 @@ $items_html = ob_get_clean();
|
|
16 |
|
17 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
18 |
{
|
19 |
-
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found));
|
20 |
exit;
|
21 |
}
|
22 |
|
@@ -41,6 +41,8 @@ jQuery(document).ready(function()
|
|
41 |
sf:
|
42 |
{
|
43 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
44 |
},
|
45 |
});
|
46 |
});
|
@@ -49,6 +51,7 @@ jQuery(document).ready(function()
|
|
49 |
// Include javascript code into the page
|
50 |
if($this->main->is_ajax()) echo $javascript;
|
51 |
else $this->factory->params('footer', $javascript);
|
|
|
52 |
do_action('mec_start_skin', $this->id);
|
53 |
do_action('mec_timeline_skin_head');
|
54 |
?>
|
@@ -70,7 +73,7 @@ do_action('mec_timeline_skin_head');
|
|
70 |
<?php endif; ?>
|
71 |
|
72 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
73 |
-
<div class="mec-load-more-wrap"><div class="mec-load-more-button
|
74 |
<?php endif; ?>
|
75 |
|
76 |
</div>
|
16 |
|
17 |
if(isset($this->atts['return_items']) and $this->atts['return_items'])
|
18 |
{
|
19 |
+
echo json_encode(array('html'=>$items_html, 'end_date'=>$this->end_date, 'offset'=>$this->next_offset, 'count'=>$this->found, 'has_more_event' => (int) $this->has_more_events));
|
20 |
exit;
|
21 |
}
|
22 |
|
41 |
sf:
|
42 |
{
|
43 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
44 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
45 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
46 |
},
|
47 |
});
|
48 |
});
|
51 |
// Include javascript code into the page
|
52 |
if($this->main->is_ajax()) echo $javascript;
|
53 |
else $this->factory->params('footer', $javascript);
|
54 |
+
|
55 |
do_action('mec_start_skin', $this->id);
|
56 |
do_action('mec_timeline_skin_head');
|
57 |
?>
|
73 |
<?php endif; ?>
|
74 |
|
75 |
<?php if($this->load_more_button and $this->found >= $this->limit): ?>
|
76 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button <?php echo ($this->has_more_events ? '' : 'mec-util-hidden'); ?>"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
77 |
<?php endif; ?>
|
78 |
|
79 |
</div>
|
@@ -58,6 +58,8 @@ class MEC_skin_timetable extends MEC_skins
|
|
58 |
// Search Form Status
|
59 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
60 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
61 |
|
62 |
// Generate an ID for the skin
|
63 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
58 |
// Search Form Status
|
59 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
60 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
61 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
62 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
63 |
|
64 |
// Generate an ID for the skin
|
65 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -33,6 +33,8 @@ jQuery(document).ready(function()
|
|
33 |
sf:
|
34 |
{
|
35 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
36 |
},
|
37 |
});
|
38 |
});
|
33 |
sf:
|
34 |
{
|
35 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
36 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
37 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
38 |
},
|
39 |
});
|
40 |
});
|
@@ -36,6 +36,8 @@ jQuery(document).ready(function()
|
|
36 |
sf:
|
37 |
{
|
38 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
39 |
},
|
40 |
});
|
41 |
});
|
36 |
sf:
|
37 |
{
|
38 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
39 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
40 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
41 |
},
|
42 |
});
|
43 |
});
|
@@ -119,6 +119,8 @@ jQuery(document).ready(function()
|
|
119 |
sf:
|
120 |
{
|
121 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
122 |
},
|
123 |
});
|
124 |
});
|
119 |
sf:
|
120 |
{
|
121 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
122 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
123 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
124 |
},
|
125 |
});
|
126 |
});
|
@@ -50,6 +50,8 @@ class MEC_skin_weekly_view extends MEC_skins
|
|
50 |
// Search Form Status
|
51 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
52 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
53 |
|
54 |
// Generate an ID for the skin
|
55 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -84,6 +86,9 @@ class MEC_skin_weekly_view extends MEC_skins
|
|
84 |
|
85 |
// Display Price
|
86 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
|
|
|
|
|
|
87 |
|
88 |
// Init MEC
|
89 |
$this->args['mec-init'] = true;
|
50 |
// Search Form Status
|
51 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
52 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
53 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
54 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
55 |
|
56 |
// Generate an ID for the skin
|
57 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
86 |
|
87 |
// Display Price
|
88 |
$this->display_price = (isset($this->skin_options['display_price']) and trim($this->skin_options['display_price'])) ? true : false;
|
89 |
+
|
90 |
+
// Detailed Time
|
91 |
+
$this->display_detailed_time = (isset($this->skin_options['detailed_time']) and trim($this->skin_options['detailed_time'])) ? true : false;
|
92 |
|
93 |
// Init MEC
|
94 |
$this->args['mec-init'] = true;
|
@@ -36,7 +36,13 @@ $reason_for_cancellation = isset($this->skin_options['reason_for_cancellation'])
|
|
36 |
<div class="mec-event-list-weekly-date mec-color"><span class="mec-date-day"><?php echo $this->main->date_i18n('d', strtotime($event->date['start']['date'])); ?></span><?php echo $this->main->date_i18n('F', strtotime($event->date['start']['date'])); ?></div>
|
37 |
<div class="mec-event-image"><?php echo $event->data->thumbnails['thumbnail']; ?></div>
|
38 |
<?php echo $this->get_label_captions($event); ?>
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
<h4 class="mec-event-title"><?php echo $this->display_link($event); ?><?php echo $this->display_custom_data($event); ?><?php echo $this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation); ?><?php do_action('mec_shortcode_virtual_badge', $event->data->ID ); ?></h4>
|
41 |
<?php if($this->localtime) echo $this->main->module('local-time.type3', array('event'=>$event)); ?>
|
42 |
<div class="mec-event-detail"><div class="mec-event-loc-place"><?php echo (isset($location['name']) ? $location['name'] : ''); ?></div></div>
|
36 |
<div class="mec-event-list-weekly-date mec-color"><span class="mec-date-day"><?php echo $this->main->date_i18n('d', strtotime($event->date['start']['date'])); ?></span><?php echo $this->main->date_i18n('F', strtotime($event->date['start']['date'])); ?></div>
|
37 |
<div class="mec-event-image"><?php echo $event->data->thumbnails['thumbnail']; ?></div>
|
38 |
<?php echo $this->get_label_captions($event); ?>
|
39 |
+
|
40 |
+
<?php if($this->display_detailed_time and $this->main->is_multipleday_occurrence($event)): ?>
|
41 |
+
<div class="mec-event-detailed-time mec-event-time mec-color"><i class="mec-sl-clock-o"></i> <?php echo $this->display_detailed_time($event); ?></div>
|
42 |
+
<?php elseif(trim($start_time)): ?>
|
43 |
+
<div class="mec-event-time mec-color"><i class="mec-sl-clock-o"></i> <?php echo $start_time.(trim($end_time) ? ' - '.$end_time : ''); ?></div>
|
44 |
+
<?php endif; ?>
|
45 |
+
|
46 |
<h4 class="mec-event-title"><?php echo $this->display_link($event); ?><?php echo $this->display_custom_data($event); ?><?php echo $this->main->get_flags($event).$event_color.$this->main->get_normal_labels($event, $display_label).$this->main->display_cancellation_reason($event, $reason_for_cancellation); ?><?php do_action('mec_shortcode_virtual_badge', $event->data->ID ); ?></h4>
|
47 |
<?php if($this->localtime) echo $this->main->module('local-time.type3', array('event'=>$event)); ?>
|
48 |
<div class="mec-event-detail"><div class="mec-event-loc-place"><?php echo (isset($location['name']) ? $location['name'] : ''); ?></div></div>
|
@@ -112,6 +112,8 @@ jQuery(document).ready(function()
|
|
112 |
sf:
|
113 |
{
|
114 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
115 |
},
|
116 |
});
|
117 |
});
|
112 |
sf:
|
113 |
{
|
114 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
115 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
116 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
117 |
},
|
118 |
});
|
119 |
});
|
@@ -57,6 +57,8 @@ class MEC_skin_yearly_view extends MEC_skins
|
|
57 |
// Search Form Status
|
58 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
59 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
|
|
|
|
60 |
|
61 |
// Generate an ID for the sking
|
62 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
57 |
// Search Form Status
|
58 |
$this->sf_status = isset($this->atts['sf_status']) ? $this->atts['sf_status'] : true;
|
59 |
$this->sf_display_label = isset($this->atts['sf_display_label']) ? $this->atts['sf_display_label'] : false;
|
60 |
+
$this->sf_reset_button = isset($this->atts['sf_reset_button']) ? $this->atts['sf_reset_button'] : false;
|
61 |
+
$this->sf_refine = isset($this->atts['sf_refine']) ? $this->atts['sf_refine'] : false;
|
62 |
|
63 |
// Generate an ID for the sking
|
64 |
$this->id = isset($this->atts['id']) ? $this->atts['id'] : mt_rand(100, 999);
|
@@ -75,7 +75,8 @@ $reason_for_cancellation = isset($this->skin_options['reason_for_cancellation'])
|
|
75 |
</div>
|
76 |
<?php endforeach; ?>
|
77 |
<span class="mec-yearly-max" data-count="<?php echo $count; ?>"></span>
|
|
|
78 |
<?php if($count > 20): ?>
|
79 |
-
|
80 |
<?php endif; ?>
|
81 |
</div>
|
75 |
</div>
|
76 |
<?php endforeach; ?>
|
77 |
<span class="mec-yearly-max" data-count="<?php echo $count; ?>"></span>
|
78 |
+
|
79 |
<?php if($count > 20): ?>
|
80 |
+
<div class="mec-load-more-wrap"><div class="mec-load-more-button"><?php echo __('Load More', 'modern-events-calendar-lite'); ?></div></div>
|
81 |
<?php endif; ?>
|
82 |
</div>
|
@@ -78,6 +78,8 @@ jQuery(document).ready(function()
|
|
78 |
sf:
|
79 |
{
|
80 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
|
|
|
|
81 |
},
|
82 |
});
|
83 |
});
|
78 |
sf:
|
79 |
{
|
80 |
container: "'.($this->sf_status ? '#mec_search_form_'.$this->id : '').'",
|
81 |
+
reset: '.($this->sf_reset_button ? 1 : 0).',
|
82 |
+
refine: '.($this->sf_refine ? 1 : 0).',
|
83 |
},
|
84 |
});
|
85 |
});
|
@@ -5773,15 +5773,18 @@ li.wns-be-group-menu-li.mec-settings-menu:hover>.mec-settings-submenu {
|
|
5773 |
box-sizing: border-box;
|
5774 |
text-align: center;
|
5775 |
padding: 10px!important;
|
5776 |
-
border-radius:
|
5777 |
-
border:
|
5778 |
-
box-shadow:
|
5779 |
-
background: #
|
5780 |
}
|
5781 |
|
5782 |
.mec-custom-nice-select ul.list li.option:hover {
|
5783 |
-
box-shadow: 0
|
5784 |
-
|
|
|
|
|
|
|
5785 |
}
|
5786 |
|
5787 |
.mec-custom-nice-select .list:hover .option:not(:hover),.mec-custom-nice-select ul.list:hover li.option {
|
@@ -5797,10 +5800,10 @@ li.wns-be-group-menu-li.mec-settings-menu:hover>.mec-settings-submenu {
|
|
5797 |
}
|
5798 |
|
5799 |
.mec-custom-nice-select ul.list li.option.selected {
|
5800 |
-
border: 1px solid #
|
5801 |
-
box-shadow: 0 1px 8px -3px #
|
5802 |
color: #00cae6;
|
5803 |
-
padding: 12px 0 0 0!important
|
5804 |
}
|
5805 |
|
5806 |
.mec-custom-nice-select .wn-img-sh img {
|
@@ -5887,7 +5890,6 @@ li.wns-be-group-menu-li.mec-settings-menu:hover>.mec-settings-submenu {
|
|
5887 |
margin: -1px 0 0 -1px;
|
5888 |
cursor: pointer;
|
5889 |
border: 2px solid #e1e7ed;
|
5890 |
-
box-shadow: 0 2px 15px -3px rgba(69,77,89,.32);
|
5891 |
border-radius: 50%
|
5892 |
}
|
5893 |
|
@@ -6281,11 +6283,11 @@ a.mec-add-booking-tabs-link,a.mec-add-event-tabs-link,a.mec-create-shortcode-tab
|
|
6281 |
}
|
6282 |
|
6283 |
.mec-calendar-metabox .mec-custom-nice-select.open ul.list {
|
6284 |
-
border-radius:
|
6285 |
-
box-shadow: 0 2px 6px
|
6286 |
margin-left: 0!important;
|
6287 |
transform: translateX(-50%);
|
6288 |
-
left: 50
|
6289 |
}
|
6290 |
|
6291 |
.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after {
|
@@ -9716,13 +9718,58 @@ div#mec_popup_event_form {
|
|
9716 |
}
|
9717 |
|
9718 |
.post-type-mec-books.taxonomy-mec_coupon input[type=number],.post-type-mec-books.taxonomy-mec_coupon input[type=search],.post-type-mec-books.taxonomy-mec_coupon input[type=text],.post-type-mec-books.taxonomy-mec_coupon input[type=url],.post-type-mec-books.taxonomy-mec_coupon select,.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category input[type=number],.post-type-mec-events.taxonomy-mec_category input[type=search],.post-type-mec-events.taxonomy-mec_category input[type=text],.post-type-mec-events.taxonomy-mec_category input[type=url],.post-type-mec-events.taxonomy-mec_category select,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label input[type=number],.post-type-mec-events.taxonomy-mec_label input[type=search],.post-type-mec-events.taxonomy-mec_label input[type=text],.post-type-mec-events.taxonomy-mec_label input[type=url],.post-type-mec-events.taxonomy-mec_label select,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag input[type=number],.post-type-mec-events.taxonomy-post_tag input[type=search],.post-type-mec-events.taxonomy-post_tag input[type=text],.post-type-mec-events.taxonomy-post_tag input[type=url],.post-type-mec-events.taxonomy-post_tag select,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location input[type=number],.taxonomy-mec_location input[type=search],.taxonomy-mec_location input[type=text],.taxonomy-mec_location input[type=url],.taxonomy-mec_location select,.taxonomy-mec_location textarea,.taxonomy-mec_organizer input[type=number],.taxonomy-mec_organizer input[type=search],.taxonomy-mec_organizer input[type=text],.taxonomy-mec_organizer input[type=url],.taxonomy-mec_organizer select,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker input[type=number],.taxonomy-mec_speaker input[type=search],.taxonomy-mec_speaker input[type=text],.taxonomy-mec_speaker input[type=url],.taxonomy-mec_speaker select,.taxonomy-mec_speaker textarea {
|
9719 |
-
border:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9720 |
border-radius: 2px;
|
9721 |
-
|
9722 |
-
|
9723 |
-
|
9724 |
-
|
9725 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9726 |
}
|
9727 |
|
9728 |
.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location textarea,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker textarea {
|
@@ -9732,14 +9779,14 @@ div#mec_popup_event_form {
|
|
9732 |
.post-type-mec-books.taxonomy-mec_coupon .button,.post-type-mec-books.taxonomy-mec_coupon .button-secondary,.post-type-mec-events.taxonomy-mec_category .button,.post-type-mec-events.taxonomy-mec_category .button-secondary,.post-type-mec-events.taxonomy-mec_label .button,.post-type-mec-events.taxonomy-mec_label .button-secondary,.post-type-mec-events.taxonomy-post_tag .button,.post-type-mec-events.taxonomy-post_tag .button-secondary,.taxonomy-mec_location .button,.taxonomy-mec_location .button-secondary,.taxonomy-mec_organizer .button,.taxonomy-mec_organizer .button-secondary,.taxonomy-mec_speaker .button {
|
9733 |
color: #fff;
|
9734 |
font-weight: 500;
|
9735 |
-
border-radius:
|
9736 |
-
box-shadow: 0
|
9737 |
text-shadow: none;
|
9738 |
-
background: #
|
9739 |
-
background: linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);
|
9740 |
border: none;
|
9741 |
transition: .24s;
|
9742 |
-
|
|
|
9743 |
}
|
9744 |
|
9745 |
.post-type-mec-books.taxonomy-mec_coupon .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_category .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_label .mec_upload_image_button,.post-type-mec-events.taxonomy-post_tag .mec_upload_image_button,.taxonomy-mec_location .mec_upload_image_button,.taxonomy-mec_organizer .mec_upload_image_button,.taxonomy-mec_speaker .mec_upload_image_button {
|
@@ -9747,11 +9794,10 @@ div#mec_popup_event_form {
|
|
9747 |
}
|
9748 |
|
9749 |
.post-type-mec-books.taxonomy-mec_coupon .button-secondary:focus,.post-type-mec-books.taxonomy-mec_coupon .button-secondary:hover,.post-type-mec-books.taxonomy-mec_coupon .button.focus,.post-type-mec-books.taxonomy-mec_coupon .button:focus,.post-type-mec-books.taxonomy-mec_coupon .button:hover,.post-type-mec-events.taxonomy-mec_category .button-secondary:focus,.post-type-mec-events.taxonomy-mec_category .button-secondary:hover,.post-type-mec-events.taxonomy-mec_category .button.focus,.post-type-mec-events.taxonomy-mec_category .button:focus,.post-type-mec-events.taxonomy-mec_category .button:hover,.post-type-mec-events.taxonomy-mec_label .button-secondary:focus,.post-type-mec-events.taxonomy-mec_label .button-secondary:hover,.post-type-mec-events.taxonomy-mec_label .button.focus,.post-type-mec-events.taxonomy-mec_label .button:focus,.post-type-mec-events.taxonomy-mec_label .button:hover,.post-type-mec-events.taxonomy-post_tag .button-secondary:focus,.post-type-mec-events.taxonomy-post_tag .button-secondary:hover,.post-type-mec-events.taxonomy-post_tag .button.focus,.post-type-mec-events.taxonomy-post_tag .button:focus,.post-type-mec-events.taxonomy-post_tag .button:hover,.taxonomy-mec_location .button-secondary:focus,.taxonomy-mec_location .button-secondary:hover,.taxonomy-mec_location .button.focus,.taxonomy-mec_location .button:focus,.taxonomy-mec_location .button:hover,.taxonomy-mec_organizer .button-secondary:focus,.taxonomy-mec_organizer .button-secondary:hover,.taxonomy-mec_organizer .button.focus,.taxonomy-mec_organizer .button:focus,.taxonomy-mec_organizer .button:hover,.taxonomy-mec_speaker .button-secondary:focus,.taxonomy-mec_speaker .button-secondary:hover,.taxonomy-mec_speaker .button.focus,.taxonomy-mec_speaker .button:focus,.taxonomy-mec_speaker .button:hover {
|
9750 |
-
background: #
|
9751 |
-
|
9752 |
-
box-shadow: 0 5px 23px -7px rgba(0,0,0,.5);
|
9753 |
cursor: pointer;
|
9754 |
-
color: #fff
|
9755 |
}
|
9756 |
|
9757 |
.post-type-mec-events #TB_window {
|
@@ -9862,7 +9908,7 @@ div#mec_popup_event_form {
|
|
9862 |
}
|
9863 |
|
9864 |
.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields select, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields textarea, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default.select2-container--focus .select2-selection--multiple, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=email], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=number], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=password], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=search], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=text], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=url], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row select, .mec-admin-dark-mode #mec_bfixed_form_fields input[type=checkbox],.mec-admin-dark-mode #mec_calendar_filter .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=number],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=text],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=url],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row select,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_details .mec-form-row select,.mec-admin-dark-mode #mec_metabox_details .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_details .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_reg_form_fields input[type=checkbox],.mec-admin-dark-mode .mec-addon-box-version,.mec-admin-dark-mode .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row input[type=number],.mec-admin-dark-mode .mec-form-row input[type=radio],.mec-admin-dark-mode .mec-form-row input[type=text],.mec-admin-dark-mode .mec-form-row input[type=url],.mec-admin-dark-mode .mec-form-row select,.mec-admin-dark-mode .mec-form-row textarea,.mec-admin-dark-mode .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-select-event-wrap .select2-container--default .select2-selection--single,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-form-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-send-email-form-wrap input.widefat,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option--highlighted[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-switch-editor,.mec-admin-dark-mode.m-e-calendar_page_MEC-report div.mce-toolbar-grp,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-invoice-custom-css,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #titlediv #title,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .quicktags-toolbar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-results__option[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=checkbox],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=color],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=date],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime-local],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=month],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=radio],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=tel],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=time],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=week],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings textarea,.mec-admin-dark-mode.post-type-mec-books .wn-mec-select,.mec-admin-dark-mode.post-type-mec-books input[type=email],.mec-admin-dark-mode.post-type-mec-books input[type=number],.mec-admin-dark-mode.post-type-mec-books input[type=text],.mec-admin-dark-mode.post-type-mec-books input[type=url],.mec-admin-dark-mode.post-type-mec-books select,.mec-admin-dark-mode.post-type-mec-books textarea,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_field_types button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields button,.mec-admin-dark-mode.post-type-mec-events #titlediv #title,.mec-admin-dark-mode.post-type-mec-events .components-form-token-field__input-container,.mec-admin-dark-mode.post-type-mec-events .components-panel__body,.mec-admin-dark-mode.post-type-mec-events .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-certain-day>div,.mec-admin-dark-mode.post-type-mec-events .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .mec-xi-google-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .select2-dropdown,.mec-admin-dark-mode.post-type-mec-events .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec-events .wp-admin p label input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=color],.mec-admin-dark-mode.post-type-mec-events input[type=date],.mec-admin-dark-mode.post-type-mec-events input[type=datetime-local],.mec-admin-dark-mode.post-type-mec-events input[type=datetime],.mec-admin-dark-mode.post-type-mec-events input[type=email],.mec-admin-dark-mode.post-type-mec-events input[type=month],.mec-admin-dark-mode.post-type-mec-events input[type=number],.mec-admin-dark-mode.post-type-mec-events input[type=password],.mec-admin-dark-mode.post-type-mec-events input[type=radio],.mec-admin-dark-mode.post-type-mec-events input[type=search],.mec-admin-dark-mode.post-type-mec-events input[type=tel],.mec-admin-dark-mode.post-type-mec-events input[type=text],.mec-admin-dark-mode.post-type-mec-events input[type=time],.mec-admin-dark-mode.post-type-mec-events input[type=url],.mec-admin-dark-mode.post-type-mec-events input[type=week],.mec-admin-dark-mode.post-type-mec-events select,.mec-admin-dark-mode.post-type-mec-events textarea,.mec-admin-dark-mode.post-type-mec_calendars #titlediv #title,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.post-type-mec_calendars .select2-dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec_calendars input[type=checkbox],.mec-admin-dark-mode.post-type-mec_calendars input[type=color],.mec-admin-dark-mode.post-type-mec_calendars input[type=date],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime-local],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime],.mec-admin-dark-mode.post-type-mec_calendars input[type=email],.mec-admin-dark-mode.post-type-mec_calendars input[type=month],.mec-admin-dark-mode.post-type-mec_calendars input[type=number],.mec-admin-dark-mode.post-type-mec_calendars input[type=password],.mec-admin-dark-mode.post-type-mec_calendars input[type=radio],.mec-admin-dark-mode.post-type-mec_calendars input[type=search],.mec-admin-dark-mode.post-type-mec_calendars input[type=tel],.mec-admin-dark-mode.post-type-mec_calendars input[type=text],.mec-admin-dark-mode.post-type-mec_calendars input[type=time],.mec-admin-dark-mode.post-type-mec_calendars input[type=url],.mec-admin-dark-mode.post-type-mec_calendars input[type=week],.mec-admin-dark-mode.post-type-mec_calendars select,.mec-admin-dark-mode.post-type-mec_calendars textarea,.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[name=MECPurchaseCode],.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[type=radio]+label span,.mec-select-deselect-actions li, .mec-admin-dark-mode.post-type-mec-books input[type=checkbox] {
|
9865 |
-
background: #
|
9866 |
border-color: #353535;
|
9867 |
color: #d2d2d2
|
9868 |
}
|
5773 |
box-sizing: border-box;
|
5774 |
text-align: center;
|
5775 |
padding: 10px!important;
|
5776 |
+
border-radius: 8px;
|
5777 |
+
border:1px solid transparent;
|
5778 |
+
box-shadow: none;
|
5779 |
+
background: #fff0!important
|
5780 |
}
|
5781 |
|
5782 |
.mec-custom-nice-select ul.list li.option:hover {
|
5783 |
+
box-shadow: 0 1px 8px rgba(0,0,0,.025), 0 0 0 1px #f3f4f5;
|
5784 |
+
}
|
5785 |
+
|
5786 |
+
.mec-custom-nice-select .list .option:hover,.mec-custom-nice-select ul.list li.option:hover {
|
5787 |
+
background: #fff!important
|
5788 |
}
|
5789 |
|
5790 |
.mec-custom-nice-select .list:hover .option:not(:hover),.mec-custom-nice-select ul.list:hover li.option {
|
5800 |
}
|
5801 |
|
5802 |
.mec-custom-nice-select ul.list li.option.selected {
|
5803 |
+
border: 1px solid #40d9f16b;
|
5804 |
+
box-shadow: 0 1px 8px -3px #40d9f152 inset;
|
5805 |
color: #00cae6;
|
5806 |
+
padding: 12px 0 0 0!important;
|
5807 |
}
|
5808 |
|
5809 |
.mec-custom-nice-select .wn-img-sh img {
|
5890 |
margin: -1px 0 0 -1px;
|
5891 |
cursor: pointer;
|
5892 |
border: 2px solid #e1e7ed;
|
|
|
5893 |
border-radius: 50%
|
5894 |
}
|
5895 |
|
6283 |
}
|
6284 |
|
6285 |
.mec-calendar-metabox .mec-custom-nice-select.open ul.list {
|
6286 |
+
border-radius: 5px;
|
6287 |
+
box-shadow: 0 2px 6px rgb(0 0 0 / 3%);
|
6288 |
margin-left: 0!important;
|
6289 |
transform: translateX(-50%);
|
6290 |
+
left: 50%;
|
6291 |
}
|
6292 |
|
6293 |
.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after {
|
9718 |
}
|
9719 |
|
9720 |
.post-type-mec-books.taxonomy-mec_coupon input[type=number],.post-type-mec-books.taxonomy-mec_coupon input[type=search],.post-type-mec-books.taxonomy-mec_coupon input[type=text],.post-type-mec-books.taxonomy-mec_coupon input[type=url],.post-type-mec-books.taxonomy-mec_coupon select,.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category input[type=number],.post-type-mec-events.taxonomy-mec_category input[type=search],.post-type-mec-events.taxonomy-mec_category input[type=text],.post-type-mec-events.taxonomy-mec_category input[type=url],.post-type-mec-events.taxonomy-mec_category select,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label input[type=number],.post-type-mec-events.taxonomy-mec_label input[type=search],.post-type-mec-events.taxonomy-mec_label input[type=text],.post-type-mec-events.taxonomy-mec_label input[type=url],.post-type-mec-events.taxonomy-mec_label select,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag input[type=number],.post-type-mec-events.taxonomy-post_tag input[type=search],.post-type-mec-events.taxonomy-post_tag input[type=text],.post-type-mec-events.taxonomy-post_tag input[type=url],.post-type-mec-events.taxonomy-post_tag select,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location input[type=number],.taxonomy-mec_location input[type=search],.taxonomy-mec_location input[type=text],.taxonomy-mec_location input[type=url],.taxonomy-mec_location select,.taxonomy-mec_location textarea,.taxonomy-mec_organizer input[type=number],.taxonomy-mec_organizer input[type=search],.taxonomy-mec_organizer input[type=text],.taxonomy-mec_organizer input[type=url],.taxonomy-mec_organizer select,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker input[type=number],.taxonomy-mec_speaker input[type=search],.taxonomy-mec_speaker input[type=text],.taxonomy-mec_speaker input[type=url],.taxonomy-mec_speaker select,.taxonomy-mec_speaker textarea {
|
9721 |
+
border-radius: 5px;
|
9722 |
+
min-height: 38px;
|
9723 |
+
border: none;
|
9724 |
+
background-color: #fff;
|
9725 |
+
box-shadow: inset 0 1px 2px rgb(0 0 0 / 7%)
|
9726 |
+
}
|
9727 |
+
|
9728 |
+
.post-type-mec-books.taxonomy-mec_coupon select,
|
9729 |
+
.post-type-mec-events.taxonomy-mec_category select,
|
9730 |
+
.post-type-mec-events.taxonomy-mec_label select,
|
9731 |
+
.post-type-mec-events.taxonomy-post_tag select,
|
9732 |
+
.taxonomy-mec_location select,
|
9733 |
+
.taxonomy-mec_organizer select,
|
9734 |
+
.taxonomy-mec_speaker select {
|
9735 |
+
appearance: none;
|
9736 |
+
-webkit-appearance: none;
|
9737 |
+
-moz-appearance: none;
|
9738 |
+
cursor: pointer;
|
9739 |
+
min-height: 39px;
|
9740 |
+
line-height: 39px;
|
9741 |
+
background-color: #fff;
|
9742 |
border-radius: 2px;
|
9743 |
+
padding-left: 8px;
|
9744 |
+
box-shadow: 0 1px 3px rgb(0 0 0 / 2%);
|
9745 |
+
transition: all .23s ease;
|
9746 |
+
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);
|
9747 |
+
background-repeat: no-repeat;
|
9748 |
+
background-size: 26px 10px;
|
9749 |
+
background-position: right center;
|
9750 |
+
min-width: 160px;
|
9751 |
+
border: 1px solid #e6e9eb
|
9752 |
+
}
|
9753 |
+
|
9754 |
+
.post-type-mec-books.taxonomy-mec_coupon table.fixed,
|
9755 |
+
.post-type-mec-events.taxonomy-mec_category table.fixed,
|
9756 |
+
.post-type-mec-events.taxonomy-mec_label table.fixed,
|
9757 |
+
.post-type-mec-events.taxonomy-post_tag table.fixed,
|
9758 |
+
.taxonomy-mec_location table.fixed,
|
9759 |
+
.taxonomy-mec_organizer table.fixed,
|
9760 |
+
.taxonomy-mec_speaker table.fixed {
|
9761 |
+
margin-top: 21px
|
9762 |
+
}
|
9763 |
+
|
9764 |
+
.taxonomy-mec_category .wp-color-result-text {
|
9765 |
+
all: unset;
|
9766 |
+
color: #fff;
|
9767 |
+
font-weight: 500;
|
9768 |
+
line-height: 1.4
|
9769 |
+
}
|
9770 |
+
|
9771 |
+
.taxonomy-mec_category .wp-picker-input-wrap label {
|
9772 |
+
margin-top: 0 !important
|
9773 |
}
|
9774 |
|
9775 |
.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location textarea,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker textarea {
|
9779 |
.post-type-mec-books.taxonomy-mec_coupon .button,.post-type-mec-books.taxonomy-mec_coupon .button-secondary,.post-type-mec-events.taxonomy-mec_category .button,.post-type-mec-events.taxonomy-mec_category .button-secondary,.post-type-mec-events.taxonomy-mec_label .button,.post-type-mec-events.taxonomy-mec_label .button-secondary,.post-type-mec-events.taxonomy-post_tag .button,.post-type-mec-events.taxonomy-post_tag .button-secondary,.taxonomy-mec_location .button,.taxonomy-mec_location .button-secondary,.taxonomy-mec_organizer .button,.taxonomy-mec_organizer .button-secondary,.taxonomy-mec_speaker .button {
|
9780 |
color: #fff;
|
9781 |
font-weight: 500;
|
9782 |
+
border-radius: 60px;
|
9783 |
+
box-shadow: 0 0 0 4px rgb(56 213 237 / 1%);
|
9784 |
text-shadow: none;
|
9785 |
+
background: #38d5ed;
|
|
|
9786 |
border: none;
|
9787 |
transition: .24s;
|
9788 |
+
line-height: 1.4;
|
9789 |
+
padding: 9px 36px 12px
|
9790 |
}
|
9791 |
|
9792 |
.post-type-mec-books.taxonomy-mec_coupon .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_category .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_label .mec_upload_image_button,.post-type-mec-events.taxonomy-post_tag .mec_upload_image_button,.taxonomy-mec_location .mec_upload_image_button,.taxonomy-mec_organizer .mec_upload_image_button,.taxonomy-mec_speaker .mec_upload_image_button {
|
9794 |
}
|
9795 |
|
9796 |
.post-type-mec-books.taxonomy-mec_coupon .button-secondary:focus,.post-type-mec-books.taxonomy-mec_coupon .button-secondary:hover,.post-type-mec-books.taxonomy-mec_coupon .button.focus,.post-type-mec-books.taxonomy-mec_coupon .button:focus,.post-type-mec-books.taxonomy-mec_coupon .button:hover,.post-type-mec-events.taxonomy-mec_category .button-secondary:focus,.post-type-mec-events.taxonomy-mec_category .button-secondary:hover,.post-type-mec-events.taxonomy-mec_category .button.focus,.post-type-mec-events.taxonomy-mec_category .button:focus,.post-type-mec-events.taxonomy-mec_category .button:hover,.post-type-mec-events.taxonomy-mec_label .button-secondary:focus,.post-type-mec-events.taxonomy-mec_label .button-secondary:hover,.post-type-mec-events.taxonomy-mec_label .button.focus,.post-type-mec-events.taxonomy-mec_label .button:focus,.post-type-mec-events.taxonomy-mec_label .button:hover,.post-type-mec-events.taxonomy-post_tag .button-secondary:focus,.post-type-mec-events.taxonomy-post_tag .button-secondary:hover,.post-type-mec-events.taxonomy-post_tag .button.focus,.post-type-mec-events.taxonomy-post_tag .button:focus,.post-type-mec-events.taxonomy-post_tag .button:hover,.taxonomy-mec_location .button-secondary:focus,.taxonomy-mec_location .button-secondary:hover,.taxonomy-mec_location .button.focus,.taxonomy-mec_location .button:focus,.taxonomy-mec_location .button:hover,.taxonomy-mec_organizer .button-secondary:focus,.taxonomy-mec_organizer .button-secondary:hover,.taxonomy-mec_organizer .button.focus,.taxonomy-mec_organizer .button:focus,.taxonomy-mec_organizer .button:hover,.taxonomy-mec_speaker .button-secondary:focus,.taxonomy-mec_speaker .button-secondary:hover,.taxonomy-mec_speaker .button.focus,.taxonomy-mec_speaker .button:focus,.taxonomy-mec_speaker .button:hover {
|
9797 |
+
background: #26bbd2;
|
9798 |
+
box-shadow: 0 0 0 4px rgb(56 213 237 / 15%);
|
|
|
9799 |
cursor: pointer;
|
9800 |
+
color: #fff;
|
9801 |
}
|
9802 |
|
9803 |
.post-type-mec-events #TB_window {
|
9908 |
}
|
9909 |
|
9910 |
.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields select, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields textarea, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default.select2-container--focus .select2-selection--multiple, .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=email], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=number], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=password], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=search], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=text], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=url], .mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row select, .mec-admin-dark-mode #mec_bfixed_form_fields input[type=checkbox],.mec-admin-dark-mode #mec_calendar_filter .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=number],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=text],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=url],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row select,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_details .mec-form-row select,.mec-admin-dark-mode #mec_metabox_details .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_details .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_reg_form_fields input[type=checkbox],.mec-admin-dark-mode .mec-addon-box-version,.mec-admin-dark-mode .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row input[type=number],.mec-admin-dark-mode .mec-form-row input[type=radio],.mec-admin-dark-mode .mec-form-row input[type=text],.mec-admin-dark-mode .mec-form-row input[type=url],.mec-admin-dark-mode .mec-form-row select,.mec-admin-dark-mode .mec-form-row textarea,.mec-admin-dark-mode .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-select-event-wrap .select2-container--default .select2-selection--single,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-form-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-send-email-form-wrap input.widefat,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option--highlighted[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-switch-editor,.mec-admin-dark-mode.m-e-calendar_page_MEC-report div.mce-toolbar-grp,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-invoice-custom-css,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #titlediv #title,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .quicktags-toolbar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-results__option[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=checkbox],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=color],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=date],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime-local],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=month],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=radio],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=tel],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=time],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=week],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings textarea,.mec-admin-dark-mode.post-type-mec-books .wn-mec-select,.mec-admin-dark-mode.post-type-mec-books input[type=email],.mec-admin-dark-mode.post-type-mec-books input[type=number],.mec-admin-dark-mode.post-type-mec-books input[type=text],.mec-admin-dark-mode.post-type-mec-books input[type=url],.mec-admin-dark-mode.post-type-mec-books select,.mec-admin-dark-mode.post-type-mec-books textarea,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_field_types button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields button,.mec-admin-dark-mode.post-type-mec-events #titlediv #title,.mec-admin-dark-mode.post-type-mec-events .components-form-token-field__input-container,.mec-admin-dark-mode.post-type-mec-events .components-panel__body,.mec-admin-dark-mode.post-type-mec-events .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-certain-day>div,.mec-admin-dark-mode.post-type-mec-events .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .mec-xi-google-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .select2-dropdown,.mec-admin-dark-mode.post-type-mec-events .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec-events .wp-admin p label input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=color],.mec-admin-dark-mode.post-type-mec-events input[type=date],.mec-admin-dark-mode.post-type-mec-events input[type=datetime-local],.mec-admin-dark-mode.post-type-mec-events input[type=datetime],.mec-admin-dark-mode.post-type-mec-events input[type=email],.mec-admin-dark-mode.post-type-mec-events input[type=month],.mec-admin-dark-mode.post-type-mec-events input[type=number],.mec-admin-dark-mode.post-type-mec-events input[type=password],.mec-admin-dark-mode.post-type-mec-events input[type=radio],.mec-admin-dark-mode.post-type-mec-events input[type=search],.mec-admin-dark-mode.post-type-mec-events input[type=tel],.mec-admin-dark-mode.post-type-mec-events input[type=text],.mec-admin-dark-mode.post-type-mec-events input[type=time],.mec-admin-dark-mode.post-type-mec-events input[type=url],.mec-admin-dark-mode.post-type-mec-events input[type=week],.mec-admin-dark-mode.post-type-mec-events select,.mec-admin-dark-mode.post-type-mec-events textarea,.mec-admin-dark-mode.post-type-mec_calendars #titlediv #title,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.post-type-mec_calendars .select2-dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec_calendars input[type=checkbox],.mec-admin-dark-mode.post-type-mec_calendars input[type=color],.mec-admin-dark-mode.post-type-mec_calendars input[type=date],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime-local],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime],.mec-admin-dark-mode.post-type-mec_calendars input[type=email],.mec-admin-dark-mode.post-type-mec_calendars input[type=month],.mec-admin-dark-mode.post-type-mec_calendars input[type=number],.mec-admin-dark-mode.post-type-mec_calendars input[type=password],.mec-admin-dark-mode.post-type-mec_calendars input[type=radio],.mec-admin-dark-mode.post-type-mec_calendars input[type=search],.mec-admin-dark-mode.post-type-mec_calendars input[type=tel],.mec-admin-dark-mode.post-type-mec_calendars input[type=text],.mec-admin-dark-mode.post-type-mec_calendars input[type=time],.mec-admin-dark-mode.post-type-mec_calendars input[type=url],.mec-admin-dark-mode.post-type-mec_calendars input[type=week],.mec-admin-dark-mode.post-type-mec_calendars select,.mec-admin-dark-mode.post-type-mec_calendars textarea,.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[name=MECPurchaseCode],.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[type=radio]+label span,.mec-select-deselect-actions li, .mec-admin-dark-mode.post-type-mec-books input[type=checkbox] {
|
9911 |
+
background: #1d1d1d;
|
9912 |
border-color: #353535;
|
9913 |
color: #d2d2d2
|
9914 |
}
|
@@ -2,4 +2,4 @@
|
|
2 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
* Copyright 2011-2016 Twitter, Inc.
|
4 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
-
*/#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea{font-family:inherit;font-size:inherit;line-height:inherit}#webnus-dashboard a{color:#337ab7;text-decoration:none}#webnus-dashboard a:focus,#webnus-dashboard a:hover{color:#23527c}#webnus-dashboard a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#webnus-dashboard figure{margin:0}#webnus-dashboard img{vertical-align:middle}.w-img-responsive{display:block;max-width:100%;height:auto}.w-img-rounded{border-radius:6px}.w-img-thumbnail{padding:4px;line-height:1w-42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0w-2s ease-in-out;-o-transition:all 0w-2s ease-in-out;transition:all 0w-2s ease-in-out;display:inline-block;max-width:100%;height:auto}.w-img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.w-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.w-sr-only-focusable:active,.w-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-container,.w-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}[role=button]{cursor:pointer}@media (min-width:768px){.w-container{width:750px}}@media (min-width:992px){.w-container{width:970px}}@media (min-width:1200px){.w-container{width:1170px}}.w-row{margin-left:-15px;margin-right:-15px}.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{float:left}.w-col-xs-12{width:100%}.w-col-xs-11{width:91.66666667%}.w-col-xs-10{width:83.33333333%}.w-col-xs-9{width:75%}.w-col-xs-8{width:66.66666667%}.w-col-xs-7{width:58.33333333%}.w-col-xs-6{width:50%}.w-col-xs-5{width:41.66666667%}.w-col-xs-4{width:33.33333333%}.w-col-xs-3{width:25%}.w-col-xs-2{width:16.66666667%}.w-col-xs-1{width:8w-33333333%}.w-col-xs-pull-12{right:100%}.w-col-xs-pull-11{right:91.66666667%}.w-col-xs-pull-10{right:83.33333333%}.w-col-xs-pull-9{right:75%}.w-col-xs-pull-8{right:66.66666667%}.w-col-xs-pull-7{right:58.33333333%}.w-col-xs-pull-6{right:50%}.w-col-xs-pull-5{right:41.66666667%}.w-col-xs-pull-4{right:33.33333333%}.w-col-xs-pull-3{right:25%}.w-col-xs-pull-2{right:16.66666667%}.w-col-xs-pull-1{right:8w-33333333%}.w-col-xs-pull-0{right:auto}.w-col-xs-push-12{left:100%}.w-col-xs-push-11{left:91.66666667%}.w-col-xs-push-10{left:83.33333333%}.w-col-xs-push-9{left:75%}.w-col-xs-push-8{left:66.66666667%}.w-col-xs-push-7{left:58.33333333%}.w-col-xs-push-6{left:50%}.w-col-xs-push-5{left:41.66666667%}.w-col-xs-push-4{left:33.33333333%}.w-col-xs-push-3{left:25%}.w-col-xs-push-2{left:16.66666667%}.w-col-xs-push-1{left:8w-33333333%}.w-col-xs-push-0{left:auto}.w-col-xs-offset-12{margin-left:100%}.w-col-xs-offset-11{margin-left:91.66666667%}.w-col-xs-offset-10{margin-left:83.33333333%}.w-col-xs-offset-9{margin-left:75%}.w-col-xs-offset-8{margin-left:66.66666667%}.w-col-xs-offset-7{margin-left:58.33333333%}.w-col-xs-offset-6{margin-left:50%}.w-col-xs-offset-5{margin-left:41.66666667%}.w-col-xs-offset-4{margin-left:33.33333333%}.w-col-xs-offset-3{margin-left:25%}.w-col-xs-offset-2{margin-left:16.66666667%}.w-col-xs-offset-1{margin-left:8w-33333333%}.w-col-xs-offset-0{margin-left:0}@media (min-width:768px){.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9{float:left}.w-col-sm-12{width:100%}.w-col-sm-11{width:91.66666667%}.w-col-sm-10{width:83.33333333%}.w-col-sm-9{width:75%}.w-col-sm-8{width:66.66666667%}.w-col-sm-7{width:58.33333333%}.w-col-sm-6{width:50%}.w-col-sm-5{width:41.66666667%}.w-col-sm-4{width:33.33333333%}.w-col-sm-3{width:25%}.w-col-sm-2{width:16.66666667%}.w-col-sm-1{width:8w-33333333%}.w-col-sm-pull-12{right:100%}.w-col-sm-pull-11{right:91.66666667%}.w-col-sm-pull-10{right:83.33333333%}.w-col-sm-pull-9{right:75%}.w-col-sm-pull-8{right:66.66666667%}.w-col-sm-pull-7{right:58.33333333%}.w-col-sm-pull-6{right:50%}.w-col-sm-pull-5{right:41.66666667%}.w-col-sm-pull-4{right:33.33333333%}.w-col-sm-pull-3{right:25%}.w-col-sm-pull-2{right:16.66666667%}.w-col-sm-pull-1{right:8w-33333333%}.w-col-sm-pull-0{right:auto}.w-col-sm-push-12{left:100%}.w-col-sm-push-11{left:91.66666667%}.w-col-sm-push-10{left:83.33333333%}.w-col-sm-push-9{left:75%}.w-col-sm-push-8{left:66.66666667%}.w-col-sm-push-7{left:58.33333333%}.w-col-sm-push-6{left:50%}.w-col-sm-push-5{left:41.66666667%}.w-col-sm-push-4{left:33.33333333%}.w-col-sm-push-3{left:25%}.w-col-sm-push-2{left:16.66666667%}.w-col-sm-push-1{left:8w-33333333%}.w-col-sm-push-0{left:auto}.w-col-sm-offset-12{margin-left:100%}.w-col-sm-offset-11{margin-left:91.66666667%}.w-col-sm-offset-10{margin-left:83.33333333%}.w-col-sm-offset-9{margin-left:75%}.w-col-sm-offset-8{margin-left:66.66666667%}.w-col-sm-offset-7{margin-left:58.33333333%}.w-col-sm-offset-6{margin-left:50%}.w-col-sm-offset-5{margin-left:41.66666667%}.w-col-sm-offset-4{margin-left:33.33333333%}.w-col-sm-offset-3{margin-left:25%}.w-col-sm-offset-2{margin-left:16.66666667%}.w-col-sm-offset-1{margin-left:8w-33333333%}.w-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9{float:left}.w-col-md-12{width:100%}.w-col-md-11{width:91.66666667%}.w-col-md-10{width:83.33333333%}.w-col-md-9{width:75%}.w-col-md-8{width:66.66666667%}.w-col-md-7{width:58.33333333%}.w-col-md-6{width:50%}.w-col-md-5{width:41.66666667%}.w-col-md-4{width:33.33333333%}.w-col-md-3{width:25%}.w-col-md-2{width:16.66666667%}.w-col-md-1{width:8w-33333333%}.w-col-md-pull-12{right:100%}.w-col-md-pull-11{right:91.66666667%}.w-col-md-pull-10{right:83.33333333%}.w-col-md-pull-9{right:75%}.w-col-md-pull-8{right:66.66666667%}.w-col-md-pull-7{right:58.33333333%}.w-col-md-pull-6{right:50%}.w-col-md-pull-5{right:41.66666667%}.w-col-md-pull-4{right:33.33333333%}.w-col-md-pull-3{right:25%}.w-col-md-pull-2{right:16.66666667%}.w-col-md-pull-1{right:8w-33333333%}.w-col-md-pull-0{right:auto}.w-col-md-push-12{left:100%}.w-col-md-push-11{left:91.66666667%}.w-col-md-push-10{left:83.33333333%}.w-col-md-push-9{left:75%}.w-col-md-push-8{left:66.66666667%}.w-col-md-push-7{left:58.33333333%}.w-col-md-push-6{left:50%}.w-col-md-push-5{left:41.66666667%}.w-col-md-push-4{left:33.33333333%}.w-col-md-push-3{left:25%}.w-col-md-push-2{left:16.66666667%}.w-col-md-push-1{left:8w-33333333%}.w-col-md-push-0{left:auto}.w-col-md-offset-12{margin-left:100%}.w-col-md-offset-11{margin-left:91.66666667%}.w-col-md-offset-10{margin-left:83.33333333%}.w-col-md-offset-9{margin-left:75%}.w-col-md-offset-8{margin-left:66.66666667%}.w-col-md-offset-7{margin-left:58.33333333%}.w-col-md-offset-6{margin-left:50%}.w-col-md-offset-5{margin-left:41.66666667%}.w-col-md-offset-4{margin-left:33.33333333%}.w-col-md-offset-3{margin-left:25%}.w-col-md-offset-2{margin-left:16.66666667%}.w-col-md-offset-1{margin-left:8w-33333333%}.w-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9{float:left}.w-col-lg-12{width:100%}.w-col-lg-11{width:91.66666667%}.w-col-lg-10{width:83.33333333%}.w-col-lg-9{width:75%}.w-col-lg-8{width:66.66666667%}.w-col-lg-7{width:58.33333333%}.w-col-lg-6{width:50%}.w-col-lg-5{width:41.66666667%}.w-col-lg-4{width:33.33333333%}.w-col-lg-3{width:25%}.w-col-lg-2{width:16.66666667%}.w-col-lg-1{width:8w-33333333%}.w-col-lg-pull-12{right:100%}.w-col-lg-pull-11{right:91.66666667%}.w-col-lg-pull-10{right:83.33333333%}.w-col-lg-pull-9{right:75%}.w-col-lg-pull-8{right:66.66666667%}.w-col-lg-pull-7{right:58.33333333%}.w-col-lg-pull-6{right:50%}.w-col-lg-pull-5{right:41.66666667%}.w-col-lg-pull-4{right:33.33333333%}.w-col-lg-pull-3{right:25%}.w-col-lg-pull-2{right:16.66666667%}.w-col-lg-pull-1{right:8w-33333333%}.w-col-lg-pull-0{right:auto}.w-col-lg-push-12{left:100%}.w-col-lg-push-11{left:91.66666667%}.w-col-lg-push-10{left:83.33333333%}.w-col-lg-push-9{left:75%}.w-col-lg-push-8{left:66.66666667%}.w-col-lg-push-7{left:58.33333333%}.w-col-lg-push-6{left:50%}.w-col-lg-push-5{left:41.66666667%}.w-col-lg-push-4{left:33.33333333%}.w-col-lg-push-3{left:25%}.w-col-lg-push-2{left:16.66666667%}.w-col-lg-push-1{left:8w-33333333%}.w-col-lg-push-0{left:auto}.w-col-lg-offset-12{margin-left:100%}.w-col-lg-offset-11{margin-left:91.66666667%}.w-col-lg-offset-10{margin-left:83.33333333%}.w-col-lg-offset-9{margin-left:75%}.w-col-lg-offset-8{margin-left:66.66666667%}.w-col-lg-offset-7{margin-left:58.33333333%}.w-col-lg-offset-6{margin-left:50%}.w-col-lg-offset-5{margin-left:41.66666667%}.w-col-lg-offset-4{margin-left:33.33333333%}.w-col-lg-offset-3{margin-left:25%}.w-col-lg-offset-2{margin-left:16.66666667%}.w-col-lg-offset-1{margin-left:8w-33333333%}.w-col-lg-offset-0{margin-left:0}}.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before{content:" ";display:table}.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after{clear:both}.w-center-block{display:block;margin-left:auto;margin-right:auto}.w-pull-right{float:right!important}.w-pull-left{float:left!important}.w-hide{display:none!important}.w-show{display:block!important}.w-invisible{visibility:hidden}.w-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.w-hidden{display:none!important}.w-affix{position:fixed}.mec-image-popup-wrap{display:none}#wns-be-infobar.sticky{position:fixed;top:32px;background:#fff;z-index:999;width:82%}.wns-be-main .wns-saved-settings.sticky{position:fixed;width:62.5%;top:111px;z-index:999999999999999999}textarea.mec-import-settings-content{display:block;width:100%;min-height:120px;margin-bottom:25px;padding:10px 15px}.mec-import-options-notification{display:inline-block}.mec-import-options-notification .mec-message-import-error,.mec-import-options-notification .mec-message-import-success{display:inline-block;padding:15px 12px;margin-left:12px;opacity:0;visibility:hidden;font-weight:700}.mec-import-options-notification .mec-message-import-success{opacity:1;visibility:visible;border:2px solid green}.mec-import-options-notification .mec-message-import-error{opacity:1;visibility:visible;border:2px solid #e62117}.mec-export-settings:focus,.mec-import-settings:focus{color:#fff}.mec-import-settings-wrap{position:relative}.mec-loarder-wrap{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(202,202,202,.7);z-index:9999}.mec-loarder-wrap.mec-settings-loader{top:34px}.mec-loarder{position:absolute;width:64px;height:64px;top:calc(50% - 32px);left:calc(50% - 36px)}.mec-loarder div{display:inline-block;position:absolute;left:6px;width:4px;background:#fff;animation:mec-loarder 1.2s cubic-bezier(0,.5,.5,1) infinite}.mec-loarder div:nth-child(1){left:27px;animation-delay:-.24s;background:#0075ff}.mec-loarder div:nth-child(2){left:36px;animation-delay:-.12s;background:#028bff}.mec-loarder div:nth-child(3){left:45px;animation-delay:0;background:#32a0ff}@keyframes mec-loarder{0%{top:6px;height:51px}100%,50%{top:19px;height:26px}}.w-box.support-page.searchbox{background:#40d8f0;color:#fff;min-height:260px;text-align:center;border-radius:11px}#webnus-dashboard .search-form input{background:rgba(255,255,255,.2);border:none;width:50%;outline:0;color:rgba(255,255,255,.7);font-size:18px;border-radius:4px 0 0 4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.03);-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s;padding:20px 32px;margin:0}#webnus-dashboard .search-form button{background:rgba(255,255,255,.2);border:none;padding:20px 32px;margin-left:-2px;color:#fff;border-radius:0 4px 4px 0;font-size:18px;cursor:pointer;-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s}#webnus-dashboard .search-form button:hover{background:#fff;color:#3a3c4c}.w-box.support-page.searchbox p{font-size:30px}.search-form input::-webkit-input-placeholder{color:rgba(255,255,255,.7)}.search-form input::-moz-placeholder{color:rgba(255,255,255,.7)}.search-form input:-ms-input-placeholder{color:rgba(255,255,255,.7)}.search-form input:-moz-placeholder{color:rgba(255,255,255,.7)}#webnus-dashboard .search-form input:active,#webnus-dashboard .search-form input:focus{box-shadow:0 10px 20px rgba(0,0,0,.14);background:#fff;color:#3a3c4c}#webnus-dashboard .search-form input:active::-webkit-input-placeholder,#webnus-dashboard .search-form input:focus::-webkit-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active::-moz-placeholder,#webnus-dashboard .search-form input:focus::-moz-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-ms-input-placeholder,#webnus-dashboard .search-form input:focus:-ms-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-moz-placeholder,#webnus-dashboard .search-form input:focus:-moz-placeholder{color:#3a3c4c}#webnus-dashboard .w-box.support-page.mec-ticksy{text-align:center;min-height:260px}#webnus-dashboard .w-box.support-page.mec-ticksy p{font-size:20px;width:70%;margin:0 auto;margin-bottom:40px;margin-top:40px}#webnus-dashboard .support-box a,#webnus-dashboard .w-box.support-page.mec-ticksy a{color:#fff;font-weight:500;border-radius:50px;text-shadow:none;background:#40d8f0;border:none;transition:.24s;padding:12px 30px;cursor:pointer;margin-bottom:40px;display:inline-block}#webnus-dashboard .support-box a:hover,#webnus-dashboard .w-box.support-page.mec-ticksy a:hover{background:#222;box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}#webnus-dashboard .support-box a{margin:40px 4px 0 4px}.mec-faq-accordion>.mec-faq-accordion-content{display:none}#webnus-dashboard .mec-faq-accordion-trigger a{font-size:15px;padding:15px;background:#f0f1f2;display:block;color:#222;line-height:17px;outline:0;border-radius:8px}.mec-faq-accordion-trigger{margin-bottom:5px;position:relative}#webnus-dashboard .mec-faq-accordion-trigger a:after{font-family:simple-line-icons;content:"\e095";position:absolute;right:12px;font-weight:700}.mec-faq-accordion-content{padding:5px 14px 25px}#webnus-dashboard .mec-faq-accordion-trigger a.active:after{content:"\e082"}#webnus-dashboard .support-page-links a{color:#fff;border-radius:50px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase;transition:all .2s ease}#webnus-dashboard .support-page-links a:hover,#webnus-dashboard .w-box.support-page.videobox .w-button a:hover{background:#222;box-shadow:0 2px 5px -1px rgba(0,0,0,.1)}#webnus-dashboard .support-page-links{display:inline-block;margin:12px 4px 16px 0}.support-page-links.link-to-doc a{background:#d09d5f}.support-page-links.link-to-videos a{background:#ff876c}.support-page-links.link-to-articles a{background:#69ca8a}.w-box.support-page.articles-box .w-box-content a{display:block;padding:6px 0}#webnus-dashboard .w-box.support-page.videobox .w-button a{color:#fff;font-size:10px;padding:5px 15px;min-height:10px;font-weight:500;border-radius:22px;box-shadow:0 3px 10px -9px #ff5a35;text-shadow:none;background:#ff876c;border:none;transition:.24s}.w-box.support-page.articles-box,.w-box.support-page.faq-box{min-height:500px}.w-box.support-page.videobox{border-radius:11px;min-height:282px;box-shadow:0 1px 2px rgba(0,0,0,.01)!important}.w-box.support-page.videobox .w-box-content{padding:15px}.w-box.support-page.videobox .w-box-head{font-size:15px;text-align:center;padding:20px 0 0}#webnus-dashboard .w-box.support-page.videobox .w-button a i{margin-right:6px}.support-page .w-box-content ul{margin-top:5px;padding-left:5px}.support-page .w-box-content ul li{font-size:13px}.support-page .w-box-content ul li i{font-size:13px;vertical-align:text-bottom;margin-right:3px;color:#40d8f0}.w-box.mec-activation{background:#fff url(../img/dp-dsb-support.jpg) no-repeat top right}.w-box.mec-activation .w-box-head{width:75%}.w-box.mec-activation .w-box-content{padding:10px 30px}.w-box.mec-activation input[type=radio]{display:none}.w-box.mec-activation input[type=radio]+label{color:#000;font-size:13px;line-height:14px!important;color:#7b7b7b}.w-box.mec-activation input[type=radio].checked+label{color:#40d8f0}.mec-form-row input[type=radio],.w-box.mec-activation input[type=radio]+label span{display:inline-block;margin:-2px 6px 0 0;vertical-align:middle;cursor:pointer;height:22px;width:22px;text-align:center;background-color:#fff;border:2px solid #e1e2e3;border-radius:100%;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;transition:all .3s ease}.mec-form-row input[type=radio]:checked,.w-box.mec-activation input[type=radio].checked+label span{border-color:#afebf5}.mec-form-row input[type=radio]:before,.w-box.mec-activation input[type=radio]+label span:after{content:'';display:block;margin:0;position:absolute;top:4px;left:4px;width:10px;height:10px;background:0 0;border-radius:100%;transition:all .2s ease;transform:scale(.1)}.mec-form-row input[type=radio]:checked:before,.w-box.mec-activation input[type=radio].checked+label span:after{background:#38d5ed;transform:scale(1)}.w-box.mec-activation .LicenseType label{padding-right:20px;font-weight:500}.w-box.mec-activation .LicenseField{display:inline-block;position:relative;margin-top:20px}.w-box.mec-activation input[name=MECPurchaseCode]{box-shadow:inset 0 1px 2px rgba(0,0,0,.07);min-width:220px;background:#f7f8f9;border:none;border-radius:33px;width:500px;min-height:50px;margin:0;padding-left:20px;text-align:left}#webnus-dashboard .w-box.mec-activation input[type=submit]{height:40px;line-height:40px;font-weight:600;border:none;cursor:pointer;padding:0 30px;border-radius:33px;color:#fff;letter-spacing:1px;text-transform:uppercase;font-size:12px;text-shadow:none;background:#64e385;transition:all .28s ease;position:absolute;right:5px;top:5px;font-size:12px}#webnus-dashboard .w-box.mec-activation input[type=submit]:hover{background:#45ce68}#MECActivation .MECPurchaseStatus,.addon-activation-form .MECPurchaseStatus{display:inline-block;width:40px;height:40px;text-align:center;padding-top:9px;color:#fff;font-weight:700;font-size:18px;border-radius:50%;padding-top:8px;position:absolute;right:-51px;top:calc(50% - 20px)}.MECPurchaseStatus:after,.MECPurchaseStatus:before{position:absolute;border-radius:50px;background:#fff;content:'';transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:before{width:22px;height:4px;right:9px;top:18px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:after{width:22px;height:4px;right:9px;top:18px;transform:rotate(-45deg)}.MECPurchaseStatus.PurchaseSuccess:before{width:13px;height:4px;right:19px;top:21px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseSuccess:after{width:22px;height:4px;right:5px;top:18px;transform:rotate(-45deg)}#MECActivation .MECPurchaseStatus.PurchaseError,.addon-activation-form .MECPurchaseStatus.PurchaseError{background:#ff876c}#MECActivation .MECPurchaseStatus.PurchaseSuccess,.addon-activation-form .MECPurchaseStatus.PurchaseSuccess{background:#64e385}.wna-spinner-wrap{position:absolute;background:#000;width:509px;height:64px;top:-8px;border-radius:50px;z-index:999;background-color:#fff;opacity:.9}.wna-spinner{width:40px;height:40px;position:relative;margin:6px auto}.wna-spinner .double-bounce1,.wna-spinner .double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#40d8f0;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s infinite ease-in-out;animation:sk-bounce 2s infinite ease-in-out}.wna-spinner .double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}#MECActivation .MECLicenseMessage,.addon-activation-form .MECLicenseMessage{margin-top:24px;color:#f64;max-width:570px}.box-addon-activation-toggle-content,.box-addon-activation-toggle-head{display:none}.addon-activation-form h3{font-size:15px;font-weight:400;margin:34px 0 -7px}.box-addon-activation-toggle-head{line-height:1.5;font-size:16px;margin-top:20px;cursor:pointer}.box-addon-activation-toggle-head i{margin-right:7px;cursor:pointer;font-weight:700}#mec-advanced-wraper div:first-child>ul{display:block;margin:5px 0;padding:5px 0;width:390px;border:1px solid #e1e2e3;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.05)}#mec-advanced-wraper div:first-child>ul span{display:none}#mec-advanced-wraper div:first-child>ul *{display:inline-block;background:#fff;font-size:12px;color:#717273;text-align:center}#mec-advanced-wraper div:first-child>ul>li{width:60px;font-weight:700;margin:0 10px 0 0;padding:4px 0;border-right:1px solid #e1e2e3}#mec-advanced-wraper div:first-child>ul>ul>li{margin:0;padding:2px 10px;cursor:pointer;border-radius:2px;transition:all .18s ease}#mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-active{background:#07bbe9!important;color:#fff!important}@-webkit-keyframes sk-bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.w-col-sm-3 .w-box.addon{min-height:372px;text-align:center;border-radius:9px;box-shadow:0 1px 2px 0 rgb(0 0 0 / 1%)}.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:33.33%;clear:none!important;min-height:380px}@media (min-width:768px) and (max-width:1281px){.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:50%}}@media (max-width:767px){.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:100%}}.w-box-child.mec-addon-box{padding:0}.mec-addon-box-head{border-bottom:1px solid #f7f8f9;padding:20px 20px 8px;margin-bottom:14px;position:relative}.mec-addon-box-version{position:relative;border-radius:1px;padding:0 8px;font-family:monospace;background:#f4f7f7;color:#00a1b7;font-size:11px;letter-spacing:.2px;line-height:21px;display:inline-block;margin:10px 0}.mec-addon-box-head img{display:block;width:100%;height:60px;margin-bottom:10px;margin-top:10px}.mec-addon-box-title{font-weight:600;font-size:18px;line-height:36px;color:#27272a;letter-spacing:-.2px}.mec-addon-box-title a span{color:#444;font-size:15px}.mec-addon-box-content{padding:0 20px}.mec-addon-box-content p{color:#6e757b;font-size:14px;letter-spacing:.1px}.mec-addon-box-mec-version{background:#f3f3f3;padding:10px;font-size:13px}.mec-addon-box-pro{display:inline-block;background:#ff7d5f;color:#fff;font-weight:600;font-size:11px;letter-spacing:.2px;line-height:21px;padding:0 8px;border-radius:3px}#webnus-dashboard .addons-page-links{display:inline-block;margin:12px 4px 16px 0}#webnus-dashboard .addons-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}.addons-page-links.link-to-purchase a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.addons-page-links.link-to-install-addons a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}#webnus-dashboard .addons-page-links a:hover,#webnus-dashboard .w-box.addons-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.mec-addon-box-footer{background:#f7f8f9;border-radius:0 0 9px 9px;padding:10px 1px 8px;margin-top:25px;text-align:center;position:absolute;left:0;right:0;bottom:0}#webnus-dashboard .mec-addon-box-footer a{margin-top:10px;display:inline-block;text-shadow:none;border:none;transition:.24s;position:relative;margin-right:7px;font-size:12px;font-weight:500;border-radius:8px;padding:9px 18px 8px;width:53px;height:34px;line-height:21px;background:0 0;margin:0;box-shadow:none}#webnus-dashboard .mec-addon-box-footer a:last-of-type{margin-right:0}#webnus-dashboard .mec-addon-box-footer a.mec-addon-box-intro:hover{background-color:#ff3535;background:linear-gradient(95deg,#ff6c6c 0,#f55 50%,#ff3535 100%)}#webnus-dashboard .mec-addon-box-footer a:hover{background:#00cae6;cursor:pointer!important}#webnus-dashboard .mec-addon-box-footer a i{color:#00cae6;font-size:16px}#webnus-dashboard .mec-addon-box-footer a:hover i{color:#fff}#mec_tickets .mec-box{position:relative;padding:25px 10px}#mec_fees_list input[type=text].mec-col-12,#mec_ticket_variations_list input[type=text].mec-col-12{max-width:625px}#taxes_option .mec-form-row input[type=text].mec-col-12,#ticket_variations_option input[type=text].mec-col-12{max-width:575px}.mec-booking-tab-content .mec-form-row textarea{max-width:762px}#mec_tickets .button.remove{padding:0;min-height:28px;height:28px;width:28px;margin:0;border-radius:50%;position:absolute;top:20px;right:20px;color:#fff;box-shadow:none;background:#fff;border-color:#e3e4e5;font-size:20px;line-height:1.5}#mec_tickets .button.remove svg{fill:#ea6485!important}#mec_tickets .button.remove:hover{color:#fff;border-color:#ea6485;background:#ea6485}#mec_tickets .button.remove:hover svg{fill:#fff!important}@media(max-width:480px){#mec_tickets .button.remove{top:5px;right:5px}}.mec-ticket-id{font-size:12px;line-height:12px;font-weight:400;color:#07bbe9;padding:0 0 8px;margin-top:-6px;margin-bottom:14px;cursor:default}.mec-ticket-end-time.mec-col-12 .mec-time-span,.mec-ticket-start-time.mec-col-12 .mec-time-span{min-width:80px;display:inline-block}.mec-ticket-start-time{margin-bottom:20px}.mec-ticket-time{min-width:69px;display:inline-block}.mec-stop-selling-tickets{min-width:185px}#mec_meta_box_hourly_schedule_days .mec-form-row input[type=text],#mec_meta_box_tickets_form .mec-form-row input[type=text]{max-width:290px}@media(max-width:1366px){#mec_meta_box_hourly_schedule_days .mec-box.mec-form-row input[type=text]{max-width:150px;min-width:110px}}#mec_exceptions_not_in_days_date{width:100%}#mec-event-data input[type=date],#mec-event-data input[type=email],#mec-event-data input[type=tel],#mec-event-data input[type=text],#mec-event-data input[type=url],#mec-event-data select,#mec-event-data textarea,#mec_exceptions_not_in_days_date,#mec_meta_box_date_form input[type=text],#mec_select_tags.mec-create-shortcode-tab-content input[type=text],#mec_settings_weather_module_api_key{max-width:290px}#mec-event-data input[type=text].mec_date_picker.mec-col-4 #mec_meta_box_calendar_skin_options input[type=text].mec_date_picker.mec-col-4{max-width:32.33333333%}#payment_gateways_option .mec-col-4 input[type=number],#payment_gateways_option .mec-col-4 input[type=text],#payment_gateways_option .mec-col-4 select,#payment_gateways_option .mec-col-4 textarea{width:90%}.mec-form-repeating-event-row .mec-col-6 input[type=text]{width:35%}.addons-page-error,.addons-page-notice{display:block;margin-top:15px;margin-bottom:0;background:#fff;border-left:4px solid #00a0d2;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.addons-page-error p,.addons-page-notice p{margin:.5em 0;padding:2px;font-size:13px}.addons-page-error{border-left-color:#dc3232}.mec-addon-box-comingsoon{background:transparent padding: 8px 11px;color:#5a5a5a;font-size:14px;font-weight:500;text-align:center}.mec-addons .w-row .w-col-sm-3:nth-child(4n+1){clear:left}@media (min-width:960px){#webnus-dashboard .mec-addon-box-footer .w-button{text-align:right}}@media (min-width:1401px){.mec-addon-box-title a span{font-size:17px}}.mec-pro-notice{margin-top:24px;line-height:30px}.mec-pro-notice .info-msg{padding:50px 30px;margin-bottom:0}#webnus-dashboard .mec-pro-notice .info-msg{background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / 1%);text-align:center;color:#55595d}#webnus-dashboard a.info-msg-link{background:#e66f52;background:linear-gradient(95deg,#ff8162 0,#e66f52 50%,#ff4c20 100%);box-shadow:0 5px 10px -5px #e66f52;border-radius:2px;padding:12px 50px;font-size:16px;line-height:24px;border:none;margin:20px auto 0;color:#fff;transition:all .3s ease;display:inline-block}#webnus-dashboard a.info-msg-link:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}#webnus-dashboard .info-msg p{width:70%;margin:0 auto;line-height:1.8}#webnus-dashboard .info-msg-coupon{font-size:13px;color:#777;max-width:600px;line-height:1.68;margin:25px auto 0}#webnus-dashboard .info-msg-coupon strong{font-weight:700;color:#19ce18}.info-msg .socialfollow{padding-top:20px}.info-msg .socialfollow a{margin:0 2px;display:inline-block}.info-msg .socialfollow a i{background:#96a4b1;color:#fff;padding:6px;border-radius:3px;font-size:18px;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:all .25s}.info-msg .socialfollow a:hover i{background:#008aff}.mec-intro-section .w-box-content{text-align:center}.mec-intro-section .w-box-content.mec-intro-section-welcome{max-width:600px;margin:0 auto}.mec-intro-section .w-box-content.mec-intro-section-welcome h3{font-size:26px}a.mec-intro-section-link-tag.button.button-hero{margin:0 10px 40px}a.mec-intro-section-link-tag.button.button-primary.button-hero{color:#fff!important}a.mec-intro-section-link-tag.button.button-secondary.button-hero{color:#1dbfd8!important}.mec-intro-section-ifarme iframe{border:1px solid #e7e7e7;border-radius:9px;padding:15px;box-shadow:0 3px 10px -6px rgb(0 0 0 / 12%)}.w-box-content.mec-intro-section-welcome p{margin-bottom:0}.mec-tooltip a:focus{box-shadow:none}#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields{padding-bottom:150px!important}#mec_taxes_fees_container_toggle{margin-bottom:60px}#mec_taxes_fees_container_toggle{margin-bottom:60px}.wns-be-sidebar li{position:relative}.wns-be-sidebar li .submneu-hover{position:absolute;top:-1px;right:-222px;width:220px;z-index:9;background:#fff;border:1px;border-style:solid;border-color:#dedede;margin:0;overflow:visible;opacity:0;visibility:hidden;transition:all .23s ease;padding-top:8px;padding-bottom:12px}.wns-be-sidebar li:hover .submneu-hover{opacity:1;visibility:visible}.wns-be-sidebar li .submneu-hover a{background:#fff;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 26px}.wns-be-sidebar li .submneu-hover a:hover{background:#f6f6f6;color:#222}.wns-be-sidebar li .submneu-hover:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-15px;top:14px;border-right-color:#c5c5c5;right:0}.wns-be-sidebar li .submneu-hover:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-14px;top:14px}.wns-be-sidebar li a:focus,.wns-be-sidebar li:focus{outline:-webkit-focus-ring-color auto 0;border:0;box-shadow:none}@media (max-width:480px){.wns-be-sidebar li .submneu-hover{width:175px;right:0}.wns-be-sidebar li .submneu-hover a{font-size:11px;padding:5px 5px 5px 20px}}.mec-tooltip:hover:after,.mec-tooltip:hover:before{display:none}.mec-tooltip{display:inline-flex;bottom:7px}.mec-tooltip .box{min-width:300px;max-width:600px;display:inline-block;left:26px;top:50%;transform:translateY(-50%);padding:0;margin-top:8px;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;position:absolute;z-index:9999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{color:#fff;font-size:14px;line-height:1.3;margin:0;font-style:normal}.mec-tooltip:hover .box{visibility:visible;opacity:1}.mec-tooltip:hover .box{padding:20px;border-radius:8px}.mec-tooltip .box h5{color:#fff;font-size:17px;font-weight:600;margin:-30px -20px;padding:15px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #30353a;border-radius:6px 6px 0 0;z-index:9999}#webnus-dashboard .mec-tooltip .box p a,.mec-tooltip .box p a{color:#40d9f1;margin-top:10px;margin-left:0;font-weight:400;position:relative;text-decoration:none;display:block;width:max-content}.mec-tooltip .box a:hover{color:#f90}.mec-tooltip .box:after{display:block;position:absolute!important;top:100%!important;right:50%!important;margin-top:-6px!important;margin-right:-6px!important;width:12px!important;height:24px!important;overflow:hidden!important;transform:rotate(-90deg)!important}.mec-tooltip .box:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-tooltip .box.top{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.top:after{top:50%!important;right:100%!important}.mec-tooltip .box.top:before{left:50%!important;top:100%!important}.mec-tooltip .box.bottom{left:50%;top:auto;bottom:0;transform:translate(-50%,100%);margin-bottom:-20px;margin-left:-10px}.mec-tooltip .box.bottom:after{top:0!important;right:50%!important;background-color:#3a3f44!important}.mec-tooltip .box.bottom:before{left:50%!important;top:-7px!important;transform:translateX(-50%);background-color:#3a3f44!important}.mec-tooltip .box.left{left:auto;right:26px;top:50%;transform:translateY(-50%)}.mec-tooltip .box.left:before{right:0!important;left:auto!important;top:50%!important}form#mec_reg_fields_form input[type=radio]:before{content:"";display:inline-block;background:#fff;border-radius:18px;width:14px;height:14px;margin:-1px 0 0 -2px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32)}form#mec_reg_fields_form input[type=radio]:checked:before{border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff;width:4px;height:4px}form#mec_reg_fields_form input[type=radio]{min-height:0;margin-right:6px}form#mec_reg_fields_form label{margin-right:20px}@media(min-width:1200px) and (max-width:1366px){.mec-tooltip .box{min-width:290px}.mec-tooltip .box h5{font-size:15px}.mec-tooltip .box .content{font-size:12px}}@media(max-width:1366px){.wns-be-container .wns-be-group-tab p{margin-top:0}}.mec-addons-notification-box-wrap .w-col-sm-12,.mec-cmsg-notification-box-wrap .w-col-sm-12{padding:0}.mec-addons-notification-box-wrap img{width:auto}.mec-addons-notification-box-image{width:555px;display:inline-block;vertical-align:top}.mec-addons-notification-box-content{width:calc(100% - 559px);display:inline-block}.mec-addons-notification-box-content p{margin-top:1%;line-height:1.5;font-size:16px}.mec-addons-notification-box-content .w-box-content{padding-top:0;padding-bottom:0}.mec-addons-notification-box-content ol{font-size:16px}.mec-addons-notification-box-content a{background:#38d5ed;color:#fff!important;padding:10px 26px;margin-top:5px;display:inline-block;border-radius:3px;text-transform:capitalize;font-size:16px;letter-spacing:.4px;transition:all .1s ease;font-weight:600;text-decoration:none}.mec-addons-notification-box-content a:hover{background:#000}.w-clearfix.w-box.mec-addons-notification-box-wrap span,.w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span,.w-clearfix.w-box.mec-cmsg-notification-box-wrap span{right:0;left:unset;cursor:pointer;background:0 0;padding:0 16px}.w-clearfix.w-box.mec-addons-notification-box-wrap span i,.w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span i,.w-clearfix.w-box.mec-cmsg-notification-box-wrap span i{font-size:28px;vertical-align:sub;color:#f2113e}.mec-custom-msg-notification-wrap,.wns-be-container .mec-addons-notification-wrap{padding:0;margin:0}.mec-custom-msg-notification-wrap .w-col-sm-12,.wns-be-container .mec-addons-notification-wrap .w-col-sm-12{padding:0}.wns-be-container .w-box{margin-top:0}.wns-be-container.mec-addons-notification-set-box{margin-right:15px;margin-top:50px;margin-bottom:27px}@media(max-width:1200px){.mec-addons-notification-box-content,.mec-addons-notification-box-image{width:100%;display:block}.mec-addons-notification-box-image{text-align:center}}@media(max-width:768px){.mec-addons-notification-box-image img{width:100%;height:auto}}.mec-details-addons-container{margin-top:20px}.mec-details-addons-wrap img{float:left;width:19%;margin-right:17px}.mec-details-addons-wrap{clear:both;margin-bottom:80px;display:block;position:relative}.mec-details-addons-wrap a{text-decoration:none}.mec-details-addons-wrap p{float:left;width:340px;margin-top:0;margin-bottom:30px}.mec-details-addons-title{font-weight:700}.mec-details-addons-title a{color:#444}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx{border-radius:10px!important;box-shadow:0 4px 38px rgba(0,0,0,.14)!important}body .crisp-client .crisp-1rjpbb7 .crisp-13qutdl,body .crisp-client .crisp-1rjpbb7 .crisp-13qutdl *,body .crisp-client .crisp-1rjpbb7 .crisp-9dgo7z,body .crisp-client .crisp-1rjpbb7 .crisp-9dgo7z *{font-family:proxima-nova,-apple-system,BlinkMacSystemFont,"Segoe UI",Catamaran,sans-serif!important}body .crisp-client .crisp-1rjpbb7 .crisp-145mbcr,body .crisp-client .crisp-1rjpbb7 .crisp-1jrqqbm:hover{background-color:#fff!important}body .crisp-client .crisp-1rjpbb7 .crisp-14u434g{border-color:#e7e8e9!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-1bkorcf .crisp-1vzg1qq{font-size:20px!important;width:14px!important;height:19px!important;opacity:.85}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-1bkorcf .crisp-1vzg1qq:hover{opacity:.99}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-1sps3eb .crisp-1vd2grm .crisp-12w4w1a{font-size:13px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-1sps3eb .crisp-1vd2grm .crisp-12w4w1a::-webkit-input-placeholder{color:#717273!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=visitor] .crisp-z89v5n .crisp-162m9xf{background-color:#008aff!important;color:#fff!important;box-shadow:none!important;border-radius:5px!important;padding:15px 25px 15px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=visitor] .crisp-z89v5n .crisp-162m9xf .crisp-1o2g4mc{color:#fff!important;font-size:13px!important;letter-spacing:.3px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-z89v5n .crisp-162m9xf{background-color:#f1f2f3!important;border-radius:5px!important;padding:15px 25px 15px!important;box-shadow:none!important;color:#121314!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-type=audio] .crisp-z89v5n .crisp-162m9xf{background-color:#d1d7dc!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=operator] .crisp-z89v5n .crisp-1o2g4mc{color:#121314!important;-webkit-text-fill-color:#121314!important;font-size:13px!important;letter-spacing:.3px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-mkirz6 .crisp-12qaym5 .crisp-39hskb{opacity:.4;margin-right:5px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-mkirz6 .crisp-12qaym5 .crisp-ehr6mw{opacity:.68;font-size:12px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg{background-image:linear-gradient(125deg,#008aff -10%,#0066b1 100%)!important;height:110px!important;padding-top:35px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-1uw6f17,body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-85evuk,body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-nu40j6{font-size:17px!important;line-height:28px!important;padding-top:10px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-kquevr .crisp-x94m06{background-color:#008aff!important;background-image:linear-gradient(125deg,#008aff -10%,#008af0 100%)!important;box-shadow:0 5px 34px -6px #008aff!important}body .crisp-client .crisp-1rjpbb7 .crisp-4oo1n4{background-color:transparent!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx[data-chat-status=ongoing] .crisp-1784wh6 .crisp-1xmtdlg .crisp-172kolj{margin-top:-10px!important}body .crisp-client .crisp-1rjpbb7[data-last-operator-face=false] .crisp-1rf4xdh .crisp-kquevr .crisp-x94m06 .crisp-16qgsyi .crisp-101bp3x[data-is-ongoing=false]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1OCIgaGVpZ2h0PSI1NSIgdmlld0JveD0iMCAwIDU4IDU1Ij4NCiAgPGcgaWQ9ImNoYXQtc3ZncmVwby1jb21fMV8iIGRhdGEtbmFtZT0iY2hhdC1zdmdyZXBvLWNvbSAoMSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuNSkiPg0KICAgIDxwYXRoIGlkPSJQYXRoXzEiIGRhdGEtbmFtZT0iUGF0aCAxIiBkPSJNMjksMS41YzE2LjAxNiwwLDI5LDExLjY0MSwyOSwyNmEyNC4wMSwyNC4wMSwwLDAsMS00LjgsMTQuMzE4Yy40LDQuNzQ1LDEuNTQyLDExLjQyOCw0LjgsMTQuNjgyLDAsMC05Ljk0My0xLjQtMTYuNjc3LTUuNDYybC0uMDIyLjAwOWMtMi43NjQtMS44LTUuNTMyLTMuNjU2LTYuMS00LjEyNmExLDEsMCwwLDAtMS4zMy0uMjc3LDEuMDE3LDEuMDE3LDAsMCwwLS40ODkuODQ4Yy0uMDEuNjIyLjAwNS43ODQsNS41ODUsNC40MjFBMzEuOTE0LDMxLjkxNCwwLDAsMSwyOSw1My41Yy0xNi4wMTYsMC0yOS0xMS42NDEtMjktMjZTMTIuOTg0LDEuNSwyOSwxLjVaIiBmaWxsPSIjZmZmIi8+DQogICAgPGNpcmNsZSBpZD0iRWxsaXBzZV8xIiBkYXRhLW5hbWU9IkVsbGlwc2UgMSIgY3g9IjMiIGN5PSIzIiByPSIzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiAyNC41KSIgZmlsbD0iIzAwOGFmZiIvPg0KICAgIDxjaXJjbGUgaWQ9IkVsbGlwc2VfMiIgZGF0YS1uYW1lPSJFbGxpcHNlIDIiIGN4PSIzIiBjeT0iMyIgcj0iMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjYgMjQuNSkiIGZpbGw9IiMwMDhhZmYiLz4NCiAgICA8Y2lyY2xlIGlkPSJFbGxpcHNlXzMiIGRhdGEtbmFtZT0iRWxsaXBzZSAzIiBjeD0iMyIgY3k9IjMiIHI9IjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQwIDI0LjUpIiBmaWxsPSIjMDA4YWZmIi8+DQogIDwvZz4NCjwvc3ZnPg0K)!important;height:31px!important;top:16px!important;left:14px!important}body .csh-category-item a h6{text-align:left}.mec-form-row.mec-syn-schedule{background:#fff;padding:20px;border:1px solid #eee;margin-bottom:10px;border-radius:3px}.mec-form-row.mec-syn-schedule p{padding-left:26px}.mec-form-row.mec-syn-schedule h2{margin-top:0}.mec-form-row.mec-syn-schedule h4{margin:10px 0}li.wns-be-group-menu-li.mec-settings-menu .mec-settings-submenu{position:absolute;top:-1px;right:-222px;width:220px;z-index:9;background:#fff;border:1px;border-style:solid;border-color:#e6e9eb;margin:0;overflow:visible;opacity:0;visibility:hidden;transition:all .23s ease;padding-top:8px;padding-bottom:12px;border-radius:0 2px 2px 0;box-shadow:0 2px 4px rgba(0,0,0,.03)}li.wns-be-group-menu-li.mec-settings-menu:hover>.mec-settings-submenu{visibility:visible;opacity:1}.mec-settings-menu .mec-settings-submenu:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-15px;top:14px;border-right-color:#d6d9db;right:0}.mec-settings-menu .mec-settings-submenu:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-14px;top:14px}.wns-be-sidebar .mec-settings-menu .mec-settings-submenu a{background:#fff;color:#666c75;opacity:1;font-size:13px;font-weight:400;padding:6px 4px 5px 26px}.wns-be-sidebar .mec-settings-menu .mec-settings-submenu a:hover{color:#000;background:#f7f8f9}.mec-form-row.mec-skin-countdown-date-format-container input[type=text],.mec-form-row.mec-skin-grid-date-format-container input[type=text],.mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-skin-options-container input[type=text]{max-width:unset}.wn-mec-select{width:32.33333333%!important;clear:unset!important}.wn-mec-select{-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:3px;border:1px solid #ddd;margin-bottom:8px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07)}.wn-mec-select:hover{border-color:#dbdbdb}.wn-mec-select.open .list{overflow:unset;width:100%;margin:0}.wn-mec-select .list{background-color:#fff;border-radius:2px;box-shadow:0 2px 33px -2px rgba(0,0,0,.2),inset 0 1px 2px rgba(0,0,0,.07);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.wn-mec-select{-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:auto}.wn-mec-select:hover{border-color:#dbdbdb}.wn-mec-select:after{border-bottom:2px solid #999;border-right:2px solid #999;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:12px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.wn-mec-select.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.wn-mec-select.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.wn-mec-select.disabled{border-color:#ededed;color:#999;pointer-events:none}.wn-mec-select.disabled:after{border-color:#ccc}.wn-mec-select.wide{width:100%}.wn-mec-select.wide .list{left:0!important;right:0!important}.wn-mec-select.right{float:right}.wn-mec-select.right .list{left:auto;right:0}.wn-mec-select.small{font-size:12px;height:36px;line-height:34px}.wn-mec-select.small:after{height:4px;width:4px}.wn-mec-select .list{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.wn-mec-select .list:hover .option:not(:hover){background-color:transparent!important}.wn-mec-select .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:28px!important;min-height:28px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wn-mec-select .option .wn-hover-img-sh img{position:absolute;padding:3px;top:-1px;left:100%;box-shadow:0 4px 42px -5px rgba(0,0,0,.16);visibility:hidden;opacity:0;border:1px solid #e3e3e3;border-radius:2px;z-index:99999999;background:#fff}.wn-mec-select .option:hover .wn-hover-img-sh img{visibility:visible;opacity:1}.wn-mec-select .option.focus,.wn-mec-select .option.selected.focus,.wn-mec-select .option:hover{background-color:#f6f6f6}.wn-mec-select .option.selected{font-weight:700}.wn-mec-select .option.disabled{background-color:transparent;color:#999;cursor:default}.no-csspointerevents .wn-mec-select .list{display:none}.no-csspointerevents .wn-mec-select.open .list{display:block}.mec-custom-nice-select ul.list li.option{width:30%!important;float:left!important;min-height:135px!important;height:135px;margin:1.66%!important;box-sizing:border-box;text-align:center;padding:10px!important;border-radius:3px;border:1px solid #eee;box-shadow:0 1px 3px rgba(0,0,0,.025);background:#fff!important}.mec-custom-nice-select ul.list li.option:hover{box-shadow:0 2px 7px rgba(0,0,0,.06);borde-color:#e0e0e0}.mec-custom-nice-select .list:hover .option:not(:hover),.mec-custom-nice-select ul.list:hover li.option{background:#fff!important}.mec-custom-nice-select ul.list{min-width:600px!important;padding:20px 10px!important;background:#fcfbfd;border:1px solid #e9e9e9;box-shadow:0 1px 4px rgba(0,0,0,.05)}.mec-custom-nice-select ul.list li.option.selected{border:1px solid #40d9f1;box-shadow:0 1px 8px -3px #40d9f1 inset;color:#00cae6;padding:12px 0 0 0!important}.mec-custom-nice-select .wn-img-sh img{margin:4px 0 1px 1px;line-height:1;max-width:68px;max-height:56px;filter:grayscale(1);-webkit-filter:grayscale(1);transition:all .22s ease;-webkit-transition:all .22s ease;-moz-transition:all .22s ease;-ms-transition:all .22s ease;-o-transition:all .22s ease}.wn-mec-select .option.focus .wn-img-sh img,.wn-mec-select .option.selected.focus .wn-img-sh img,.wn-mec-select .option:hover .wn-img-sh img{background-color:#f6f6f6;filter:grayscale(0);-webkit-filter:grayscale(0)}@media(max-width:768px){.wn-mec-select{width:45%!important}.mec-custom-nice-select ul.list{margin-left:-24px!important;min-width:404px!important}.mec-custom-nice-select ul.list li.option{width:46.6%!important}.wn-hover-img-sh{display:none}}@media(max-width:480px){.wn-mec-select{width:100%!important}.mec-custom-nice-select ul.list{min-width:337px!important}}@media(max-width:320px){.mec-custom-nice-select ul.list li.option{width:100%!important}.mec-custom-nice-select ul.list{min-width:298px!important}}.mec-sed-methods li{line-height:28px;padding-left:38px;position:relative}.mec-sed-methods li:before{margin-right:0}.mec-sed-methods li:before{border-radius:18px}.mec-custom-nice-select ul.list li .wn-mec-text:after,.mec-sed-methods li:before{content:"";position:absolute;display:inline-block;background:#fff;border-radius:2px;width:12px;height:12px;margin:-1px 0 0 -1px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32);border-radius:50%}.mec-custom-nice-select ul.list li .wn-mec-text{position:relative;padding-top:0;padding-bottom:28px}.mec-custom-nice-select ul.list li .wn-mec-text:after{left:calc(50% - 7px);top:auto;bottom:1px}.mec-custom-nice-select ul.list li .wn-img-sh{line-height:1}.mec-sed-methods li:before{left:9px;top:calc(50% - 7px)}.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after,.mec-sed-methods li.active:before{width:4px;height:4px;border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff}.menu-icon-mec-books .wp-menu-image img,.toplevel_page_mec-intro .wp-menu-image img{width:18px!important;padding-top:7px!important}.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap,.mec-create-shortcode-tabs-wrap{display:flex;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox}.mec-add-booking-tabs-left,.mec-add-event-tabs-left{min-width:200px}@media(max-width:1366px){.mec-add-booking-tabs-left,.mec-add-event-tabs-left{min-width:137px}}.mec-add-booking-tabs-left,.mec-add-event-tabs-left,.mec-create-shortcode-tabs-left{flex:1}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{flex:6}a.mec-add-booking-tabs-link,a.mec-add-event-tabs-link,a.mec-create-shortcode-tabs-link{display:block}.mec-booking-tab-content,.mec-create-shortcode-tab-content,.mec-event-tab-content{display:none;transition:all .3s ease}.mec-booking-tab-content.mec-tab-active,.mec-create-shortcode-tab-content.mec-tab-active,.mec-event-tab-content.mec-tab-active{display:block}.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap{background:#fff;margin:-6px -12px -12px}.mec-create-shortcode-tabs-wrap{margin:-30px -22px -42px}.mec-add-booking-tabs-left,.mec-add-event-tabs-left,.mec-create-shortcode-tabs-left{background:#f7f8f9}.mec-add-booking-tabs-left a,.mec-add-event-tabs-left a,.mec-create-shortcode-tabs-left a{display:block;position:relative;outline:0;padding:13px 4px 13px 20px;background:#e3e5e7;background:0 0;border:solid;border-width:1px 0 1px 0;border-color:transparent;color:#3f454a;font-size:13px;font-weight:600;text-decoration:none;border-radius:0;transition:all .2s ease}.mec-add-booking-tabs-left a:first-of-type,.mec-add-event-tabs-left a:first-of-type,.mec-create-shortcode-tabs-left a:first-of-type{border-top:none}.mec-add-booking-tabs-left a:hover,.mec-add-event-tabs-left a:hover,.mec-create-shortcode-tabs-left a:hover{background:#fff;color:#07bbe9}.mec-add-booking-tabs-left a:focus,.mec-add-event-tabs-left a:focus,.mec-create-shortcode-tabs-left a:focus{box-shadow:none;outline:unset}.mec-add-booking-tabs-left a.mec-tab-active,.mec-add-event-tabs-left a.mec-tab-active,.mec-create-shortcode-tabs-left a.mec-tab-active{background:#ecf9fd;color:#07bbe9;border-color:#ccecf4;position:relative;padding-left:22px}.inside div div>a.mec-tab-active:after,.inside div div>a.mec-tab-active:before{position:absolute;z-index:9999;content:" ";height:0;width:0;border:8px solid transparent;border-right-color:#fff;right:-1px;top:13px}.inside div div>a.mec-tab-active:before{border-right-color:#d7d8d9;right:0}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 30px 40px;border-left:1px solid #e2e2e2}.mec-booking-tab-content.mec-tab-active,.mec-create-shortcode-tab-content.mec-tab-active,.mec-event-tab-content.mec-tab-active{animation:fadeEffect2 .31s}@media(max-width:1366px){.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 15px 20px}.mec-form-row select{min-width:60px}}@media (min-width:1199px) and (max-width:1280px){.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 0 0 10px}#mec_meta_box_hourly_schedule_days{padding:0 40px 0 0}#mec_meta_box_hourly_schedule_days .mec-form-row.mec-box{margin-right:-40px}#mec_comment,#mec_cost,#mec_countdown_method,#mec_event_timezone,#mec_public,#mec_repeat_type{min-width:220px;width:220px}#mec_meta_box_hourly_schedule_days .mec-box.mec-form-row input[type=text]{max-width:120px}.mec-form-row .mec-time-picker select{min-width:60px}#mec_countdown_method,#mec_repeat_type{min-width:220px;width:220px}#mec_exceptions_in_days_container .mec-col-4{width:25%}#mec_exceptions_in_days_container .mec-col-3{width:50%}#mec_exceptions_in_days_container .mec-col-5{width:20%}#mec_exceptions_in_days_container input[type=text]{width:95%}#mec_repeat_certain_weekdays_container label:not(.mec-col-3){display:block;padding-left:25%}}@media (max-width:1023px){.post-type-mec-events h4{margin-top:20px}.post-type-mec-events .mec-form-row{padding-bottom:20px}.post-type-mec-events .mec-form-row .mec-form-row{padding:0}.post-type-mec-events .mec-form-row .mec-col-1,.post-type-mec-events .mec-form-row .mec-col-10,.post-type-mec-events .mec-form-row .mec-col-11,.post-type-mec-events .mec-form-row .mec-col-12,.post-type-mec-events .mec-form-row .mec-col-2,.post-type-mec-events .mec-form-row .mec-col-3,.post-type-mec-events .mec-form-row .mec-col-4,.post-type-mec-events .mec-form-row .mec-col-5,.post-type-mec-events .mec-form-row .mec-col-6,.post-type-mec-events .mec-form-row .mec-col-7,.post-type-mec-events .mec-form-row .mec-col-8,.post-type-mec-events .mec-form-row .mec-col-9{display:block;width:100%;margin:20px 0 0 0;max-width:285px}.post-type-mec-events .mec-add-booking-tabs-left,.post-type-mec-events .mec-add-event-tabs-left{min-width:180px}.post-type-mec-events .mec-add-booking-tabs-left a,.post-type-mec-events .mec-add-event-tabs-left a,.post-type-mec-events .mec-create-shortcode-tabs-left a{padding-left:10px}#mec_repeat_type,.post-type-mec-events #mec_settings_fes_thankyou_page_url,.post-type-mec-events .mec-form-row .mec-col-4 input[type=number],.post-type-mec-events .mec-form-row .mec-col-4 input[type=text],.post-type-mec-events .mec-form-row .mec-col-4 select,.post-type-mec-events .mec-form-row .mec-col-4 textarea{width:100%;max-width:255px}#mec-exceptional-days .mec-certain-day>div,#mec_exceptions_in_days_container .mec-certain-day>div{width:100%;max-width:255px;padding:12px;margin:20px 10px 0 0;border-radius:8px}.mec-certain-day .mec-in-days-day,.mec-certain-day>div .mec-not-in-days-day{line-height:21px;font-size:10px}#mec_repeat_certain_weekdays_container label{display:block;margin:20px 0 20px 0}}@media (max-width:640px){.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap,.mec-create-shortcode-tabs-wrap{display:block}.post-type-mec-events .mec-add-booking-tabs-left,.post-type-mec-events .mec-add-event-tabs-left{min-width:100%;width:100%!important;display:block!important;float:unset;margin:0;flex:unset;height:auto}.post-type-mec-events .mec-add-booking-tabs-right,.post-type-mec-events .mec-add-event-tabs-right,.post-type-mec-events .mec-create-shortcode-tabs-right{display:block;min-width:100%;width:100%;margin:0;flex:unset}.post-type-mec-events .mec-add-booking-tabs-left a,.post-type-mec-events .mec-add-event-tabs-left a,.post-type-mec-events .mec-create-shortcode-tabs-left a{font-size:14px;padding:14px 10px 14px 15px;line-height:1.2;letter-spacing:0}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding-left:10px;padding-right:10px}#mec_tickets .mec-box{max-width:290px}}@keyframes fadeEffect2{from{opacity:0;transform:translateX(11px)}to{opacity:1;transform:translateX(0)}}.mec-form-row .mec-col-8 label,.mec-form-row .mec-col-9 label{padding-right:20px}@media(min-width:860px) and (max-width:1280px){.mec-form-row .mec-col-9 label{padding-right:12px}}#mec-event-data .mec-form-row label{margin-right:14px}.mec-form-row input[type=date]::-webkit-calendar-picker-indicator{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA0QjQ2N0QwQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA0QjQ2N0QxQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDRCNDY3Q0VCNDgzMTFFQThEN0VERkNFNTExRURFMzkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDRCNDY3Q0ZCNDgzMTFFQThEN0VERkNFNTExRURFMzkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6WW71PAAAGIklEQVR42qRXS28bVRQ+586Mx3ZC1DSpVFojRU2CqMIGiSKxAVoUduzoDjYIlhU/Av4AYsdjRXfkD0Cjom6QqIqEqEhRo1aRkkZpkpY6j7GduQ++c2dsj1+BlInGztxvzj3nfudpPlM/otc2W2QjJmU0rZ0uUytUpBxNnN9p/FYhctF0+XUi2nPGkX7WJOfwxNRzqXxtbfI4eUvm7xY1o4iiI0d/vFiisL2BgTAz0yvbCRnLhP0uNEtqrgUseZRcwPPvJewaldSA8o48vo+Tj0U+CnrkOgZwvkEzEmGm1PF9fzK5Y3U/YlllsjRUv19zXl7571HyAjooc/kmYerpcmPO0Mfa0SyxEtji44ynOjPuayjecd7M46/MQOdGyIs9ThnzMLD0XRrwIdeetmoLm41fWiG95Ar792tydLLrOPkAlpW027hbG3+T37lf/5EtvYcXUuhfBjWp9wHRBO63c5lbEkQj2B92uaHy4l2EAQ66GFgbmiD4id/9q661ooAtf8rsvmUEilAHEqcgtJvvNq3YPTkJA8PksT9ZFxD8+4my9pvAOqOMxIMoJHfPZoJkJNiYat3duOac6hxt1N3GR8lnt0O623s+c2CVZEGaZ8Oks1mElvxu7hGYaQjpHLpH3q/YFQE7Oh5Y6gFTaHhAXlasxmoWpZO5L9Ow4DTv+UBZBAkWNO+CqhkbSOzaXWWyzY+n3WcACdVscnklz5CHYsmv1L/RyUJ/cs7zdT3Ey8pTgw/QgNNuS4XjNMvffwvBNmwDH+pdeZ3J+1qDdW15vS0iBhjZWzF9ge8HWl7zNLluYhP/9/jvFANXyL+ufF4jZvOCZsK8isp77+sixf10n7QQjJT39bBtjzdA5chtLG61n7kgk6UvDy29z4HL4c/ifkN0hYV+cA3Bc7stKAfossgSSF06+3HOu8QovE8eThDlv4pu1TbUOpqySDNUKMSDQRIo6QgVRHbFcID1mCITUGgNKLI9uBbcCC59xUi+DsiHBq0XOLb3utqOUYV+LglH9XJASRAsRNqt4xHVj59Exqw3AlrYi0PaiwNqBKoX12Y9iQSP/GkD4xZC0yt/GPFCvZzhUBoMtmPftRwMEEtpupy2auzadLraXtlNoXLhKQYLbjrWRx0cXNf24wxPSmWw5aZPNXSNOi5ytXqZpjTwSqs3PsJi0I61LG29EFG9GtyaeqgvxU17TrAkDjbvnq/eKcTYrbcemi5eHoI/OLgUt7r4n+cqd04llmZ3mjBSDQ4kYtERLLz4OKGt0xGKA9+RgiSGSRV7+UlCVvka72lEvHRx04vLGW2f/PzTBk3VtddRrGlhMXVaIdME5sLJ3ZQOTPQBNqj58uzcxsXtZEkqmQ7IB9ihLeA2x6FQqyG4cRuvbh8uNZSigzBCALhBBtrjkwjjQItQ+kPXWY6eBuEi/lmOlC8kvTh38ZLH3QC+y+GiIl4OqbeZ9RggQZgcVIXe1ep48jPkz/oGw7x1yoytIq1o59AH1Wp1rNHBSXA9tip87zYyvFzpx8dXLVTvqySvhUMNsN6+1ERrrNQVQs57H4K6cR35GrapffICb16RpO7glOHrrQyvjHXxQHB0/j1ugV0LpcFwAzS4n6hiZoIvEp2znwcSigfGJhxpMmseLc0dvFjcvRuLvdEdNyl2+0DOALwE863TM/jnJqhfQa6v4AfJzUNOZ/aVlhqIUpoO4PuU4XFsqFrSM866m9hxBXSvWPx/wHpGqA96Vfa5AH9HnMjYNI96dbkwaVzcCw/nAK+xHzp4Hp89eD04nENzX6v4cYrnrVWXXQF/Fh7MQfWasmogCNsmaT+qwD0g4gYsuYqnWlboeKMUumUr86LycxdwdRUb+zQTvAzcgL0jLXFkbkQUX5UKyFTE2bvZD0a5B8SAUu6dPf+7AInssja2VPSZRud2Ni/NKse5M2VQqkO4BxSzZLmV8Wwpa8S9OHsK3X6+Lc7F/JidOwvkc7z3FbIgzd7smy1c35TEg7NGrg6Ucs88UsCliOLHH1+Td8HYFl++W//QxfT9iSee/3lJWy5X6aMwtK3rTVWJUU4/g4GzdLLp73ku8cEDxNmXUZhc/0eAAQAVgX0RHvvILQAAAABJRU5ErkJggg==);background-position:center;background-size:cover;width:10px;height:12px;display:block}.mec-attendees-wrapper select,.mec-calendar-metabox .wn-mec-select,.mec-form-row input[type=date],.mec-form-row input[type=email],.mec-form-row input[type=number],.mec-form-row input[type=tel],.mec-form-row input[type=text],.mec-form-row input[type=url],.mec-form-row select,.mec-form-row textarea,.mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-occurrences-wrapper input[type=date],.mec-occurrences-wrapper input[type=email],.mec-occurrences-wrapper input[type=number],.mec-occurrences-wrapper input[type=tel],.mec-occurrences-wrapper input[type=text],.mec-occurrences-wrapper input[type=url],.mec-occurrences-wrapper select,.mec-occurrences-wrapper textarea{border:none;background-color:#f7f8f9;border-radius:5px;height:38px;line-height:38px;padding-left:10px;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)}.mec-calendar-metabox .wn-mec-select,.mec-form-row select,.post-type-mec-events .mec-form-row select,.post-type-mec_calendars .mec-form-row select,.wns-be-main .mec-form-row select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:34px;line-height:34px;background-color:#f7f8f9;border-radius:2px;padding-left:8px;box-shadow:0 1px 3px rgb(0 0 0 / 2%);transition:all .23s ease;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:26px 10px;background-position:right center;min-width:160px;border:1px solid #e6e9eb}.post-type-mec-events .mec-form-row .mec-time-picker select,.post-type-mec-events .wn-ticket-time select{min-width:60px;margin-bottom:10px}.wns-be-main .mec-col-4 select{min-width:unset}.mec-form-row .nice-select{background-image:unset}.mec-calendar-metabox .wn-mec-select.open .list{border-radius:0 0 2px 2px;box-shadow:0 0 0 1px #ddd,0 2px 6px rgba(0,0,0,.07)}.mec-calendar-metabox .mec-custom-nice-select.open ul.list{border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.07);margin-left:0!important;transform:translateX(-50%);left:50%}.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after{border:6px solid #40d9f1;box-shadow:0 3px 16px -3px #40d9f1}.m-e-calendar_page_MEC-settings .mec-form-row input+span.mec-tooltip,.m-e-calendar_page_MEC-settings .mec-form-row select+span.mec-tooltip{bottom:10px}.mec-form-row label+span.mec-tooltip{bottom:10px}.mec-form-row textarea+span.mec-tooltip{bottom:auto;vertical-align:top;top:12px}.mec-form-row span+span.mec-tooltip{bottom:0;vertical-align:middle}.mec-form-row .tooltip-move-up span+span.mec-tooltip i{margin-top:-40px}.mec-form-row .mec-col-8 input[type=text],.mec-form-row .mec-col-8 select,.mec-form-row .mec-col-8 span.mec-archive-skins{vertical-align:top}.mec-form-row .mec-col-8 span.mec-archive-skins input[type=text]{max-width:225px}.mec-form-row input:disabled{opacity:.6;background:#f6f6f6}.wns-be-group-tab h5{font-size:16px;font-weight:600;color:#444;margin:0 0 40px 0}.mec-form-row textarea{height:auto;margin-bottom:0;min-height:60px}.mec-form-row .wp-picker-container input[type=text].wp-color-picker{height:25px;vertical-align:top;width:4rem;margin:-10px 0 0 0!important}.mec-form-row .wp-picker-container label{margin:0}.mec-image-select-wrap li span:hover{border-color:#fff;box-shadow:0 1px 8px rgba(0,0,0,.12)}.mec-message-categories li.mec-acc-label:after{content:"\e604";font-family:simple-line-icons;speak:none;font-style:normal;font-weight:400;display:block;font-size:13px;color:#999;position:absolute;right:27px;top:26px}.mec-message-categories>li.mec-acc-label[data-status=open]:after{content:"\e607";color:#07bbe9}.mec-message-categories>li.mec-acc-label[data-status=open]{color:#07bbe9}.mec-message-categories>li.mec-acc-label:last-of-type{border-bottom:none}.mec-message-categories>li.mec-acc-label[data-status=open]{border-bottom:1px solid #e6e6e6}.mec-form-row ul.mec-message-categories{box-shadow:0 2px 16px rgba(0,0,0,.03);border-radius:5px;overflow:hidden;margin-top:30px;background:#f5f5f5;border:2px solid #e6e6e6;max-width:700px}.mec-form-row ul.mec-message-categories li ul{padding:10px 40px 40px;margin:0 -30px 0;background:#fff;box-shadow:inset 0 6px 7px -2px rgb(0 0 0 / 4%);border-top:1px solid #eee;cursor:default}.mec-form-row ul.mec-message-categories ul label{margin:25px 8px 7px;font-size:14px;color:#888;cursor:default}#mec_calendar_display_options .mec-tooltip{bottom:1px}.mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-meta-box-fields .mec-form-row input[type=checkbox]{margin-right:6px}#mec_add_fee_button,#mec_add_ticket_variation_button,#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,.mec-export-settings,.mec-import-settings,.mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),.mec-occurrences-wrapper .button:not(.wp-color-result){border-radius:25px;border:1px solid #d1e5ec;text-shadow:none;padding:0 16px;height:35px;letter-spacing:.2px;margin-right:5px;background:#fff;color:#07bbe9;box-shadow:0 1px 5px -1px rgb(0 0 0 / 5%);transition:all .2s ease}.mec-export-settings,.mec-import-settings{padding:11px 16px;text-decoration:none}#mec_add_fee_button:hover,#mec_add_ticket_variation_button:hover,#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button:hover,.mec-meta-box-fields .mec-form-row .button:not(.wp-color-result):hover,.mec-occurrences-wrapper .button:not(.wp-color-result):hover{background:#f0f9fc}#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button{margin:0}#mec-hourly-schedule .mec-form-row .mec-col-1 .button,#mec-hourly-schedule .mec-form-row.mec-box .button,#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button{color:#ea6485;border-color:#ea6485}#mec-hourly-schedule .mec-form-row .mec-col-1 .button:hover,#mec-hourly-schedule .mec-form-row.mec-box .button:hover,#taxes_option #mec_fees_list .mec-form-row .button:hover,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button:hover{background:rgb(234 100 133 / .1)}#mec-hourly-schedule .mec-hourly-schedule-form-speakers{margin-top:20px}#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button{margin-top:12px}#mec_meta_box_downloadable_file_options input[type=file]{max-width:166px;text-align:center;transition:all .2s ease;border-radius:5px!important;border:2px dashed #b8e9f3;margin-bottom:12px;height:44px;text-decoration:none;padding:0 15px 1px;text-transform:none;letter-spacing:0;font-weight:600;color:#40d9f1;box-shadow:0 2px 6px -3px #cfeff5}#mec_meta_box_downloadable_file_options input[type=file]:hover{box-shadow:0 2px 16px -3px #cfeff5}#mec_meta_box_downloadable_file_options input[type=file]::-webkit-file-upload-button{visibility:hidden;width:1px;height:38px}#mec_meta_box_downloadable_file_options input[type=file]::-moz-file-upload-button{visibility:hidden;width:1px;height:38px}.mec-attendees-wrapper .mec-attendees-list{margin:22px 0 0}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child{background:#fff;border-bottom:1px solid #cfeff5}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child div span{line-height:1;font-weight:600}.mec-attendees-wrapper .mec-attendees-list .w-clearfix{display:flex;background:#f8feff;padding:10px;text-align:left}.mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:first-child{width:100%;max-width:30%;padding:0}.mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3 a{text-decoration:unset}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:nth-child(odd){background:#fff}#mec-read-more .mec-form-row span.mec-tooltip{top:2px;left:-4px}#mec-occurrences .mec-occurrences-list{margin-top:12px}#mec-occurrences .mec-occurrences-list h3{margin-top:0}#mec-occurrences .mec-occurrences-list .mec-form-row{margin-bottom:0}#mec-occurrences .mec-occurrences-list .mec-form-row label{line-height:40px;width:120px;display:inline-block;margin:0}#mec-occurrences .mec-occurrences-list .mec-form-row .event-status-schema label{width:auto;min-width:160px}#mec-occurrences .mec-occurrences-list .mec-form-row .event-status-schema p{border:unset;padding-left:0;margin-left:0}#mec-search-settings{border-radius:21px;min-height:32px;box-shadow:inset 0 1px 2px rgba(0,0,0,.06);margin-right:10px;color:#7c838a;font-size:13px;width:260px;background:#f7f8f9;border:none;z-index:1;transition:all .18s ease;outline:0;line-height:36px;padding:2px 10px 1px 38px}#mec-search-settings:focus{background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.07),0 0 0 1px #e6e6e6;width:270px}.mec-search-settings-wrap{display:inline-block;position:relative}.mec-search-settings-wrap i{position:absolute;left:16px;top:13px;font-size:13px;color:#7e8c98;display:block;z-index:2}#mec-search-settings::-webkit-input-placeholder{color:#7c838a}#mec-search-settings::-moz-placeholder{color:#7c838a}#mec-search-settings:-ms-input-placeholder{color:#7c838a}#mec-search-settings:-moz-placeholder{color:#7c838a}#wns-be-content .noresults label,#wns-be-content .results .results .noresults label{color:#000}#wns-be-content .results .results .results label,#wns-be-content .results label,#wns-be-content ul li.enable,#wns-be-content ul li.enable label{color:#07bbe9}#wns-be-content ul li.disable,#wns-be-content ul li.disable label{color:#e7e7e7}.ui-datepicker.ui-widget{border:1px solid #e8e8e8;box-shadow:0 1px 9px rgba(0,0,0,.12)}.ui-datepicker.ui-widget select{font-weight:600;font-size:12px;border-radius:2px;padding:2px 10px;margin:1px 3px 5px}.ui-datepicker.ui-widget table{border-spacing:2px}.ui-datepicker.ui-widget td,.ui-datepicker.ui-widget tr{padding:0;background:0 0!important}.ui-datepicker.ui-widget td a{color:#777;font-weight:600;width:30px;height:30px;line-height:30px;display:inline-block;border-radius:33px;padding:0;background:#fff;transition:all .2s ease}.ui-datepicker.ui-widget td a.ui-state-active,.ui-datepicker.ui-widget td a:hover{background:#40d9f1;color:#fff}.ui-datepicker.ui-widget .ui-datepicker-next,.ui-datepicker.ui-widget .ui-datepicker-prev{color:#40d9f1;width:30px;height:30px;line-height:30px;display:inline-block;text-align:center;border-radius:33px;background:#ecfcff;transition:all .2s ease}.ui-datepicker.ui-widget .ui-datepicker-next:hover,.ui-datepicker.ui-widget .ui-datepicker-prev:hover{background:#fff;box-shadow:0 0 7px -3px rgba(0,0,0,.4)}#mec-wrap{width:92%;margin:20px auto;max-width:1384px}#mec-wrap h2.nav-tab-wrapper{margin-bottom:0;position:relative;z-index:8;padding:0;border-radius:5px 5px 0 0;border:none;margin-top:35px;clear:both;background:#fff;box-shadow:0 1px 0 0 #ededed}#mec-wrap .nav-tab-wrapper .nav-tab{position:relative;padding:28px 22px;border:none;margin:0;background:#fff;font-size:13px;color:#444;outline:0;letter-spacing:-.1px;box-shadow:none}#mec-wrap .nav-tab-wrapper .nav-tab:hover{color:#07bbe9}#mec-wrap .nav-tab-wrapper .nav-tab:after{content:"";display:inline-block;width:1px;height:30%;position:absolute;right:0;top:35%;background:#e9e9e9}#mec-wrap .nav-tab-wrapper .nav-tab-active,#mec-wrap .nav-tab-wrapper .nav-tab-active:focus,#mec-wrap .nav-tab-wrapper .nav-tab-active:focus:active,#mec-wrap .nav-tab-wrapper .nav-tab-active:hover{background:#ecf9fd;outline:0;margin-left:-1px;z-index:2;border:1px solid #ccecf4;color:#07bbe9;border-radius:5px;margin-bottom:-1px}#mec-wrap .nav-tab-wrapper .nav-tab-active:after{content:'';position:absolute;display:block;background:0 0;top:auto;height:auto;bottom:-20px;left:50%;margin-left:-10px;width:0;border-width:10px;border-style:solid;border-color:#ecf9fd transparent transparent}#mec-wrap .mec-container{padding:25px 40px 40px;box-shadow:0 3px 10px -4px rgba(0,0,0,.1)}#wpwrap .mec-button-primary{box-shadow:0 0 0 4px #e4ffe6;text-shadow:none;margin-right:5px;background:#64e385;color:#fff;border:none;cursor:pointer;padding:2px 22px;border-radius:22px;font-weight:500}#wpwrap .mec-button-primary:hover{box-shadow:0 0 0 4px rgb(0 0 0 / 10%);background:#4d5051;border-color:#4d5051;cursor:pointer}#mec-wrap .nav-tab-wrapper .nav-tab-active:before{content:'';position:absolute;display:block;background:0 0;top:auto;height:auto;bottom:-24px;left:50%;margin-left:-12px;width:0;border-width:12px;border-style:solid;border-color:#ccecf4 transparent transparent}.ui-datepicker.ui-widget select{border-color:#e7e8e9}.wn-p-t-right{min-width:300px;max-width:400px;display:inline-block;top:-8px;left:50%;margin-top:0;transform:translate(-50%,-100%);padding:0;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.5;position:absolute;z-index:99999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s;padding:20px;border-radius:8px}.wn-p-t-right i{position:absolute!important;top:100%;right:50%;margin-top:-6px!important;margin-right:-6px!important;width:12px;height:24px;overflow:hidden;transform:rotate(-90deg)}.wn-p-t-right i:after{content:'';position:absolute;width:12px;height:12px;left:0;top:50%;transform:translate(50%,-50%) rotate(-45deg);background-color:#535a61;box-shadow:0 8px 9px -4px #535a61}.wn-p-t-right .wn-p-t-text-content h5{color:#fff;font-size:17px;font-weight:600;margin:-20px;padding:15px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #32363a;border-radius:6px 6px 0 0}.mec-addon-box-footer a:hover .wn-p-t-right{visibility:visible;opacity:1}#mec_organizer_user+.select2-container,#mec_speaker_user+.select2-container{min-width:224px!important}.mec-add-event-tabs-wrap .select2-container,.mec-create-shortcode-tab-content .select2-container{min-height:38px;height:auto;box-sizing:border-box;padding:0 6px;border-radius:2px;border:1px solid #ddd;box-shadow:inset 0 1px 6px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;transition:50ms border-color ease-in-out;min-width:200px;font-size:14px}.mec-add-event-tabs-wrap .select2-selection,.mec-create-shortcode-tab-content .select2-selection{border:none;background:0 0;padding-top:3px;width:100%;height:100%}.mec-add-event-tabs-wrap .select2-container--default.select2-container--focus .select2-selection,.mec-create-shortcode-tab-content .select2-container--default.select2-container--focus .select2-selection{border:none!important;outline:0}.mec-add-event-tabs-wrap .select2-container--default .select2-selection--single .select2-selection__arrow,.mec-create-shortcode-tab-content .select2-container--default .select2-selection--single .select2-selection__arrow{top:5px;right:4px}.fs-webform-container div .fserv-container{width:100%!important;max-width:none!important;min-height:208px!important;box-shadow:0 1px 6px rgb(0 0 0 / 1%)!important;border-radius:11px!important;padding:0!important;margin-bottom:0!important;margin-top:30px!important;background:url(https://webnus.net/modern-events-calendar/wp-content/uploads/2019/11/illustration.svg) no-repeat top right;background-size:310px}.fserv-container .fserv-form-name{font-weight:600!important;position:relative!important;font-size:20px!important;padding:30px 30px 10px!important;text-align:left!important;margin:0!important;line-height:1}.fserv-form-description{padding:10px 30px!important;margin:1em 0 0!important;line-height:1.5!important;font-size:16px!important}.fserv-container form{padding:0!important;padding-left:28px!important}.fserv-container .fserv-label{display:none!important}.fserv-field{display:inline-block;padding:0!important;min-width:260px;margin:0!important;margin-right:25px!important}.fserv-container label.fserv-form-description{cursor:default}.fserv-field input.fserv-input-text{border-radius:5px!important;border:none!important;background-color:#f7f8f9!important;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)!important}.fserv-field+div:not(.fserv-field){margin:0!important;border:none!important;text-align:left!important;padding-left:4px!important;margin-top:0!important;padding-top:0!important;display:inline-block;margin-right:10px!important}.fserv-container .powered-by{display:none!important}@media(max-width:1366px){#webnus-dashboard .fserv-container form{padding:0!important;padding:0 28px 40px 28px!important}#webnus-dashboard .fserv-form .fserv-field{width:33%!important}#webnus-dashboard .fserv-form .fserv-button-submit{margin-left:-2px!important}}@media(max-width:960px){#webnus-dashboard .fserv-container form{padding:0!important;padding:0 28px 40px 28px!important}#webnus-dashboard .fserv-form .fserv-field{width:100%!important}#webnus-dashboard .fserv-form .fserv-button-submit{margin-left:-2px!important}}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{font-weight:500;border-radius:60px;text-shadow:none;box-shadow:0 0 0 3px rgb(227 249 253 / 15%);background:#fff;background:linear-gradient(95deg,#fff 0,#fff 50%,#fff 100%)!important;border:1px solid #c0e5ea;transition:.24s}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag.button-primary,#webnus-dashboard .total-bookings button,button.fserv-button-submit{color:#fff!important;font-weight:500!important;border-radius:60px!important;box-shadow:0 0 0 4px rgb(56 213 237 / 1%)!important;text-shadow:none!important;background:#38d5ed!important;border:none!important;transition:.24s!important}#webnus-dashboard button.fserv-button-submit{background:#64e385!important;box-shadow:0 0 0 3px #64e3851a!important}#webnus-dashboard button.fserv-button-submit:hover{background:#46d26a!important;box-shadow:0 0 0 4px #64e38536!important}#webnus-dashboard .total-bookings button{line-height:39px;padding:0 36px}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag.button-primary:hover{color:#fff!important;background:#1fcae4!important;box-shadow:0 0 0 4px rgb(56 213 237 / 15%)!important}#webnus-dashboard .total-bookings button:hover,button.fserv-button-submit:hover{background:#26bbd2!important;box-shadow:0 0 0 4px rgb(56 213 237 / 15%)!important;cursor:pointer!important}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:hover{box-shadow:0 0 0 4px rgb(56 213 237 / 8%)!important;color:#02a3bb!important;cursor:pointer!important}.fserv-container input::-webkit-input-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input::-moz-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input:-ms-input-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input:-moz-placeholder{font-family:Inherit!important;font-size:14px}input.fserv-input-text{height:38px;box-sizing:border-box;margin-bottom:8px;padding:0 6px;box-shadow:none;border-radius:2px;box-shadow:inset 0 1px 5px rgba(0,0,0,.05)}.fserv-field label.error{display:none!important}.fs-notifier{position:fixed!important;top:40px!important;width:300px!important;max-width:300px!important;margin:0!important;right:20px!important;left:unset!important}.post-type-mec-events .lity{background:#edf0f3}.post-type-mec-events .lity-container{width:60vW;max-width:883px;margin:0 auto;border-radius:7px}.post-type-mec-events .lity-content:after{display:none}.mec-manage-events-lightbox{box-shadow:0 3px 20px rgba(0,0,0,.05)}.w-clearfix.mec-attendees-content img{display:inline-block;width:25px;height:25px;vertical-align:middle;margin-right:7px}.post-type-mec-events .mec-attendees-list-head{background:#008aff;color:#fff;text-align:center;padding:17px 0;text-transform:capitalize;font-size:26px;font-weight:700;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;border-radius:7px 7px 0 0;line-height:43px;box-shadow:0 3px 15px rgba(0,138,255,.25);z-index:99}.mec-attendees-list-wrap{display:flex;width:100%;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;background:#fff;box-shadow:0 3px 20px rgba(0,0,0,.05);border-radius:0 0 5px 5px;overflow:hidden}.mec-attendees-list-left{flex:1;background:#f6f8fa;padding:0;border-radius:0;position:relative}.mec-attendees-list-right,.mec-send-email-form-wrap{flex:1;border-radius:0 0 5px 5px;padding:0 20px 20px;background:#f2f4f7}.mec-attendees-list-left-menu a{display:inline-block;line-height:22px;font-size:12px;color:#000;font-weight:500;border-bottom:1px solid #eaebec;border-left:1px solid #eaebec;padding-bottom:0;padding:7px 6px;margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;transition:all .2s ease;text-decoration:none;text-align:center}.mec-attendees-list-left-menu a.selected-day{color:#008aff}.mec-attendees-list-left-menu .owl-item:last-child a{border-right:1px solid #eaebec}.mec-attendees-list-right table{width:100%}.w-clearfix.mec-attendees-head{margin-top:30px;border-bottom:2px solid #008aff;padding-bottom:18px;margin-bottom:3px}.w-clearfix.mec-attendees-content [class^=w-col-xs-],.w-clearfix.mec-attendees-head [class^=w-col-xs-]{padding:0}.w-clearfix.mec-attendees-head span{font-weight:600;color:#000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;font-size:17px}.w-clearfix.mec-attendees-content{background:#fff;margin-bottom:2px;padding:10px 20px}.mec-attendees-list-left-menu{height:36px;margin-left:35px;margin-right:36px}.mec-attendees-list-left-menu a:active,.mec-attendees-list-left-menu a:focus,.mec-attendees-list-left-menu a:visited{outline:0;box-shadow:none}.mec-attendees-list-left-menu .owl-item{display:inline-block}.mec-attendees-list-left-menu .owl-stage{min-width:800px!important}.owl-nav.disabled .owl-next{position:absolute;right:0;top:0}.owl-nav.disabled .owl-prev{position:absolute;left:0;top:0}.owl-nav.disabled button{background:#fff;box-shadow:none;border:1px solid #ccc;height:36px;width:36px;font-size:54px;line-height:54px}.owl-nav.disabled button span{margin-top:-18px;display:block}.mec-cover-loader:after{content:'';position:absolute;top:0;right:0;left:0;bottom:0;background:rgba(255,255,255,.5);z-index:99999}.mec-loader{background:rgba(0,0,0,0);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9}.mec-loader,.mec-loader:after{border-radius:50%;width:5em;height:5em;z-index:999999999999}.mec-loader{font-size:10px;text-indent:-9999em;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);border-left:.5em solid #fff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:mecloader 1.1s infinite linear;animation:mecloader 1.1s infinite linear}@media(max-width:992px){.post-type-mec-events .lity-container{width:80vw}}@-webkit-keyframes mecloader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes mecloader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mec-report-backtoselect-wrap,.mec-report-sendmail-form-wrap{display:none}.mec-report-select-event-wrap .select2{width:100%!important}.mec-report-select-event-wrap .select2-container--default .select2-selection--single{border-radius:2px;border:1px solid #e2e3e4;height:38px;padding-top:5px;width:100%;box-shadow:0 2px 3px rgba(0,0,0,.03)}.mec-report-select-event-wrap .select2-container--default .select2-selection--single .select2-selection__arrow{height:36px}.mec-report-select-event-wrap .select2-container--open .select2-dropdown--below{box-shadow:0 2px 8px rgba(0,0,0,.12);border-color:#d7d8d9}.select2-container--default .select2-search--dropdown .select2-search__field{box-shadow:0 2px 8px rgba(0,0,0,.06) inset;border-color:#d7d8d9;border-radius:2px}.mec-report-select-event-wrap input[type=text],.mec-report-select-event-wrap select{border:1px solid #e2e3e4;font-size:13px;font-weight:400;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;margin-bottom:15px;border-radius:2px;box-shadow:0 2px 3px rgba(0,0,0,.03);max-width:150px}.mec-report-select-event-wrap .select2-container--default{max-width:400px}.mec-report-select-event-wrap select.mec-reports-selectbox-dates{height:38px;min-width:260px;margin:0 0 0 10px;padding-left:15px}.mec-report-sendmail-form-wrap,.mec-report-sendmail-wrap{padding:30px 15px;background:#fff;border:1px solid #e2e3e4;margin:15px 0 5px;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.02)}.mec-report-sendmail-wrap .w-col-sm-12:before{background:url(../img/email-document.png) no-repeat left top;content:"";display:block;width:90px;height:70px;z-index:100;float:left}.mec-report-sendmail-wrap p{margin:0 0 15px;font-size:15px;color:#7d8284}.mec-report-backtoselect-wrap button,.mec-report-sendmail-wrap .w-col-sm-12 button,.mec-send-email-form-wrap .mec-send-email-button{background:#19cde9;border:none;color:#fff;font-size:13px!important;padding:6px 16px;border-radius:2px;cursor:pointer;box-shadow:0 1px 2px rgba(25,205,233,.25);transition:all .2s ease}.mec-report-backtoselect-wrap button:hover,.mec-report-sendmail-wrap .w-col-sm-12 button:hover,.mec-send-email-form-wrap .mec-send-email-button:hover{background:#04bfdc;box-shadow:0 1px 2px rgba(25,205,233,.05)}.mec-report-backtoselect-wrap button{margin-top:15px}.mec-report-selected-event-attendees-wrap{background-color:#fff;border:1px solid #96e3ef;padding:0;margin:20px 0;border-radius:3px;box-shadow:0 2px 14px rgba(25,205,233,.1);display:none}.mec-report-sendmail-wrap{display:none}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head{background:#c7eef4;border-bottom:1px solid #96e3ef;padding:15px;margin:0;border-radius:3px 3px 0 0}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content{margin:0;padding:8px 15px;border-bottom:1px solid #e4eef0;font-size:13px;line-height:25px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content:hover{background:#f3fdfe}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content:last-child{border-bottom:none;border-radius:0 0 3px 3px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content img{border-radius:25px;margin-left:8px}.mec-report-selected-event-attendees-wrap input[type=checkbox]{border-radius:3px;margin-top:0}.mec-report-selected-event-attendees-wrap .mec-attendees-head .w-col-xs-2.name{padding-left:10px}.mec-report-selected-event-attendees-wrap .checkin_status span{font-weight:600}.mec-report-selected-event-attendees-wrap .w-col-sm-12>p{text-align:center}.mec-attendees-list-right,.mec-send-email-form-wrap{flex:1;border-radius:0;padding:0;background:0 0;max-width:674px;margin:0 auto}.mec-report-sendmail-form-wrap{padding:0 30px 45px}.mec-send-email-form-wrap h2{background:url(../img/email-document.png) no-repeat center top;padding-top:70px;font-size:22px;font-weight:600;text-align:center;padding-bottom:10px;padding-left:10px;margin-bottom:0}#webnus-dashboard .mec-send-email-form-wrap .wp-editor-tools button{font-size:13px;font-weight:400;color:#444;line-height:1;margin-bottom:0}#webnus-dashboard .mec-send-email-form-wrap .wp-editor-tabs button{min-height:30px}.mec-send-email-form-wrap input.widefat{min-height:40px;border:1px solid #e2e3e4;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.02)}.mec-send-email-form-wrap input.widefat:focus{border:1px solid #96e3ef}.mec-send-email-form-wrap h4.mec-send-email-count{font-weight:400;text-align:center;margin-bottom:30px;margin-top:0;padding-top:0}.mec-send-email-form-wrap .mec-send-email-button{min-height:40px;line-height:40px;padding:0;font-size:17px!important;font-weight:600}.mec-send-email-form-wrap .mce-menubtn.mce-fixed-width span{height:20px;padding-top:2px}.lity.mec-add-shortcode-popup{background-color:#b7e4e3}.lity.mec-add-shortcode-popup .lity-content{box-shadow:0 3px 20px 0 rgba(91,188,190,.55);border-radius:10px;height:100%}.mec-add-shortcode-popup .lity-container{width:930px;height:620px}.mec-add-shortcode-popup .lity-content:after{display:none}.mec-add-shortcode-popup div#mec_popup_shortcode{background:#fff;overflow:hidden;display:flex;width:100%;border-radius:10px;height:100%}.mec-steps-container{width:92px;text-align:center;background:#fff}.mec-steps-panel{width:calc(100% - 92px);background:#eef4f5}.mec-steps-container ul{text-align:center;display:block;margin-top:62px}.mec-steps-container ul li{width:22px;height:70px;margin:0 auto;position:relative}.mec-steps-container ul li span{border-radius:50px;background-color:rgba(26,175,251,.16);width:22px;height:22px;display:inline-block;padding-top:2px;font-size:11px;font-weight:700;color:#1aaffb;box-sizing:border-box}.mec-steps-container ul li:after,.mec-steps-container ul li:before{content:'';display:block;height:24px;width:2px;background:rgba(26,175,251,.16);margin-left:calc(50% - 1px)}.mec-steps-panel .mec-form-row input[type=checkbox],.mec-steps-panel .mec-form-row input[type=radio]{background:#fff}.mec-box .mec-steps-panel .mec-form-row input[type=radio],.mec-steps-panel .mec-form-row .mec-box input[type=checkbox]{background:#f7f8f9}.mec-steps-panel .mec-form-row .mec-box input[type=checkbox]:checked,.mec-steps-panel .mec-form-row .mec-box input[type=radio]:checked{background:#fff}.mec-steps-container ul li:first-of-type:before,.mec-steps-container ul li:last-of-type:after{display:none}.mec-steps-container ul li:first-of-type{height:46px}li.mec-step.mec-step-passed span,li.mec-step.mec-step-passed:after,li.mec-step.mec-step-passed:before{background-color:#2dcb73;color:#fff}.mec-steps-container img{margin-top:30px}.mec-steps-header{display:flex;background:#fff;border-radius:5px;box-shadow:0 3px 22px 0 rgb(11 121 125 / 1%);padding:12px 22px;margin:-15px -15px 65px}.mec-steps-header-settings{width:65px}.mec-steps-header-dashboard{width:fit-content;margin-right:22px}.mec-steps-header-userinfo{width:calc(100% - 65px)}.mec-steps-panel{padding:35px;position:relative;display:flex;flex-direction:column;justify-content:space-between}.mec-steps-header-userinfo span{display:inline-block;vertical-align:middle}.mec-steps-header-userinfo span img{height:40px;border-radius:50px;margin-right:8px;vertical-align:middle}.mec-steps-header-userinfo span.mec-steps-header-name{font-size:14px;color:#778182;font-weight:600;text-transform:capitalize}span.mec-steps-header-add-text{color:#839294;font-size:12px;margin-left:5px}.mec-steps-header-dashboard a,.mec-steps-header-settings a{height:100%;display:block;padding-top:11px;text-decoration:none;font-size:12px;color:#707070}.mec-steps-header-dashboard a i,.mec-steps-header-settings a i{color:#1aaffb;font-size:16px;vertical-align:text-top;margin-right:5px}.mec-next-previous-buttons{clear:both}.mec-next-previous-buttons button.mec-button-next{float:right;background:#008aff;border:none;color:#fff;cursor:pointer;width:123px;text-align:left;padding:8px 18px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);transition:all .3s ease;outline:0}.mec-next-previous-buttons button:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}.mec-next-previous-buttons button.mec-button-next img{position:absolute;top:16px;right:18px}.mec-next-previous-buttons button{position:relative}.mec-next-previous-buttons button.mec-button-prev{background:#fff;border:none;color:#000;cursor:pointer;width:123px;text-align:right;padding:8px 15px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(11,121,125,.01);transition:all .3s ease;outline:0}.mec-next-previous-buttons button.mec-button-prev img{position:absolute;top:16px;left:18px}.mec-next-previous-buttons button.mec-button-prev:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3);color:#fff}.mec-next-previous-buttons button.mec-button-new{background:#008aff;float:right;border:none;color:#fff;cursor:pointer;width:154px;text-align:left;padding:8px 18px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);transition:all .3s ease;outline:0}.mec-next-previous-buttons button.mec-button-new:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}.mec-next-previous-buttons button.mec-button-new img{vertical-align:sub;margin-left:-3px;margin-right:8px}div#mec_popup_shortcode_form{height:calc(100% - 37px)}.mec-steps-content-container{display:flex;flex-direction:column;height:100%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1{background:url(../../assets/img/popup/first-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .popup-sh-name-required{color:red;display:none;font-style:italic;font-size:12px;margin-top:8px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:50%;position:absolute;width:360px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]{width:360px;height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]::-webkit-input-placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]:-ms-input-placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]::placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/add-sh-icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul{height:386px;overflow-x:hidden;overflow-y:scroll;padding-left:60px;margin-top:-22px;margin-bottom:0;position:relative;padding-bottom:19px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li{width:193px!important;float:left!important;min-height:135px!important;height:160px;margin:1.66%!important;box-sizing:border-box;text-align:center;padding:10px!important;border-radius:5px;border:2px solid #c4edff;background:#fff!important;cursor:pointer}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li.active{border-color:#00acf8;box-shadow:0 3px 5px rgba(0,172,248,.2)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-img img{margin:4px 0 1px 1px;line-height:1;max-width:68px;max-height:56px;filter:grayscale(1);-webkit-filter:grayscale(1);transition:all .22s ease;-webkit-transition:all .22s ease;-moz-transition:all .22s ease;-ms-transition:all .22s ease;-o-transition:all .22s ease}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text input{display:block;margin:0 auto;margin-top:6px;border:2px solid #e1e7ed;box-shadow:0 3px 6px 0 rgba(0,0,0,.05);position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-img{padding-top:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li .mec-step-popup-skin-text input{display:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text:before{width:14px;height:14px;content:'';border-radius:50px;background:#fff;display:block;position:absolute;left:calc(50% - 7px);top:24px;z-index:99;border:2px solid #e1e7ed;box-shadow:0 3px 6px 0 rgba(0,0,0,.05)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text{position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 li.active .mec-step-popup-skin-text:before{background:#008aff;border:none;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);width:16px;height:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 li.active .mec-step-popup-skin-text:after{width:4px;height:4px;display:block;content:'';position:absolute;background:#fff;left:calc(50% - 1px);top:30px;z-index:999;border-radius:50px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 span.wn-hover-img-sh{display:block}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles{height:386px;overflow-x:hidden;padding-left:60px;padding-bottom:19px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label{width:193px!important;float:left!important;margin:1.66%!important;text-align:center}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label span{width:193px!important;float:left!important;min-height:135px!important;height:150px;box-sizing:border-box;border-radius:5px;border:2px solid #c4edff;background:#fff!important;cursor:pointer;margin-bottom:5px;margin-top:-6px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label.active span{border-color:#00acf8;box-shadow:0 3px 5px rgba(0,172,248,.2)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label div{font-size:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label.active div{color:#008aff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles input{opacity:0;display:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-steps-content.mec-steps-content-3{margin-top:-18px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 span.wn-hover-img-sh img{width:189px;height:146px;border-radius:5px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4{background:url(../../assets/img/popup/fourth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 .nice-select{border:none;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4{top:40%;position:absolute;width:330px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 h3{font-size:13px;font-weight:400;color:#707070}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div{border:2px dashed #dce2e3;border-radius:3px;padding:20px 20px 6px;background:#fcfcfc}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div label{display:block;margin-bottom:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div label.active input{background:#fff;box-shadow:none;border:1px solid #cacece}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup{box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07);clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:300px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup:hover{border-color:#dbdbdb}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open .list{overflow:unset;width:100%;margin:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .list{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup:after{border-bottom:2px solid #999;border-right:2px solid #999;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:12px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.disabled{border-color:#ededed;color:#999;pointer-events:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.disabled:after{border-color:#ccc}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .list:hover .option:not(:hover){background-color:transparent!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:28px!important;min-height:28px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option .wn-hover-img-sh img{position:absolute;padding:3px;top:-1px;left:100%;box-shadow:0 4px 42px -5px rgba(0,0,0,.16);visibility:hidden;opacity:0;border:1px solid #e3e3e3;border-radius:2px;z-index:99999999;background:#fff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option:hover .wn-hover-img-sh img{visibility:visible;opacity:1}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.focus,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.selected.focus,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option:hover{background-color:#f6f6f6}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.selected{font-weight:700}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.disabled{background-color:transparent;color:#999;cursor:default}.mec-add-shortcode-popup .no-csspointerevents .wn-mec-select-popup .list{display:none}.mec-add-shortcode-popup .no-csspointerevents .wn-mec-select-popup.open .list{display:block}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input{background:#fff;position:relative;width:24px;height:24px;border:1px solid #cacece}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input:before{disaply:none}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label.active input{background:#008aff;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);border:none}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label.active input:before{background:#fff;width:6px;height:6px;top:6px;left:6px;position:absolute}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5{background:url(../../assets/img/popup/fifth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5{width:360px;margin-top:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher label{color:#707070;font-size:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher p{color:#8a8a8a;font-style:italic;font-size:12px;margin-top:7px;margin-bottom:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher{padding-bottom:30px;margin-bottom:34px;border-bottom:2px dashed #dce2e3;position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher:last-of-type{padding-bottom:0;margin-bottom:0;border:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher div:last-of-type label{position:absolute;top:-4px;right:0;width:52px;height:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input:checked+label:after{margin-left:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input+label:after,.mec-add-shortcode-popup .mec-switcher input+label:before{display:block;position:absolute;top:2px;left:1px;bottom:2px;content:""}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input+label:after{width:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6{background:url(../../assets/img/popup/sixth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-content.mec-steps-content-6{margin-top:56px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode{width:325px;border:2px dashed #dce2e3;background:#fcfcfc;padding:42px 42px 47px;text-align:center}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode h3{font-size:16px;font-weight:400;color:#707070;margin-top:7px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code{border-radius:3px;background:rgba(154,214,222,.35);width:243px;margin:0 auto;padding:14px 17px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code code{background:0 0;color:#000;font-size:14px;font-weight:600;margin-left:-11px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button{border:none;background:#fff;border-radius:3px;padding:3px 8px 6px;margin-left:46px;cursor:pointer}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button:hover{background:#000;color:#fff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-results p{width:325px;text-align:center;font-size:12px;margin-top:5px;color:#8a8a8a}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-loading{width:325px;border:2px dashed #dce2e3;background:#fcfcfc;padding:42px 42px 47px;text-align:center;height:182px;position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-loading .mec-loader{position:absolute;left:136px;top:65px}.mec-add-event-popup button.lity-close,.mec-add-shortcode-popup button.lity-close{right:0;top:-52px;border-radius:50%;width:37px;height:37px;background:#fff;color:#a2afbc;text-shadow:none;padding-top:1px;transition:all .2s ease;position:absolute;box-shadow:0 3px 8px 0 rgba(91,188,190,.55)}.mec-add-event-popup button.lity-close:hover,.mec-add-shortcode-popup button.lity-close:hover{background:#ff6262;color:#fff;box-shadow:0 3px 8px 0 rgb(249 162 162 / 55%)}.mec-skin-styles.mec-styles-full_calendar h3{padding-left:12px}.lity.mec-add-event-popup{background-color:#b7e4e3}.mec-add-event-popup .lity-container{width:930px;height:620px;max-width:unset}.mec-add-event-popup div#mec_popup_event{background:#fff;overflow:hidden;display:flex;width:100%;border-radius:10px;height:100%}.lity.mec-add-event-popup .lity-content{box-shadow:0 3px 20px 0 rgba(91,188,190,.55);border-radius:10px;height:100%}div#mec_popup_event_form{height:calc(100% - 37px)}.mec-add-event-popup .mec-steps-container ul{margin-top:42px}.mec-add-event-popup .mec-steps-container ul li:first-of-type{height:41px}.mec-add-shortcode-popup .mec-steps-container ul li:after,.mec-add-shortcode-popup .mec-steps-container ul li:before{height:24px}.mec-add-event-popup .mec-steps-container ul li:after,.mec-add-event-popup .mec-steps-container ul li:before{height:19px}.mec-add-event-popup .mec-steps-container ul li{height:60px}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup{box-shadow:0 3px 22px 0 rgba(11,121,125,.01);border:none;clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:3px;box-sizing:border-box;cursor:pointer;display:block;float:left;font-family:inherit;font-size:12px;font-weight:400;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;height:46px;margin-right:6px;padding-top:3px;color:#707070}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open{border-radius:3px 3px 0 0}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup:hover{border-color:#dbdbdb}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open .list{overflow:unset;width:100%;margin:0}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list{background-color:#fff;border-radius:0 0 3px 3px;box-shadow:0 0 0 0 rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9;margin-top:1px!important}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup:after{border-bottom:2px solid #00acf8;border-right:2px solid #00acf8;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:15px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.disabled{border-color:#ededed;color:#999;pointer-events:none}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.disabled:after{border-color:#ccc}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list:hover .option:not(:hover){background-color:transparent!important}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:22px!important;min-height:22px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.focus,.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected.focus,.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option:hover{background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected{font-weight:700}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.disabled{background-color:transparent;color:#999;cursor:default}.mec-add-event-popup .no-csspointerevents .wn-mec-select-popup .list{display:none}.mec-add-event-popup .no-csspointerevents .wn-mec-select-popup.open .list{display:block}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1{background:url(../../assets/img/popup/add-event-first-step.png) no-repeat 100% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name{width:100%;height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name::-webkit-input-placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name:-ms-input-placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/calendar_icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:210px;position:absolute;width:370px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .popup-sh-name-required{color:red;display:none;font-style:italic;font-size:12px;margin-top:8px}.mec-add-event-popup .mec-meta-box-colors-container{background:#fff;padding:17px;border-radius:3px;box-shadow:0 3px 22px rgba(11,121,125,.01);margin-top:15px}.mec-add-event-popup .wp-picker-container .wp-color-result.button{border-color:#f1f2f4;border-radius:3px;box-shadow:0 2px 2px rgba(0,0,0,.04)}.mec-add-event-popup .mec-recent-color-sec{display:block!important;font-size:12px;color:#707070}.mec-add-event-popup .mec-form-row.mec-available-color-row{border:2px dashed #dce2e3;padding:13px 20px;background:#fcfcfc;border-radius:3px}.mec-add-event-popup .wp-color-result-text{background:#f7f7f7;border-radius:unset;border-left:none;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.mec-add-event-popup .mec-form-row.mec-available-color-row .mec-color{width:12px;height:12px;position:absolute;top:-5px;left:0;z-index:99}.mec-add-event-popup span.mec-color-meta-box-popup{display:inline-block!important;width:20px;height:20px;border-radius:50px;position:absolute;top:1px;left:6px;z-index:9}.mec-add-event-popup span.mec-recent-color-sec-wrap{width:20px;height:20px;display:inline-block;margin-right:12px;margin-top:7px;margin-left:-6px;position:relative}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2{background:url(../../assets/img/popup/sixth-step.png) no-repeat 95% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4{width:auto}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/calendar_icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4 input{padding-left:36px;width:148px;padding:22px 17px 22px 34px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form select{height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#707070;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-form-row .time-dv{float:left;margin-left:-2px;margin-right:4px;margin-top:12px;color:#b1b2b4}.mec-add-event-popup .mec-steps-content.mec-steps-content-2{margin-top:60px}.mec-add-event-popup .mec-steps-content.mec-steps-content-2 .mec-form-row.mec-all-day-event label{font-size:14px;color:#707070}.mec-add-event-popup .mec-steps-content.mec-steps-content-2 .mec-form-row.mec-all-day-event{margin-top:13px!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-3,.mec-add-event-popup .mec-steps-content.mec-steps-content-4{margin-top:-9px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-3{background:url(../../assets/img/popup/fifth-step.png) no-repeat 90% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-4{background:url(../../assets/img/popup/add-organizer.png) no-repeat 95% 70%}.nice-select.mec_popup_location_id.wn-mec-select-popup,.nice-select.mec_popup_organizer_id.wn-mec-select-popup{position:relative;width:166px;padding-left:36px}.nice-select.mec_popup_location_id.wn-mec-select-popup:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/pointer.png) no-repeat center center;position:absolute;top:17px;left:17px}.nice-select.mec_popup_organizer_id.wn-mec-select-popup:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/pointer.png) no-repeat center center;position:absolute;top:17px;left:17px}#mec_popup_event button#mec_popup_add_location:before,#mec_popup_event button#mec_popup_add_organizer:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content-container .nice-select.mec_popup_location_id.wn-mec-select-popup.open .list li,.mec-add-event-popup .mec-steps-content-container .nice-select.mec_popup_organizer_id.wn-mec-select-popup.open .list li{line-height:32px!important;min-height:32px!important}#mec_popup_event .mec-steps-content .mec-tooltip{bottom:8px}#mec-location .mec-form-row span+span.mec-tooltip i,#mec-organizer .mec-form-row span+span.mec-tooltip i{margin-top:-18px}#mec_popup_event .mec-steps-content .mec-tooltip .dashicons-before:before{color:#008aff}#mec_popup_event button#mec_organizer_thumbnail_button,#mec_popup_event button#mec_popup_add_location,#mec_popup_event button#mec_popup_add_organizer{background:#008aff;border-radius:3px;border:none;color:#fff;width:146px;height:46px;margin-left:10px;box-shadow:0 3px 3px 0 rgba(0,138,255,.22);font-size:14px;cursor:pointer;transition:all .2s ease;outline:0;position:relative;padding-left:20px}#mec_popup_event button#mec_organizer_thumbnail_button:hover,#mec_popup_event button#mec_popup_add_location:hover,#mec_popup_event button#mec_popup_add_organizer:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}#mec_popup_event label[for=mec_location_dont_show_map]{font-size:14px;margin-left:4px;margin-top:3px!important;display:inline-block;margin-bottom:7px}#mec_popup_event input#mec_location_dont_show_map{margin-top:9px!important}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{border-top:2px dashed #dce2e3;width:360px;padding-top:25px;margin-top:20px}#mec_popup_event div#mec_location_new_container input,#mec_popup_event div#mec_organizer_new_container input{width:100%;height:46px;border:none;border-radius:3px;padding-left:17px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}#mec_popup_event div#mec_location_new_container .description,#mec_popup_event div#mec_organizer_new_container .description{border:none;padding:0;margin:0;margin-left:16px;line-height:19px;font-size:12px;color:#707070;font-style:normal;margin-top:-4px;display:block}#mec_popup_event .mec-form-row.mec-lat-lng-row input{width:44%!important}#mec_popup_event .mec-form-row.mec-lat-lng-row input:first-of-type{margin-right:10px}#mec_popup_event div#mec_organizer_new_container{margin-top:30px}#mec_popup_event div#mec_organizer_new_container .mec-form-row:first-of-type .mec-col-6:first-of-type{margin-right:14px!important}#mec_popup_event div#mec_organizer_new_container .mec-form-row:first-of-type .mec-col-6{width:48%;margin:0}#mec_popup_event button#mec_organizer_thumbnail_button:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/picture.png) no-repeat center center;position:absolute;top:16px;left:15px}#mec_popup_event button#mec_organizer_thumbnail_button{width:96%;padding-left:30px}.mec-add-event-popup .mec-steps-content.mec-steps-content-4 div#mec_organizer_thumbnail_img{position:absolute;right:10px;top:-20px}.mec-add-event-popup .mec-steps-content.mec-steps-content-4 div#mec_organizer_thumbnail_img img{max-width:110px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5{background:url(../../assets/img/popup/fourth-step.png) no-repeat 90% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input{height:30px;border:none;border-radius:3px;padding-left:10px;margin-left:20px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01);float:right;margin-top:-4px}.mec-add-event-popup .mec-steps-content.mec-steps-content-5{width:326px;margin-top:48px}.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li{display:inline-block;background:#fff;border:none;cursor:pointer;padding:12px 18px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;margin-right:10px;height:42px;color:#008aff;font-size:14px;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li.mec-categories-tab-selected,.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li:hover{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3)}.mec-add-event-popup .mec-categories-tab-contents{background:#fff;padding:20px;border:2px dashed #dce2e3;margin-bottom:13px;margin-top:-5px}.mec-add-event-popup .mec-categories-tab-contents ul,.mec-add-event-popup .mec-categories-tab-contents ul li:last-of-type{margin:0}.mec-add-event-popup .mec-categories-tab-contents ul li{font-size:14px;color:#707070}.mec-add-event-popup .mec-categories-tab-contents.mec-form-row input[type=checkbox]{margin-top:0}.mec-add-event-popup .mec-categories-tab-contents{max-height:200px;overflow:hidden;overflow-y:scroll}.mec-add-event-popup .nice-select.mec_popup_location_id .list,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list{max-height:240px!important;overflow:hidden!important;overflow-y:scroll!important}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar{width:5px}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar-track,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar-track,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.1)}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar-thumb,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar-thumb,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar-thumb{background-color:#008aff;outline:0 solid #fff}.mec-add-event-popup span#mec_popup_new_category_button{cursor:pointer;position:relative;padding-left:18px;font-size:14px}.mec-add-event-popup span#mec_popup_new_category_button:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus-blue.png) no-repeat center center;position:absolute;top:3px;left:0}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content.mec-steps-content-6.mec-steps-content-active{margin-top:-10px;height:70%}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-tinymce.mce-container.mce-panel{height:100%;border:1px solid #ececec!important;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)!important;border-radius:3px!important;overflow:hidden}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container-body.mce-stack-layout{height:100%;background:#f5f5f5}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container *{border:none!important;box-shadow:none!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item{height:90%}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-statusbar.mce-container.mce-panel.mce-stack-layout-item.mce-last{display:none!important}.mec-add-event-popup .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item iframe{height:100%!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-7.mec-steps-content-active{height:70%;background:#fff;border:2px dashed #dce2e3;border-radius:3px;text-align:center;vertical-align:middle;margin-top:-10px;position:relative}.mec-add-event-popup .mec-event-popup-featured-image-wrapper{display:flex;justify-content:center;align-items:center;height:100%}.mec-add-event-popup button#mec_popup_upload_image_button{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3);display:inline-block;border:none;cursor:pointer;padding:12px 18px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;height:42px;font-size:14px;margin-right:0}.mec-add-event-popup div#mec_event_popup_featured_image_preview img{max-height:300px;max-width:740px;margin-top:20px;margin-bottom:0}.mec-add-event-popup button#mec_popup_upload_image_button:hover{background:#000;box-shadow:0 3px 3px 0 rgba(0,0,0,.3)}.mec-add-event-popup .mec-event-popup-featured-image-wrapper span i{border-radius:50px;color:#bb353f;right:10px;top:10px;font-size:30px;position:absolute;cursor:pointer}.mec-add-event-popup .mec-steps-content.mec-steps-content-8{height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results .mec-steps-8-results-wrap{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-loading .mec-loader{left:calc(50% - 2.5em);top:calc(50% - 2.5em)}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results{height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view{display:inline-block;background:#fff;border:none;cursor:pointer;padding:12px 22px 12px 36px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;margin-right:10px;height:46px;font-size:14px;box-shadow:0 3px 3px 0 rgba(0,0,0,.04);text-decoration:none;color:#000;position:relative;line-height:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view:hover{background-color:#000;color:#fff}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/eye.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3);display:inline-block;border:none;cursor:pointer;padding:11px 22px 11px 36px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;height:46px;font-size:14px;margin-right:0;position:relative;line-height:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new:hover{background:#000;box-shadow:0 3px 3px 0 rgba(0,0,0,.3)}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-popup-final-buttons{margin-top:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results-wrap h3{font-size:26px;font-weight:400}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup{width:64px}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list{overflow-y:scroll!important;height:288px;margin-top:4px!important;box-shadow:0 1px 9px rgba(0,0,0,.1);border-radius:0}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar-track{background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar{width:3px;background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar-thumb{background-color:rgba(26,175,251,.16)}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup:last-child .list{overflow:unset!important;height:unset}@media(max-width:1280px){.mec-add-event-popup .lity-container,.mec-add-shortcode-popup .lity-container{height:calc(100% - 110px);margin-bottom:-80px}.mec-add-event-popup .post-type-mec-events .mec-form-row{padding-bottom:12px}.mec-add-event-popup .mec-steps-panel .mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel .mec-add-event-popup .mec-steps-panel{padding:14px}.mec-add-event-popup .mec-steps-container img,.mec-add-event-popup .mec-steps-container ul,.mec-add-shortcode-popup .mec-steps-container img,.mec-add-shortcode-popup .mec-steps-container ul{margin-top:14px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:first-of-type,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:first-of-type{height:28px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li{height:46px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:after,.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:before,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:after,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:before{height:12px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:150px}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{padding-top:12px;margin-top:12px}#mec_popup_event div#mec_location_new_container input,#mec_popup_event div#mec_organizer_new_container input{margin:0 0 3px 0}}@media(max-width:960px){.mec-steps-content-container{background-image:unset!important}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container,.mec-add-event-popup .mec-steps-content-container .mec-steps-content,.mec-add-shortcode-popup .mec-steps-content-container .mec-steps-content{width:100%!important;max-width:100%;position:unset!important;margin:0!important}.mec-add-event-popup .lity-container,.mec-add-shortcode-popup .lity-container,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]{width:100%;max-width:100%}.mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel{overflow-x:scroll;padding:14px}.mec-add-event-popup .mec-steps-header,.mec-add-shortcode-popup .mec-steps-header{margin-bottom:30px}.mec-add-event-popup .mec-steps-header span.mec-steps-header-add-text,.mec-add-shortcode-popup .mec-steps-header span.mec-steps-header-add-text{display:block;margin-top:10px;width:100%}.mec-add-event-popup .mec-col-4,.mec-add-shortcode-popup .mec-col-4{width:100%!important;max-width:100%!important}.mec-add-event-popup #mec_popup_event button#mec_organizer_thumbnail_button,.mec-add-event-popup #mec_popup_event button#mec_popup_add_location,.mec-add-event-popup #mec_popup_event button#mec_popup_add_organizer,.mec-add-shortcode-popup #mec_popup_event button#mec_organizer_thumbnail_button,.mec-add-shortcode-popup #mec_popup_event button#mec_popup_add_location,.mec-add-shortcode-popup #mec_popup_event button#mec_popup_add_organizer{margin:10px 0 0 0}.mec-add-event-popup .mec-col-1,.mec-add-event-popup .mec-col-10,.mec-add-event-popup .mec-col-11,.mec-add-event-popup .mec-col-12,.mec-add-event-popup .mec-col-2,.mec-add-event-popup .mec-col-3,.mec-add-event-popup .mec-col-4,.mec-add-event-popup .mec-col-5,.mec-add-event-popup .mec-col-6,.mec-add-event-popup .mec-col-7,.mec-add-event-popup .mec-col-8,.mec-add-event-popup .mec-col-9,.mec-add-shortcode-popup .mec-col-1,.mec-add-shortcode-popup .mec-col-10,.mec-add-shortcode-popup .mec-col-11,.mec-add-shortcode-popup .mec-col-12,.mec-add-shortcode-popup .mec-col-2,.mec-add-shortcode-popup .mec-col-3,.mec-add-shortcode-popup .mec-col-4,.mec-add-shortcode-popup .mec-col-5,.mec-add-shortcode-popup .mec-col-6,.mec-add-shortcode-popup .mec-col-7,.mec-add-shortcode-popup .mec-col-8,.mec-add-shortcode-popup .mec-col-9{margin:0 0 10px 0}.mec-add-event-popup .mec-steps-content h3,.mec-add-shortcode-popup .mec-steps-content h3{font-size:18px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles{height:480px;width:100%}}@media(max-width:320px){.mec-add-event-popup .mec-steps-container,.mec-add-shortcode-popup .mec-steps-container{display:none}.mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel{width:100%!important}}#mec_popup_event input[type=checkbox]{margin-right:9px}#mec_popup_event input#mec_location_dont_show_map{margin-top:0!important}#mec_popup_settings #mec_next_previous_events_container_toggle label,#mec_popup_settings #mec_related_events_container_toggle label{padding:0}#mec_popup_event input[type=checkbox]:checked,#mec_popup_event input[type=radio]:checked,#mec_popup_settings input[type=checkbox]:checked,#mec_popup_settings input[type=radio]:checked,#mec_popup_shortcode input[type=checkbox]:checked,#mec_popup_shortcode input[type=radio]:checked{background:#64e385;border-color:#64e385}#mec_popup_event input[type=checkbox]:checked:before,#mec_popup_event input[type=radio]:checked:before,#mec_popup_settings input[type=checkbox]:checked:before,#mec_popup_settings input[type=radio]:checked:before,#mec_popup_shortcode input[type=checkbox]:checked:before,#mec_popup_shortcode input[type=radio]:checked:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIxNC42ODgiIHZpZXdCb3g9IjAgMCAyMCAxNC42ODgiPg0KICA8ZyBpZD0idGlja18xXyIgZGF0YS1uYW1lPSJ0aWNrICgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNjcuOTk4KSI+DQogICAgPGcgaWQ9Ikdyb3VwXzEiIGRhdGEtbmFtZT0iR3JvdXAgMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCA2Ny45OTcpIj4NCiAgICAgIDxwYXRoIGlkPSJQYXRoXzEiIGRhdGEtbmFtZT0iUGF0aCAxIiBkPSJNMTkuNzA3LDY4LjI5YTEsMSwwLDAsMC0xLjQxNCwwTDYuMzEyLDgwLjI3MSwxLjcwNyw3NS42NjZBMSwxLDAsMCwwLC4yOTIsNzcuMDhMNS42LDgyLjM5MmExLDEsMCwwLDAsMS40MTQsMEwxOS43MDcsNjkuN0ExLDEsMCwwLDAsMTkuNzA3LDY4LjI5WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNjcuOTk3KSIgZmlsbD0iI2ZmZiIvPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=);line-height:16px;width:15px;float:none;margin:2px;display:block}#mec_popup_shortcode .mec-steps-content.mec-steps-content-4 label input[type=radio]:before{background:unset;margin:-2px 0 0 0}.mec-add-event-popup .mec-steps-content.mec-steps-content-5{width:366px;margin-top:48px}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{border-top:2px dashed #dce2e3;width:375px;padding-top:25px;margin-top:0;overflow-y:scroll;overflow-x:hidden;max-height:240px}#mec_popup_event div#mec_location_new_container .mec-form-row,#mec_popup_event div#mec_organizer_new_container .mec-form-row{padding-bottom:20px}#mec_popup_event div#mec_location_new_container .description,#mec_popup_event div#mec_organizer_new_container .description{margin:9px 0}#mec_popup_event div#mec_location_new_container .mec-form-row.mec-thumbnail-row,#mec_popup_event div#mec_organizer_new_container .mec-form-row.mec-thumbnail-row{padding:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher div:last-of-type label{position:absolute;top:-12px;max-width:52px;width:100%;height:30px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input+label{background:#e5e9ee;box-shadow:unset}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input+label:after{margin-left:0;margin-top:-1px;border-color:#e5e9ee}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input[value="1"]:checked+label,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input[value="1"]:checked+label:before{box-shadow:2px 2px 12px -2px #4fdc73 inset;position:relative;background:#64e385;border-color:#64e385}.lity.mec-add-event-popup .lity-content,.lity.mec-settings .lity-content{box-shadow:0 3px 20px 0 rgb(91 188 190 / 55%);border-radius:10px;height:100%;overflow:hidden}.mec-settings .lity-container{width:930px;height:620px;max-width:unset}#mec_popup_settings #mec_next_previous_events_container_toggle label:first-child,#mec_popup_settings #mec_related_events_container_toggle label:first-child{display:block;margin:0 0 20px 0}#mec_popup_event .mec-categories-tab-contents,#mec_popup_settings #mec_settings_weekdays .mec-box,#mec_popup_settings #mec_settings_weekends .mec-box{background:rgb(220 226 227 / .3)}#mec_popup_settings .mec-switcher input+label{max-width:62px!important;width:100%;height:33px}#mec_popup_settings .mec-image-select-wrap li input:checked+span:after{padding:5px}.ac-mec-events.ac-search-enabled .tablenav .ac-search>:not(#ac-s).lity-hide{display:none}.mec-go-pro-content-title{font-size:20px;font-weight:600;margin-bottom:12px}.mec-go-pro-features-wrap p{font-size:14px}.mec-go-pro-features-wrap .mec-addons-notification-box-content{width:calc(100% - 590px);display:inline-block;padding-left:20px}.mec-go-pro-features-wrap ul{float:left;width:50%;margin:0 0 12px}.mec-go-pro-features-wrap ul li{margin-bottom:1px;font-size:13px;color:#717479;padding-left:18px;position:relative}.mec-go-pro-features-wrap ul li:before{position:absolute;left:-1px;top:6px;color:#36da74;font-size:13px;font-weight:700;vertical-align:middle;font-family:simple-line-icons;border-radius:50%;padding:0;width:13px;height:13px;line-height:13px;z-index:3;background:rgba(64,241,147,.12);content:"\e080"}.post-type-mec-books.taxonomy-mec_coupon .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-mec_category .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-mec_label .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-post_tag .metabox-prefs .screen-options label,.taxonomy-mec_location .metabox-prefs .screen-options label,.taxonomy-mec_organizer .metabox-prefs .screen-options label,.taxonomy-mec_speaker .metabox-prefs .screen-options label{margin-top:-15px}.post-type-mec-books.taxonomy-mec_coupon #mec_thumbnail_img img,.post-type-mec-events.taxonomy-mec_category #mec_thumbnail_img img,.post-type-mec-events.taxonomy-mec_label #mec_thumbnail_img img,.post-type-mec-events.taxonomy-post_tag #mec_thumbnail_img img,.taxonomy-mec_location #mec_thumbnail_img img,.taxonomy-mec_organizer #mec_thumbnail_img img,.taxonomy-mec_speaker #mec_thumbnail_img img{margin:0 0 20px 0;border:solid 1px #ddd;border-radius:2px}.post-type-mec-books.taxonomy-mec_coupon .form-wrap label,.post-type-mec-events.taxonomy-mec_category .form-wrap label,.post-type-mec-events.taxonomy-mec_label .form-wrap label,.post-type-mec-events.taxonomy-post_tag .form-wrap label,.taxonomy-mec_location .form-wrap label,.taxonomy-mec_organizer .form-wrap label,.taxonomy-mec_speaker .form-wrap label{padding:0;margin:10px 0}.post-type-mec-books.taxonomy-mec_coupon input[type=number],.post-type-mec-books.taxonomy-mec_coupon input[type=search],.post-type-mec-books.taxonomy-mec_coupon input[type=text],.post-type-mec-books.taxonomy-mec_coupon input[type=url],.post-type-mec-books.taxonomy-mec_coupon select,.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category input[type=number],.post-type-mec-events.taxonomy-mec_category input[type=search],.post-type-mec-events.taxonomy-mec_category input[type=text],.post-type-mec-events.taxonomy-mec_category input[type=url],.post-type-mec-events.taxonomy-mec_category select,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label input[type=number],.post-type-mec-events.taxonomy-mec_label input[type=search],.post-type-mec-events.taxonomy-mec_label input[type=text],.post-type-mec-events.taxonomy-mec_label input[type=url],.post-type-mec-events.taxonomy-mec_label select,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag input[type=number],.post-type-mec-events.taxonomy-post_tag input[type=search],.post-type-mec-events.taxonomy-post_tag input[type=text],.post-type-mec-events.taxonomy-post_tag input[type=url],.post-type-mec-events.taxonomy-post_tag select,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location input[type=number],.taxonomy-mec_location input[type=search],.taxonomy-mec_location input[type=text],.taxonomy-mec_location input[type=url],.taxonomy-mec_location select,.taxonomy-mec_location textarea,.taxonomy-mec_organizer input[type=number],.taxonomy-mec_organizer input[type=search],.taxonomy-mec_organizer input[type=text],.taxonomy-mec_organizer input[type=url],.taxonomy-mec_organizer select,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker input[type=number],.taxonomy-mec_speaker input[type=search],.taxonomy-mec_speaker input[type=text],.taxonomy-mec_speaker input[type=url],.taxonomy-mec_speaker select,.taxonomy-mec_speaker textarea{border:solid 1px #ddd;border-radius:2px;height:40px;line-height:38px;padding-left:10px;box-shadow:0 3px 10px -2px rgba(0,0,0,.05),inset 0 1px 2px rgba(0,0,0,.02);margin-bottom:15px}.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location textarea,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker textarea{min-height:86px}.post-type-mec-books.taxonomy-mec_coupon .button,.post-type-mec-books.taxonomy-mec_coupon .button-secondary,.post-type-mec-events.taxonomy-mec_category .button,.post-type-mec-events.taxonomy-mec_category .button-secondary,.post-type-mec-events.taxonomy-mec_label .button,.post-type-mec-events.taxonomy-mec_label .button-secondary,.post-type-mec-events.taxonomy-post_tag .button,.post-type-mec-events.taxonomy-post_tag .button-secondary,.taxonomy-mec_location .button,.taxonomy-mec_location .button-secondary,.taxonomy-mec_organizer .button,.taxonomy-mec_organizer .button-secondary,.taxonomy-mec_speaker .button{color:#fff;font-weight:500;border-radius:2px;box-shadow:0 3px 10px -4px #008aff;text-shadow:none;background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%);border:none;transition:.24s;padding:6px 22px}.post-type-mec-books.taxonomy-mec_coupon .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_category .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_label .mec_upload_image_button,.post-type-mec-events.taxonomy-post_tag .mec_upload_image_button,.taxonomy-mec_location .mec_upload_image_button,.taxonomy-mec_organizer .mec_upload_image_button,.taxonomy-mec_speaker .mec_upload_image_button{margin-bottom:20px}.post-type-mec-books.taxonomy-mec_coupon .button-secondary:focus,.post-type-mec-books.taxonomy-mec_coupon .button-secondary:hover,.post-type-mec-books.taxonomy-mec_coupon .button.focus,.post-type-mec-books.taxonomy-mec_coupon .button:focus,.post-type-mec-books.taxonomy-mec_coupon .button:hover,.post-type-mec-events.taxonomy-mec_category .button-secondary:focus,.post-type-mec-events.taxonomy-mec_category .button-secondary:hover,.post-type-mec-events.taxonomy-mec_category .button.focus,.post-type-mec-events.taxonomy-mec_category .button:focus,.post-type-mec-events.taxonomy-mec_category .button:hover,.post-type-mec-events.taxonomy-mec_label .button-secondary:focus,.post-type-mec-events.taxonomy-mec_label .button-secondary:hover,.post-type-mec-events.taxonomy-mec_label .button.focus,.post-type-mec-events.taxonomy-mec_label .button:focus,.post-type-mec-events.taxonomy-mec_label .button:hover,.post-type-mec-events.taxonomy-post_tag .button-secondary:focus,.post-type-mec-events.taxonomy-post_tag .button-secondary:hover,.post-type-mec-events.taxonomy-post_tag .button.focus,.post-type-mec-events.taxonomy-post_tag .button:focus,.post-type-mec-events.taxonomy-post_tag .button:hover,.taxonomy-mec_location .button-secondary:focus,.taxonomy-mec_location .button-secondary:hover,.taxonomy-mec_location .button.focus,.taxonomy-mec_location .button:focus,.taxonomy-mec_location .button:hover,.taxonomy-mec_organizer .button-secondary:focus,.taxonomy-mec_organizer .button-secondary:hover,.taxonomy-mec_organizer .button.focus,.taxonomy-mec_organizer .button:focus,.taxonomy-mec_organizer .button:hover,.taxonomy-mec_speaker .button-secondary:focus,.taxonomy-mec_speaker .button-secondary:hover,.taxonomy-mec_speaker .button.focus,.taxonomy-mec_speaker .button:focus,.taxonomy-mec_speaker .button:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 23px -7px rgba(0,0,0,.5);cursor:pointer;color:#fff}.post-type-mec-events #TB_window{height:470px!important;top:calc(50% - 235px)!important}.post-type-mec-events #TB_ajaxContent{width:calc(100% - 30px)!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container .fserv-form-description{position:relative!important}.taxonomy-mec_category #TB_window{overflow:hidden}@media (max-width:480px){.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container .fserv-form-description,.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container form{padding-left:90px!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container form .fserv-field{width:40%!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container:before{top:100px;left:10px}}.post-type-mec-events.taxonomy-mec_label .button.wp-color-result{background:0 0;text-align:right;padding:0 0 0 32px;border-radius:4px;box-shadow:unset;border:1px solid #ddd}.post-type-mec-events.taxonomy-mec_label .button.wp-color-result .wp-color-result-text{height:30px}.post-type-mec-events.taxonomy-mec_label .wp-picker-container input[type=text].wp-color-picker{width:70px;margin-top:-10px;height:32px}.post-type-mec-events.taxonomy-mec_label .wp-picker-default{height:32px;padding-top:2px;padding-bottom:2px}.post-type-mec-events.taxonomy-mec_label .wp-picker-container .iris-picker{margin-top:-10px}.mec-admin-dark-mode #mec-wrap .nav-tab-wrapper .nav-tab,.mec-admin-dark-mode #mec-wrap h2.nav-tab-wrapper,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap h2.nav-tab-wrapper{background:#1f1f1f}.mec-admin-dark-mode #mec_bfixed_form_fields li,.mec-admin-dark-mode #mec_calendar_filter,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #mec_metabox_booking,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #mec_metabox_details,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #webnus-dashboard .mec-pro-notice .info-msg,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix:nth-child(odd),.mec-admin-dark-mode .w-box,.mec-admin-dark-mode .w-box-content pre,.mec-admin-dark-mode .w-clearfix.w-box.mec-addons-notification-box-wrap span,.mec-admin-dark-mode .w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span,.mec-admin-dark-mode .w-clearfix.w-box.mec-cmsg-notification-box-wrap span,.mec-admin-dark-mode .wns-be-main,.mec-admin-dark-mode .wns-be-main .mec-container,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix .mec-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-pro-notice .info-msg,.mec-admin-dark-mode.post-type-mec-books #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-books #screen-meta,.mec-admin-dark-mode.post-type-mec-books #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-books .postbox,.mec-admin-dark-mode.post-type-mec-events #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields li,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields li,.mec-admin-dark-mode.post-type-mec-events #post-status-info,.mec-admin-dark-mode.post-type-mec-events #screen-meta,.mec-admin-dark-mode.post-type-mec-events #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-events .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .components-popover__content,.mec-admin-dark-mode.post-type-mec-events .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .postbox,.mec-admin-dark-mode.post-type-mec-events .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-events .wp-tab-active,.mec-admin-dark-mode.post-type-mec-events .wp-tab-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec-events ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec-events ul.category-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars #major-publishing-actions,.mec-admin-dark-mode.post-type-mec_calendars #post-status-info,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec_calendars .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .postbox,.mec-admin-dark-mode.post-type-mec_calendars .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-active,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec_calendars ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars ul.category-tabs li.tabs{background:#1f1f1f;color:#fff}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .extra .mec-cmsg-2-notification-box-wrap .w-box-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-2-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra{border-color:#515151}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-2-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra{background-color:#515151}.mec-admin-dark-mode .mec-form-row .mec-box,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row ul.mec-message-categories li ul,.mec-admin-dark-mode .mec-meta-box-fields .mec-box,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-faq-accordion-trigger a{background:#333;border-color:#353535;box-shadow:0 1px 6px -2px #000}.mec-admin-dark-mode #mec_bfixed_form_fields,.mec-admin-dark-mode #mec_bfixed_form_fields #mec_bfixed_form_fields li,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix .mec-form-row.mec-syn-schedule,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields,.mec-admin-dark-mode.post-type-mec-events .select2-search--dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-search--dropdown{background:#282828;border-color:#353535}.mec-admin-dark-mode .select2-container--default .select2-selection--multiple .select2-selection__choice{color:#000}.mec-admin-dark-mode.post-type-mec-books ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-books ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.toplevel_page_mec-intro ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.toplevel_page_mec-intro ul#adminmenu>li.current>a.current:after{border-right-color:#23282d}.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_gateways_form li .mec-gateway-options-form,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #payment_gateways_option li .mec-gateway-options-form,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list{background:#000;box-shadow:0 2px 12px -5px #000}.mec-admin-dark-mode .extra .w-box-head,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child,.mec-admin-dark-mode .mec-form-row ul.mec-message-categories,.mec-admin-dark-mode .mec-message-categories li.mec-acc-label,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mce-btn-group:not(:first-child),.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-occurrences .mec-occurrences-list li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-footer,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar:before,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-books #screen-meta,.mec-admin-dark-mode.post-type-mec-books #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-books .postbox,.mec-admin-dark-mode.post-type-mec-books .postbox .hndle,.mec-admin-dark-mode.post-type-mec-books .postbox hr,.mec-admin-dark-mode.post-type-mec-books .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec-events #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-events #post-status-info,.mec-admin-dark-mode.post-type-mec-events #screen-meta,.mec-admin-dark-mode.post-type-mec-events #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-events .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .components-popover__content,.mec-admin-dark-mode.post-type-mec-events .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff .stuffbox>h3,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff h2.hndle,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff h3.hndle,.mec-admin-dark-mode.post-type-mec-events .postbox,.mec-admin-dark-mode.post-type-mec-events .postbox h2,.mec-admin-dark-mode.post-type-mec-events .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .wp-editor-container,.mec-admin-dark-mode.post-type-mec-events .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-events .wp-tab-active,.mec-admin-dark-mode.post-type-mec-events .wp-tab-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec-events ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec-events ul.category-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars #major-publishing-actions,.mec-admin-dark-mode.post-type-mec_calendars #post-status-info,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec_calendars .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option,.mec-admin-dark-mode.post-type-mec_calendars .mec-sed-methods li,.mec-admin-dark-mode.post-type-mec_calendars .postbox,.mec-admin-dark-mode.post-type-mec_calendars .postbox h2,.mec-admin-dark-mode.post-type-mec_calendars .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .wp-editor-container,.mec-admin-dark-mode.post-type-mec_calendars .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-active,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec_calendars ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars ul.category-tabs li.tabs{border-color:#353535}.mec-admin-dark-mode #mec_bfixed_form_fields input[type=checkbox],.mec-admin-dark-mode #mec_calendar_filter .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=number],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=text],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=url],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row select,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_details .mec-form-row select,.mec-admin-dark-mode #mec_metabox_details .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_details .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_reg_form_fields input[type=checkbox],.mec-admin-dark-mode .mec-addon-box-version,.mec-admin-dark-mode .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row input[type=number],.mec-admin-dark-mode .mec-form-row input[type=radio],.mec-admin-dark-mode .mec-form-row input[type=text],.mec-admin-dark-mode .mec-form-row input[type=url],.mec-admin-dark-mode .mec-form-row select,.mec-admin-dark-mode .mec-form-row textarea,.mec-admin-dark-mode .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-select-event-wrap .select2-container--default .select2-selection--single,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-form-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-send-email-form-wrap input.widefat,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option--highlighted[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-switch-editor,.mec-admin-dark-mode.m-e-calendar_page_MEC-report div.mce-toolbar-grp,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-invoice-custom-css,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #titlediv #title,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .quicktags-toolbar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default.select2-container--focus .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-results__option[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=checkbox],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=color],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=date],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime-local],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=month],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=radio],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=tel],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=time],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=week],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings textarea,.mec-admin-dark-mode.post-type-mec-books .wn-mec-select,.mec-admin-dark-mode.post-type-mec-books input[type=checkbox],.mec-admin-dark-mode.post-type-mec-books input[type=email],.mec-admin-dark-mode.post-type-mec-books input[type=number],.mec-admin-dark-mode.post-type-mec-books input[type=text],.mec-admin-dark-mode.post-type-mec-books input[type=url],.mec-admin-dark-mode.post-type-mec-books select,.mec-admin-dark-mode.post-type-mec-books textarea,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_field_types button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields button,.mec-admin-dark-mode.post-type-mec-events #titlediv #title,.mec-admin-dark-mode.post-type-mec-events .components-form-token-field__input-container,.mec-admin-dark-mode.post-type-mec-events .components-panel__body,.mec-admin-dark-mode.post-type-mec-events .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-certain-day>div,.mec-admin-dark-mode.post-type-mec-events .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .mec-xi-google-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .select2-dropdown,.mec-admin-dark-mode.post-type-mec-events .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec-events .wp-admin p label input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=color],.mec-admin-dark-mode.post-type-mec-events input[type=date],.mec-admin-dark-mode.post-type-mec-events input[type=datetime-local],.mec-admin-dark-mode.post-type-mec-events input[type=datetime],.mec-admin-dark-mode.post-type-mec-events input[type=email],.mec-admin-dark-mode.post-type-mec-events input[type=month],.mec-admin-dark-mode.post-type-mec-events input[type=number],.mec-admin-dark-mode.post-type-mec-events input[type=password],.mec-admin-dark-mode.post-type-mec-events input[type=radio],.mec-admin-dark-mode.post-type-mec-events input[type=search],.mec-admin-dark-mode.post-type-mec-events input[type=tel],.mec-admin-dark-mode.post-type-mec-events input[type=text],.mec-admin-dark-mode.post-type-mec-events input[type=time],.mec-admin-dark-mode.post-type-mec-events input[type=url],.mec-admin-dark-mode.post-type-mec-events input[type=week],.mec-admin-dark-mode.post-type-mec-events select,.mec-admin-dark-mode.post-type-mec-events textarea,.mec-admin-dark-mode.post-type-mec_calendars #titlediv #title,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.post-type-mec_calendars .select2-dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec_calendars input[type=checkbox],.mec-admin-dark-mode.post-type-mec_calendars input[type=color],.mec-admin-dark-mode.post-type-mec_calendars input[type=date],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime-local],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime],.mec-admin-dark-mode.post-type-mec_calendars input[type=email],.mec-admin-dark-mode.post-type-mec_calendars input[type=month],.mec-admin-dark-mode.post-type-mec_calendars input[type=number],.mec-admin-dark-mode.post-type-mec_calendars input[type=password],.mec-admin-dark-mode.post-type-mec_calendars input[type=radio],.mec-admin-dark-mode.post-type-mec_calendars input[type=search],.mec-admin-dark-mode.post-type-mec_calendars input[type=tel],.mec-admin-dark-mode.post-type-mec_calendars input[type=text],.mec-admin-dark-mode.post-type-mec_calendars input[type=time],.mec-admin-dark-mode.post-type-mec_calendars input[type=url],.mec-admin-dark-mode.post-type-mec_calendars input[type=week],.mec-admin-dark-mode.post-type-mec_calendars select,.mec-admin-dark-mode.post-type-mec_calendars textarea,.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[name=MECPurchaseCode],.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[type=radio]+label span,.mec-select-deselect-actions li{background:#282828;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=checkbox]:checked,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=checkbox]:checked,.mec-admin-dark-mode .mec-custom-nice-select ul.list li .wn-mec-text:after,.mec-admin-dark-mode .mec-sed-methods li:before{box-shadow:0 1px 6px -2px #000;border-color:#353535;background:#222}.mec-admin-dark-mode .mec-sed-methods li.active,.mec-admin-dark-mode .mec-switcher input+label,.mec-admin-dark-mode .mec-switcher input+label:before,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option{background-color:#000}.mec-admin-dark-mode .wn-mec-select .option.focus .wn-img-sh img,.mec-admin-dark-mode .wn-mec-select .option.selected.focus .wn-img-sh img,.mec-admin-dark-mode .wn-mec-select .option:hover .wn-img-sh img{background:0 0}.mec-admin-dark-mode .ui-datepicker{background-color:#000;border:1px solid #000;box-shadow:0 0 8px rgba(33,33,33,.6)}.mec-admin-dark-mode .ui-datepicker.ui-widget td a,.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article .mec-detail-button,.mec-admin-dark-mode.post-type-mec-events,.mec-admin-dark-mode.post-type-mec-events .postbox h2,.mec-admin-dark-mode.post-type-mec_calendars .postbox h2{color:#d2d2d2;background:#282828}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul *{background:#282828}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul>ul>li,.mec-admin-dark-mode #mec_styles_form #mec_styles_CSS,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix,.mec-admin-dark-mode .mec-message-categories li.mec-acc-label,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields{background:#000}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-admin-dark-mode .mec-active,.mec-admin-dark-mode.post-type-mec-events .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#888!important}.mec-admin-dark-mode.post-type-mec_calendars .mec-calendar-metabox .wn-mec-select .list{border-radius:0 0 2px 2px;box-shadow:0 0 0 1px #353535,0 2px 6px rgba(0,0,0,.07)}.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .ui-sortable-handle,.mec-admin-dark-mode #mec_gateways_form li .mec-gateway-options-form,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .ui-sortable-handle,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_metabox_details .ui-sortable-handle,.mec-admin-dark-mode #payment_gateways_option li .mec-gateway-options-form,.mec-admin-dark-mode .mec-meta-box-fields h4{border-color:#000!important}.mec-admin-dark-mode .wns-be-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-admin-dark-mode.post-type-mec-events #wp-content-editor-tools,.mec-admin-dark-mode.post-type-mec_calendars,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .list{background-color:#282828;border-color:#353535}.mec-admin-dark-mode .mec-intro-section-ifarme iframe,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container *,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container *{background:#1f1f1f!important;border-color:#353535!important}.mec-admin-dark-mode .block-editor-block-types-list__item-icon,.mec-admin-dark-mode .block-editor-block-types-list__item-title,.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article h4.mec-event-title,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-selection--single .select2-selection__rendered,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .about-wrap h3,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container .fserv-form-name,.mec-admin-dark-mode.toplevel_page_mec-intro .about-wrap h3,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container .fserv-form-name{color:#d2d2d2!important}.mec-admin-dark-mode .wns-be-sidebar li a:hover,.mec-admin-dark-mode .wns-be-sidebar li:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option:hover{background:#000;color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar li a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h2,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h3,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head span,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h2,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-faq-accordion-trigger a,.mec-admin-dark-mode.post-type-mec-books .postbox h1,.mec-admin-dark-mode.post-type-mec-books .postbox h2,.mec-admin-dark-mode.post-type-mec-books .postbox h3,.mec-admin-dark-mode.post-type-mec-events .components-panel__body-toggle.components-button,.mec-admin-dark-mode.post-type-mec-events .wrap h1.wp-heading-inline,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option .wn-mec-text{color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a:hover{border:none}.mec-admin-dark-mode .wns-be-sidebar li.active ul.subsection{background:#282828;border-bottom:1px solid #353535}.mec-admin-dark-mode .wns-be-sidebar li .subsection a{background:#282828;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 46px}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main{box-shadow:0 2px 12px -5px #000}.mec-admin-dark-mode .wns-be-sidebar .mec-settings-menu .mec-settings-submenu a,.mec-admin-dark-mode li.wns-be-group-menu-li.mec-settings-menu .mec-settings-submenu,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option.focus,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option.selected.focus,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option:hover{background:#000;color:#d2d2d2;border-color:#353535}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option{background:#000!important;color:#fff!important}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .about-wrap h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-report,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings div.mce-panel,.mec-admin-dark-mode.m-e-calendar_page_MEC-support,.mec-admin-dark-mode.m-e-calendar_page_MEC-support h1,.mec-admin-dark-mode.post-type-mec-books,.mec-admin-dark-mode.post-type-mec-books h1,.mec-admin-dark-mode.post-type-mec_calendars,.mec-admin-dark-mode.post-type-mec_calendars .wrap h1.wp-heading-inline,.mec-admin-dark-mode.toplevel_page_mec-intro,.mec-admin-dark-mode.toplevel_page_mec-intro .about-wrap h1{background:#282828!important;color:#d2d2d2}.mec-admin-dark-mode .w-theme-version{box-shadow:0 3px 30px -4px #000;background:#000;background:linear-gradient(95deg,#000 0,#282828 50%,#1f1f1f 100%)}.mec-admin-dark-mode .mec-sed-methods li.active,.mec-admin-dark-mode .wns-be-container .wns-be-group-tab h2,.mec-admin-dark-mode .wns-be-container .wns-be-group-tab h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap .nav-tab-wrapper .nav-tab,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap h2.nav-tab-wrapper,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple .select2-selection__choice{color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li a:hover{color:#07bbe9}.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap .nav-tab-wrapper .nav-tab-active{background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%)}.mec-admin-dark-mode .wns-be-container #wns-be-infobar:before{content:"";width:261px;height:78px;display:block;position:absolute;left:0;top:0;background:#1f1f1f url(../img/webnus-logo2.png) no-repeat center;border-bottom:1px solid #dedede;background-size:220px;z-index:997}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-footer,.mec-admin-dark-mode.post-type-mec-books #titlediv #title,.mec-admin-dark-mode.post-type-mec-books .postbox h1{background:#1f1f1f!important}.mec-admin-dark-mode .mec-settings-menu .mec-settings-submenu:after,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:#353535}.mec-admin-dark-mode .mec-switcher input:checked+label:before{background-color:#d2d2d2;box-shadow:2px 2px 12px -2px #ccc inset}.mec-admin-dark-mode .mec-switcher input:checked+label{box-shadow:0 3px 11px -7px #000}.mec-admin-dark-mode .lity.mec-add-event-popup,.mec-admin-dark-mode .lity.mec-add-shortcode-popup,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup,.mec-admin-dark-mode .mec-add-shortcode-popup div#mec_popup_shortcode{background:#282828}.mec-admin-dark-mode .lity.mec-add-event-popup .lity-content,.mec-admin-dark-mode .lity.mec-add-shortcode-popup .lity-content{box-shadow:0 3px 20px 0 rgba(0,0,0,.55)}.mec-admin-dark-mode .mec-add-event-popup .mec-meta-box-colors-container,.mec-admin-dark-mode .mec-steps-container,.mec-admin-dark-mode .mec-steps-header{background:#000}.mec-admin-dark-mode .mec-add-event-popup div#mec_popup_event,.mec-admin-dark-mode .mec-steps-panel{background:#1f1f1f}.mec-admin-dark-mode button.lity-close{background:#000;box-shadow:0 3px 8px 0 rgba(0,0,0,.55)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li{border:2px solid #282828;background:#000!important}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text:before,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input{background:#282828;border-color:#1f1f1f;box-shadow:0 3px 6px 0 rgba(0,0,0,.05)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li.active{box-shadow:0 3px 5px rgba(0,0,0,.2)}.mec-admin-dark-mode .nicescroll-cursors{background-color:#000!important}.mec-admin-dark-mode .mec-add-event-popup .mec-categories-tab-contents,.mec-admin-dark-mode .mec-add-event-popup .mec-form-row.mec-available-color-row,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content.mec-steps-content-7.mec-steps-content-active,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode{border-color:#282828;background:#000}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code{background:rgba(266,266,266,.35)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code code,.mec-admin-dark-mode .mec-steps-content h3{color:#d2d2d2}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.focus,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected.focus,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option:hover{background:#000}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list{background:#282828}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list::-webkit-scrollbar-track{background-color:#333}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list::-webkit-scrollbar{width:3px;background-color:#333}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button{margin-left:unset}.mec-admin-dark-mode .wp-picker-container .wp-color-result.button{background:inherit}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container-body.mce-stack-layout{background:#000;border-color:#000!important}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup{background-color:#000;border-color:#282828}.mec-admin-dark-mode #wns-be-content .noresults label,.mec-admin-dark-mode #wns-be-content .results .results .noresults label,.mec-admin-dark-mode #wns-be-content ul li.disable,.mec-admin-dark-mode #wns-be-content ul li.disable label{color:#666}.mec-admin-dark-mode #wns-be-content .results .results .results label,.mec-admin-dark-mode #wns-be-content .results label,.mec-admin-dark-mode #wns-be-content ul li.enable,.mec-admin-dark-mode #wns-be-content ul li.enable label{color:#fff}.mec-admin-dark-mode.post-type-mec-books table.widefat,.mec-admin-dark-mode.post-type-mec_calendars table.widefat,.post-type-mec-events.mec-admin-dark-mode table.widefat{background:#1f1f1f;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-books ul.striped>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-events .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-events ul.striped>:nth-child(odd),.mec-admin-dark-mode.post-type-mec_calendars .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec_calendars ul.striped>:nth-child(odd){background:#282828;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books .widefat td,.mec-admin-dark-mode.post-type-mec-books .widefat th,.mec-admin-dark-mode.post-type-mec-events .widefat td,.mec-admin-dark-mode.post-type-mec-events .widefat th,.mec-admin-dark-mode.post-type-mec_calendars .widefat td,.mec-admin-dark-mode.post-type-mec_calendars .widefat th{border-color:#000;color:#d2d2d2}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu>li.current>a.current:after{border-right-color:#1f1f1f}.mec-admin-dark-mode #mec_add_fee_button,.mec-admin-dark-mode #mec_add_ticket_variation_button,.mec-admin-dark-mode #mec_bfixed_form_field_types button,.mec-admin-dark-mode #mec_bfixed_form_fields button,.mec-admin-dark-mode #mec_event_form_field_types button,.mec-admin-dark-mode #mec_event_form_fields button,.mec-admin-dark-mode #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,.mec-admin-dark-mode #mec_reg_form_field_types button,.mec-admin-dark-mode #mec_reg_form_fields button,.mec-admin-dark-mode #taxes_option #mec_fees_list .mec-form-row .button,.mec-admin-dark-mode #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,.mec-admin-dark-mode .mec-export-settings,.mec-admin-dark-mode .mec-import-settings,.mec-admin-dark-mode .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),.mec-admin-dark-mode .mec-occurrences-wrapper .button:not(.wp-color-result),.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button-secondary,.mec-admin-dark-mode.post-type-mec-books .button,.mec-admin-dark-mode.post-type-mec-books .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec-events .button,.mec-admin-dark-mode.post-type-mec-events .button-secondary,.mec-admin-dark-mode.post-type-mec-events .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec_calendars .button,.mec-admin-dark-mode.post-type-mec_calendars .wp-heading-inline+.page-title-action{color:#d2d2d2!important;border-color:#353535!important;background:#000}.mec-admin-dark-mode #mec_add_fee_button:hover,.mec-admin-dark-mode #mec_add_ticket_variation_button:hover,.mec-admin-dark-mode #mec_bfixed_form_field_types button:hover,.mec-admin-dark-mode #mec_bfixed_form_fields button:hover,.mec-admin-dark-mode #mec_event_form_field_types button:hover,.mec-admin-dark-mode #mec_event_form_fields button:hover,.mec-admin-dark-mode #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button:hover,.mec-admin-dark-mode #mec_reg_form_field_types button:hover,.mec-admin-dark-mode #mec_reg_form_fields button:hover,.mec-admin-dark-mode #taxes_option #mec_fees_list .mec-form-row .button:hover,.mec-admin-dark-mode #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button:hover,.mec-admin-dark-mode .mec-export-settings:hover,.mec-admin-dark-mode .mec-import-settings:hover,.mec-admin-dark-mode .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result):hover,.mec-admin-dark-mode .mec-occurrences-wrapper .button:not(.wp-color-result):hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button-secondary:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button.hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button:hover,.mec-admin-dark-mode.post-type-mec-events .button-secondary:hover,.mec-admin-dark-mode.post-type-mec-events .button.hover,.mec-admin-dark-mode.post-type-mec-events .button:hover,.mec-admin-dark-mode.post-type-mec_calendars .button-secondary:hover,.mec-admin-dark-mode.post-type-mec_calendars .button.hover,.mec-admin-dark-mode.post-type-mec_calendars .button:hover{background:#111;border-color:#333!important;color:#fff}.mec-admin-dark-mode.post-type-mec-events .mec-form-row .button:not(.wp-color-result){height:37px;margin-top:1px;box-shadow:inset 0 2px 4px #282828,inset 0 -2px 4px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.06)}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-color-result-text,.mec-admin-dark-mode.post-type-mec-events .wp-color-result-text{border-left:1px solid #353535;color:#d2d2d2;background:#000}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-search-settings{color:#d2d2d2;background:#282828}.mec-admin-dark-mode.taxonomy-mec_category .button,.mec-admin-dark-mode.taxonomy-mec_label .button,.mec-admin-dark-mode.taxonomy-mec_location .button,.mec-admin-dark-mode.taxonomy-mec_organizer .button,.mec-admin-dark-mode.taxonomy-mec_speaker .button,.mec-admin-dark-mode.taxonomy-mec_tag .button{box-shadow:0 3px 10px -4px #000!important}.mec-admin-dark-mode.post-type-mec_calendars .mec-switcher input+label:after,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option .wn-hover-img-sh img{background:#282828}.mec-admin-dark-mode .attachment-info,.mec-admin-dark-mode .media-frame-toolbar .media-toolbar{border-color:#282828}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .mce-content-body{background-color:#000!important}.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article{border-bottom:1px solid #444}.mec-admin-dark-mode #webnus-dashboard a,.mec-admin-dark-mode #webnus-dashboard pre,.mec-admin-dark-mode .extra .w-box-head,.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a,.mec-admin-dark-mode .mec-form-row label,.mec-admin-dark-mode .mec-form-row span,.mec-admin-dark-mode .mec-meta-box-fields h4,.mec-admin-dark-mode .mec-meta-box-fields label,.mec-admin-dark-mode .mec-meta-box-fields p,.mec-admin-dark-mode .mec-meta-box-fields span,.mec-admin-dark-mode .mec-meta-box-fields strong,.mec-admin-dark-mode .mec-new-addons .mec-addons-notification-title,.mec-admin-dark-mode .mec-new-addons p,.mec-admin-dark-mode .mec-new-addons strong,.mec-admin-dark-mode .w-box-content p,.mec-admin-dark-mode .w-box.doc,.mec-admin-dark-mode .w-box.total-bookings ul li,.mec-admin-dark-mode .w-box.total-bookings ul li a,.mec-admin-dark-mode .wns-be-sidebar .mec-settings-menu .mec-settings-submenu a,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button{color:#fff!important}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a{box-shadow:0 0 0 3px rgb(255 255 255 / 24%)!important}.mec-admin-dark-mode #webnus-dashboard .mec-event-detail{color:#444}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{border-color:#2d2d2d}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{color:#282828!important}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:hover{color:#fff!important}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:nth-child(2):hover,.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:nth-child(3):hover{color:#999!important}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a,.mec-admin-dark-mode .w-box.total-bookings ul li{background:#333;box-shadow:0 2px 3px -2px #000}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a:hover,.mec-admin-dark-mode .w-box.total-bookings ul li:hover{background:#000}.mec-admin-dark-mode #webnus-dashboard .total-bookings input[type=text],.mec-admin-dark-mode #webnus-dashboard .total-bookings select{background:#000;color:#999;border-color:#111},.mec-admin-dark-mode #mec_category-add-toggle,.mec-admin-dark-mode #sample-permalink a,.mec-admin-dark-mode #set-post-thumbnail,.mec-admin-dark-mode .button-link,.mec-admin-dark-mode .category-tabs a,.mec-admin-dark-mode .mec-add-booking-tabs-left a,.mec-admin-dark-mode .mec-add-event-tabs-left a,.mec-admin-dark-mode .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode.post-type-mec-events .wp-list-table .row-title,.mec-admin-dark-mode.post-type-mec_calendars .wp-list-table .row-title{color:#888!important}.mec-admin-dark-mode .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode .mec-create-shortcode-tabs-left a.mec-tab-active{color:#00b0dd}.mec-admin-dark-mode #TB_title,.mec-admin-dark-mode #TB_window{background:#000}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .webnus-icons-list li:hover{background:#111}.mec-admin-dark-mode #TB_window i{color:#999}.mec-admin-dark-mode #TB_title,.mec-admin-dark-mode .webnus-icons-list li label{border:unset!important}.mec-admin-dark-mode.post-type-mec-books .notice-success,.mec-admin-dark-mode.post-type-mec-books div.updated,.mec-admin-dark-mode.post-type-mec-events .notice-success,.mec-admin-dark-mode.post-type-mec-events div.updated,.mec-admin-dark-mode.post-type-mec_calendars .notice-success,.mec-admin-dark-mode.post-type-mec_calendars div.updated{background:#111;border-top:unset;border-bottom:unset}.mec-admin-dark-mode.post-type-mec-books input,.mec-admin-dark-mode.post-type-mec-events input,.mec-admin-dark-mode.post-type-mec_calendars input{background:#000;color:#888}.mec-admin-dark-mode.post-type-mec-books .subsubsub a,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item,.mec-admin-dark-mode.post-type-mec-events .subsubsub a,.mec-admin-dark-mode.post-type-mec_calendars .subsubsub a{color:#2271b1}.mec-admin-dark-mode.post-type-mec-books .subsubsub a:hover,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item:hover,.mec-admin-dark-mode.post-type-mec-events .subsubsub a:hover,.mec-admin-dark-mode.post-type-mec_calendars .subsubsub a:hover{color:#135e96}.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a,.mec-admin-dark-mode.post-type-mec-events #set-post-thumbnail,.mec-admin-dark-mode.post-type-mec-events .attachment-info .filename{color:#888}.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a:hover,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a:hover,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a:hover,.mec-admin-dark-mode.post-type-mec-events #set-post-thumbnail:hover{color:#a9a9a9}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .w-theme-version,.mec-admin-dark-mode.post-type-mec_calendars .mec-switcher input+label:after{border-color:#444}.mec-admin-dark-mode.post-type-mec-books .postbox-header,.mec-admin-dark-mode.post-type-mec-events .postbox-header,.mec-admin-dark-mode.post-type-mec_calendars .postbox-header{border-color:#000}.mec-admin-dark-mode.post-type-mec-events .inside div div>a.mec-tab-active:after,.mec-admin-dark-mode.post-type-mec-events .inside div div>a.mec-tab-active:before,.mec-admin-dark-mode.post-type-mec_calendars .inside div div>a.mec-tab-active:after,.mec-admin-dark-mode.post-type-mec_calendars .inside div div>a.mec-tab-active:before{border-right-color:#2d2d2d}.mec-admin-dark-mode .mec-form-row input[type=radio]{box-shadow:0 1px 10px -2px #000}.mec-admin-dark-mode.post-type-mec-books .form-wrap label,.mec-admin-dark-mode.post-type-mec-books .media-frame-title h1,.mec-admin-dark-mode.post-type-mec-books h2,.mec-admin-dark-mode.post-type-mec-events .form-wrap label,.mec-admin-dark-mode.post-type-mec-events .media-frame-title h1,.mec-admin-dark-mode.post-type-mec-events h2{color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books.taxonomy-mec_coupon .button,.mec-admin-dark-mode.post-type-mec-events.taxonomy-post_tag .button{box-shadow:0 3px 10px -4px #000}.mec-admin-dark-mode.post-type-mec-events .attachments-browser .media-toolbar,.mec-admin-dark-mode.post-type-mec-events .media-frame-content,.mec-admin-dark-mode.post-type-mec-events .media-modal-content{background:#2d2d2d;color:#888}.mec-admin-dark-mode.post-type-mec-events .media-router .active,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item.active:last-child,.mec-admin-dark-mode.post-type-mec-events .media-sidebar,.mec-admin-dark-mode.post-type-mec-events .quicktags-toolbar{background:#222}.mec-admin-dark-mode.post-type-mec-events .attachments-browser .media-toolbar,.mec-admin-dark-mode.post-type-mec-events .media-frame-content,.mec-admin-dark-mode.post-type-mec-events .media-modal-content,.mec-admin-dark-mode.post-type-mec-events .media-router .active,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item.active:last-child,.mec-admin-dark-mode.post-type-mec-events .media-sidebar,.mec-admin-dark-mode.post-type-mec-events .quicktags-toolbar{border-color:#000}.mec-admin-dark-mode.post-type-mec-events .wp-core-ui .attachment-preview{background:#000}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-footer,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .w-col-sm-3 .w-box.addon{border-color:#444}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-footer{background:#444}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-title span{color:#d2d2d2}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard{background:#282828!important}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap{background:#1f1f1f}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap .mec-wizard-starter-video a,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button{background:#000;border-color:#353535;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap .mec-wizard-starter-video a:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover{border-color:#515151}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-back-box .mec-wizard-back-button{background:0 0;box-shadow:unset}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap svg path{fill:#7b7b7b;stroke:#7b7b7b;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a p,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button span{color:#7b7b7b;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a:hover p,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover span{color:#fff}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a:hover svg path,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover svg path{fill:#fff;stroke:#fff}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip,.post-type-mec-books .attendees .mec-booking-attendees-tooltip{position:relative}.mec-attendees-wrapper .mec-attendees-list strong,.post-type-mec-books .attendees strong{line-height:26px;padding-left:26px}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:before,.post-type-mec-books .attendees .mec-booking-attendees-tooltip:before{position:absolute;content:"\e001";font-family:simple-line-icons;margin:12px 0;top:-30px;left:0;font-size:18px;line-height:12px;color:#40d9f1;padding:0 60px 5px 0}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul{position:absolute;min-width:300px;max-width:600px;display:inline-block;left:60px;top:50%;transform:translateY(-50%);background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;z-index:9999999;box-sizing:border-box;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s;padding:23px 20px 20px 20px;border-radius:8px;margin-top:-13px}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul:before,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:hover ul,.post-type-mec-books .attendees .mec-booking-attendees-tooltip:hover ul{visibility:visible;opacity:1}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul a,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul a{color:#40d9f1;margin-bottom:14px;margin-left:0;font-weight:400;font-size:14px;letter-spacing:.5px;position:relative;text-decoration:none;display:block;width:max-content}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul li:last-child a,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul li:last-child a{margin-bottom:0}.mec-metabox-head-version img,.mec-metabox-head-version p{float:left}.mec-metabox-head-version a{float:right}.mec-metabox-head-version p{margin-top:3px;margin-left:5px;margin-bottom:34px}h3.mec-metabox-feed-head{border-top:1px solid #ccc}div#mec_widget_news_features .inside{padding:0}.mec-metabox-head-wrap{padding:0 12px}#dashboard-widgets h3.mec-metabox-feed-head{padding:8px 12px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:700}.mec-metabox-feed-content{padding:0 12px}.mec-metabox-feed-content ul li a{font-weight:600;display:block}.mec-metabox-feed-content ul li p{margin:3px 0 24px}.mec-metabox-footer a span{font-size:17px;vertical-align:middle;margin-left:2px}.mec-metabox-footer a{text-decoration:none;border-right:1px solid #eee;padding-right:10px;margin-right:12px}.mec-metabox-footer{padding:11px 12px 10px;border-top:1px solid #eee}.mec-metabox-footer a:last-of-type{border:none}.mec-metabox-upcoming-wrap h3{border-top:none!important;padding-top:13px!important}.mec-metabox-head-wrap{box-shadow:0 5px 8px rgba(0,0,0,.05)}.mec-metabox-upcoming-wrap ul li span{float:left}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event{float:left;margin-left:10px}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event-date{float:right}.mec-metabox-upcoming-wrap ul{padding:0 12px;background:#f7f7f7;margin:0}.mec-metabox-upcoming-wrap ul li{border-bottom:1px solid #eee;padding:14px 0;margin-bottom:0}.mec-metabox-upcoming-wrap ul li:last-of-type{border:none}.mec-metabox-upcoming-wrap h3{margin-bottom:0!important}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event a{font-weight:600}.mec-metabox-head-version a span{vertical-align:middle}.mec-metabox-head-version a{padding-left:6px!important}#mec_widget_total_bookings .w-box.total-bookings ul li:first-child{margin-left:1px}#mec_widget_total_bookings .w-box.total-bookings ul li{margin-right:4px}#mec_widget_total_bookings .w-box.total-bookings ul li:last-child{margin-right:0}#mec_widget_total_bookings .w-box.total-bookings ul li a{color:#000}#mec_widget_total_bookings .w-box.total-bookings ul li:hover a{color:#fff}#mec_widget_total_bookings{overflow:hidden}#mec_widget_total_bookings .inside,#mec_widget_total_bookings .w-box{margin:0;padding-bottom:0}#mec_widget_total_bookings .w-col-sm-12{padding:0}#mec_widget_total_bookings .w-box-content button{color:#fff!important;font-weight:500!important;border-radius:2px!important;box-shadow:0 3px 10px -4px #008aff!important;text-shadow:none!important;background:#008aff!important;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%)!important;border:none!important;transition:.24s!important;line-height:39px;padding:0 36px;width:calc(33% - 7px);margin-bottom:14px}#mec_widget_total_bookings .w-box-content input[type=text],#mec_widget_total_bookings .w-box-content select{border:solid 1px #ddd;border-radius:2px;height:40px;line-height:38px;padding-left:10px;box-shadow:0 3px 10px -2px rgba(0,0,0,.05),inset 0 1px 2px rgba(0,0,0,.02)}#mec_widget_total_bookings .w-box-content input[type=text]{width:calc(50% - 5px)}#mec_widget_total_bookings .w-box-content select{width:calc(33% - 2px);margin-bottom:24px;margin-top:20px}div#mec-schema .mec-form-row label{display:inline-block;width:141px}.event-status-schema{background:rgb(247 248 249 / 10%);padding:20px 40px;margin:10px 0 35px;border-radius:4px;border:1px solid #e6e6e6}@media (min-width:1281px){.event-status-schema{max-width:70%}}.event-status-schema p{margin-bottom:35px}div#mec_cancelled_reason_wrapper label{width:166px!important}.mec-fluent-hidden{display:none}#webnus-dashboard .total-bookings input[type=text]{height:38px;line-height:38px;padding-left:10px;border-radius:5px;border:none;background-color:#f7f8f9;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)}#webnus-dashboard .total-bookings select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:34px;line-height:34px;background-color:#f7f8f9;border-radius:2px;padding-left:8px;box-shadow:0 1px 3px rgb(0 0 0 / 2%);transition:all .23s ease;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:26px 10px;background-position:right center;min-width:160px;border:1px solid #e6e9eb}#webnus-dashboard select{margin-top:-5px}#mec_styles_CSS{line-height:1.6}.mec-search-forms-options-container label.mec-col-12{margin-bottom:10px}@media(max-width:480px){.toplevel_page_mec-intro .mec-intro-section-ifarme iframe{width:auto!important;height:auto!important}.w-box.mec-activation input[name=MECPurchaseCode]{min-width:200px!important;width:330px}.w-box.mec-activation{background:#fff}.mec-addons{padding-right:15px}.mec-report-wrap{margin-top:20px}.mec-report-select-event-wrap .select2-container--default,.mec-report-select-event-wrap select.mec-reports-selectbox-dates{max-width:100%;width:100%;margin:10px 0}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head{padding:10px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head span{font-size:13px}.mec-report-selected-event-attendees-wrap .mec-attendees-content .w-col-xs-3{word-wrap:break-word}.mec-report-selected-event-attendees-wrap .w-col-xs-3.name img{display:block}.mec-report-selected-event-attendees-wrap input[type=checkbox],.mec-report-selected-event-attendees-wrap input[type=radio]{height:.85rem;width:.85rem}.wns-be-container .dpr-btn.dpr-save-btn{margin:0!important}#mec_booking_form .mec-container{padding-left:0;padding-right:0}#mec_event_form_fields,#mec_reg_form_fields{padding:10px}.mec-search-forms-options-container .mec-form-row select{width:100%}#mec_skin_monthly_view_start_date_container{display:unset}#mec_calendar_display_options input[type=number],#mec_calendar_display_options input[type=text],#mec_calendar_display_options select{max-width:100%!important;width:100%;margin:10px 0}#mec_select_tags.mec-create-shortcode-tab-content input[type=text]{width:auto}#mec_tickets .mec-box{padding:20px 7px}.fserv-container form,.fserv-form-description{padding:10px 15px!important}.fserv-field{display:inline-block;width:25%!important;padding:0!important;margin:0!important;margin-right:10px!important}#webnus-dashboard .total-bookings button{margin:15px 0}}.mec-skin-styles.mec-styles-custom{padding-left:0!important;top:40%;position:absolute;width:330px;height:auto!important;overflow:visible!important}.mec-skin-styles.mec-styles-custom .nice-select{box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07);clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:300px!important}.mec-styles-custom h3{font-size:13px;font-weight:400;color:#707070}.post-type-mec_calendars .mec-form-row .select2-selection{height:auto}.mec-form-row .mec-col-12 ul li span{display:inline-block;background:#f7f8f9;padding:8px 15px;margin-right:5px;border-radius:3px;border:1px dashed #d7d8d9;font-family:monospace;letter-spacing:.4px}.post-type-mec-events .ui-datepicker.ui-widget .ui-button,.post-type-mec-events .ui-datepicker.ui-widget .ui-button.ui-state-disabled:active,.post-type-mec-events .ui-datepicker.ui-widget .ui-button.ui-state-disabled:hover,.post-type-mec-events .ui-datepicker.ui-widget .ui-state-default,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-content .ui-state-default,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-header .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button.ui-state-disabled:active,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button.ui-state-disabled:hover,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-content .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-header .ui-state-default{border:0;background-color:#fff;font-weight:400;color:#212121;text-align:center}.post-type-mec-events .ui-datepicker.ui-widget td a.ui-state-active,.post-type-mec-events .ui-datepicker.ui-widget td a:hover,.post-type-mec_calendars .ui-datepicker.ui-widget td a.ui-state-active,.post-type-mec_calendars .ui-datepicker.ui-widget td a:hover{background:#40d9f1;color:#fff}.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-header,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-header{border:0;background:unset;background-color:#fff}.post-type-mec-events .ui-datepicker.ui-widget .ui-icon,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-content .ui-icon,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-icon,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-content .ui-icon{background-image:unset}.post-type-mec-events .ui-datepicker.ui-widget select,.post-type-mec_calendars .ui-datepicker.ui-widget select{font-weight:600;font-size:12px;border-radius:2px;padding:2px 10px;margin:1px 3px 5px}.mec-update-warning+p{display:none}#mec_sf_timetable_address_search_placeholder,#mec_sf_timetable_txt_search_placeholder{margin-top:4px}body.rtl .wns-be-sidebar{width:260px;float:right;position:relative}body.rtl .wns-be-main{margin-left:0;border-left:0;margin-right:260px;border-right:1px solid #dedede}body.rtl .w-box.mec-activation .LicenseField{direction:rtl}body.rtl .w-box.mec-activation input[name=MECPurchaseCode]{text-align:right;padding-right:20px}body.rtl #MECActivation .MECPurchaseStatus,body.rtl .addon-activation-form .MECPurchaseStatus{right:auto;left:-51px}body.rtl #webnus-dashboard .w-box.mec-activation input[type=submit]{right:auto;left:5px}body.rtl .wns-be-sidebar .wns-be-group-menu li a{padding:13px 20px 13px 4px}body.rtl .wns-be-sidebar .wns-be-group-tab-link-a span.wns-be-group-menu-title{padding-left:0;padding-right:24px}body.rtl .wns-be-sidebar .has-sub span.extra-icon{float:left}body.rtl .wns-be-sidebar .wns-be-group-tab-link-a span.extra-icon i{right:auto;left:10px}body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:transparent;border-left-color:#fff;right:auto;left:-1px;top:10px}body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:transparent;border-left-color:#c5c5c5;right:auto;left:0}body.rtl .mec-col-1,body.rtl .mec-col-10,body.rtl .mec-col-11,body.rtl .mec-col-12,body.rtl .mec-col-2,body.rtl .mec-col-3,body.rtl .mec-col-4,body.rtl .mec-col-5,body.rtl .mec-col-6,body.rtl .mec-col-7,body.rtl .mec-col-8,body.rtl .mec-col-9{float:right;margin:0}body.rtl .wns-be-sidebar li .submneu-hover{right:auto;left:-222px}body.rtl .wns-be-sidebar li .submneu-hover:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:auto;right:-1px;top:14px}body.rtl #mec_styles_form #mec_styles_CSS{direction:ltr}body.rtl .w-box.mec-activation{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleX(-1)}body.rtl .w-box.mec-activation .w-box-content,body.rtl .w-box.mec-activation .w-box-head{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleX(-1);display:block}body.rtl .w-box.mec-activation .w-box-head{width:100%}body.rtl .wns-be-container #wns-be-infobar:before{left:auto;right:0}body.rtl .wns-be-container .dpr-btn.dpr-save-btn{float:left}body.rtl .wns-be-container .wns-be-group-tab h2:before,body.rtl .wns-be-container .wns-be-group-tab h4:before{left:auto;right:0;margin-right:0;margin-left:5px}body.rtl #mec_gateways_form .mec-tooltip{float:left}body.rtl .fserv-container .fserv-form-name{text-align:right!important}body.rtl #webnus-dashboard .mec-activation .w-box-head{max-width:calc(100% - 250px);margin-right:250px;text-align:right}body.rtl #webnus-dashboard .w-box.mec-activation .LicenseType label{padding-left:20px;padding-right:0;font-weight:500}body.rtl #webnus-dashboard .w-box.mec-activation input[type=radio]+label span{margin-right:0;margin-left:6px}body.rtl #webnus-dashboard .upcoming-events .w-box-content .mec-event-article{display:block}body.rtl #webnus-dashboard .upcoming-events .w-box-content .mec-event-article .col-md-9.col-sm-9{float:unset}body.rtl #webnus-dashboard .total-bookings input[type=text],body.rtl #webnus-dashboard .total-bookings select{min-width:125px;margin:0}body.rtl.post-type-mec-events .mec-form-row input[type=number],body.rtl.post-type-mec-events .mec-form-row input[type=text],body.rtl.post-type-mec-events .mec-form-row input[type=url],body.rtl.post-type-mec-events .mec-form-row select,body.rtl.post-type-mec-events .mec-form-row textarea,body.rtl.post-type-mec_calendars .mec-form-row input[type=number],body.rtl.post-type-mec_calendars .mec-form-row input[type=text],body.rtl.post-type-mec_calendars .mec-form-row input[type=url],body.rtl.post-type-mec_calendars .mec-form-row select,body.rtl.post-type-mec_calendars .mec-form-row textarea{margin:0 0 0 1%}body.rtl .mec-form-row .mec-col-8 label,body.rtl .mec-form-row .mec-col-9 label{padding-left:10px}body.rtl .mec-form-row label{text-align:right}body.rtl .mec-form-row .mec-col-3{margin:0;padding-left:10px;padding-right:0}body.rtl .mec-calendar-metabox .mec-form-row input[type=checkbox],body.rtl .mec-meta-box-fields .mec-form-row input[type=checkbox]{margin-left:6px;margin-right:0}body.rtl .mec-form-row input[type=radio]{margin:0 0 0 6px}body.rtl .mec-form-row .description{border-left:0;border-right:1px dashed #ccc;padding-left:0;padding-right:12px}body.rtl #mec_add_fee_button,body.rtl #mec_add_ticket_variation_button,body.rtl #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,body.rtl #taxes_option #mec_fees_list .mec-form-row .button,body.rtl #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,body.rtl .mec-export-settings,body.rtl .mec-import-settings,body.rtl .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),body.rtl .mec-occurrences-wrapper .button:not(.wp-color-result){margin-right:0;margin-left:5px}body.rtl .mec-add-booking-tabs-right,body.rtl .mec-add-event-tabs-right,body.rtl .mec-create-shortcode-tabs-right{border-left:0;border-right:1px solid #e2e2e2}body.rtl .mec-add-booking-tabs-left a,body.rtl .mec-add-event-tabs-left a,body.rtl .mec-create-shortcode-tabs-left a{padding:13px 20px 13px 4px}body.rtl .mec-add-booking-tabs-left a.mec-tab-active,body.rtl .mec-add-event-tabs-left a.mec-tab-active,body.rtl .mec-create-shortcode-tabs-left a.mec-tab-active{padding-left:0;padding-right:22px}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row select,body.rtl .post-type-mec-events .mec-form-row select,body.rtl .post-type-mec_calendars .mec-form-row select,body.rtl .wns-be-main .mec-form-row select{background-position:left center!important}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row select,body.rtl .post-type-mec-events .mec-form-row select,body.rtl .post-type-mec_calendars .mec-form-row select,body.rtl .wns-be-main .mec-form-row select{text-align:right!important}body.rtl #mec_calendar_display_options .mec-col-4 input{margin-left:0!important;margin-right:20px!important}body.rtl .meta-box-sortables .mec-switcher input:checked+label:after{right:auto;left:2px;margin-left:0}body.rtl .mec-sed-methods li{margin:0 0 5px 5px}body.rtl .wn-mec-select:after{left:10px;right:auto}body.rtl .inside div div>a.mec-tab-active:after,body.rtl .inside div div>a.mec-tab-active:before{border-right:0;border-left-color:#fff}body.rtl .inside div div>a.mec-tab-active:after{right:auto;left:-1px}body.rtl .inside div div>a.mec-tab-active:before{border-right:0;border-left-color:#d7d8d9;right:auto;left:0}body.rtl #mec_tickets .button.remove{right:auto;left:20px;line-height:1.8}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row input[type=date],body.rtl .mec-form-row input[type=email],body.rtl .mec-form-row input[type=number],body.rtl .mec-form-row input[type=tel],body.rtl .mec-form-row input[type=text],body.rtl .mec-form-row input[type=url],body.rtl .mec-form-row select,body.rtl .mec-form-row textarea,body.rtl .mec-form-row.mec-skin-list-date-format-container input[type=text],body.rtl .mec-occurrences-wrapper input[type=date],body.rtl .mec-occurrences-wrapper input[type=email],body.rtl .mec-occurrences-wrapper input[type=number],body.rtl .mec-occurrences-wrapper input[type=tel],body.rtl .mec-occurrences-wrapper input[type=text],body.rtl .mec-occurrences-wrapper input[type=url],body.rtl .mec-occurrences-wrapper select,body.rtl .mec-occurrences-wrapper textarea{padding:0 10px}body.rtl #mec-occurrences .mec-occurrences-list li,body.rtl #mec_bfixed_form_fields li,body.rtl #mec_event_form_fields li,body.rtl #mec_reg_form_fields li{border-radius:11px 3px 3px 3px}body.rtl #mec-occurrences .mec-occurrences-list .mec-occurrences-delete-button,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_remove,body.rtl #mec_event_form_fields span.mec_event_field_remove,body.rtl #mec_reg_form_fields span.mec_reg_field_remove{position:absolute;right:auto;left:47px;top:0;background:#fff}body.rtl #mec-occurrences .mec-occurrences-list .mec-occurrences-delete-button:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_option_sort:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_remove:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_sort:before,body.rtl #mec_event_form_fields span.mec_event_field_option_sort:before,body.rtl #mec_event_form_fields span.mec_event_field_remove:before,body.rtl #mec_event_form_fields span.mec_event_field_sort:before,body.rtl #mec_reg_form_fields span.mec_reg_field_option_sort:before,body.rtl #mec_reg_form_fields span.mec_reg_field_remove:before,body.rtl #mec_reg_form_fields span.mec_reg_field_sort:before{left:auto;right:20px;top:7px}body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_type,body.rtl #mec_bfixed_form_fields span.mec_event_field_type,body.rtl #mec_event_form_fields span.mec_event_field_type,body.rtl #mec_reg_form_fields span.mec_reg_field_type{padding-left:0;padding-right:25px}body.rtl .wns-be-main .mec-form-row .mec-col-3{padding:0}body.rtl .wns-be-main .mec-form-row .mec-col-9{float:left}body.rtl .mec-form-row .mec-col-9 .mec-box .mec-tooltip{left:15px;right:auto}body.rtl .mec-tooltip .box{left:auto!important;right:30px!important}body.rtl .mec-tooltip .box:before{left:auto!important;right:0!important}body.rtl .mec-tooltip .box.left{left:30px!important;right:auto!important}body.rtl .mec-tooltip .box.left:before{left:-12px!important;right:auto!important}body.rtl .mec-form-row .cancellation-period-box input[type=number]:first-child{margin-left:calc(2% + 4px);margin-right:0}body.rtl .support-page .w-box-content ul li i{margin:0 0 0 10px;float:right}body.rtl .support-page .w-box-content ul li .mec-sl-arrow-right-circle:before{content:"\e07a"}body.rtl #webnus-dashboard .w-box.support-page.videobox .w-button a i{float:left;line-height:24px}body.rtl #webnus-dashboard .mec-faq-accordion-trigger a{padding-right:34px;font-size:15px}
|
2 |
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3 |
* Copyright 2011-2016 Twitter, Inc.
|
4 |
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5 |
+
*/#webnus-dashboard button,#webnus-dashboard input,#webnus-dashboard select,#webnus-dashboard textarea{font-family:inherit;font-size:inherit;line-height:inherit}#webnus-dashboard a{color:#337ab7;text-decoration:none}#webnus-dashboard a:focus,#webnus-dashboard a:hover{color:#23527c}#webnus-dashboard a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}#webnus-dashboard figure{margin:0}#webnus-dashboard img{vertical-align:middle}.w-img-responsive{display:block;max-width:100%;height:auto}.w-img-rounded{border-radius:6px}.w-img-thumbnail{padding:4px;line-height:1w-42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all 0w-2s ease-in-out;-o-transition:all 0w-2s ease-in-out;transition:all 0w-2s ease-in-out;display:inline-block;max-width:100%;height:auto}.w-img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.w-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.w-sr-only-focusable:active,.w-sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.w-container,.w-container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}[role=button]{cursor:pointer}@media (min-width:768px){.w-container{width:750px}}@media (min-width:992px){.w-container{width:970px}}@media (min-width:1200px){.w-container{width:1170px}}.w-row{margin-left:-15px;margin-right:-15px}.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9,.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9,.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9,.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.w-col-xs-1,.w-col-xs-10,.w-col-xs-11,.w-col-xs-12,.w-col-xs-2,.w-col-xs-3,.w-col-xs-4,.w-col-xs-5,.w-col-xs-6,.w-col-xs-7,.w-col-xs-8,.w-col-xs-9{float:left}.w-col-xs-12{width:100%}.w-col-xs-11{width:91.66666667%}.w-col-xs-10{width:83.33333333%}.w-col-xs-9{width:75%}.w-col-xs-8{width:66.66666667%}.w-col-xs-7{width:58.33333333%}.w-col-xs-6{width:50%}.w-col-xs-5{width:41.66666667%}.w-col-xs-4{width:33.33333333%}.w-col-xs-3{width:25%}.w-col-xs-2{width:16.66666667%}.w-col-xs-1{width:8w-33333333%}.w-col-xs-pull-12{right:100%}.w-col-xs-pull-11{right:91.66666667%}.w-col-xs-pull-10{right:83.33333333%}.w-col-xs-pull-9{right:75%}.w-col-xs-pull-8{right:66.66666667%}.w-col-xs-pull-7{right:58.33333333%}.w-col-xs-pull-6{right:50%}.w-col-xs-pull-5{right:41.66666667%}.w-col-xs-pull-4{right:33.33333333%}.w-col-xs-pull-3{right:25%}.w-col-xs-pull-2{right:16.66666667%}.w-col-xs-pull-1{right:8w-33333333%}.w-col-xs-pull-0{right:auto}.w-col-xs-push-12{left:100%}.w-col-xs-push-11{left:91.66666667%}.w-col-xs-push-10{left:83.33333333%}.w-col-xs-push-9{left:75%}.w-col-xs-push-8{left:66.66666667%}.w-col-xs-push-7{left:58.33333333%}.w-col-xs-push-6{left:50%}.w-col-xs-push-5{left:41.66666667%}.w-col-xs-push-4{left:33.33333333%}.w-col-xs-push-3{left:25%}.w-col-xs-push-2{left:16.66666667%}.w-col-xs-push-1{left:8w-33333333%}.w-col-xs-push-0{left:auto}.w-col-xs-offset-12{margin-left:100%}.w-col-xs-offset-11{margin-left:91.66666667%}.w-col-xs-offset-10{margin-left:83.33333333%}.w-col-xs-offset-9{margin-left:75%}.w-col-xs-offset-8{margin-left:66.66666667%}.w-col-xs-offset-7{margin-left:58.33333333%}.w-col-xs-offset-6{margin-left:50%}.w-col-xs-offset-5{margin-left:41.66666667%}.w-col-xs-offset-4{margin-left:33.33333333%}.w-col-xs-offset-3{margin-left:25%}.w-col-xs-offset-2{margin-left:16.66666667%}.w-col-xs-offset-1{margin-left:8w-33333333%}.w-col-xs-offset-0{margin-left:0}@media (min-width:768px){.w-col-sm-1,.w-col-sm-10,.w-col-sm-11,.w-col-sm-12,.w-col-sm-2,.w-col-sm-3,.w-col-sm-4,.w-col-sm-5,.w-col-sm-6,.w-col-sm-7,.w-col-sm-8,.w-col-sm-9{float:left}.w-col-sm-12{width:100%}.w-col-sm-11{width:91.66666667%}.w-col-sm-10{width:83.33333333%}.w-col-sm-9{width:75%}.w-col-sm-8{width:66.66666667%}.w-col-sm-7{width:58.33333333%}.w-col-sm-6{width:50%}.w-col-sm-5{width:41.66666667%}.w-col-sm-4{width:33.33333333%}.w-col-sm-3{width:25%}.w-col-sm-2{width:16.66666667%}.w-col-sm-1{width:8w-33333333%}.w-col-sm-pull-12{right:100%}.w-col-sm-pull-11{right:91.66666667%}.w-col-sm-pull-10{right:83.33333333%}.w-col-sm-pull-9{right:75%}.w-col-sm-pull-8{right:66.66666667%}.w-col-sm-pull-7{right:58.33333333%}.w-col-sm-pull-6{right:50%}.w-col-sm-pull-5{right:41.66666667%}.w-col-sm-pull-4{right:33.33333333%}.w-col-sm-pull-3{right:25%}.w-col-sm-pull-2{right:16.66666667%}.w-col-sm-pull-1{right:8w-33333333%}.w-col-sm-pull-0{right:auto}.w-col-sm-push-12{left:100%}.w-col-sm-push-11{left:91.66666667%}.w-col-sm-push-10{left:83.33333333%}.w-col-sm-push-9{left:75%}.w-col-sm-push-8{left:66.66666667%}.w-col-sm-push-7{left:58.33333333%}.w-col-sm-push-6{left:50%}.w-col-sm-push-5{left:41.66666667%}.w-col-sm-push-4{left:33.33333333%}.w-col-sm-push-3{left:25%}.w-col-sm-push-2{left:16.66666667%}.w-col-sm-push-1{left:8w-33333333%}.w-col-sm-push-0{left:auto}.w-col-sm-offset-12{margin-left:100%}.w-col-sm-offset-11{margin-left:91.66666667%}.w-col-sm-offset-10{margin-left:83.33333333%}.w-col-sm-offset-9{margin-left:75%}.w-col-sm-offset-8{margin-left:66.66666667%}.w-col-sm-offset-7{margin-left:58.33333333%}.w-col-sm-offset-6{margin-left:50%}.w-col-sm-offset-5{margin-left:41.66666667%}.w-col-sm-offset-4{margin-left:33.33333333%}.w-col-sm-offset-3{margin-left:25%}.w-col-sm-offset-2{margin-left:16.66666667%}.w-col-sm-offset-1{margin-left:8w-33333333%}.w-col-sm-offset-0{margin-left:0}}@media (min-width:992px){.w-col-md-1,.w-col-md-10,.w-col-md-11,.w-col-md-12,.w-col-md-2,.w-col-md-3,.w-col-md-4,.w-col-md-5,.w-col-md-6,.w-col-md-7,.w-col-md-8,.w-col-md-9{float:left}.w-col-md-12{width:100%}.w-col-md-11{width:91.66666667%}.w-col-md-10{width:83.33333333%}.w-col-md-9{width:75%}.w-col-md-8{width:66.66666667%}.w-col-md-7{width:58.33333333%}.w-col-md-6{width:50%}.w-col-md-5{width:41.66666667%}.w-col-md-4{width:33.33333333%}.w-col-md-3{width:25%}.w-col-md-2{width:16.66666667%}.w-col-md-1{width:8w-33333333%}.w-col-md-pull-12{right:100%}.w-col-md-pull-11{right:91.66666667%}.w-col-md-pull-10{right:83.33333333%}.w-col-md-pull-9{right:75%}.w-col-md-pull-8{right:66.66666667%}.w-col-md-pull-7{right:58.33333333%}.w-col-md-pull-6{right:50%}.w-col-md-pull-5{right:41.66666667%}.w-col-md-pull-4{right:33.33333333%}.w-col-md-pull-3{right:25%}.w-col-md-pull-2{right:16.66666667%}.w-col-md-pull-1{right:8w-33333333%}.w-col-md-pull-0{right:auto}.w-col-md-push-12{left:100%}.w-col-md-push-11{left:91.66666667%}.w-col-md-push-10{left:83.33333333%}.w-col-md-push-9{left:75%}.w-col-md-push-8{left:66.66666667%}.w-col-md-push-7{left:58.33333333%}.w-col-md-push-6{left:50%}.w-col-md-push-5{left:41.66666667%}.w-col-md-push-4{left:33.33333333%}.w-col-md-push-3{left:25%}.w-col-md-push-2{left:16.66666667%}.w-col-md-push-1{left:8w-33333333%}.w-col-md-push-0{left:auto}.w-col-md-offset-12{margin-left:100%}.w-col-md-offset-11{margin-left:91.66666667%}.w-col-md-offset-10{margin-left:83.33333333%}.w-col-md-offset-9{margin-left:75%}.w-col-md-offset-8{margin-left:66.66666667%}.w-col-md-offset-7{margin-left:58.33333333%}.w-col-md-offset-6{margin-left:50%}.w-col-md-offset-5{margin-left:41.66666667%}.w-col-md-offset-4{margin-left:33.33333333%}.w-col-md-offset-3{margin-left:25%}.w-col-md-offset-2{margin-left:16.66666667%}.w-col-md-offset-1{margin-left:8w-33333333%}.w-col-md-offset-0{margin-left:0}}@media (min-width:1200px){.w-col-lg-1,.w-col-lg-10,.w-col-lg-11,.w-col-lg-12,.w-col-lg-2,.w-col-lg-3,.w-col-lg-4,.w-col-lg-5,.w-col-lg-6,.w-col-lg-7,.w-col-lg-8,.w-col-lg-9{float:left}.w-col-lg-12{width:100%}.w-col-lg-11{width:91.66666667%}.w-col-lg-10{width:83.33333333%}.w-col-lg-9{width:75%}.w-col-lg-8{width:66.66666667%}.w-col-lg-7{width:58.33333333%}.w-col-lg-6{width:50%}.w-col-lg-5{width:41.66666667%}.w-col-lg-4{width:33.33333333%}.w-col-lg-3{width:25%}.w-col-lg-2{width:16.66666667%}.w-col-lg-1{width:8w-33333333%}.w-col-lg-pull-12{right:100%}.w-col-lg-pull-11{right:91.66666667%}.w-col-lg-pull-10{right:83.33333333%}.w-col-lg-pull-9{right:75%}.w-col-lg-pull-8{right:66.66666667%}.w-col-lg-pull-7{right:58.33333333%}.w-col-lg-pull-6{right:50%}.w-col-lg-pull-5{right:41.66666667%}.w-col-lg-pull-4{right:33.33333333%}.w-col-lg-pull-3{right:25%}.w-col-lg-pull-2{right:16.66666667%}.w-col-lg-pull-1{right:8w-33333333%}.w-col-lg-pull-0{right:auto}.w-col-lg-push-12{left:100%}.w-col-lg-push-11{left:91.66666667%}.w-col-lg-push-10{left:83.33333333%}.w-col-lg-push-9{left:75%}.w-col-lg-push-8{left:66.66666667%}.w-col-lg-push-7{left:58.33333333%}.w-col-lg-push-6{left:50%}.w-col-lg-push-5{left:41.66666667%}.w-col-lg-push-4{left:33.33333333%}.w-col-lg-push-3{left:25%}.w-col-lg-push-2{left:16.66666667%}.w-col-lg-push-1{left:8w-33333333%}.w-col-lg-push-0{left:auto}.w-col-lg-offset-12{margin-left:100%}.w-col-lg-offset-11{margin-left:91.66666667%}.w-col-lg-offset-10{margin-left:83.33333333%}.w-col-lg-offset-9{margin-left:75%}.w-col-lg-offset-8{margin-left:66.66666667%}.w-col-lg-offset-7{margin-left:58.33333333%}.w-col-lg-offset-6{margin-left:50%}.w-col-lg-offset-5{margin-left:41.66666667%}.w-col-lg-offset-4{margin-left:33.33333333%}.w-col-lg-offset-3{margin-left:25%}.w-col-lg-offset-2{margin-left:16.66666667%}.w-col-lg-offset-1{margin-left:8w-33333333%}.w-col-lg-offset-0{margin-left:0}}.w-clearfix:after,.w-clearfix:before,.w-container-fluid:after,.w-container-fluid:before,.w-container:after,.w-container:before,.w-row:after,.w-row:before{content:" ";display:table}.w-clearfix:after,.w-container-fluid:after,.w-container:after,.w-row:after{clear:both}.w-center-block{display:block;margin-left:auto;margin-right:auto}.w-pull-right{float:right!important}.w-pull-left{float:left!important}.w-hide{display:none!important}.w-show{display:block!important}.w-invisible{visibility:hidden}.w-text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.w-hidden{display:none!important}.w-affix{position:fixed}.mec-image-popup-wrap{display:none}#wns-be-infobar.sticky{position:fixed;top:32px;background:#fff;z-index:999;width:82%}.wns-be-main .wns-saved-settings.sticky{position:fixed;width:62.5%;top:111px;z-index:999999999999999999}textarea.mec-import-settings-content{display:block;width:100%;min-height:120px;margin-bottom:25px;padding:10px 15px}.mec-import-options-notification{display:inline-block}.mec-import-options-notification .mec-message-import-error,.mec-import-options-notification .mec-message-import-success{display:inline-block;padding:15px 12px;margin-left:12px;opacity:0;visibility:hidden;font-weight:700}.mec-import-options-notification .mec-message-import-success{opacity:1;visibility:visible;border:2px solid green}.mec-import-options-notification .mec-message-import-error{opacity:1;visibility:visible;border:2px solid #e62117}.mec-export-settings:focus,.mec-import-settings:focus{color:#fff}.mec-import-settings-wrap{position:relative}.mec-loarder-wrap{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(202,202,202,.7);z-index:9999}.mec-loarder-wrap.mec-settings-loader{top:34px}.mec-loarder{position:absolute;width:64px;height:64px;top:calc(50% - 32px);left:calc(50% - 36px)}.mec-loarder div{display:inline-block;position:absolute;left:6px;width:4px;background:#fff;animation:mec-loarder 1.2s cubic-bezier(0,.5,.5,1) infinite}.mec-loarder div:nth-child(1){left:27px;animation-delay:-.24s;background:#0075ff}.mec-loarder div:nth-child(2){left:36px;animation-delay:-.12s;background:#028bff}.mec-loarder div:nth-child(3){left:45px;animation-delay:0;background:#32a0ff}@keyframes mec-loarder{0%{top:6px;height:51px}100%,50%{top:19px;height:26px}}.w-box.support-page.searchbox{background:#40d8f0;color:#fff;min-height:260px;text-align:center;border-radius:11px}#webnus-dashboard .search-form input{background:rgba(255,255,255,.2);border:none;width:50%;outline:0;color:rgba(255,255,255,.7);font-size:18px;border-radius:4px 0 0 4px;box-shadow:0 1px 2px 0 rgba(0,0,0,.03);-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s;padding:20px 32px;margin:0}#webnus-dashboard .search-form button{background:rgba(255,255,255,.2);border:none;padding:20px 32px;margin-left:-2px;color:#fff;border-radius:0 4px 4px 0;font-size:18px;cursor:pointer;-webkit-transition:background .4s,box-shadow .2s;transition:background .4s,box-shadow .2s}#webnus-dashboard .search-form button:hover{background:#fff;color:#3a3c4c}.w-box.support-page.searchbox p{font-size:30px}.search-form input::-webkit-input-placeholder{color:rgba(255,255,255,.7)}.search-form input::-moz-placeholder{color:rgba(255,255,255,.7)}.search-form input:-ms-input-placeholder{color:rgba(255,255,255,.7)}.search-form input:-moz-placeholder{color:rgba(255,255,255,.7)}#webnus-dashboard .search-form input:active,#webnus-dashboard .search-form input:focus{box-shadow:0 10px 20px rgba(0,0,0,.14);background:#fff;color:#3a3c4c}#webnus-dashboard .search-form input:active::-webkit-input-placeholder,#webnus-dashboard .search-form input:focus::-webkit-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active::-moz-placeholder,#webnus-dashboard .search-form input:focus::-moz-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-ms-input-placeholder,#webnus-dashboard .search-form input:focus:-ms-input-placeholder{color:#3a3c4c}#webnus-dashboard .search-form input:active:-moz-placeholder,#webnus-dashboard .search-form input:focus:-moz-placeholder{color:#3a3c4c}#webnus-dashboard .w-box.support-page.mec-ticksy{text-align:center;min-height:260px}#webnus-dashboard .w-box.support-page.mec-ticksy p{font-size:20px;width:70%;margin:0 auto;margin-bottom:40px;margin-top:40px}#webnus-dashboard .support-box a,#webnus-dashboard .w-box.support-page.mec-ticksy a{color:#fff;font-weight:500;border-radius:50px;text-shadow:none;background:#40d8f0;border:none;transition:.24s;padding:12px 30px;cursor:pointer;margin-bottom:40px;display:inline-block}#webnus-dashboard .support-box a:hover,#webnus-dashboard .w-box.support-page.mec-ticksy a:hover{background:#222;box-shadow:0 5px 23px -7px rgba(0,0,0,.5)}#webnus-dashboard .support-box a{margin:40px 4px 0 4px}.mec-faq-accordion>.mec-faq-accordion-content{display:none}#webnus-dashboard .mec-faq-accordion-trigger a{font-size:15px;padding:15px;background:#f0f1f2;display:block;color:#222;line-height:17px;outline:0;border-radius:8px}.mec-faq-accordion-trigger{margin-bottom:5px;position:relative}#webnus-dashboard .mec-faq-accordion-trigger a:after{font-family:simple-line-icons;content:"\e095";position:absolute;right:12px;font-weight:700}.mec-faq-accordion-content{padding:5px 14px 25px}#webnus-dashboard .mec-faq-accordion-trigger a.active:after{content:"\e082"}#webnus-dashboard .support-page-links a{color:#fff;border-radius:50px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase;transition:all .2s ease}#webnus-dashboard .support-page-links a:hover,#webnus-dashboard .w-box.support-page.videobox .w-button a:hover{background:#222;box-shadow:0 2px 5px -1px rgba(0,0,0,.1)}#webnus-dashboard .support-page-links{display:inline-block;margin:12px 4px 16px 0}.support-page-links.link-to-doc a{background:#d09d5f}.support-page-links.link-to-videos a{background:#ff876c}.support-page-links.link-to-articles a{background:#69ca8a}.w-box.support-page.articles-box .w-box-content a{display:block;padding:6px 0}#webnus-dashboard .w-box.support-page.videobox .w-button a{color:#fff;font-size:10px;padding:5px 15px;min-height:10px;font-weight:500;border-radius:22px;box-shadow:0 3px 10px -9px #ff5a35;text-shadow:none;background:#ff876c;border:none;transition:.24s}.w-box.support-page.articles-box,.w-box.support-page.faq-box{min-height:500px}.w-box.support-page.videobox{border-radius:11px;min-height:282px;box-shadow:0 1px 2px rgba(0,0,0,.01)!important}.w-box.support-page.videobox .w-box-content{padding:15px}.w-box.support-page.videobox .w-box-head{font-size:15px;text-align:center;padding:20px 0 0}#webnus-dashboard .w-box.support-page.videobox .w-button a i{margin-right:6px}.support-page .w-box-content ul{margin-top:5px;padding-left:5px}.support-page .w-box-content ul li{font-size:13px}.support-page .w-box-content ul li i{font-size:13px;vertical-align:text-bottom;margin-right:3px;color:#40d8f0}.w-box.mec-activation{background:#fff url(../img/dp-dsb-support.jpg) no-repeat top right}.w-box.mec-activation .w-box-head{width:75%}.w-box.mec-activation .w-box-content{padding:10px 30px}.w-box.mec-activation input[type=radio]{display:none}.w-box.mec-activation input[type=radio]+label{color:#000;font-size:13px;line-height:14px!important;color:#7b7b7b}.w-box.mec-activation input[type=radio].checked+label{color:#40d8f0}.mec-form-row input[type=radio],.w-box.mec-activation input[type=radio]+label span{display:inline-block;margin:-2px 6px 0 0;vertical-align:middle;cursor:pointer;height:22px;width:22px;text-align:center;background-color:#fff;border:2px solid #e1e2e3;border-radius:100%;box-shadow:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;transition:all .3s ease}.mec-form-row input[type=radio]:checked,.w-box.mec-activation input[type=radio].checked+label span{border-color:#afebf5}.mec-form-row input[type=radio]:before,.w-box.mec-activation input[type=radio]+label span:after{content:'';display:block;margin:0;position:absolute;top:4px;left:4px;width:10px;height:10px;background:0 0;border-radius:100%;transition:all .2s ease;transform:scale(.1)}.mec-form-row input[type=radio]:checked:before,.w-box.mec-activation input[type=radio].checked+label span:after{background:#38d5ed;transform:scale(1)}.w-box.mec-activation .LicenseType label{padding-right:20px;font-weight:500}.w-box.mec-activation .LicenseField{display:inline-block;position:relative;margin-top:20px}.w-box.mec-activation input[name=MECPurchaseCode]{box-shadow:inset 0 1px 2px rgba(0,0,0,.07);min-width:220px;background:#f7f8f9;border:none;border-radius:33px;width:500px;min-height:50px;margin:0;padding-left:20px;text-align:left}#webnus-dashboard .w-box.mec-activation input[type=submit]{height:40px;line-height:40px;font-weight:600;border:none;cursor:pointer;padding:0 30px;border-radius:33px;color:#fff;letter-spacing:1px;text-transform:uppercase;font-size:12px;text-shadow:none;background:#64e385;transition:all .28s ease;position:absolute;right:5px;top:5px;font-size:12px}#webnus-dashboard .w-box.mec-activation input[type=submit]:hover{background:#45ce68}#MECActivation .MECPurchaseStatus,.addon-activation-form .MECPurchaseStatus{display:inline-block;width:40px;height:40px;text-align:center;padding-top:9px;color:#fff;font-weight:700;font-size:18px;border-radius:50%;padding-top:8px;position:absolute;right:-51px;top:calc(50% - 20px)}.MECPurchaseStatus:after,.MECPurchaseStatus:before{position:absolute;border-radius:50px;background:#fff;content:'';transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:before{width:22px;height:4px;right:9px;top:18px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseError:after{width:22px;height:4px;right:9px;top:18px;transform:rotate(-45deg)}.MECPurchaseStatus.PurchaseSuccess:before{width:13px;height:4px;right:19px;top:21px;transform:rotate(45deg)}.MECPurchaseStatus.PurchaseSuccess:after{width:22px;height:4px;right:5px;top:18px;transform:rotate(-45deg)}#MECActivation .MECPurchaseStatus.PurchaseError,.addon-activation-form .MECPurchaseStatus.PurchaseError{background:#ff876c}#MECActivation .MECPurchaseStatus.PurchaseSuccess,.addon-activation-form .MECPurchaseStatus.PurchaseSuccess{background:#64e385}.wna-spinner-wrap{position:absolute;background:#000;width:509px;height:64px;top:-8px;border-radius:50px;z-index:999;background-color:#fff;opacity:.9}.wna-spinner{width:40px;height:40px;position:relative;margin:6px auto}.wna-spinner .double-bounce1,.wna-spinner .double-bounce2{width:100%;height:100%;border-radius:50%;background-color:#40d8f0;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-bounce 2s infinite ease-in-out;animation:sk-bounce 2s infinite ease-in-out}.wna-spinner .double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}#MECActivation .MECLicenseMessage,.addon-activation-form .MECLicenseMessage{margin-top:24px;color:#f64;max-width:570px}.box-addon-activation-toggle-content,.box-addon-activation-toggle-head{display:none}.addon-activation-form h3{font-size:15px;font-weight:400;margin:34px 0 -7px}.box-addon-activation-toggle-head{line-height:1.5;font-size:16px;margin-top:20px;cursor:pointer}.box-addon-activation-toggle-head i{margin-right:7px;cursor:pointer;font-weight:700}#mec-advanced-wraper div:first-child>ul{display:block;margin:5px 0;padding:5px 0;width:390px;border:1px solid #e1e2e3;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.05)}#mec-advanced-wraper div:first-child>ul span{display:none}#mec-advanced-wraper div:first-child>ul *{display:inline-block;background:#fff;font-size:12px;color:#717273;text-align:center}#mec-advanced-wraper div:first-child>ul>li{width:60px;font-weight:700;margin:0 10px 0 0;padding:4px 0;border-right:1px solid #e1e2e3}#mec-advanced-wraper div:first-child>ul>ul>li{margin:0;padding:2px 10px;cursor:pointer;border-radius:2px;transition:all .18s ease}#mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-active{background:#07bbe9!important;color:#fff!important}@-webkit-keyframes sk-bounce{0%,100%{-webkit-transform:scale(0)}50%{-webkit-transform:scale(1)}}@keyframes sk-bounce{0%,100%{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.w-col-sm-3 .w-box.addon{min-height:372px;text-align:center;border-radius:9px;box-shadow:0 1px 2px 0 rgb(0 0 0 / 1%)}.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:33.33%;clear:none!important;min-height:380px}@media (min-width:768px) and (max-width:1281px){.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:50%}}@media (max-width:767px){.m-e-calendar_page_MEC-addons .welcome-content .w-col-sm-3{width:100%}}.w-box-child.mec-addon-box{padding:0}.mec-addon-box-head{border-bottom:1px solid #f7f8f9;padding:20px 20px 8px;margin-bottom:14px;position:relative}.mec-addon-box-version{position:relative;border-radius:1px;padding:0 8px;font-family:monospace;background:#f4f7f7;color:#00a1b7;font-size:11px;letter-spacing:.2px;line-height:21px;display:inline-block;margin:10px 0}.mec-addon-box-head img{display:block;width:100%;height:60px;margin-bottom:10px;margin-top:10px}.mec-addon-box-title{font-weight:600;font-size:18px;line-height:36px;color:#27272a;letter-spacing:-.2px}.mec-addon-box-title a span{color:#444;font-size:15px}.mec-addon-box-content{padding:0 20px}.mec-addon-box-content p{color:#6e757b;font-size:14px;letter-spacing:.1px}.mec-addon-box-mec-version{background:#f3f3f3;padding:10px;font-size:13px}.mec-addon-box-pro{display:inline-block;background:#ff7d5f;color:#fff;font-weight:600;font-size:11px;letter-spacing:.2px;line-height:21px;padding:0 8px;border-radius:3px}#webnus-dashboard .addons-page-links{display:inline-block;margin:12px 4px 16px 0}#webnus-dashboard .addons-page-links a{background-color:#fff;color:#fff;border-radius:2px;padding:13px 24px;font-size:12px;letter-spacing:1px;font-weight:600;text-transform:uppercase}.addons-page-links.link-to-purchase a{background:#4cbf67;background:linear-gradient(95deg,#6fe08a 0,#58cf74 50%,#36cb58 100%);box-shadow:0 5px 10px -5px #4cbf67}.addons-page-links.link-to-install-addons a{background:#b092e6;background:linear-gradient(95deg,#b092e6 0,#9b70e8 50%,#8e5cea 100%);box-shadow:0 5px 10px -5px #b092e6}#webnus-dashboard .addons-page-links a:hover,#webnus-dashboard .w-box.addons-page.videobox .w-button a:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}.mec-addon-box-footer{background:#f7f8f9;border-radius:0 0 9px 9px;padding:10px 1px 8px;margin-top:25px;text-align:center;position:absolute;left:0;right:0;bottom:0}#webnus-dashboard .mec-addon-box-footer a{margin-top:10px;display:inline-block;text-shadow:none;border:none;transition:.24s;position:relative;margin-right:7px;font-size:12px;font-weight:500;border-radius:8px;padding:9px 18px 8px;width:53px;height:34px;line-height:21px;background:0 0;margin:0;box-shadow:none}#webnus-dashboard .mec-addon-box-footer a:last-of-type{margin-right:0}#webnus-dashboard .mec-addon-box-footer a.mec-addon-box-intro:hover{background-color:#ff3535;background:linear-gradient(95deg,#ff6c6c 0,#f55 50%,#ff3535 100%)}#webnus-dashboard .mec-addon-box-footer a:hover{background:#00cae6;cursor:pointer!important}#webnus-dashboard .mec-addon-box-footer a i{color:#00cae6;font-size:16px}#webnus-dashboard .mec-addon-box-footer a:hover i{color:#fff}#mec_tickets .mec-box{position:relative;padding:25px 10px}#mec_fees_list input[type=text].mec-col-12,#mec_ticket_variations_list input[type=text].mec-col-12{max-width:625px}#taxes_option .mec-form-row input[type=text].mec-col-12,#ticket_variations_option input[type=text].mec-col-12{max-width:575px}.mec-booking-tab-content .mec-form-row textarea{max-width:762px}#mec_tickets .button.remove{padding:0;min-height:28px;height:28px;width:28px;margin:0;border-radius:50%;position:absolute;top:20px;right:20px;color:#fff;box-shadow:none;background:#fff;border-color:#e3e4e5;font-size:20px;line-height:1.5}#mec_tickets .button.remove svg{fill:#ea6485!important}#mec_tickets .button.remove:hover{color:#fff;border-color:#ea6485;background:#ea6485}#mec_tickets .button.remove:hover svg{fill:#fff!important}@media(max-width:480px){#mec_tickets .button.remove{top:5px;right:5px}}.mec-ticket-id{font-size:12px;line-height:12px;font-weight:400;color:#07bbe9;padding:0 0 8px;margin-top:-6px;margin-bottom:14px;cursor:default}.mec-ticket-end-time.mec-col-12 .mec-time-span,.mec-ticket-start-time.mec-col-12 .mec-time-span{min-width:80px;display:inline-block}.mec-ticket-start-time{margin-bottom:20px}.mec-ticket-time{min-width:69px;display:inline-block}.mec-stop-selling-tickets{min-width:185px}#mec_meta_box_hourly_schedule_days .mec-form-row input[type=text],#mec_meta_box_tickets_form .mec-form-row input[type=text]{max-width:290px}@media(max-width:1366px){#mec_meta_box_hourly_schedule_days .mec-box.mec-form-row input[type=text]{max-width:150px;min-width:110px}}#mec_exceptions_not_in_days_date{width:100%}#mec-event-data input[type=date],#mec-event-data input[type=email],#mec-event-data input[type=tel],#mec-event-data input[type=text],#mec-event-data input[type=url],#mec-event-data select,#mec-event-data textarea,#mec_exceptions_not_in_days_date,#mec_meta_box_date_form input[type=text],#mec_select_tags.mec-create-shortcode-tab-content input[type=text],#mec_settings_weather_module_api_key{max-width:290px}#mec-event-data input[type=text].mec_date_picker.mec-col-4 #mec_meta_box_calendar_skin_options input[type=text].mec_date_picker.mec-col-4{max-width:32.33333333%}#payment_gateways_option .mec-col-4 input[type=number],#payment_gateways_option .mec-col-4 input[type=text],#payment_gateways_option .mec-col-4 select,#payment_gateways_option .mec-col-4 textarea{width:90%}.mec-form-repeating-event-row .mec-col-6 input[type=text]{width:35%}.addons-page-error,.addons-page-notice{display:block;margin-top:15px;margin-bottom:0;background:#fff;border-left:4px solid #00a0d2;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);padding:1px 12px}.addons-page-error p,.addons-page-notice p{margin:.5em 0;padding:2px;font-size:13px}.addons-page-error{border-left-color:#dc3232}.mec-addon-box-comingsoon{background:transparent padding: 8px 11px;color:#5a5a5a;font-size:14px;font-weight:500;text-align:center}.mec-addons .w-row .w-col-sm-3:nth-child(4n+1){clear:left}@media (min-width:960px){#webnus-dashboard .mec-addon-box-footer .w-button{text-align:right}}@media (min-width:1401px){.mec-addon-box-title a span{font-size:17px}}.mec-pro-notice{margin-top:24px;line-height:30px}.mec-pro-notice .info-msg{padding:50px 30px;margin-bottom:0}#webnus-dashboard .mec-pro-notice .info-msg{background:#fff;box-shadow:0 1px 2px rgb(0 0 0 / 1%);text-align:center;color:#55595d}#webnus-dashboard a.info-msg-link{background:#e66f52;background:linear-gradient(95deg,#ff8162 0,#e66f52 50%,#ff4c20 100%);box-shadow:0 5px 10px -5px #e66f52;border-radius:2px;padding:12px 50px;font-size:16px;line-height:24px;border:none;margin:20px auto 0;color:#fff;transition:all .3s ease;display:inline-block}#webnus-dashboard a.info-msg-link:hover{background:#222;background:linear-gradient(95deg,#555 0,#222 50%,#000 100%);box-shadow:0 5px 21px -5px rgba(0,0,0,.5)}#webnus-dashboard .info-msg p{width:70%;margin:0 auto;line-height:1.8}#webnus-dashboard .info-msg-coupon{font-size:13px;color:#777;max-width:600px;line-height:1.68;margin:25px auto 0}#webnus-dashboard .info-msg-coupon strong{font-weight:700;color:#19ce18}.info-msg .socialfollow{padding-top:20px}.info-msg .socialfollow a{margin:0 2px;display:inline-block}.info-msg .socialfollow a i{background:#96a4b1;color:#fff;padding:6px;border-radius:3px;font-size:18px;box-shadow:0 2px 3px rgba(0,0,0,.1);transition:all .25s}.info-msg .socialfollow a:hover i{background:#008aff}.mec-intro-section .w-box-content{text-align:center}.mec-intro-section .w-box-content.mec-intro-section-welcome{max-width:600px;margin:0 auto}.mec-intro-section .w-box-content.mec-intro-section-welcome h3{font-size:26px}a.mec-intro-section-link-tag.button.button-hero{margin:0 10px 40px}a.mec-intro-section-link-tag.button.button-primary.button-hero{color:#fff!important}a.mec-intro-section-link-tag.button.button-secondary.button-hero{color:#1dbfd8!important}.mec-intro-section-ifarme iframe{border:1px solid #e7e7e7;border-radius:9px;padding:15px;box-shadow:0 3px 10px -6px rgb(0 0 0 / 12%)}.w-box-content.mec-intro-section-welcome p{margin-bottom:0}.mec-tooltip a:focus{box-shadow:none}#mec_booking_form .mec-options-fields,#mec_modules_form .mec-options-fields,#mec_settings_form .mec-options-fields,#mec_single_form .mec-options-fields{padding-bottom:150px!important}#mec_taxes_fees_container_toggle{margin-bottom:60px}#mec_taxes_fees_container_toggle{margin-bottom:60px}.wns-be-sidebar li{position:relative}.wns-be-sidebar li .submneu-hover{position:absolute;top:-1px;right:-222px;width:220px;z-index:9;background:#fff;border:1px;border-style:solid;border-color:#dedede;margin:0;overflow:visible;opacity:0;visibility:hidden;transition:all .23s ease;padding-top:8px;padding-bottom:12px}.wns-be-sidebar li:hover .submneu-hover{opacity:1;visibility:visible}.wns-be-sidebar li .submneu-hover a{background:#fff;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 26px}.wns-be-sidebar li .submneu-hover a:hover{background:#f6f6f6;color:#222}.wns-be-sidebar li .submneu-hover:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-15px;top:14px;border-right-color:#c5c5c5;right:0}.wns-be-sidebar li .submneu-hover:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-14px;top:14px}.wns-be-sidebar li a:focus,.wns-be-sidebar li:focus{outline:-webkit-focus-ring-color auto 0;border:0;box-shadow:none}@media (max-width:480px){.wns-be-sidebar li .submneu-hover{width:175px;right:0}.wns-be-sidebar li .submneu-hover a{font-size:11px;padding:5px 5px 5px 20px}}.mec-tooltip:hover:after,.mec-tooltip:hover:before{display:none}.mec-tooltip{display:inline-flex;bottom:7px}.mec-tooltip .box{min-width:300px;max-width:600px;display:inline-block;left:26px;top:50%;transform:translateY(-50%);padding:0;margin-top:8px;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;position:absolute;z-index:9999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s}#webnus-dashboard .mec-tooltip .box p,.mec-tooltip .box p{color:#fff;font-size:14px;line-height:1.3;margin:0;font-style:normal}.mec-tooltip:hover .box{visibility:visible;opacity:1}.mec-tooltip:hover .box{padding:20px;border-radius:8px}.mec-tooltip .box h5{color:#fff;font-size:17px;font-weight:600;margin:-30px -20px;padding:15px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #30353a;border-radius:6px 6px 0 0;z-index:9999}#webnus-dashboard .mec-tooltip .box p a,.mec-tooltip .box p a{color:#40d9f1;margin-top:10px;margin-left:0;font-weight:400;position:relative;text-decoration:none;display:block;width:max-content}.mec-tooltip .box a:hover{color:#f90}.mec-tooltip .box:after{display:block;position:absolute!important;top:100%!important;right:50%!important;margin-top:-6px!important;margin-right:-6px!important;width:12px!important;height:24px!important;overflow:hidden!important;transform:rotate(-90deg)!important}.mec-tooltip .box:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-tooltip .box.top{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-tooltip .box.top:after{top:50%!important;right:100%!important}.mec-tooltip .box.top:before{left:50%!important;top:100%!important}.mec-tooltip .box.bottom{left:50%;top:auto;bottom:0;transform:translate(-50%,100%);margin-bottom:-20px;margin-left:-10px}.mec-tooltip .box.bottom:after{top:0!important;right:50%!important;background-color:#3a3f44!important}.mec-tooltip .box.bottom:before{left:50%!important;top:-7px!important;transform:translateX(-50%);background-color:#3a3f44!important}.mec-tooltip .box.left{left:auto;right:26px;top:50%;transform:translateY(-50%)}.mec-tooltip .box.left:before{right:0!important;left:auto!important;top:50%!important}form#mec_reg_fields_form input[type=radio]:before{content:"";display:inline-block;background:#fff;border-radius:18px;width:14px;height:14px;margin:-1px 0 0 -2px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32)}form#mec_reg_fields_form input[type=radio]:checked:before{border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff;width:4px;height:4px}form#mec_reg_fields_form input[type=radio]{min-height:0;margin-right:6px}form#mec_reg_fields_form label{margin-right:20px}@media(min-width:1200px) and (max-width:1366px){.mec-tooltip .box{min-width:290px}.mec-tooltip .box h5{font-size:15px}.mec-tooltip .box .content{font-size:12px}}@media(max-width:1366px){.wns-be-container .wns-be-group-tab p{margin-top:0}}.mec-addons-notification-box-wrap .w-col-sm-12,.mec-cmsg-notification-box-wrap .w-col-sm-12{padding:0}.mec-addons-notification-box-wrap img{width:auto}.mec-addons-notification-box-image{width:555px;display:inline-block;vertical-align:top}.mec-addons-notification-box-content{width:calc(100% - 559px);display:inline-block}.mec-addons-notification-box-content p{margin-top:1%;line-height:1.5;font-size:16px}.mec-addons-notification-box-content .w-box-content{padding-top:0;padding-bottom:0}.mec-addons-notification-box-content ol{font-size:16px}.mec-addons-notification-box-content a{background:#38d5ed;color:#fff!important;padding:10px 26px;margin-top:5px;display:inline-block;border-radius:3px;text-transform:capitalize;font-size:16px;letter-spacing:.4px;transition:all .1s ease;font-weight:600;text-decoration:none}.mec-addons-notification-box-content a:hover{background:#000}.w-clearfix.w-box.mec-addons-notification-box-wrap span,.w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span,.w-clearfix.w-box.mec-cmsg-notification-box-wrap span{right:0;left:unset;cursor:pointer;background:0 0;padding:0 16px}.w-clearfix.w-box.mec-addons-notification-box-wrap span i,.w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span i,.w-clearfix.w-box.mec-cmsg-notification-box-wrap span i{font-size:28px;vertical-align:sub;color:#f2113e}.mec-custom-msg-notification-wrap,.wns-be-container .mec-addons-notification-wrap{padding:0;margin:0}.mec-custom-msg-notification-wrap .w-col-sm-12,.wns-be-container .mec-addons-notification-wrap .w-col-sm-12{padding:0}.wns-be-container .w-box{margin-top:0}.wns-be-container.mec-addons-notification-set-box{margin-right:15px;margin-top:50px;margin-bottom:27px}@media(max-width:1200px){.mec-addons-notification-box-content,.mec-addons-notification-box-image{width:100%;display:block}.mec-addons-notification-box-image{text-align:center}}@media(max-width:768px){.mec-addons-notification-box-image img{width:100%;height:auto}}.mec-details-addons-container{margin-top:20px}.mec-details-addons-wrap img{float:left;width:19%;margin-right:17px}.mec-details-addons-wrap{clear:both;margin-bottom:80px;display:block;position:relative}.mec-details-addons-wrap a{text-decoration:none}.mec-details-addons-wrap p{float:left;width:340px;margin-top:0;margin-bottom:30px}.mec-details-addons-title{font-weight:700}.mec-details-addons-title a{color:#444}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx{border-radius:10px!important;box-shadow:0 4px 38px rgba(0,0,0,.14)!important}body .crisp-client .crisp-1rjpbb7 .crisp-13qutdl,body .crisp-client .crisp-1rjpbb7 .crisp-13qutdl *,body .crisp-client .crisp-1rjpbb7 .crisp-9dgo7z,body .crisp-client .crisp-1rjpbb7 .crisp-9dgo7z *{font-family:proxima-nova,-apple-system,BlinkMacSystemFont,"Segoe UI",Catamaran,sans-serif!important}body .crisp-client .crisp-1rjpbb7 .crisp-145mbcr,body .crisp-client .crisp-1rjpbb7 .crisp-1jrqqbm:hover{background-color:#fff!important}body .crisp-client .crisp-1rjpbb7 .crisp-14u434g{border-color:#e7e8e9!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-1bkorcf .crisp-1vzg1qq{font-size:20px!important;width:14px!important;height:19px!important;opacity:.85}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-1bkorcf .crisp-1vzg1qq:hover{opacity:.99}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-1sps3eb .crisp-1vd2grm .crisp-12w4w1a{font-size:13px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-1sps3eb .crisp-1vd2grm .crisp-12w4w1a::-webkit-input-placeholder{color:#717273!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=visitor] .crisp-z89v5n .crisp-162m9xf{background-color:#008aff!important;color:#fff!important;box-shadow:none!important;border-radius:5px!important;padding:15px 25px 15px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=visitor] .crisp-z89v5n .crisp-162m9xf .crisp-1o2g4mc{color:#fff!important;font-size:13px!important;letter-spacing:.3px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-z89v5n .crisp-162m9xf{background-color:#f1f2f3!important;border-radius:5px!important;padding:15px 25px 15px!important;box-shadow:none!important;color:#121314!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-type=audio] .crisp-z89v5n .crisp-162m9xf{background-color:#d1d7dc!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv[data-from=operator] .crisp-z89v5n .crisp-1o2g4mc{color:#121314!important;-webkit-text-fill-color:#121314!important;font-size:13px!important;letter-spacing:.3px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-mkirz6 .crisp-12qaym5 .crisp-39hskb{opacity:.4;margin-right:5px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-zyxrmn .crisp-1bu0ive .crisp-z7oo2o .crisp-lgu84d .crisp-1ohjrf0 .crisp-dqw9ko .crisp-bhspdv .crisp-mkirz6 .crisp-12qaym5 .crisp-ehr6mw{opacity:.68;font-size:12px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg{background-image:linear-gradient(125deg,#008aff -10%,#0066b1 100%)!important;height:110px!important;padding-top:35px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-1uw6f17,body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-85evuk,body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx .crisp-1784wh6 .crisp-1xmtdlg .crisp-rhv8pz .crisp-nu40j6{font-size:17px!important;line-height:28px!important;padding-top:10px!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-kquevr .crisp-x94m06{background-color:#008aff!important;background-image:linear-gradient(125deg,#008aff -10%,#008af0 100%)!important;box-shadow:0 5px 34px -6px #008aff!important}body .crisp-client .crisp-1rjpbb7 .crisp-4oo1n4{background-color:transparent!important}body .crisp-client .crisp-1rjpbb7 .crisp-1rf4xdh .crisp-ewasyx[data-chat-status=ongoing] .crisp-1784wh6 .crisp-1xmtdlg .crisp-172kolj{margin-top:-10px!important}body .crisp-client .crisp-1rjpbb7[data-last-operator-face=false] .crisp-1rf4xdh .crisp-kquevr .crisp-x94m06 .crisp-16qgsyi .crisp-101bp3x[data-is-ongoing=false]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1OCIgaGVpZ2h0PSI1NSIgdmlld0JveD0iMCAwIDU4IDU1Ij4NCiAgPGcgaWQ9ImNoYXQtc3ZncmVwby1jb21fMV8iIGRhdGEtbmFtZT0iY2hhdC1zdmdyZXBvLWNvbSAoMSkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuNSkiPg0KICAgIDxwYXRoIGlkPSJQYXRoXzEiIGRhdGEtbmFtZT0iUGF0aCAxIiBkPSJNMjksMS41YzE2LjAxNiwwLDI5LDExLjY0MSwyOSwyNmEyNC4wMSwyNC4wMSwwLDAsMS00LjgsMTQuMzE4Yy40LDQuNzQ1LDEuNTQyLDExLjQyOCw0LjgsMTQuNjgyLDAsMC05Ljk0My0xLjQtMTYuNjc3LTUuNDYybC0uMDIyLjAwOWMtMi43NjQtMS44LTUuNTMyLTMuNjU2LTYuMS00LjEyNmExLDEsMCwwLDAtMS4zMy0uMjc3LDEuMDE3LDEuMDE3LDAsMCwwLS40ODkuODQ4Yy0uMDEuNjIyLjAwNS43ODQsNS41ODUsNC40MjFBMzEuOTE0LDMxLjkxNCwwLDAsMSwyOSw1My41Yy0xNi4wMTYsMC0yOS0xMS42NDEtMjktMjZTMTIuOTg0LDEuNSwyOSwxLjVaIiBmaWxsPSIjZmZmIi8+DQogICAgPGNpcmNsZSBpZD0iRWxsaXBzZV8xIiBkYXRhLW5hbWU9IkVsbGlwc2UgMSIgY3g9IjMiIGN5PSIzIiByPSIzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiAyNC41KSIgZmlsbD0iIzAwOGFmZiIvPg0KICAgIDxjaXJjbGUgaWQ9IkVsbGlwc2VfMiIgZGF0YS1uYW1lPSJFbGxpcHNlIDIiIGN4PSIzIiBjeT0iMyIgcj0iMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjYgMjQuNSkiIGZpbGw9IiMwMDhhZmYiLz4NCiAgICA8Y2lyY2xlIGlkPSJFbGxpcHNlXzMiIGRhdGEtbmFtZT0iRWxsaXBzZSAzIiBjeD0iMyIgY3k9IjMiIHI9IjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQwIDI0LjUpIiBmaWxsPSIjMDA4YWZmIi8+DQogIDwvZz4NCjwvc3ZnPg0K)!important;height:31px!important;top:16px!important;left:14px!important}body .csh-category-item a h6{text-align:left}.mec-form-row.mec-syn-schedule{background:#fff;padding:20px;border:1px solid #eee;margin-bottom:10px;border-radius:3px}.mec-form-row.mec-syn-schedule p{padding-left:26px}.mec-form-row.mec-syn-schedule h2{margin-top:0}.mec-form-row.mec-syn-schedule h4{margin:10px 0}li.wns-be-group-menu-li.mec-settings-menu .mec-settings-submenu{position:absolute;top:-1px;right:-222px;width:220px;z-index:9;background:#fff;border:1px;border-style:solid;border-color:#e6e9eb;margin:0;overflow:visible;opacity:0;visibility:hidden;transition:all .23s ease;padding-top:8px;padding-bottom:12px;border-radius:0 2px 2px 0;box-shadow:0 2px 4px rgba(0,0,0,.03)}li.wns-be-group-menu-li.mec-settings-menu:hover>.mec-settings-submenu{visibility:visible;opacity:1}.mec-settings-menu .mec-settings-submenu:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-15px;top:14px;border-right-color:#d6d9db;right:0}.mec-settings-menu .mec-settings-submenu:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:-14px;top:14px}.wns-be-sidebar .mec-settings-menu .mec-settings-submenu a{background:#fff;color:#666c75;opacity:1;font-size:13px;font-weight:400;padding:6px 4px 5px 26px}.wns-be-sidebar .mec-settings-menu .mec-settings-submenu a:hover{color:#000;background:#f7f8f9}.mec-form-row.mec-skin-countdown-date-format-container input[type=text],.mec-form-row.mec-skin-grid-date-format-container input[type=text],.mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-skin-options-container input[type=text]{max-width:unset}.wn-mec-select{width:32.33333333%!important;clear:unset!important}.wn-mec-select{-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:3px;border:1px solid #ddd;margin-bottom:8px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07)}.wn-mec-select:hover{border-color:#dbdbdb}.wn-mec-select.open .list{overflow:unset;width:100%;margin:0}.wn-mec-select .list{background-color:#fff;border-radius:2px;box-shadow:0 2px 33px -2px rgba(0,0,0,.2),inset 0 1px 2px rgba(0,0,0,.07);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.wn-mec-select{-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:auto}.wn-mec-select:hover{border-color:#dbdbdb}.wn-mec-select:after{border-bottom:2px solid #999;border-right:2px solid #999;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:12px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.wn-mec-select.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.wn-mec-select.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.wn-mec-select.disabled{border-color:#ededed;color:#999;pointer-events:none}.wn-mec-select.disabled:after{border-color:#ccc}.wn-mec-select.wide{width:100%}.wn-mec-select.wide .list{left:0!important;right:0!important}.wn-mec-select.right{float:right}.wn-mec-select.right .list{left:auto;right:0}.wn-mec-select.small{font-size:12px;height:36px;line-height:34px}.wn-mec-select.small:after{height:4px;width:4px}.wn-mec-select .list{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.wn-mec-select .list:hover .option:not(:hover){background-color:transparent!important}.wn-mec-select .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:28px!important;min-height:28px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wn-mec-select .option .wn-hover-img-sh img{position:absolute;padding:3px;top:-1px;left:100%;box-shadow:0 4px 42px -5px rgba(0,0,0,.16);visibility:hidden;opacity:0;border:1px solid #e3e3e3;border-radius:2px;z-index:99999999;background:#fff}.wn-mec-select .option:hover .wn-hover-img-sh img{visibility:visible;opacity:1}.wn-mec-select .option.focus,.wn-mec-select .option.selected.focus,.wn-mec-select .option:hover{background-color:#f6f6f6}.wn-mec-select .option.selected{font-weight:700}.wn-mec-select .option.disabled{background-color:transparent;color:#999;cursor:default}.no-csspointerevents .wn-mec-select .list{display:none}.no-csspointerevents .wn-mec-select.open .list{display:block}.mec-custom-nice-select ul.list li.option{width:30%!important;float:left!important;min-height:135px!important;height:135px;margin:1.66%!important;box-sizing:border-box;text-align:center;padding:10px!important;border-radius:8px;border:1px solid transparent;box-shadow:none;background:#fff0!important}.mec-custom-nice-select ul.list li.option:hover{box-shadow:0 1px 8px rgba(0,0,0,.025),0 0 0 1px #f3f4f5}.mec-custom-nice-select .list .option:hover,.mec-custom-nice-select ul.list li.option:hover{background:#fff!important}.mec-custom-nice-select .list:hover .option:not(:hover),.mec-custom-nice-select ul.list:hover li.option{background:#fff!important}.mec-custom-nice-select ul.list{min-width:600px!important;padding:20px 10px!important;background:#fcfbfd;border:1px solid #e9e9e9;box-shadow:0 1px 4px rgba(0,0,0,.05)}.mec-custom-nice-select ul.list li.option.selected{border:1px solid #40d9f16b;box-shadow:0 1px 8px -3px #40d9f152 inset;color:#00cae6;padding:12px 0 0 0!important}.mec-custom-nice-select .wn-img-sh img{margin:4px 0 1px 1px;line-height:1;max-width:68px;max-height:56px;filter:grayscale(1);-webkit-filter:grayscale(1);transition:all .22s ease;-webkit-transition:all .22s ease;-moz-transition:all .22s ease;-ms-transition:all .22s ease;-o-transition:all .22s ease}.wn-mec-select .option.focus .wn-img-sh img,.wn-mec-select .option.selected.focus .wn-img-sh img,.wn-mec-select .option:hover .wn-img-sh img{background-color:#f6f6f6;filter:grayscale(0);-webkit-filter:grayscale(0)}@media(max-width:768px){.wn-mec-select{width:45%!important}.mec-custom-nice-select ul.list{margin-left:-24px!important;min-width:404px!important}.mec-custom-nice-select ul.list li.option{width:46.6%!important}.wn-hover-img-sh{display:none}}@media(max-width:480px){.wn-mec-select{width:100%!important}.mec-custom-nice-select ul.list{min-width:337px!important}}@media(max-width:320px){.mec-custom-nice-select ul.list li.option{width:100%!important}.mec-custom-nice-select ul.list{min-width:298px!important}}.mec-sed-methods li{line-height:28px;padding-left:38px;position:relative}.mec-sed-methods li:before{margin-right:0}.mec-sed-methods li:before{border-radius:18px}.mec-custom-nice-select ul.list li .wn-mec-text:after,.mec-sed-methods li:before{content:"";position:absolute;display:inline-block;background:#fff;border-radius:2px;width:12px;height:12px;margin:-1px 0 0 -1px;cursor:pointer;border:2px solid #e1e7ed;border-radius:50%}.mec-custom-nice-select ul.list li .wn-mec-text{position:relative;padding-top:0;padding-bottom:28px}.mec-custom-nice-select ul.list li .wn-mec-text:after{left:calc(50% - 7px);top:auto;bottom:1px}.mec-custom-nice-select ul.list li .wn-img-sh{line-height:1}.mec-sed-methods li:before{left:9px;top:calc(50% - 7px)}.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after,.mec-sed-methods li.active:before{width:4px;height:4px;border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff}.menu-icon-mec-books .wp-menu-image img,.toplevel_page_mec-intro .wp-menu-image img{width:18px!important;padding-top:7px!important}.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap,.mec-create-shortcode-tabs-wrap{display:flex;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox}.mec-add-booking-tabs-left,.mec-add-event-tabs-left{min-width:200px}@media(max-width:1366px){.mec-add-booking-tabs-left,.mec-add-event-tabs-left{min-width:137px}}.mec-add-booking-tabs-left,.mec-add-event-tabs-left,.mec-create-shortcode-tabs-left{flex:1}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{flex:6}a.mec-add-booking-tabs-link,a.mec-add-event-tabs-link,a.mec-create-shortcode-tabs-link{display:block}.mec-booking-tab-content,.mec-create-shortcode-tab-content,.mec-event-tab-content{display:none;transition:all .3s ease}.mec-booking-tab-content.mec-tab-active,.mec-create-shortcode-tab-content.mec-tab-active,.mec-event-tab-content.mec-tab-active{display:block}.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap{background:#fff;margin:-6px -12px -12px}.mec-create-shortcode-tabs-wrap{margin:-30px -22px -42px}.mec-add-booking-tabs-left,.mec-add-event-tabs-left,.mec-create-shortcode-tabs-left{background:#f7f8f9}.mec-add-booking-tabs-left a,.mec-add-event-tabs-left a,.mec-create-shortcode-tabs-left a{display:block;position:relative;outline:0;padding:13px 4px 13px 20px;background:#e3e5e7;background:0 0;border:solid;border-width:1px 0 1px 0;border-color:transparent;color:#3f454a;font-size:13px;font-weight:600;text-decoration:none;border-radius:0;transition:all .2s ease}.mec-add-booking-tabs-left a:first-of-type,.mec-add-event-tabs-left a:first-of-type,.mec-create-shortcode-tabs-left a:first-of-type{border-top:none}.mec-add-booking-tabs-left a:hover,.mec-add-event-tabs-left a:hover,.mec-create-shortcode-tabs-left a:hover{background:#fff;color:#07bbe9}.mec-add-booking-tabs-left a:focus,.mec-add-event-tabs-left a:focus,.mec-create-shortcode-tabs-left a:focus{box-shadow:none;outline:unset}.mec-add-booking-tabs-left a.mec-tab-active,.mec-add-event-tabs-left a.mec-tab-active,.mec-create-shortcode-tabs-left a.mec-tab-active{background:#ecf9fd;color:#07bbe9;border-color:#ccecf4;position:relative;padding-left:22px}.inside div div>a.mec-tab-active:after,.inside div div>a.mec-tab-active:before{position:absolute;z-index:9999;content:" ";height:0;width:0;border:8px solid transparent;border-right-color:#fff;right:-1px;top:13px}.inside div div>a.mec-tab-active:before{border-right-color:#d7d8d9;right:0}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 30px 40px;border-left:1px solid #e2e2e2}.mec-booking-tab-content.mec-tab-active,.mec-create-shortcode-tab-content.mec-tab-active,.mec-event-tab-content.mec-tab-active{animation:fadeEffect2 .31s}@media(max-width:1366px){.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 15px 20px}.mec-form-row select{min-width:60px}}@media (min-width:1199px) and (max-width:1280px){.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding:0 0 0 10px}#mec_meta_box_hourly_schedule_days{padding:0 40px 0 0}#mec_meta_box_hourly_schedule_days .mec-form-row.mec-box{margin-right:-40px}#mec_comment,#mec_cost,#mec_countdown_method,#mec_event_timezone,#mec_public,#mec_repeat_type{min-width:220px;width:220px}#mec_meta_box_hourly_schedule_days .mec-box.mec-form-row input[type=text]{max-width:120px}.mec-form-row .mec-time-picker select{min-width:60px}#mec_countdown_method,#mec_repeat_type{min-width:220px;width:220px}#mec_exceptions_in_days_container .mec-col-4{width:25%}#mec_exceptions_in_days_container .mec-col-3{width:50%}#mec_exceptions_in_days_container .mec-col-5{width:20%}#mec_exceptions_in_days_container input[type=text]{width:95%}#mec_repeat_certain_weekdays_container label:not(.mec-col-3){display:block;padding-left:25%}}@media (max-width:1023px){.post-type-mec-events h4{margin-top:20px}.post-type-mec-events .mec-form-row{padding-bottom:20px}.post-type-mec-events .mec-form-row .mec-form-row{padding:0}.post-type-mec-events .mec-form-row .mec-col-1,.post-type-mec-events .mec-form-row .mec-col-10,.post-type-mec-events .mec-form-row .mec-col-11,.post-type-mec-events .mec-form-row .mec-col-12,.post-type-mec-events .mec-form-row .mec-col-2,.post-type-mec-events .mec-form-row .mec-col-3,.post-type-mec-events .mec-form-row .mec-col-4,.post-type-mec-events .mec-form-row .mec-col-5,.post-type-mec-events .mec-form-row .mec-col-6,.post-type-mec-events .mec-form-row .mec-col-7,.post-type-mec-events .mec-form-row .mec-col-8,.post-type-mec-events .mec-form-row .mec-col-9{display:block;width:100%;margin:20px 0 0 0;max-width:285px}.post-type-mec-events .mec-add-booking-tabs-left,.post-type-mec-events .mec-add-event-tabs-left{min-width:180px}.post-type-mec-events .mec-add-booking-tabs-left a,.post-type-mec-events .mec-add-event-tabs-left a,.post-type-mec-events .mec-create-shortcode-tabs-left a{padding-left:10px}#mec_repeat_type,.post-type-mec-events #mec_settings_fes_thankyou_page_url,.post-type-mec-events .mec-form-row .mec-col-4 input[type=number],.post-type-mec-events .mec-form-row .mec-col-4 input[type=text],.post-type-mec-events .mec-form-row .mec-col-4 select,.post-type-mec-events .mec-form-row .mec-col-4 textarea{width:100%;max-width:255px}#mec-exceptional-days .mec-certain-day>div,#mec_exceptions_in_days_container .mec-certain-day>div{width:100%;max-width:255px;padding:12px;margin:20px 10px 0 0;border-radius:8px}.mec-certain-day .mec-in-days-day,.mec-certain-day>div .mec-not-in-days-day{line-height:21px;font-size:10px}#mec_repeat_certain_weekdays_container label{display:block;margin:20px 0 20px 0}}@media (max-width:640px){.mec-add-booking-tabs-wrap,.mec-add-event-tabs-wrap,.mec-create-shortcode-tabs-wrap{display:block}.post-type-mec-events .mec-add-booking-tabs-left,.post-type-mec-events .mec-add-event-tabs-left{min-width:100%;width:100%!important;display:block!important;float:unset;margin:0;flex:unset;height:auto}.post-type-mec-events .mec-add-booking-tabs-right,.post-type-mec-events .mec-add-event-tabs-right,.post-type-mec-events .mec-create-shortcode-tabs-right{display:block;min-width:100%;width:100%;margin:0;flex:unset}.post-type-mec-events .mec-add-booking-tabs-left a,.post-type-mec-events .mec-add-event-tabs-left a,.post-type-mec-events .mec-create-shortcode-tabs-left a{font-size:14px;padding:14px 10px 14px 15px;line-height:1.2;letter-spacing:0}.mec-add-booking-tabs-right,.mec-add-event-tabs-right,.mec-create-shortcode-tabs-right{padding-left:10px;padding-right:10px}#mec_tickets .mec-box{max-width:290px}}@keyframes fadeEffect2{from{opacity:0;transform:translateX(11px)}to{opacity:1;transform:translateX(0)}}.mec-form-row .mec-col-8 label,.mec-form-row .mec-col-9 label{padding-right:20px}@media(min-width:860px) and (max-width:1280px){.mec-form-row .mec-col-9 label{padding-right:12px}}#mec-event-data .mec-form-row label{margin-right:14px}.mec-form-row input[type=date]::-webkit-calendar-picker-indicator{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA0QjQ2N0QwQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA0QjQ2N0QxQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDRCNDY3Q0VCNDgzMTFFQThEN0VERkNFNTExRURFMzkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDRCNDY3Q0ZCNDgzMTFFQThEN0VERkNFNTExRURFMzkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6WW71PAAAGIklEQVR42qRXS28bVRQ+586Mx3ZC1DSpVFojRU2CqMIGiSKxAVoUduzoDjYIlhU/Av4AYsdjRXfkD0Cjom6QqIqEqEhRo1aRkkZpkpY6j7GduQ++c2dsj1+BlInGztxvzj3nfudpPlM/otc2W2QjJmU0rZ0uUytUpBxNnN9p/FYhctF0+XUi2nPGkX7WJOfwxNRzqXxtbfI4eUvm7xY1o4iiI0d/vFiisL2BgTAz0yvbCRnLhP0uNEtqrgUseZRcwPPvJewaldSA8o48vo+Tj0U+CnrkOgZwvkEzEmGm1PF9fzK5Y3U/YlllsjRUv19zXl7571HyAjooc/kmYerpcmPO0Mfa0SyxEtji44ynOjPuayjecd7M46/MQOdGyIs9ThnzMLD0XRrwIdeetmoLm41fWiG95Ar792tydLLrOPkAlpW027hbG3+T37lf/5EtvYcXUuhfBjWp9wHRBO63c5lbEkQj2B92uaHy4l2EAQ66GFgbmiD4id/9q661ooAtf8rsvmUEilAHEqcgtJvvNq3YPTkJA8PksT9ZFxD8+4my9pvAOqOMxIMoJHfPZoJkJNiYat3duOac6hxt1N3GR8lnt0O623s+c2CVZEGaZ8Oks1mElvxu7hGYaQjpHLpH3q/YFQE7Oh5Y6gFTaHhAXlasxmoWpZO5L9Ow4DTv+UBZBAkWNO+CqhkbSOzaXWWyzY+n3WcACdVscnklz5CHYsmv1L/RyUJ/cs7zdT3Ey8pTgw/QgNNuS4XjNMvffwvBNmwDH+pdeZ3J+1qDdW15vS0iBhjZWzF9ge8HWl7zNLluYhP/9/jvFANXyL+ufF4jZvOCZsK8isp77+sixf10n7QQjJT39bBtjzdA5chtLG61n7kgk6UvDy29z4HL4c/ifkN0hYV+cA3Bc7stKAfossgSSF06+3HOu8QovE8eThDlv4pu1TbUOpqySDNUKMSDQRIo6QgVRHbFcID1mCITUGgNKLI9uBbcCC59xUi+DsiHBq0XOLb3utqOUYV+LglH9XJASRAsRNqt4xHVj59Exqw3AlrYi0PaiwNqBKoX12Y9iQSP/GkD4xZC0yt/GPFCvZzhUBoMtmPftRwMEEtpupy2auzadLraXtlNoXLhKQYLbjrWRx0cXNf24wxPSmWw5aZPNXSNOi5ytXqZpjTwSqs3PsJi0I61LG29EFG9GtyaeqgvxU17TrAkDjbvnq/eKcTYrbcemi5eHoI/OLgUt7r4n+cqd04llmZ3mjBSDQ4kYtERLLz4OKGt0xGKA9+RgiSGSRV7+UlCVvka72lEvHRx04vLGW2f/PzTBk3VtddRrGlhMXVaIdME5sLJ3ZQOTPQBNqj58uzcxsXtZEkqmQ7IB9ihLeA2x6FQqyG4cRuvbh8uNZSigzBCALhBBtrjkwjjQItQ+kPXWY6eBuEi/lmOlC8kvTh38ZLH3QC+y+GiIl4OqbeZ9RggQZgcVIXe1ep48jPkz/oGw7x1yoytIq1o59AH1Wp1rNHBSXA9tip87zYyvFzpx8dXLVTvqySvhUMNsN6+1ERrrNQVQs57H4K6cR35GrapffICb16RpO7glOHrrQyvjHXxQHB0/j1ugV0LpcFwAzS4n6hiZoIvEp2znwcSigfGJhxpMmseLc0dvFjcvRuLvdEdNyl2+0DOALwE863TM/jnJqhfQa6v4AfJzUNOZ/aVlhqIUpoO4PuU4XFsqFrSM866m9hxBXSvWPx/wHpGqA96Vfa5AH9HnMjYNI96dbkwaVzcCw/nAK+xHzp4Hp89eD04nENzX6v4cYrnrVWXXQF/Fh7MQfWasmogCNsmaT+qwD0g4gYsuYqnWlboeKMUumUr86LycxdwdRUb+zQTvAzcgL0jLXFkbkQUX5UKyFTE2bvZD0a5B8SAUu6dPf+7AInssja2VPSZRud2Ni/NKse5M2VQqkO4BxSzZLmV8Wwpa8S9OHsK3X6+Lc7F/JidOwvkc7z3FbIgzd7smy1c35TEg7NGrg6Ucs88UsCliOLHH1+Td8HYFl++W//QxfT9iSee/3lJWy5X6aMwtK3rTVWJUU4/g4GzdLLp73ku8cEDxNmXUZhc/0eAAQAVgX0RHvvILQAAAABJRU5ErkJggg==);background-position:center;background-size:cover;width:10px;height:12px;display:block}.mec-attendees-wrapper select,.mec-calendar-metabox .wn-mec-select,.mec-form-row input[type=date],.mec-form-row input[type=email],.mec-form-row input[type=number],.mec-form-row input[type=tel],.mec-form-row input[type=text],.mec-form-row input[type=url],.mec-form-row select,.mec-form-row textarea,.mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-occurrences-wrapper input[type=date],.mec-occurrences-wrapper input[type=email],.mec-occurrences-wrapper input[type=number],.mec-occurrences-wrapper input[type=tel],.mec-occurrences-wrapper input[type=text],.mec-occurrences-wrapper input[type=url],.mec-occurrences-wrapper select,.mec-occurrences-wrapper textarea{border:none;background-color:#f7f8f9;border-radius:5px;height:38px;line-height:38px;padding-left:10px;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)}.mec-calendar-metabox .wn-mec-select,.mec-form-row select,.post-type-mec-events .mec-form-row select,.post-type-mec_calendars .mec-form-row select,.wns-be-main .mec-form-row select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:34px;line-height:34px;background-color:#f7f8f9;border-radius:2px;padding-left:8px;box-shadow:0 1px 3px rgb(0 0 0 / 2%);transition:all .23s ease;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:26px 10px;background-position:right center;min-width:160px;border:1px solid #e6e9eb}.post-type-mec-events .mec-form-row .mec-time-picker select,.post-type-mec-events .wn-ticket-time select{min-width:60px;margin-bottom:10px}.wns-be-main .mec-col-4 select{min-width:unset}.mec-form-row .nice-select{background-image:unset}.mec-calendar-metabox .wn-mec-select.open .list{border-radius:0 0 2px 2px;box-shadow:0 0 0 1px #ddd,0 2px 6px rgba(0,0,0,.07)}.mec-calendar-metabox .mec-custom-nice-select.open ul.list{border-radius:5px;box-shadow:0 2px 6px rgb(0 0 0 / 3%);margin-left:0!important;transform:translateX(-50%);left:50%}.mec-custom-nice-select ul.list li.option.selected .wn-mec-text:after{border:6px solid #40d9f1;box-shadow:0 3px 16px -3px #40d9f1}.m-e-calendar_page_MEC-settings .mec-form-row input+span.mec-tooltip,.m-e-calendar_page_MEC-settings .mec-form-row select+span.mec-tooltip{bottom:10px}.mec-form-row label+span.mec-tooltip{bottom:10px}.mec-form-row textarea+span.mec-tooltip{bottom:auto;vertical-align:top;top:12px}.mec-form-row span+span.mec-tooltip{bottom:0;vertical-align:middle}.mec-form-row .tooltip-move-up span+span.mec-tooltip i{margin-top:-40px}.mec-form-row .mec-col-8 input[type=text],.mec-form-row .mec-col-8 select,.mec-form-row .mec-col-8 span.mec-archive-skins{vertical-align:top}.mec-form-row .mec-col-8 span.mec-archive-skins input[type=text]{max-width:225px}.mec-form-row input:disabled{opacity:.6;background:#f6f6f6}.wns-be-group-tab h5{font-size:16px;font-weight:600;color:#444;margin:0 0 40px 0}.mec-form-row textarea{height:auto;margin-bottom:0;min-height:60px}.mec-form-row .wp-picker-container input[type=text].wp-color-picker{height:25px;vertical-align:top;width:4rem;margin:-10px 0 0 0!important}.mec-form-row .wp-picker-container label{margin:0}.mec-image-select-wrap li span:hover{border-color:#fff;box-shadow:0 1px 8px rgba(0,0,0,.12)}.mec-message-categories li.mec-acc-label:after{content:"\e604";font-family:simple-line-icons;speak:none;font-style:normal;font-weight:400;display:block;font-size:13px;color:#999;position:absolute;right:27px;top:26px}.mec-message-categories>li.mec-acc-label[data-status=open]:after{content:"\e607";color:#07bbe9}.mec-message-categories>li.mec-acc-label[data-status=open]{color:#07bbe9}.mec-message-categories>li.mec-acc-label:last-of-type{border-bottom:none}.mec-message-categories>li.mec-acc-label[data-status=open]{border-bottom:1px solid #e6e6e6}.mec-form-row ul.mec-message-categories{box-shadow:0 2px 16px rgba(0,0,0,.03);border-radius:5px;overflow:hidden;margin-top:30px;background:#f5f5f5;border:2px solid #e6e6e6;max-width:700px}.mec-form-row ul.mec-message-categories li ul{padding:10px 40px 40px;margin:0 -30px 0;background:#fff;box-shadow:inset 0 6px 7px -2px rgb(0 0 0 / 4%);border-top:1px solid #eee;cursor:default}.mec-form-row ul.mec-message-categories ul label{margin:25px 8px 7px;font-size:14px;color:#888;cursor:default}#mec_calendar_display_options .mec-tooltip{bottom:1px}.mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-meta-box-fields .mec-form-row input[type=checkbox]{margin-right:6px}#mec_add_fee_button,#mec_add_ticket_variation_button,#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,.mec-export-settings,.mec-import-settings,.mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),.mec-occurrences-wrapper .button:not(.wp-color-result){border-radius:25px;border:1px solid #d1e5ec;text-shadow:none;padding:0 16px;height:35px;letter-spacing:.2px;margin-right:5px;background:#fff;color:#07bbe9;box-shadow:0 1px 5px -1px rgb(0 0 0 / 5%);transition:all .2s ease}.mec-export-settings,.mec-import-settings{padding:11px 16px;text-decoration:none}#mec_add_fee_button:hover,#mec_add_ticket_variation_button:hover,#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button:hover,.mec-meta-box-fields .mec-form-row .button:not(.wp-color-result):hover,.mec-occurrences-wrapper .button:not(.wp-color-result):hover{background:#f0f9fc}#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button{margin:0}#mec-hourly-schedule .mec-form-row .mec-col-1 .button,#mec-hourly-schedule .mec-form-row.mec-box .button,#taxes_option #mec_fees_list .mec-form-row .button,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button{color:#ea6485;border-color:#ea6485}#mec-hourly-schedule .mec-form-row .mec-col-1 .button:hover,#mec-hourly-schedule .mec-form-row.mec-box .button:hover,#taxes_option #mec_fees_list .mec-form-row .button:hover,#ticket_variations_option #mec_ticket_variations_list .mec-form-row .button:hover{background:rgb(234 100 133 / .1)}#mec-hourly-schedule .mec-hourly-schedule-form-speakers{margin-top:20px}#mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button{margin-top:12px}#mec_meta_box_downloadable_file_options input[type=file]{max-width:166px;text-align:center;transition:all .2s ease;border-radius:5px!important;border:2px dashed #b8e9f3;margin-bottom:12px;height:44px;text-decoration:none;padding:0 15px 1px;text-transform:none;letter-spacing:0;font-weight:600;color:#40d9f1;box-shadow:0 2px 6px -3px #cfeff5}#mec_meta_box_downloadable_file_options input[type=file]:hover{box-shadow:0 2px 16px -3px #cfeff5}#mec_meta_box_downloadable_file_options input[type=file]::-webkit-file-upload-button{visibility:hidden;width:1px;height:38px}#mec_meta_box_downloadable_file_options input[type=file]::-moz-file-upload-button{visibility:hidden;width:1px;height:38px}.mec-attendees-wrapper .mec-attendees-list{margin:22px 0 0}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child{background:#fff;border-bottom:1px solid #cfeff5}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child div span{line-height:1;font-weight:600}.mec-attendees-wrapper .mec-attendees-list .w-clearfix{display:flex;background:#f8feff;padding:10px;text-align:left}.mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:first-child{width:100%;max-width:30%;padding:0}.mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3 a{text-decoration:unset}.mec-attendees-wrapper .mec-attendees-list .w-clearfix:nth-child(odd){background:#fff}#mec-read-more .mec-form-row span.mec-tooltip{top:2px;left:-4px}#mec-occurrences .mec-occurrences-list{margin-top:12px}#mec-occurrences .mec-occurrences-list h3{margin-top:0}#mec-occurrences .mec-occurrences-list .mec-form-row{margin-bottom:0}#mec-occurrences .mec-occurrences-list .mec-form-row label{line-height:40px;width:120px;display:inline-block;margin:0}#mec-occurrences .mec-occurrences-list .mec-form-row .event-status-schema label{width:auto;min-width:160px}#mec-occurrences .mec-occurrences-list .mec-form-row .event-status-schema p{border:unset;padding-left:0;margin-left:0}#mec-search-settings{border-radius:21px;min-height:32px;box-shadow:inset 0 1px 2px rgba(0,0,0,.06);margin-right:10px;color:#7c838a;font-size:13px;width:260px;background:#f7f8f9;border:none;z-index:1;transition:all .18s ease;outline:0;line-height:36px;padding:2px 10px 1px 38px}#mec-search-settings:focus{background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.07),0 0 0 1px #e6e6e6;width:270px}.mec-search-settings-wrap{display:inline-block;position:relative}.mec-search-settings-wrap i{position:absolute;left:16px;top:13px;font-size:13px;color:#7e8c98;display:block;z-index:2}#mec-search-settings::-webkit-input-placeholder{color:#7c838a}#mec-search-settings::-moz-placeholder{color:#7c838a}#mec-search-settings:-ms-input-placeholder{color:#7c838a}#mec-search-settings:-moz-placeholder{color:#7c838a}#wns-be-content .noresults label,#wns-be-content .results .results .noresults label{color:#000}#wns-be-content .results .results .results label,#wns-be-content .results label,#wns-be-content ul li.enable,#wns-be-content ul li.enable label{color:#07bbe9}#wns-be-content ul li.disable,#wns-be-content ul li.disable label{color:#e7e7e7}.ui-datepicker.ui-widget{border:1px solid #e8e8e8;box-shadow:0 1px 9px rgba(0,0,0,.12)}.ui-datepicker.ui-widget select{font-weight:600;font-size:12px;border-radius:2px;padding:2px 10px;margin:1px 3px 5px}.ui-datepicker.ui-widget table{border-spacing:2px}.ui-datepicker.ui-widget td,.ui-datepicker.ui-widget tr{padding:0;background:0 0!important}.ui-datepicker.ui-widget td a{color:#777;font-weight:600;width:30px;height:30px;line-height:30px;display:inline-block;border-radius:33px;padding:0;background:#fff;transition:all .2s ease}.ui-datepicker.ui-widget td a.ui-state-active,.ui-datepicker.ui-widget td a:hover{background:#40d9f1;color:#fff}.ui-datepicker.ui-widget .ui-datepicker-next,.ui-datepicker.ui-widget .ui-datepicker-prev{color:#40d9f1;width:30px;height:30px;line-height:30px;display:inline-block;text-align:center;border-radius:33px;background:#ecfcff;transition:all .2s ease}.ui-datepicker.ui-widget .ui-datepicker-next:hover,.ui-datepicker.ui-widget .ui-datepicker-prev:hover{background:#fff;box-shadow:0 0 7px -3px rgba(0,0,0,.4)}#mec-wrap{width:92%;margin:20px auto;max-width:1384px}#mec-wrap h2.nav-tab-wrapper{margin-bottom:0;position:relative;z-index:8;padding:0;border-radius:5px 5px 0 0;border:none;margin-top:35px;clear:both;background:#fff;box-shadow:0 1px 0 0 #ededed}#mec-wrap .nav-tab-wrapper .nav-tab{position:relative;padding:28px 22px;border:none;margin:0;background:#fff;font-size:13px;color:#444;outline:0;letter-spacing:-.1px;box-shadow:none}#mec-wrap .nav-tab-wrapper .nav-tab:hover{color:#07bbe9}#mec-wrap .nav-tab-wrapper .nav-tab:after{content:"";display:inline-block;width:1px;height:30%;position:absolute;right:0;top:35%;background:#e9e9e9}#mec-wrap .nav-tab-wrapper .nav-tab-active,#mec-wrap .nav-tab-wrapper .nav-tab-active:focus,#mec-wrap .nav-tab-wrapper .nav-tab-active:focus:active,#mec-wrap .nav-tab-wrapper .nav-tab-active:hover{background:#ecf9fd;outline:0;margin-left:-1px;z-index:2;border:1px solid #ccecf4;color:#07bbe9;border-radius:5px;margin-bottom:-1px}#mec-wrap .nav-tab-wrapper .nav-tab-active:after{content:'';position:absolute;display:block;background:0 0;top:auto;height:auto;bottom:-20px;left:50%;margin-left:-10px;width:0;border-width:10px;border-style:solid;border-color:#ecf9fd transparent transparent}#mec-wrap .mec-container{padding:25px 40px 40px;box-shadow:0 3px 10px -4px rgba(0,0,0,.1)}#wpwrap .mec-button-primary{box-shadow:0 0 0 4px #e4ffe6;text-shadow:none;margin-right:5px;background:#64e385;color:#fff;border:none;cursor:pointer;padding:2px 22px;border-radius:22px;font-weight:500}#wpwrap .mec-button-primary:hover{box-shadow:0 0 0 4px rgb(0 0 0 / 10%);background:#4d5051;border-color:#4d5051;cursor:pointer}#mec-wrap .nav-tab-wrapper .nav-tab-active:before{content:'';position:absolute;display:block;background:0 0;top:auto;height:auto;bottom:-24px;left:50%;margin-left:-12px;width:0;border-width:12px;border-style:solid;border-color:#ccecf4 transparent transparent}.ui-datepicker.ui-widget select{border-color:#e7e8e9}.wn-p-t-right{min-width:300px;max-width:400px;display:inline-block;top:-8px;left:50%;margin-top:0;transform:translate(-50%,-100%);padding:0;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.5;position:absolute;z-index:99999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s;padding:20px;border-radius:8px}.wn-p-t-right i{position:absolute!important;top:100%;right:50%;margin-top:-6px!important;margin-right:-6px!important;width:12px;height:24px;overflow:hidden;transform:rotate(-90deg)}.wn-p-t-right i:after{content:'';position:absolute;width:12px;height:12px;left:0;top:50%;transform:translate(50%,-50%) rotate(-45deg);background-color:#535a61;box-shadow:0 8px 9px -4px #535a61}.wn-p-t-right .wn-p-t-text-content h5{color:#fff;font-size:17px;font-weight:600;margin:-20px;padding:15px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #32363a;border-radius:6px 6px 0 0}.mec-addon-box-footer a:hover .wn-p-t-right{visibility:visible;opacity:1}#mec_organizer_user+.select2-container,#mec_speaker_user+.select2-container{min-width:224px!important}.mec-add-event-tabs-wrap .select2-container,.mec-create-shortcode-tab-content .select2-container{min-height:38px;height:auto;box-sizing:border-box;padding:0 6px;border-radius:2px;border:1px solid #ddd;box-shadow:inset 0 1px 6px rgba(0,0,0,.07);background-color:#fff;color:#32373c;outline:0;transition:50ms border-color ease-in-out;min-width:200px;font-size:14px}.mec-add-event-tabs-wrap .select2-selection,.mec-create-shortcode-tab-content .select2-selection{border:none;background:0 0;padding-top:3px;width:100%;height:100%}.mec-add-event-tabs-wrap .select2-container--default.select2-container--focus .select2-selection,.mec-create-shortcode-tab-content .select2-container--default.select2-container--focus .select2-selection{border:none!important;outline:0}.mec-add-event-tabs-wrap .select2-container--default .select2-selection--single .select2-selection__arrow,.mec-create-shortcode-tab-content .select2-container--default .select2-selection--single .select2-selection__arrow{top:5px;right:4px}.fs-webform-container div .fserv-container{width:100%!important;max-width:none!important;min-height:208px!important;box-shadow:0 1px 6px rgb(0 0 0 / 1%)!important;border-radius:11px!important;padding:0!important;margin-bottom:0!important;margin-top:30px!important;background:url(https://webnus.net/modern-events-calendar/wp-content/uploads/2019/11/illustration.svg) no-repeat top right;background-size:310px}.fserv-container .fserv-form-name{font-weight:600!important;position:relative!important;font-size:20px!important;padding:30px 30px 10px!important;text-align:left!important;margin:0!important;line-height:1}.fserv-form-description{padding:10px 30px!important;margin:1em 0 0!important;line-height:1.5!important;font-size:16px!important}.fserv-container form{padding:0!important;padding-left:28px!important}.fserv-container .fserv-label{display:none!important}.fserv-field{display:inline-block;padding:0!important;min-width:260px;margin:0!important;margin-right:25px!important}.fserv-container label.fserv-form-description{cursor:default}.fserv-field input.fserv-input-text{border-radius:5px!important;border:none!important;background-color:#f7f8f9!important;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)!important}.fserv-field+div:not(.fserv-field){margin:0!important;border:none!important;text-align:left!important;padding-left:4px!important;margin-top:0!important;padding-top:0!important;display:inline-block;margin-right:10px!important}.fserv-container .powered-by{display:none!important}@media(max-width:1366px){#webnus-dashboard .fserv-container form{padding:0!important;padding:0 28px 40px 28px!important}#webnus-dashboard .fserv-form .fserv-field{width:33%!important}#webnus-dashboard .fserv-form .fserv-button-submit{margin-left:-2px!important}}@media(max-width:960px){#webnus-dashboard .fserv-container form{padding:0!important;padding:0 28px 40px 28px!important}#webnus-dashboard .fserv-form .fserv-field{width:100%!important}#webnus-dashboard .fserv-form .fserv-button-submit{margin-left:-2px!important}}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{font-weight:500;border-radius:60px;text-shadow:none;box-shadow:0 0 0 3px rgb(227 249 253 / 15%);background:#fff;background:linear-gradient(95deg,#fff 0,#fff 50%,#fff 100%)!important;border:1px solid #c0e5ea;transition:.24s}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag.button-primary,#webnus-dashboard .total-bookings button,button.fserv-button-submit{color:#fff!important;font-weight:500!important;border-radius:60px!important;box-shadow:0 0 0 4px rgb(56 213 237 / 1%)!important;text-shadow:none!important;background:#38d5ed!important;border:none!important;transition:.24s!important}#webnus-dashboard button.fserv-button-submit{background:#64e385!important;box-shadow:0 0 0 3px #64e3851a!important}#webnus-dashboard button.fserv-button-submit:hover{background:#46d26a!important;box-shadow:0 0 0 4px #64e38536!important}#webnus-dashboard .total-bookings button{line-height:39px;padding:0 36px}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag.button-primary:hover{color:#fff!important;background:#1fcae4!important;box-shadow:0 0 0 4px rgb(56 213 237 / 15%)!important}#webnus-dashboard .total-bookings button:hover,button.fserv-button-submit:hover{background:#26bbd2!important;box-shadow:0 0 0 4px rgb(56 213 237 / 15%)!important;cursor:pointer!important}#webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:hover{box-shadow:0 0 0 4px rgb(56 213 237 / 8%)!important;color:#02a3bb!important;cursor:pointer!important}.fserv-container input::-webkit-input-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input::-moz-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input:-ms-input-placeholder{font-family:Inherit!important;font-size:14px}.fserv-container input:-moz-placeholder{font-family:Inherit!important;font-size:14px}input.fserv-input-text{height:38px;box-sizing:border-box;margin-bottom:8px;padding:0 6px;box-shadow:none;border-radius:2px;box-shadow:inset 0 1px 5px rgba(0,0,0,.05)}.fserv-field label.error{display:none!important}.fs-notifier{position:fixed!important;top:40px!important;width:300px!important;max-width:300px!important;margin:0!important;right:20px!important;left:unset!important}.post-type-mec-events .lity{background:#edf0f3}.post-type-mec-events .lity-container{width:60vW;max-width:883px;margin:0 auto;border-radius:7px}.post-type-mec-events .lity-content:after{display:none}.mec-manage-events-lightbox{box-shadow:0 3px 20px rgba(0,0,0,.05)}.w-clearfix.mec-attendees-content img{display:inline-block;width:25px;height:25px;vertical-align:middle;margin-right:7px}.post-type-mec-events .mec-attendees-list-head{background:#008aff;color:#fff;text-align:center;padding:17px 0;text-transform:capitalize;font-size:26px;font-weight:700;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;border-radius:7px 7px 0 0;line-height:43px;box-shadow:0 3px 15px rgba(0,138,255,.25);z-index:99}.mec-attendees-list-wrap{display:flex;width:100%;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;background:#fff;box-shadow:0 3px 20px rgba(0,0,0,.05);border-radius:0 0 5px 5px;overflow:hidden}.mec-attendees-list-left{flex:1;background:#f6f8fa;padding:0;border-radius:0;position:relative}.mec-attendees-list-right,.mec-send-email-form-wrap{flex:1;border-radius:0 0 5px 5px;padding:0 20px 20px;background:#f2f4f7}.mec-attendees-list-left-menu a{display:inline-block;line-height:22px;font-size:12px;color:#000;font-weight:500;border-bottom:1px solid #eaebec;border-left:1px solid #eaebec;padding-bottom:0;padding:7px 6px;margin-bottom:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;transition:all .2s ease;text-decoration:none;text-align:center}.mec-attendees-list-left-menu a.selected-day{color:#008aff}.mec-attendees-list-left-menu .owl-item:last-child a{border-right:1px solid #eaebec}.mec-attendees-list-right table{width:100%}.w-clearfix.mec-attendees-head{margin-top:30px;border-bottom:2px solid #008aff;padding-bottom:18px;margin-bottom:3px}.w-clearfix.mec-attendees-content [class^=w-col-xs-],.w-clearfix.mec-attendees-head [class^=w-col-xs-]{padding:0}.w-clearfix.mec-attendees-head span{font-weight:600;color:#000;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;font-size:17px}.w-clearfix.mec-attendees-content{background:#fff;margin-bottom:2px;padding:10px 20px}.mec-attendees-list-left-menu{height:36px;margin-left:35px;margin-right:36px}.mec-attendees-list-left-menu a:active,.mec-attendees-list-left-menu a:focus,.mec-attendees-list-left-menu a:visited{outline:0;box-shadow:none}.mec-attendees-list-left-menu .owl-item{display:inline-block}.mec-attendees-list-left-menu .owl-stage{min-width:800px!important}.owl-nav.disabled .owl-next{position:absolute;right:0;top:0}.owl-nav.disabled .owl-prev{position:absolute;left:0;top:0}.owl-nav.disabled button{background:#fff;box-shadow:none;border:1px solid #ccc;height:36px;width:36px;font-size:54px;line-height:54px}.owl-nav.disabled button span{margin-top:-18px;display:block}.mec-cover-loader:after{content:'';position:absolute;top:0;right:0;left:0;bottom:0;background:rgba(255,255,255,.5);z-index:99999}.mec-loader{background:rgba(0,0,0,0);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:9}.mec-loader,.mec-loader:after{border-radius:50%;width:5em;height:5em;z-index:999999999999}.mec-loader{font-size:10px;text-indent:-9999em;border-top:.5em solid rgba(0,0,0,.2);border-right:.5em solid rgba(0,0,0,.2);border-bottom:.5em solid rgba(0,0,0,.2);border-left:.5em solid #fff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:mecloader 1.1s infinite linear;animation:mecloader 1.1s infinite linear}@media(max-width:992px){.post-type-mec-events .lity-container{width:80vw}}@-webkit-keyframes mecloader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes mecloader{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.mec-report-backtoselect-wrap,.mec-report-sendmail-form-wrap{display:none}.mec-report-select-event-wrap .select2{width:100%!important}.mec-report-select-event-wrap .select2-container--default .select2-selection--single{border-radius:2px;border:1px solid #e2e3e4;height:38px;padding-top:5px;width:100%;box-shadow:0 2px 3px rgba(0,0,0,.03)}.mec-report-select-event-wrap .select2-container--default .select2-selection--single .select2-selection__arrow{height:36px}.mec-report-select-event-wrap .select2-container--open .select2-dropdown--below{box-shadow:0 2px 8px rgba(0,0,0,.12);border-color:#d7d8d9}.select2-container--default .select2-search--dropdown .select2-search__field{box-shadow:0 2px 8px rgba(0,0,0,.06) inset;border-color:#d7d8d9;border-radius:2px}.mec-report-select-event-wrap input[type=text],.mec-report-select-event-wrap select{border:1px solid #e2e3e4;font-size:13px;font-weight:400;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important;margin-bottom:15px;border-radius:2px;box-shadow:0 2px 3px rgba(0,0,0,.03);max-width:150px}.mec-report-select-event-wrap .select2-container--default{max-width:400px}.mec-report-select-event-wrap select.mec-reports-selectbox-dates{height:38px;min-width:260px;margin:0 0 0 10px;padding-left:15px}.mec-report-sendmail-form-wrap,.mec-report-sendmail-wrap{padding:30px 15px;background:#fff;border:1px solid #e2e3e4;margin:15px 0 5px;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.02)}.mec-report-sendmail-wrap .w-col-sm-12:before{background:url(../img/email-document.png) no-repeat left top;content:"";display:block;width:90px;height:70px;z-index:100;float:left}.mec-report-sendmail-wrap p{margin:0 0 15px;font-size:15px;color:#7d8284}.mec-report-backtoselect-wrap button,.mec-report-sendmail-wrap .w-col-sm-12 button,.mec-send-email-form-wrap .mec-send-email-button{background:#19cde9;border:none;color:#fff;font-size:13px!important;padding:6px 16px;border-radius:2px;cursor:pointer;box-shadow:0 1px 2px rgba(25,205,233,.25);transition:all .2s ease}.mec-report-backtoselect-wrap button:hover,.mec-report-sendmail-wrap .w-col-sm-12 button:hover,.mec-send-email-form-wrap .mec-send-email-button:hover{background:#04bfdc;box-shadow:0 1px 2px rgba(25,205,233,.05)}.mec-report-backtoselect-wrap button{margin-top:15px}.mec-report-selected-event-attendees-wrap{background-color:#fff;border:1px solid #96e3ef;padding:0;margin:20px 0;border-radius:3px;box-shadow:0 2px 14px rgba(25,205,233,.1);display:none}.mec-report-sendmail-wrap{display:none}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head{background:#c7eef4;border-bottom:1px solid #96e3ef;padding:15px;margin:0;border-radius:3px 3px 0 0}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content{margin:0;padding:8px 15px;border-bottom:1px solid #e4eef0;font-size:13px;line-height:25px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content:hover{background:#f3fdfe}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content:last-child{border-bottom:none;border-radius:0 0 3px 3px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content img{border-radius:25px;margin-left:8px}.mec-report-selected-event-attendees-wrap input[type=checkbox]{border-radius:3px;margin-top:0}.mec-report-selected-event-attendees-wrap .mec-attendees-head .w-col-xs-2.name{padding-left:10px}.mec-report-selected-event-attendees-wrap .checkin_status span{font-weight:600}.mec-report-selected-event-attendees-wrap .w-col-sm-12>p{text-align:center}.mec-attendees-list-right,.mec-send-email-form-wrap{flex:1;border-radius:0;padding:0;background:0 0;max-width:674px;margin:0 auto}.mec-report-sendmail-form-wrap{padding:0 30px 45px}.mec-send-email-form-wrap h2{background:url(../img/email-document.png) no-repeat center top;padding-top:70px;font-size:22px;font-weight:600;text-align:center;padding-bottom:10px;padding-left:10px;margin-bottom:0}#webnus-dashboard .mec-send-email-form-wrap .wp-editor-tools button{font-size:13px;font-weight:400;color:#444;line-height:1;margin-bottom:0}#webnus-dashboard .mec-send-email-form-wrap .wp-editor-tabs button{min-height:30px}.mec-send-email-form-wrap input.widefat{min-height:40px;border:1px solid #e2e3e4;border-radius:2px;box-shadow:0 1px 4px rgba(0,0,0,.02)}.mec-send-email-form-wrap input.widefat:focus{border:1px solid #96e3ef}.mec-send-email-form-wrap h4.mec-send-email-count{font-weight:400;text-align:center;margin-bottom:30px;margin-top:0;padding-top:0}.mec-send-email-form-wrap .mec-send-email-button{min-height:40px;line-height:40px;padding:0;font-size:17px!important;font-weight:600}.mec-send-email-form-wrap .mce-menubtn.mce-fixed-width span{height:20px;padding-top:2px}.lity.mec-add-shortcode-popup{background-color:#b7e4e3}.lity.mec-add-shortcode-popup .lity-content{box-shadow:0 3px 20px 0 rgba(91,188,190,.55);border-radius:10px;height:100%}.mec-add-shortcode-popup .lity-container{width:930px;height:620px}.mec-add-shortcode-popup .lity-content:after{display:none}.mec-add-shortcode-popup div#mec_popup_shortcode{background:#fff;overflow:hidden;display:flex;width:100%;border-radius:10px;height:100%}.mec-steps-container{width:92px;text-align:center;background:#fff}.mec-steps-panel{width:calc(100% - 92px);background:#eef4f5}.mec-steps-container ul{text-align:center;display:block;margin-top:62px}.mec-steps-container ul li{width:22px;height:70px;margin:0 auto;position:relative}.mec-steps-container ul li span{border-radius:50px;background-color:rgba(26,175,251,.16);width:22px;height:22px;display:inline-block;padding-top:2px;font-size:11px;font-weight:700;color:#1aaffb;box-sizing:border-box}.mec-steps-container ul li:after,.mec-steps-container ul li:before{content:'';display:block;height:24px;width:2px;background:rgba(26,175,251,.16);margin-left:calc(50% - 1px)}.mec-steps-panel .mec-form-row input[type=checkbox],.mec-steps-panel .mec-form-row input[type=radio]{background:#fff}.mec-box .mec-steps-panel .mec-form-row input[type=radio],.mec-steps-panel .mec-form-row .mec-box input[type=checkbox]{background:#f7f8f9}.mec-steps-panel .mec-form-row .mec-box input[type=checkbox]:checked,.mec-steps-panel .mec-form-row .mec-box input[type=radio]:checked{background:#fff}.mec-steps-container ul li:first-of-type:before,.mec-steps-container ul li:last-of-type:after{display:none}.mec-steps-container ul li:first-of-type{height:46px}li.mec-step.mec-step-passed span,li.mec-step.mec-step-passed:after,li.mec-step.mec-step-passed:before{background-color:#2dcb73;color:#fff}.mec-steps-container img{margin-top:30px}.mec-steps-header{display:flex;background:#fff;border-radius:5px;box-shadow:0 3px 22px 0 rgb(11 121 125 / 1%);padding:12px 22px;margin:-15px -15px 65px}.mec-steps-header-settings{width:65px}.mec-steps-header-dashboard{width:fit-content;margin-right:22px}.mec-steps-header-userinfo{width:calc(100% - 65px)}.mec-steps-panel{padding:35px;position:relative;display:flex;flex-direction:column;justify-content:space-between}.mec-steps-header-userinfo span{display:inline-block;vertical-align:middle}.mec-steps-header-userinfo span img{height:40px;border-radius:50px;margin-right:8px;vertical-align:middle}.mec-steps-header-userinfo span.mec-steps-header-name{font-size:14px;color:#778182;font-weight:600;text-transform:capitalize}span.mec-steps-header-add-text{color:#839294;font-size:12px;margin-left:5px}.mec-steps-header-dashboard a,.mec-steps-header-settings a{height:100%;display:block;padding-top:11px;text-decoration:none;font-size:12px;color:#707070}.mec-steps-header-dashboard a i,.mec-steps-header-settings a i{color:#1aaffb;font-size:16px;vertical-align:text-top;margin-right:5px}.mec-next-previous-buttons{clear:both}.mec-next-previous-buttons button.mec-button-next{float:right;background:#008aff;border:none;color:#fff;cursor:pointer;width:123px;text-align:left;padding:8px 18px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);transition:all .3s ease;outline:0}.mec-next-previous-buttons button:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}.mec-next-previous-buttons button.mec-button-next img{position:absolute;top:16px;right:18px}.mec-next-previous-buttons button{position:relative}.mec-next-previous-buttons button.mec-button-prev{background:#fff;border:none;color:#000;cursor:pointer;width:123px;text-align:right;padding:8px 15px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(11,121,125,.01);transition:all .3s ease;outline:0}.mec-next-previous-buttons button.mec-button-prev img{position:absolute;top:16px;left:18px}.mec-next-previous-buttons button.mec-button-prev:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3);color:#fff}.mec-next-previous-buttons button.mec-button-new{background:#008aff;float:right;border:none;color:#fff;cursor:pointer;width:154px;text-align:left;padding:8px 18px 9px;border-radius:3px;font-size:14px;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);transition:all .3s ease;outline:0}.mec-next-previous-buttons button.mec-button-new:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}.mec-next-previous-buttons button.mec-button-new img{vertical-align:sub;margin-left:-3px;margin-right:8px}div#mec_popup_shortcode_form{height:calc(100% - 37px)}.mec-steps-content-container{display:flex;flex-direction:column;height:100%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1{background:url(../../assets/img/popup/first-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .popup-sh-name-required{color:red;display:none;font-style:italic;font-size:12px;margin-top:8px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:50%;position:absolute;width:360px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]{width:360px;height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]::-webkit-input-placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]:-ms-input-placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]::placeholder{color:#b1b2b4}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/add-sh-icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul{height:386px;overflow-x:hidden;overflow-y:scroll;padding-left:60px;margin-top:-22px;margin-bottom:0;position:relative;padding-bottom:19px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li{width:193px!important;float:left!important;min-height:135px!important;height:160px;margin:1.66%!important;box-sizing:border-box;text-align:center;padding:10px!important;border-radius:5px;border:2px solid #c4edff;background:#fff!important;cursor:pointer}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li.active{border-color:#00acf8;box-shadow:0 3px 5px rgba(0,172,248,.2)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-img img{margin:4px 0 1px 1px;line-height:1;max-width:68px;max-height:56px;filter:grayscale(1);-webkit-filter:grayscale(1);transition:all .22s ease;-webkit-transition:all .22s ease;-moz-transition:all .22s ease;-ms-transition:all .22s ease;-o-transition:all .22s ease}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text input{display:block;margin:0 auto;margin-top:6px;border:2px solid #e1e7ed;box-shadow:0 3px 6px 0 rgba(0,0,0,.05);position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-img{padding-top:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li .mec-step-popup-skin-text input{display:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text:before{width:14px;height:14px;content:'';border-radius:50px;background:#fff;display:block;position:absolute;left:calc(50% - 7px);top:24px;z-index:99;border:2px solid #e1e7ed;box-shadow:0 3px 6px 0 rgba(0,0,0,.05)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text{position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 li.active .mec-step-popup-skin-text:before{background:#008aff;border:none;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);width:16px;height:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 li.active .mec-step-popup-skin-text:after{width:4px;height:4px;display:block;content:'';position:absolute;background:#fff;left:calc(50% - 1px);top:30px;z-index:999;border-radius:50px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 span.wn-hover-img-sh{display:block}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles{height:386px;overflow-x:hidden;padding-left:60px;padding-bottom:19px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label{width:193px!important;float:left!important;margin:1.66%!important;text-align:center}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label span{width:193px!important;float:left!important;min-height:135px!important;height:150px;box-sizing:border-box;border-radius:5px;border:2px solid #c4edff;background:#fff!important;cursor:pointer;margin-bottom:5px;margin-top:-6px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label.active span{border-color:#00acf8;box-shadow:0 3px 5px rgba(0,172,248,.2)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label div{font-size:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles label.active div{color:#008aff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles input{opacity:0;display:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-steps-content.mec-steps-content-3{margin-top:-18px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 span.wn-hover-img-sh img{width:189px;height:146px;border-radius:5px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4{background:url(../../assets/img/popup/fourth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 .nice-select{border:none;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4{top:40%;position:absolute;width:330px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 h3{font-size:13px;font-weight:400;color:#707070}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div{border:2px dashed #dce2e3;border-radius:3px;padding:20px 20px 6px;background:#fcfcfc}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div label{display:block;margin-bottom:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div label.active input{background:#fff;box-shadow:none;border:1px solid #cacece}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup{box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07);clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:300px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup:hover{border-color:#dbdbdb}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open .list{overflow:unset;width:100%;margin:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .list{background-color:#fff;border-radius:5px;box-shadow:0 0 0 1px rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup:after{border-bottom:2px solid #999;border-right:2px solid #999;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:12px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.disabled{border-color:#ededed;color:#999;pointer-events:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup.disabled:after{border-color:#ccc}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .list:hover .option:not(:hover){background-color:transparent!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:28px!important;min-height:28px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option .wn-hover-img-sh img{position:absolute;padding:3px;top:-1px;left:100%;box-shadow:0 4px 42px -5px rgba(0,0,0,.16);visibility:hidden;opacity:0;border:1px solid #e3e3e3;border-radius:2px;z-index:99999999;background:#fff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option:hover .wn-hover-img-sh img{visibility:visible;opacity:1}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.focus,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.selected.focus,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option:hover{background-color:#f6f6f6}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.selected{font-weight:700}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup .option.disabled{background-color:transparent;color:#999;cursor:default}.mec-add-shortcode-popup .no-csspointerevents .wn-mec-select-popup .list{display:none}.mec-add-shortcode-popup .no-csspointerevents .wn-mec-select-popup.open .list{display:block}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input{background:#fff;position:relative;width:24px;height:24px;border:1px solid #cacece}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input:before{disaply:none}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label.active input{background:#008aff;box-shadow:0 5px 10px 0 rgba(0,138,255,.3);border:none}.mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label.active input:before{background:#fff;width:6px;height:6px;top:6px;left:6px;position:absolute}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5{background:url(../../assets/img/popup/fifth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5{width:360px;margin-top:16px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher label{color:#707070;font-size:14px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher p{color:#8a8a8a;font-style:italic;font-size:12px;margin-top:7px;margin-bottom:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher{padding-bottom:30px;margin-bottom:34px;border-bottom:2px dashed #dce2e3;position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher:last-of-type{padding-bottom:0;margin-bottom:0;border:none}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher div:last-of-type label{position:absolute;top:-4px;right:0;width:52px;height:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input:checked+label:after{margin-left:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input+label:after,.mec-add-shortcode-popup .mec-switcher input+label:before{display:block;position:absolute;top:2px;left:1px;bottom:2px;content:""}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher input+label:after{width:26px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6{background:url(../../assets/img/popup/sixth-step.png) no-repeat 90% 70%}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-content.mec-steps-content-6{margin-top:56px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode{width:325px;border:2px dashed #dce2e3;background:#fcfcfc;padding:42px 42px 47px;text-align:center}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode h3{font-size:16px;font-weight:400;color:#707070;margin-top:7px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code{border-radius:3px;background:rgba(154,214,222,.35);width:243px;margin:0 auto;padding:14px 17px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code code{background:0 0;color:#000;font-size:14px;font-weight:600;margin-left:-11px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button{border:none;background:#fff;border-radius:3px;padding:3px 8px 6px;margin-left:46px;cursor:pointer}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button:hover{background:#000;color:#fff}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-results p{width:325px;text-align:center;font-size:12px;margin-top:5px;color:#8a8a8a}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-loading{width:325px;border:2px dashed #dce2e3;background:#fcfcfc;padding:42px 42px 47px;text-align:center;height:182px;position:relative}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-steps-6-loading .mec-loader{position:absolute;left:136px;top:65px}.mec-add-event-popup button.lity-close,.mec-add-shortcode-popup button.lity-close{right:0;top:-52px;border-radius:50%;width:37px;height:37px;background:#fff;color:#a2afbc;text-shadow:none;padding-top:1px;transition:all .2s ease;position:absolute;box-shadow:0 3px 8px 0 rgba(91,188,190,.55)}.mec-add-event-popup button.lity-close:hover,.mec-add-shortcode-popup button.lity-close:hover{background:#ff6262;color:#fff;box-shadow:0 3px 8px 0 rgb(249 162 162 / 55%)}.mec-skin-styles.mec-styles-full_calendar h3{padding-left:12px}.lity.mec-add-event-popup{background-color:#b7e4e3}.mec-add-event-popup .lity-container{width:930px;height:620px;max-width:unset}.mec-add-event-popup div#mec_popup_event{background:#fff;overflow:hidden;display:flex;width:100%;border-radius:10px;height:100%}.lity.mec-add-event-popup .lity-content{box-shadow:0 3px 20px 0 rgba(91,188,190,.55);border-radius:10px;height:100%}div#mec_popup_event_form{height:calc(100% - 37px)}.mec-add-event-popup .mec-steps-container ul{margin-top:42px}.mec-add-event-popup .mec-steps-container ul li:first-of-type{height:41px}.mec-add-shortcode-popup .mec-steps-container ul li:after,.mec-add-shortcode-popup .mec-steps-container ul li:before{height:24px}.mec-add-event-popup .mec-steps-container ul li:after,.mec-add-event-popup .mec-steps-container ul li:before{height:19px}.mec-add-event-popup .mec-steps-container ul li{height:60px}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup{box-shadow:0 3px 22px 0 rgba(11,121,125,.01);border:none;clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:3px;box-sizing:border-box;cursor:pointer;display:block;float:left;font-family:inherit;font-size:12px;font-weight:400;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;height:46px;margin-right:6px;padding-top:3px;color:#707070}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open{border-radius:3px 3px 0 0}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup:hover{border-color:#dbdbdb}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open .list{overflow:unset;width:100%;margin:0}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list{background-color:#fff;border-radius:0 0 3px 3px;box-shadow:0 0 0 0 rgba(68,68,68,.11);box-sizing:border-box;margin-top:4px;opacity:0;overflow:hidden;padding:0;pointer-events:none;position:absolute;top:100%;left:0;-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:scale(.75) translateY(-21px);-ms-transform:scale(.75) translateY(-21px);transform:scale(.75) translateY(-21px);-webkit-transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;transition:all .2s cubic-bezier(.5,0,0,1.25),opacity .15s ease-out;z-index:9;margin-top:1px!important}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup:after{border-bottom:2px solid #00acf8;border-right:2px solid #00acf8;content:'';display:block;height:5px;margin-top:-4px;pointer-events:none;position:absolute;right:15px;top:50%;-webkit-transform-origin:66% 66%;-ms-transform-origin:66% 66%;transform-origin:66% 66%;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);-webkit-transition:all .15s ease-in-out;transition:all .15s ease-in-out;width:5px}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open:after{-webkit-transform:rotate(-135deg);-ms-transform:rotate(-135deg);transform:rotate(-135deg)}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.open .list{opacity:1;pointer-events:auto;-webkit-transform:scale(1) translateY(0);-ms-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.disabled{border-color:#ededed;color:#999;pointer-events:none}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup.disabled:after{border-color:#ccc}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list:hover .option:not(:hover){background-color:transparent!important}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option{cursor:pointer;font-weight:400;list-style:none;min-height:40px;outline:0;text-align:left;position:relative;font-size:12px!important;padding:1px 12px!important;margin:0!important;line-height:22px!important;min-height:22px!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.focus,.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected.focus,.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option:hover{background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected{font-weight:700}.mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.disabled{background-color:transparent;color:#999;cursor:default}.mec-add-event-popup .no-csspointerevents .wn-mec-select-popup .list{display:none}.mec-add-event-popup .no-csspointerevents .wn-mec-select-popup.open .list{display:block}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1{background:url(../../assets/img/popup/add-event-first-step.png) no-repeat 100% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name{width:100%;height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name::-webkit-input-placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name:-ms-input-placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 #mec_event_name::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/calendar_icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:210px;position:absolute;width:370px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .popup-sh-name-required{color:red;display:none;font-style:italic;font-size:12px;margin-top:8px}.mec-add-event-popup .mec-meta-box-colors-container{background:#fff;padding:17px;border-radius:3px;box-shadow:0 3px 22px rgba(11,121,125,.01);margin-top:15px}.mec-add-event-popup .wp-picker-container .wp-color-result.button{border-color:#f1f2f4;border-radius:3px;box-shadow:0 2px 2px rgba(0,0,0,.04)}.mec-add-event-popup .mec-recent-color-sec{display:block!important;font-size:12px;color:#707070}.mec-add-event-popup .mec-form-row.mec-available-color-row{border:2px dashed #dce2e3;padding:13px 20px;background:#fcfcfc;border-radius:3px}.mec-add-event-popup .wp-color-result-text{background:#f7f7f7;border-radius:unset;border-left:none;color:#555;display:block;line-height:2.54545455;padding:0 6px;text-align:center}.mec-add-event-popup .mec-form-row.mec-available-color-row .mec-color{width:12px;height:12px;position:absolute;top:-5px;left:0;z-index:99}.mec-add-event-popup span.mec-color-meta-box-popup{display:inline-block!important;width:20px;height:20px;border-radius:50px;position:absolute;top:1px;left:6px;z-index:9}.mec-add-event-popup span.mec-recent-color-sec-wrap{width:20px;height:20px;display:inline-block;margin-right:12px;margin-top:7px;margin-left:-6px;position:relative}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2{background:url(../../assets/img/popup/sixth-step.png) no-repeat 95% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4{width:auto}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/calendar_icon.png) no-repeat center center;position:absolute;top:17px;left:17px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form .mec-col-4 input{padding-left:36px;width:148px;padding:22px 17px 22px 34px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form select{height:46px;border:none;border-radius:3px;padding-left:36px;font-size:12px;color:#707070;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_end_date::placeholder,.mec-add-event-popup .mec-steps-content-container.mec-steps-content-2 #mec_meta_box_date_form input#mec_start_date::placeholder{color:#b1b2b4}.mec-add-event-popup .mec-form-row .time-dv{float:left;margin-left:-2px;margin-right:4px;margin-top:12px;color:#b1b2b4}.mec-add-event-popup .mec-steps-content.mec-steps-content-2{margin-top:60px}.mec-add-event-popup .mec-steps-content.mec-steps-content-2 .mec-form-row.mec-all-day-event label{font-size:14px;color:#707070}.mec-add-event-popup .mec-steps-content.mec-steps-content-2 .mec-form-row.mec-all-day-event{margin-top:13px!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-3,.mec-add-event-popup .mec-steps-content.mec-steps-content-4{margin-top:-9px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-3{background:url(../../assets/img/popup/fifth-step.png) no-repeat 90% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-4{background:url(../../assets/img/popup/add-organizer.png) no-repeat 95% 70%}.nice-select.mec_popup_location_id.wn-mec-select-popup,.nice-select.mec_popup_organizer_id.wn-mec-select-popup{position:relative;width:166px;padding-left:36px}.nice-select.mec_popup_location_id.wn-mec-select-popup:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/pointer.png) no-repeat center center;position:absolute;top:17px;left:17px}.nice-select.mec_popup_organizer_id.wn-mec-select-popup:before{content:'';width:14px;height:14px;background:url(../../assets/img/popup/pointer.png) no-repeat center center;position:absolute;top:17px;left:17px}#mec_popup_event button#mec_popup_add_location:before,#mec_popup_event button#mec_popup_add_organizer:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content-container .nice-select.mec_popup_location_id.wn-mec-select-popup.open .list li,.mec-add-event-popup .mec-steps-content-container .nice-select.mec_popup_organizer_id.wn-mec-select-popup.open .list li{line-height:32px!important;min-height:32px!important}#mec_popup_event .mec-steps-content .mec-tooltip{bottom:8px}#mec-location .mec-form-row span+span.mec-tooltip i,#mec-organizer .mec-form-row span+span.mec-tooltip i{margin-top:-18px}#mec_popup_event .mec-steps-content .mec-tooltip .dashicons-before:before{color:#008aff}#mec_popup_event button#mec_organizer_thumbnail_button,#mec_popup_event button#mec_popup_add_location,#mec_popup_event button#mec_popup_add_organizer{background:#008aff;border-radius:3px;border:none;color:#fff;width:146px;height:46px;margin-left:10px;box-shadow:0 3px 3px 0 rgba(0,138,255,.22);font-size:14px;cursor:pointer;transition:all .2s ease;outline:0;position:relative;padding-left:20px}#mec_popup_event button#mec_organizer_thumbnail_button:hover,#mec_popup_event button#mec_popup_add_location:hover,#mec_popup_event button#mec_popup_add_organizer:hover{background:#000;box-shadow:0 5px 10px 0 rgba(0,0,0,.3)}#mec_popup_event label[for=mec_location_dont_show_map]{font-size:14px;margin-left:4px;margin-top:3px!important;display:inline-block;margin-bottom:7px}#mec_popup_event input#mec_location_dont_show_map{margin-top:9px!important}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{border-top:2px dashed #dce2e3;width:360px;padding-top:25px;margin-top:20px}#mec_popup_event div#mec_location_new_container input,#mec_popup_event div#mec_organizer_new_container input{width:100%;height:46px;border:none;border-radius:3px;padding-left:17px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}#mec_popup_event div#mec_location_new_container .description,#mec_popup_event div#mec_organizer_new_container .description{border:none;padding:0;margin:0;margin-left:16px;line-height:19px;font-size:12px;color:#707070;font-style:normal;margin-top:-4px;display:block}#mec_popup_event .mec-form-row.mec-lat-lng-row input{width:44%!important}#mec_popup_event .mec-form-row.mec-lat-lng-row input:first-of-type{margin-right:10px}#mec_popup_event div#mec_organizer_new_container{margin-top:30px}#mec_popup_event div#mec_organizer_new_container .mec-form-row:first-of-type .mec-col-6:first-of-type{margin-right:14px!important}#mec_popup_event div#mec_organizer_new_container .mec-form-row:first-of-type .mec-col-6{width:48%;margin:0}#mec_popup_event button#mec_organizer_thumbnail_button:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/picture.png) no-repeat center center;position:absolute;top:16px;left:15px}#mec_popup_event button#mec_organizer_thumbnail_button{width:96%;padding-left:30px}.mec-add-event-popup .mec-steps-content.mec-steps-content-4 div#mec_organizer_thumbnail_img{position:absolute;right:10px;top:-20px}.mec-add-event-popup .mec-steps-content.mec-steps-content-4 div#mec_organizer_thumbnail_img img{max-width:110px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5{background:url(../../assets/img/popup/fourth-step.png) no-repeat 90% 70%}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input{height:30px;border:none;border-radius:3px;padding-left:10px;margin-left:20px;font-size:12px;color:#b1b2b4;box-shadow:0 3px 22px 0 rgba(11,121,125,.01);float:right;margin-top:-4px}.mec-add-event-popup .mec-steps-content.mec-steps-content-5{width:326px;margin-top:48px}.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li{display:inline-block;background:#fff;border:none;cursor:pointer;padding:12px 18px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;margin-right:10px;height:42px;color:#008aff;font-size:14px;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)}.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li.mec-categories-tab-selected,.mec-add-event-popup .mec-steps-content.mec-steps-content-5 .mec-categories-tabs ul li:hover{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3)}.mec-add-event-popup .mec-categories-tab-contents{background:#fff;padding:20px;border:2px dashed #dce2e3;margin-bottom:13px;margin-top:-5px}.mec-add-event-popup .mec-categories-tab-contents ul,.mec-add-event-popup .mec-categories-tab-contents ul li:last-of-type{margin:0}.mec-add-event-popup .mec-categories-tab-contents ul li{font-size:14px;color:#707070}.mec-add-event-popup .mec-categories-tab-contents.mec-form-row input[type=checkbox]{margin-top:0}.mec-add-event-popup .mec-categories-tab-contents{max-height:200px;overflow:hidden;overflow-y:scroll}.mec-add-event-popup .nice-select.mec_popup_location_id .list,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list{max-height:240px!important;overflow:hidden!important;overflow-y:scroll!important}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar{width:5px}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar-track,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar-track,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.1)}.mec-add-event-popup .mec-categories-tab-contents::-webkit-scrollbar-thumb,.mec-add-event-popup .nice-select.mec_popup_location_id .list::-webkit-scrollbar-thumb,.mec-add-event-popup .nice-select.mec_popup_organizer_id .list::-webkit-scrollbar-thumb{background-color:#008aff;outline:0 solid #fff}.mec-add-event-popup span#mec_popup_new_category_button{cursor:pointer;position:relative;padding-left:18px;font-size:14px}.mec-add-event-popup span#mec_popup_new_category_button:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus-blue.png) no-repeat center center;position:absolute;top:3px;left:0}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-5 .mec-categories-add-new input::placeholder{color:#b1b2b4;font-size:11px}.mec-add-event-popup .mec-steps-content.mec-steps-content-6.mec-steps-content-active{margin-top:-10px;height:70%}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-tinymce.mce-container.mce-panel{height:100%;border:1px solid #ececec!important;box-shadow:0 3px 22px 0 rgba(11,121,125,.01)!important;border-radius:3px!important;overflow:hidden}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container-body.mce-stack-layout{height:100%;background:#f5f5f5}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container *{border:none!important;box-shadow:none!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item{height:90%}.mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-statusbar.mce-container.mce-panel.mce-stack-layout-item.mce-last{display:none!important}.mec-add-event-popup .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item iframe{height:100%!important}.mec-add-event-popup .mec-steps-content.mec-steps-content-7.mec-steps-content-active{height:70%;background:#fff;border:2px dashed #dce2e3;border-radius:3px;text-align:center;vertical-align:middle;margin-top:-10px;position:relative}.mec-add-event-popup .mec-event-popup-featured-image-wrapper{display:flex;justify-content:center;align-items:center;height:100%}.mec-add-event-popup button#mec_popup_upload_image_button{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3);display:inline-block;border:none;cursor:pointer;padding:12px 18px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;height:42px;font-size:14px;margin-right:0}.mec-add-event-popup div#mec_event_popup_featured_image_preview img{max-height:300px;max-width:740px;margin-top:20px;margin-bottom:0}.mec-add-event-popup button#mec_popup_upload_image_button:hover{background:#000;box-shadow:0 3px 3px 0 rgba(0,0,0,.3)}.mec-add-event-popup .mec-event-popup-featured-image-wrapper span i{border-radius:50px;color:#bb353f;right:10px;top:10px;font-size:30px;position:absolute;cursor:pointer}.mec-add-event-popup .mec-steps-content.mec-steps-content-8{height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results .mec-steps-8-results-wrap{display:flex;justify-content:center;align-items:center;flex-direction:column;height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-loading .mec-loader{left:calc(50% - 2.5em);top:calc(50% - 2.5em)}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results{height:100%}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view{display:inline-block;background:#fff;border:none;cursor:pointer;padding:12px 22px 12px 36px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;margin-right:10px;height:46px;font-size:14px;box-shadow:0 3px 3px 0 rgba(0,0,0,.04);text-decoration:none;color:#000;position:relative;line-height:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view:hover{background-color:#000;color:#fff}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 a.mec-button-view:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/eye.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new{background:#008aff;color:#fff;box-shadow:0 3px 3px 0 rgba(0,138,255,.3);display:inline-block;border:none;cursor:pointer;padding:11px 22px 11px 36px;border-radius:3px;transition:all .3s ease;outline:0;text-align:center;height:46px;font-size:14px;margin-right:0;position:relative;line-height:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new:hover{background:#000;box-shadow:0 3px 3px 0 rgba(0,0,0,.3)}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 button.mec-button-new:before{content:'';width:15px;height:15px;background:url(../../assets/img/popup/plus.png) no-repeat center center;position:absolute;top:16px;left:15px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-popup-final-buttons{margin-top:22px}.mec-add-event-popup .mec-steps-content.mec-steps-content-8 .mec-steps-8-results-wrap h3{font-size:26px;font-weight:400}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup{width:64px}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list{overflow-y:scroll!important;height:288px;margin-top:4px!important;box-shadow:0 1px 9px rgba(0,0,0,.1);border-radius:0}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar-track{background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar{width:3px;background-color:#f6f6f6}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup .list::-webkit-scrollbar-thumb{background-color:rgba(26,175,251,.16)}.mec-add-event-popup .mec-steps-content-container .mec-time-picker .wn-mec-select-popup:last-child .list{overflow:unset!important;height:unset}@media(max-width:1280px){.mec-add-event-popup .lity-container,.mec-add-shortcode-popup .lity-container{height:calc(100% - 110px);margin-bottom:-80px}.mec-add-event-popup .post-type-mec-events .mec-form-row{padding-bottom:12px}.mec-add-event-popup .mec-steps-panel .mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel .mec-add-event-popup .mec-steps-panel{padding:14px}.mec-add-event-popup .mec-steps-container img,.mec-add-event-popup .mec-steps-container ul,.mec-add-shortcode-popup .mec-steps-container img,.mec-add-shortcode-popup .mec-steps-container ul{margin-top:14px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:first-of-type,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:first-of-type{height:28px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li{height:46px}.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:after,.mec-add-event-popup .mec-add-event-popup .mec-steps-container ul li:before,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:after,.mec-add-shortcode-popup .mec-add-event-popup .mec-steps-container ul li:before{height:12px}.mec-add-event-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1{top:150px}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{padding-top:12px;margin-top:12px}#mec_popup_event div#mec_location_new_container input,#mec_popup_event div#mec_organizer_new_container input{margin:0 0 3px 0}}@media(max-width:960px){.mec-steps-content-container{background-image:unset!important}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container,.mec-add-event-popup .mec-steps-content-container .mec-steps-content,.mec-add-shortcode-popup .mec-steps-content-container .mec-steps-content{width:100%!important;max-width:100%;position:unset!important;margin:0!important}.mec-add-event-popup .lity-container,.mec-add-shortcode-popup .lity-container,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-1 .mec-steps-content.mec-steps-content-1 input[name="shortcode[name]"]{width:100%;max-width:100%}.mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel{overflow-x:scroll;padding:14px}.mec-add-event-popup .mec-steps-header,.mec-add-shortcode-popup .mec-steps-header{margin-bottom:30px}.mec-add-event-popup .mec-steps-header span.mec-steps-header-add-text,.mec-add-shortcode-popup .mec-steps-header span.mec-steps-header-add-text{display:block;margin-top:10px;width:100%}.mec-add-event-popup .mec-col-4,.mec-add-shortcode-popup .mec-col-4{width:100%!important;max-width:100%!important}.mec-add-event-popup #mec_popup_event button#mec_organizer_thumbnail_button,.mec-add-event-popup #mec_popup_event button#mec_popup_add_location,.mec-add-event-popup #mec_popup_event button#mec_popup_add_organizer,.mec-add-shortcode-popup #mec_popup_event button#mec_organizer_thumbnail_button,.mec-add-shortcode-popup #mec_popup_event button#mec_popup_add_location,.mec-add-shortcode-popup #mec_popup_event button#mec_popup_add_organizer{margin:10px 0 0 0}.mec-add-event-popup .mec-col-1,.mec-add-event-popup .mec-col-10,.mec-add-event-popup .mec-col-11,.mec-add-event-popup .mec-col-12,.mec-add-event-popup .mec-col-2,.mec-add-event-popup .mec-col-3,.mec-add-event-popup .mec-col-4,.mec-add-event-popup .mec-col-5,.mec-add-event-popup .mec-col-6,.mec-add-event-popup .mec-col-7,.mec-add-event-popup .mec-col-8,.mec-add-event-popup .mec-col-9,.mec-add-shortcode-popup .mec-col-1,.mec-add-shortcode-popup .mec-col-10,.mec-add-shortcode-popup .mec-col-11,.mec-add-shortcode-popup .mec-col-12,.mec-add-shortcode-popup .mec-col-2,.mec-add-shortcode-popup .mec-col-3,.mec-add-shortcode-popup .mec-col-4,.mec-add-shortcode-popup .mec-col-5,.mec-add-shortcode-popup .mec-col-6,.mec-add-shortcode-popup .mec-col-7,.mec-add-shortcode-popup .mec-col-8,.mec-add-shortcode-popup .mec-col-9{margin:0 0 10px 0}.mec-add-event-popup .mec-steps-content h3,.mec-add-shortcode-popup .mec-steps-content h3{font-size:18px!important}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-3 .mec-skin-styles{height:480px;width:100%}}@media(max-width:320px){.mec-add-event-popup .mec-steps-container,.mec-add-shortcode-popup .mec-steps-container{display:none}.mec-add-event-popup .mec-steps-panel,.mec-add-shortcode-popup .mec-steps-panel{width:100%!important}}#mec_popup_event input[type=checkbox]{margin-right:9px}#mec_popup_event input#mec_location_dont_show_map{margin-top:0!important}#mec_popup_settings #mec_next_previous_events_container_toggle label,#mec_popup_settings #mec_related_events_container_toggle label{padding:0}#mec_popup_event input[type=checkbox]:checked,#mec_popup_event input[type=radio]:checked,#mec_popup_settings input[type=checkbox]:checked,#mec_popup_settings input[type=radio]:checked,#mec_popup_shortcode input[type=checkbox]:checked,#mec_popup_shortcode input[type=radio]:checked{background:#64e385;border-color:#64e385}#mec_popup_event input[type=checkbox]:checked:before,#mec_popup_event input[type=radio]:checked:before,#mec_popup_settings input[type=checkbox]:checked:before,#mec_popup_settings input[type=radio]:checked:before,#mec_popup_shortcode input[type=checkbox]:checked:before,#mec_popup_shortcode input[type=radio]:checked:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIxNC42ODgiIHZpZXdCb3g9IjAgMCAyMCAxNC42ODgiPg0KICA8ZyBpZD0idGlja18xXyIgZGF0YS1uYW1lPSJ0aWNrICgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNjcuOTk4KSI+DQogICAgPGcgaWQ9Ikdyb3VwXzEiIGRhdGEtbmFtZT0iR3JvdXAgMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCA2Ny45OTcpIj4NCiAgICAgIDxwYXRoIGlkPSJQYXRoXzEiIGRhdGEtbmFtZT0iUGF0aCAxIiBkPSJNMTkuNzA3LDY4LjI5YTEsMSwwLDAsMC0xLjQxNCwwTDYuMzEyLDgwLjI3MSwxLjcwNyw3NS42NjZBMSwxLDAsMCwwLC4yOTIsNzcuMDhMNS42LDgyLjM5MmExLDEsMCwwLDAsMS40MTQsMEwxOS43MDcsNjkuN0ExLDEsMCwwLDAsMTkuNzA3LDY4LjI5WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtNjcuOTk3KSIgZmlsbD0iI2ZmZiIvPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=);line-height:16px;width:15px;float:none;margin:2px;display:block}#mec_popup_shortcode .mec-steps-content.mec-steps-content-4 label input[type=radio]:before{background:unset;margin:-2px 0 0 0}.mec-add-event-popup .mec-steps-content.mec-steps-content-5{width:366px;margin-top:48px}#mec_popup_event div#mec_location_new_container,#mec_popup_event div#mec_organizer_new_container{border-top:2px dashed #dce2e3;width:375px;padding-top:25px;margin-top:0;overflow-y:scroll;overflow-x:hidden;max-height:240px}#mec_popup_event div#mec_location_new_container .mec-form-row,#mec_popup_event div#mec_organizer_new_container .mec-form-row{padding-bottom:20px}#mec_popup_event div#mec_location_new_container .description,#mec_popup_event div#mec_organizer_new_container .description{margin:9px 0}#mec_popup_event div#mec_location_new_container .mec-form-row.mec-thumbnail-row,#mec_popup_event div#mec_organizer_new_container .mec-form-row.mec-thumbnail-row{padding:0}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-steps-content.mec-steps-content-5 .mec-switcher div:last-of-type label{position:absolute;top:-12px;max-width:52px;width:100%;height:30px}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input+label{background:#e5e9ee;box-shadow:unset}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input+label:after{margin-left:0;margin-top:-1px;border-color:#e5e9ee}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input[value="1"]:checked+label,.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-5 .mec-switcher input[value="1"]:checked+label:before{box-shadow:2px 2px 12px -2px #4fdc73 inset;position:relative;background:#64e385;border-color:#64e385}.lity.mec-add-event-popup .lity-content,.lity.mec-settings .lity-content{box-shadow:0 3px 20px 0 rgb(91 188 190 / 55%);border-radius:10px;height:100%;overflow:hidden}.mec-settings .lity-container{width:930px;height:620px;max-width:unset}#mec_popup_settings #mec_next_previous_events_container_toggle label:first-child,#mec_popup_settings #mec_related_events_container_toggle label:first-child{display:block;margin:0 0 20px 0}#mec_popup_event .mec-categories-tab-contents,#mec_popup_settings #mec_settings_weekdays .mec-box,#mec_popup_settings #mec_settings_weekends .mec-box{background:rgb(220 226 227 / .3)}#mec_popup_settings .mec-switcher input+label{max-width:62px!important;width:100%;height:33px}#mec_popup_settings .mec-image-select-wrap li input:checked+span:after{padding:5px}.ac-mec-events.ac-search-enabled .tablenav .ac-search>:not(#ac-s).lity-hide{display:none}.mec-go-pro-content-title{font-size:20px;font-weight:600;margin-bottom:12px}.mec-go-pro-features-wrap p{font-size:14px}.mec-go-pro-features-wrap .mec-addons-notification-box-content{width:calc(100% - 590px);display:inline-block;padding-left:20px}.mec-go-pro-features-wrap ul{float:left;width:50%;margin:0 0 12px}.mec-go-pro-features-wrap ul li{margin-bottom:1px;font-size:13px;color:#717479;padding-left:18px;position:relative}.mec-go-pro-features-wrap ul li:before{position:absolute;left:-1px;top:6px;color:#36da74;font-size:13px;font-weight:700;vertical-align:middle;font-family:simple-line-icons;border-radius:50%;padding:0;width:13px;height:13px;line-height:13px;z-index:3;background:rgba(64,241,147,.12);content:"\e080"}.post-type-mec-books.taxonomy-mec_coupon .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-mec_category .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-mec_label .metabox-prefs .screen-options label,.post-type-mec-events.taxonomy-post_tag .metabox-prefs .screen-options label,.taxonomy-mec_location .metabox-prefs .screen-options label,.taxonomy-mec_organizer .metabox-prefs .screen-options label,.taxonomy-mec_speaker .metabox-prefs .screen-options label{margin-top:-15px}.post-type-mec-books.taxonomy-mec_coupon #mec_thumbnail_img img,.post-type-mec-events.taxonomy-mec_category #mec_thumbnail_img img,.post-type-mec-events.taxonomy-mec_label #mec_thumbnail_img img,.post-type-mec-events.taxonomy-post_tag #mec_thumbnail_img img,.taxonomy-mec_location #mec_thumbnail_img img,.taxonomy-mec_organizer #mec_thumbnail_img img,.taxonomy-mec_speaker #mec_thumbnail_img img{margin:0 0 20px 0;border:solid 1px #ddd;border-radius:2px}.post-type-mec-books.taxonomy-mec_coupon .form-wrap label,.post-type-mec-events.taxonomy-mec_category .form-wrap label,.post-type-mec-events.taxonomy-mec_label .form-wrap label,.post-type-mec-events.taxonomy-post_tag .form-wrap label,.taxonomy-mec_location .form-wrap label,.taxonomy-mec_organizer .form-wrap label,.taxonomy-mec_speaker .form-wrap label{padding:0;margin:10px 0}.post-type-mec-books.taxonomy-mec_coupon input[type=number],.post-type-mec-books.taxonomy-mec_coupon input[type=search],.post-type-mec-books.taxonomy-mec_coupon input[type=text],.post-type-mec-books.taxonomy-mec_coupon input[type=url],.post-type-mec-books.taxonomy-mec_coupon select,.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category input[type=number],.post-type-mec-events.taxonomy-mec_category input[type=search],.post-type-mec-events.taxonomy-mec_category input[type=text],.post-type-mec-events.taxonomy-mec_category input[type=url],.post-type-mec-events.taxonomy-mec_category select,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label input[type=number],.post-type-mec-events.taxonomy-mec_label input[type=search],.post-type-mec-events.taxonomy-mec_label input[type=text],.post-type-mec-events.taxonomy-mec_label input[type=url],.post-type-mec-events.taxonomy-mec_label select,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag input[type=number],.post-type-mec-events.taxonomy-post_tag input[type=search],.post-type-mec-events.taxonomy-post_tag input[type=text],.post-type-mec-events.taxonomy-post_tag input[type=url],.post-type-mec-events.taxonomy-post_tag select,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location input[type=number],.taxonomy-mec_location input[type=search],.taxonomy-mec_location input[type=text],.taxonomy-mec_location input[type=url],.taxonomy-mec_location select,.taxonomy-mec_location textarea,.taxonomy-mec_organizer input[type=number],.taxonomy-mec_organizer input[type=search],.taxonomy-mec_organizer input[type=text],.taxonomy-mec_organizer input[type=url],.taxonomy-mec_organizer select,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker input[type=number],.taxonomy-mec_speaker input[type=search],.taxonomy-mec_speaker input[type=text],.taxonomy-mec_speaker input[type=url],.taxonomy-mec_speaker select,.taxonomy-mec_speaker textarea{border-radius:5px;min-height:38px;border:none;background-color:#fff;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)}.post-type-mec-books.taxonomy-mec_coupon select,.post-type-mec-events.taxonomy-mec_category select,.post-type-mec-events.taxonomy-mec_label select,.post-type-mec-events.taxonomy-post_tag select,.taxonomy-mec_location select,.taxonomy-mec_organizer select,.taxonomy-mec_speaker select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:39px;line-height:39px;background-color:#fff;border-radius:2px;padding-left:8px;box-shadow:0 1px 3px rgb(0 0 0 / 2%);transition:all .23s ease;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:26px 10px;background-position:right center;min-width:160px;border:1px solid #e6e9eb}.post-type-mec-books.taxonomy-mec_coupon table.fixed,.post-type-mec-events.taxonomy-mec_category table.fixed,.post-type-mec-events.taxonomy-mec_label table.fixed,.post-type-mec-events.taxonomy-post_tag table.fixed,.taxonomy-mec_location table.fixed,.taxonomy-mec_organizer table.fixed,.taxonomy-mec_speaker table.fixed{margin-top:21px}.taxonomy-mec_category .wp-color-result-text{all:unset;color:#fff;font-weight:500;line-height:1.4}.taxonomy-mec_category .wp-picker-input-wrap label{margin-top:0!important}.post-type-mec-books.taxonomy-mec_coupon textarea,.post-type-mec-events.taxonomy-mec_category textarea,.post-type-mec-events.taxonomy-mec_label textarea,.post-type-mec-events.taxonomy-post_tag textarea,.taxonomy-mec_location textarea,.taxonomy-mec_organizer textarea,.taxonomy-mec_speaker textarea{min-height:86px}.post-type-mec-books.taxonomy-mec_coupon .button,.post-type-mec-books.taxonomy-mec_coupon .button-secondary,.post-type-mec-events.taxonomy-mec_category .button,.post-type-mec-events.taxonomy-mec_category .button-secondary,.post-type-mec-events.taxonomy-mec_label .button,.post-type-mec-events.taxonomy-mec_label .button-secondary,.post-type-mec-events.taxonomy-post_tag .button,.post-type-mec-events.taxonomy-post_tag .button-secondary,.taxonomy-mec_location .button,.taxonomy-mec_location .button-secondary,.taxonomy-mec_organizer .button,.taxonomy-mec_organizer .button-secondary,.taxonomy-mec_speaker .button{color:#fff;font-weight:500;border-radius:60px;box-shadow:0 0 0 4px rgb(56 213 237 / 1%);text-shadow:none;background:#38d5ed;border:none;transition:.24s;line-height:1.4;padding:9px 36px 12px}.post-type-mec-books.taxonomy-mec_coupon .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_category .mec_upload_image_button,.post-type-mec-events.taxonomy-mec_label .mec_upload_image_button,.post-type-mec-events.taxonomy-post_tag .mec_upload_image_button,.taxonomy-mec_location .mec_upload_image_button,.taxonomy-mec_organizer .mec_upload_image_button,.taxonomy-mec_speaker .mec_upload_image_button{margin-bottom:20px}.post-type-mec-books.taxonomy-mec_coupon .button-secondary:focus,.post-type-mec-books.taxonomy-mec_coupon .button-secondary:hover,.post-type-mec-books.taxonomy-mec_coupon .button.focus,.post-type-mec-books.taxonomy-mec_coupon .button:focus,.post-type-mec-books.taxonomy-mec_coupon .button:hover,.post-type-mec-events.taxonomy-mec_category .button-secondary:focus,.post-type-mec-events.taxonomy-mec_category .button-secondary:hover,.post-type-mec-events.taxonomy-mec_category .button.focus,.post-type-mec-events.taxonomy-mec_category .button:focus,.post-type-mec-events.taxonomy-mec_category .button:hover,.post-type-mec-events.taxonomy-mec_label .button-secondary:focus,.post-type-mec-events.taxonomy-mec_label .button-secondary:hover,.post-type-mec-events.taxonomy-mec_label .button.focus,.post-type-mec-events.taxonomy-mec_label .button:focus,.post-type-mec-events.taxonomy-mec_label .button:hover,.post-type-mec-events.taxonomy-post_tag .button-secondary:focus,.post-type-mec-events.taxonomy-post_tag .button-secondary:hover,.post-type-mec-events.taxonomy-post_tag .button.focus,.post-type-mec-events.taxonomy-post_tag .button:focus,.post-type-mec-events.taxonomy-post_tag .button:hover,.taxonomy-mec_location .button-secondary:focus,.taxonomy-mec_location .button-secondary:hover,.taxonomy-mec_location .button.focus,.taxonomy-mec_location .button:focus,.taxonomy-mec_location .button:hover,.taxonomy-mec_organizer .button-secondary:focus,.taxonomy-mec_organizer .button-secondary:hover,.taxonomy-mec_organizer .button.focus,.taxonomy-mec_organizer .button:focus,.taxonomy-mec_organizer .button:hover,.taxonomy-mec_speaker .button-secondary:focus,.taxonomy-mec_speaker .button-secondary:hover,.taxonomy-mec_speaker .button.focus,.taxonomy-mec_speaker .button:focus,.taxonomy-mec_speaker .button:hover{background:#26bbd2;box-shadow:0 0 0 4px rgb(56 213 237 / 15%);cursor:pointer;color:#fff}.post-type-mec-events #TB_window{height:470px!important;top:calc(50% - 235px)!important}.post-type-mec-events #TB_ajaxContent{width:calc(100% - 30px)!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container .fserv-form-description{position:relative!important}.taxonomy-mec_category #TB_window{overflow:hidden}@media (max-width:480px){.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container .fserv-form-description,.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container form{padding-left:90px!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container form .fserv-field{width:40%!important}.m-e-calendar_page_MEC-support #wpwrap .welcome-content .fserv-container:before{top:100px;left:10px}}.post-type-mec-events.taxonomy-mec_label .button.wp-color-result{background:0 0;text-align:right;padding:0 0 0 32px;border-radius:4px;box-shadow:unset;border:1px solid #ddd}.post-type-mec-events.taxonomy-mec_label .button.wp-color-result .wp-color-result-text{height:30px}.post-type-mec-events.taxonomy-mec_label .wp-picker-container input[type=text].wp-color-picker{width:70px;margin-top:-10px;height:32px}.post-type-mec-events.taxonomy-mec_label .wp-picker-default{height:32px;padding-top:2px;padding-bottom:2px}.post-type-mec-events.taxonomy-mec_label .wp-picker-container .iris-picker{margin-top:-10px}.mec-admin-dark-mode #mec-wrap .nav-tab-wrapper .nav-tab,.mec-admin-dark-mode #mec-wrap h2.nav-tab-wrapper,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap h2.nav-tab-wrapper{background:#1f1f1f}.mec-admin-dark-mode #mec_bfixed_form_fields li,.mec-admin-dark-mode #mec_calendar_filter,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #mec_metabox_booking,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #mec_metabox_details,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-wrap,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left,.mec-admin-dark-mode #webnus-dashboard .mec-pro-notice .info-msg,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix:nth-child(odd),.mec-admin-dark-mode .w-box,.mec-admin-dark-mode .w-box-content pre,.mec-admin-dark-mode .w-clearfix.w-box.mec-addons-notification-box-wrap span,.mec-admin-dark-mode .w-clearfix.w-box.mec-cmsg-2-notification-box-wrap span,.mec-admin-dark-mode .w-clearfix.w-box.mec-cmsg-notification-box-wrap span,.mec-admin-dark-mode .wns-be-main,.mec-admin-dark-mode .wns-be-main .mec-container,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix .mec-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-pro-notice .info-msg,.mec-admin-dark-mode.post-type-mec-books #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-books #screen-meta,.mec-admin-dark-mode.post-type-mec-books #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-books .postbox,.mec-admin-dark-mode.post-type-mec-events #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields li,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields li,.mec-admin-dark-mode.post-type-mec-events #post-status-info,.mec-admin-dark-mode.post-type-mec-events #screen-meta,.mec-admin-dark-mode.post-type-mec-events #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-events .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .components-popover__content,.mec-admin-dark-mode.post-type-mec-events .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .postbox,.mec-admin-dark-mode.post-type-mec-events .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-events .wp-tab-active,.mec-admin-dark-mode.post-type-mec-events .wp-tab-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec-events ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec-events ul.category-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars #major-publishing-actions,.mec-admin-dark-mode.post-type-mec_calendars #post-status-info,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec_calendars .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .postbox,.mec-admin-dark-mode.post-type-mec_calendars .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-active,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec_calendars ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars ul.category-tabs li.tabs{background:#1f1f1f;color:#fff}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .extra .mec-cmsg-2-notification-box-wrap .w-box-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-2-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra{border-color:#515151}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-2-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra{background-color:#515151}.mec-admin-dark-mode .mec-form-row .mec-box,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row ul.mec-message-categories li ul,.mec-admin-dark-mode .mec-meta-box-fields .mec-box,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-faq-accordion-trigger a{background:#333;border-color:#353535;box-shadow:0 1px 6px -2px #000}.mec-admin-dark-mode #mec_bfixed_form_fields,.mec-admin-dark-mode #mec_bfixed_form_fields #mec_bfixed_form_fields li,.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix .mec-form-row.mec-syn-schedule,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields,.mec-admin-dark-mode.post-type-mec-events .select2-search--dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-search--dropdown{background:#282828;border-color:#353535}.mec-admin-dark-mode .select2-container--default .select2-selection--multiple .select2-selection__choice{color:#000}.mec-admin-dark-mode.post-type-mec-books ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-books ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.toplevel_page_mec-intro ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.toplevel_page_mec-intro ul#adminmenu>li.current>a.current:after{border-right-color:#23282d}.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-left a.mec-tab-active,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_gateways_form li .mec-gateway-options-form,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #payment_gateways_option li .mec-gateway-options-form,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list{background:#000;box-shadow:0 2px 12px -5px #000}.mec-admin-dark-mode .extra .w-box-head,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child,.mec-admin-dark-mode .mec-form-row ul.mec-message-categories,.mec-admin-dark-mode .mec-message-categories li.mec-acc-label,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mce-btn-group:not(:first-child),.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-occurrences .mec-occurrences-list li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields li,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-footer,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar:before,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-editor-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-books #screen-meta,.mec-admin-dark-mode.post-type-mec-books #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-books .postbox,.mec-admin-dark-mode.post-type-mec-books .postbox .hndle,.mec-admin-dark-mode.post-type-mec-books .postbox hr,.mec-admin-dark-mode.post-type-mec-books .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec-events #major-publishing-actions,.mec-admin-dark-mode.post-type-mec-events #post-status-info,.mec-admin-dark-mode.post-type-mec-events #screen-meta,.mec-admin-dark-mode.post-type-mec-events #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec-events .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .components-popover__content,.mec-admin-dark-mode.post-type-mec-events .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff .stuffbox>h3,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff h2.hndle,.mec-admin-dark-mode.post-type-mec-events .edit-post-meta-boxes-area #poststuff h3.hndle,.mec-admin-dark-mode.post-type-mec-events .postbox,.mec-admin-dark-mode.post-type-mec-events .postbox h2,.mec-admin-dark-mode.post-type-mec-events .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec-events .wp-editor-container,.mec-admin-dark-mode.post-type-mec-events .wp-switch-editor,.mec-admin-dark-mode.post-type-mec-events .wp-tab-active,.mec-admin-dark-mode.post-type-mec-events .wp-tab-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-panel,.mec-admin-dark-mode.post-type-mec-events div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec-events ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec-events ul.category-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars #major-publishing-actions,.mec-admin-dark-mode.post-type-mec_calendars #post-status-info,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta,.mec-admin-dark-mode.post-type-mec_calendars #screen-meta-links .show-settings,.mec-admin-dark-mode.post-type-mec_calendars .categorydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .customlinkdiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option,.mec-admin-dark-mode.post-type-mec_calendars .mec-sed-methods li,.mec-admin-dark-mode.post-type-mec_calendars .postbox,.mec-admin-dark-mode.post-type-mec_calendars .postbox h2,.mec-admin-dark-mode.post-type-mec_calendars .posttypediv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .taxonomydiv div.tabs-panel,.mec-admin-dark-mode.post-type-mec_calendars .wp-editor-container,.mec-admin-dark-mode.post-type-mec_calendars .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-active,.mec-admin-dark-mode.post-type-mec_calendars .wp-tab-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-panel,.mec-admin-dark-mode.post-type-mec_calendars div.mce-toolbar-grp,.mec-admin-dark-mode.post-type-mec_calendars ul.add-menu-item-tabs li.tabs,.mec-admin-dark-mode.post-type-mec_calendars ul.category-tabs li.tabs{border-color:#353535}.mec-admin-dark-mode #mec_bfixed_form_fields input[type=checkbox],.mec-admin-dark-mode #mec_calendar_filter .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=number],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=text],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row input[type=url],.mec-admin-dark-mode #mec_calendar_filter .mec-form-row select,.mec-admin-dark-mode #mec_calendar_filter .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_booking .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_booking .mec-form-row select,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_booking .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_booking .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_metabox_details .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=number],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=url],.mec-admin-dark-mode #mec_metabox_details .mec-form-row select,.mec-admin-dark-mode #mec_metabox_details .mec-form-row textarea,.mec-admin-dark-mode #mec_metabox_details .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode #mec_metabox_details .mec-meta-box-fields .mec-form-row input[type=checkbox],.mec-admin-dark-mode #mec_reg_form_fields input[type=checkbox],.mec-admin-dark-mode .mec-addon-box-version,.mec-admin-dark-mode .mec-calendar-metabox .wn-mec-select,.mec-admin-dark-mode .mec-form-row input[type=checkbox],.mec-admin-dark-mode .mec-form-row input[type=number],.mec-admin-dark-mode .mec-form-row input[type=radio],.mec-admin-dark-mode .mec-form-row input[type=text],.mec-admin-dark-mode .mec-form-row input[type=url],.mec-admin-dark-mode .mec-form-row select,.mec-admin-dark-mode .mec-form-row textarea,.mec-admin-dark-mode .mec-form-row.mec-skin-list-date-format-container input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-select-event-wrap .select2-container--default .select2-selection--single,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-form-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-sendmail-wrap,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-send-email-form-wrap input.widefat,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option--highlighted[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-search--dropdown .select2-search__field,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .wp-switch-editor,.mec-admin-dark-mode.m-e-calendar_page_MEC-report div.mce-toolbar-grp,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-invoice-custom-css,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields textarea,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #titlediv #title,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .quicktags-toolbar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default.select2-container--focus .select2-selection--multiple,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-dropdown,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-results__option[aria-selected],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main .mec-form-row select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-core-ui .quicktags-toolbar input.button.button-small,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=checkbox],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=color],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=date],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime-local],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=datetime],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=email],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=month],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=number],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=password],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=radio],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=search],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=tel],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=text],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=time],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=url],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings input[type=week],.mec-admin-dark-mode.m-e-calendar_page_MEC-settings select,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings textarea,.mec-admin-dark-mode.post-type-mec-books .wn-mec-select,.mec-admin-dark-mode.post-type-mec-books input[type=checkbox],.mec-admin-dark-mode.post-type-mec-books input[type=email],.mec-admin-dark-mode.post-type-mec-books input[type=number],.mec-admin-dark-mode.post-type-mec-books input[type=text],.mec-admin-dark-mode.post-type-mec-books input[type=url],.mec-admin-dark-mode.post-type-mec-books select,.mec-admin-dark-mode.post-type-mec-books textarea,.mec-admin-dark-mode.post-type-mec-events #mec_event_form_fields button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_field_types button,.mec-admin-dark-mode.post-type-mec-events #mec_reg_form_fields button,.mec-admin-dark-mode.post-type-mec-events #titlediv #title,.mec-admin-dark-mode.post-type-mec-events .components-form-token-field__input-container,.mec-admin-dark-mode.post-type-mec-events .components-panel__body,.mec-admin-dark-mode.post-type-mec-events .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-certain-day>div,.mec-admin-dark-mode.post-type-mec-events .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec-events .mec-xi-facebook-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .mec-xi-google-import-events .mec-select-deselect-actions li,.mec-admin-dark-mode.post-type-mec-events .select2-dropdown,.mec-admin-dark-mode.post-type-mec-events .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec-events .wp-admin p label input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=checkbox],.mec-admin-dark-mode.post-type-mec-events input[type=color],.mec-admin-dark-mode.post-type-mec-events input[type=date],.mec-admin-dark-mode.post-type-mec-events input[type=datetime-local],.mec-admin-dark-mode.post-type-mec-events input[type=datetime],.mec-admin-dark-mode.post-type-mec-events input[type=email],.mec-admin-dark-mode.post-type-mec-events input[type=month],.mec-admin-dark-mode.post-type-mec-events input[type=number],.mec-admin-dark-mode.post-type-mec-events input[type=password],.mec-admin-dark-mode.post-type-mec-events input[type=radio],.mec-admin-dark-mode.post-type-mec-events input[type=search],.mec-admin-dark-mode.post-type-mec-events input[type=tel],.mec-admin-dark-mode.post-type-mec-events input[type=text],.mec-admin-dark-mode.post-type-mec-events input[type=time],.mec-admin-dark-mode.post-type-mec-events input[type=url],.mec-admin-dark-mode.post-type-mec-events input[type=week],.mec-admin-dark-mode.post-type-mec-events select,.mec-admin-dark-mode.post-type-mec-events textarea,.mec-admin-dark-mode.post-type-mec_calendars #titlediv #title,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-add-event-tabs-wrap .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container,.mec-admin-dark-mode.post-type-mec_calendars .mec-create-shortcode-tab-content .select2-container span,.mec-admin-dark-mode.post-type-mec_calendars .select2-container--default .select2-selection--multiple .select2-selection__choice,.mec-admin-dark-mode.post-type-mec_calendars .select2-dropdown,.mec-admin-dark-mode.post-type-mec_calendars .select2-results__option[aria-selected],.mec-admin-dark-mode.post-type-mec_calendars input[type=checkbox],.mec-admin-dark-mode.post-type-mec_calendars input[type=color],.mec-admin-dark-mode.post-type-mec_calendars input[type=date],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime-local],.mec-admin-dark-mode.post-type-mec_calendars input[type=datetime],.mec-admin-dark-mode.post-type-mec_calendars input[type=email],.mec-admin-dark-mode.post-type-mec_calendars input[type=month],.mec-admin-dark-mode.post-type-mec_calendars input[type=number],.mec-admin-dark-mode.post-type-mec_calendars input[type=password],.mec-admin-dark-mode.post-type-mec_calendars input[type=radio],.mec-admin-dark-mode.post-type-mec_calendars input[type=search],.mec-admin-dark-mode.post-type-mec_calendars input[type=tel],.mec-admin-dark-mode.post-type-mec_calendars input[type=text],.mec-admin-dark-mode.post-type-mec_calendars input[type=time],.mec-admin-dark-mode.post-type-mec_calendars input[type=url],.mec-admin-dark-mode.post-type-mec_calendars input[type=week],.mec-admin-dark-mode.post-type-mec_calendars select,.mec-admin-dark-mode.post-type-mec_calendars textarea,.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[name=MECPurchaseCode],.mec-admin-dark-mode.toplevel_page_mec-intro .w-box.mec-activation input[type=radio]+label span,.mec-select-deselect-actions li{background:#1d1d1d;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode #mec_metabox_booking .mec-form-row input[type=checkbox]:checked,.mec-admin-dark-mode #mec_metabox_details .mec-form-row input[type=checkbox]:checked,.mec-admin-dark-mode .mec-custom-nice-select ul.list li .wn-mec-text:after,.mec-admin-dark-mode .mec-sed-methods li:before{box-shadow:0 1px 6px -2px #000;border-color:#353535;background:#222}.mec-admin-dark-mode .mec-sed-methods li.active,.mec-admin-dark-mode .mec-switcher input+label,.mec-admin-dark-mode .mec-switcher input+label:before,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-results__option{background-color:#000}.mec-admin-dark-mode .wn-mec-select .option.focus .wn-img-sh img,.mec-admin-dark-mode .wn-mec-select .option.selected.focus .wn-img-sh img,.mec-admin-dark-mode .wn-mec-select .option:hover .wn-img-sh img{background:0 0}.mec-admin-dark-mode .ui-datepicker{background-color:#000;border:1px solid #000;box-shadow:0 0 8px rgba(33,33,33,.6)}.mec-admin-dark-mode .ui-datepicker.ui-widget td a,.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article .mec-detail-button,.mec-admin-dark-mode.post-type-mec-events,.mec-admin-dark-mode.post-type-mec-events .postbox h2,.mec-admin-dark-mode.post-type-mec_calendars .postbox h2{color:#d2d2d2;background:#282828}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul *{background:#282828}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul>ul>li,.mec-admin-dark-mode #mec_styles_form #mec_styles_CSS,.mec-admin-dark-mode .mec-attendees-wrapper .mec-attendees-list .w-clearfix,.mec-admin-dark-mode .mec-message-categories li.mec-acc-label,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_bfixed_form_fields,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_event_form_fields,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_fields{background:#000}.mec-admin-dark-mode #mec-advanced-wraper div:first-child>ul>ul>li:hover,.mec-admin-dark-mode .mec-active,.mec-admin-dark-mode.post-type-mec-events .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#888!important}.mec-admin-dark-mode.post-type-mec_calendars .mec-calendar-metabox .wn-mec-select .list{border-radius:0 0 2px 2px;box-shadow:0 0 0 1px #353535,0 2px 6px rgba(0,0,0,.07)}.mec-admin-dark-mode #mec_calendar_filter .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_calendar_filter .ui-sortable-handle,.mec-admin-dark-mode #mec_gateways_form li .mec-gateway-options-form,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_metabox_booking .ui-sortable-handle,.mec-admin-dark-mode #mec_metabox_details .mec-add-booking-tabs-right,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-right,.mec-admin-dark-mode #mec_metabox_details .mec-create-shortcode-tabs-right,.mec-admin-dark-mode #mec_metabox_details .ui-sortable-handle,.mec-admin-dark-mode #payment_gateways_option li .mec-gateway-options-form,.mec-admin-dark-mode .mec-meta-box-fields h4{border-color:#000!important}.mec-admin-dark-mode .wns-be-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-admin-dark-mode.post-type-mec-events #wp-content-editor-tools,.mec-admin-dark-mode.post-type-mec_calendars,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .list{background-color:#282828;border-color:#353535}.mec-admin-dark-mode .mec-intro-section-ifarme iframe,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container *,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container *{background:#1f1f1f!important;border-color:#353535!important}.mec-admin-dark-mode .block-editor-block-types-list__item-icon,.mec-admin-dark-mode .block-editor-block-types-list__item-title,.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article h4.mec-event-title,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .select2-container--default .select2-selection--single .select2-selection__rendered,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .about-wrap h3,.mec-admin-dark-mode.m-e-calendar_page_MEC-support .fserv-container .fserv-form-name,.mec-admin-dark-mode.toplevel_page_mec-intro .about-wrap h3,.mec-admin-dark-mode.toplevel_page_mec-intro .fserv-container .fserv-form-name{color:#d2d2d2!important}.mec-admin-dark-mode .wns-be-sidebar li a:hover,.mec-admin-dark-mode .wns-be-sidebar li:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .html-active .switch-html,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .tmce-active .switch-tmce,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-switch-editor,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option:hover{background:#000;color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar li a,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h2,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h3,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-report .mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head span,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h2,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-support #webnus-dashboard .mec-faq-accordion-trigger a,.mec-admin-dark-mode.post-type-mec-books .postbox h1,.mec-admin-dark-mode.post-type-mec-books .postbox h2,.mec-admin-dark-mode.post-type-mec-books .postbox h3,.mec-admin-dark-mode.post-type-mec-events .components-panel__body-toggle.components-button,.mec-admin-dark-mode.post-type-mec-events .wrap h1.wp-heading-inline,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option .wn-mec-text{color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a:hover{border:none}.mec-admin-dark-mode .wns-be-sidebar li.active ul.subsection{background:#282828;border-bottom:1px solid #353535}.mec-admin-dark-mode .wns-be-sidebar li .subsection a{background:#282828;color:#636363;opacity:1;font-size:12px;padding:6px 4px 6px 46px}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu>li.active>a,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-infobar,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-main{box-shadow:0 2px 12px -5px #000}.mec-admin-dark-mode .wns-be-sidebar .mec-settings-menu .mec-settings-submenu a,.mec-admin-dark-mode li.wns-be-group-menu-li.mec-settings-menu .mec-settings-submenu,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option.focus,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option.selected.focus,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option:hover{background:#000;color:#d2d2d2;border-color:#353535}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings,.mec-admin-dark-mode.post-type-mec_calendars .mec-custom-nice-select ul.list li.option{background:#000!important;color:#fff!important}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .about-wrap h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro,.mec-admin-dark-mode.m-e-calendar_page_MEC-go-pro h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-report,.mec-admin-dark-mode.m-e-calendar_page_MEC-report h1,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings div.mce-panel,.mec-admin-dark-mode.m-e-calendar_page_MEC-support,.mec-admin-dark-mode.m-e-calendar_page_MEC-support h1,.mec-admin-dark-mode.post-type-mec-books,.mec-admin-dark-mode.post-type-mec-books h1,.mec-admin-dark-mode.post-type-mec_calendars,.mec-admin-dark-mode.post-type-mec_calendars .wrap h1.wp-heading-inline,.mec-admin-dark-mode.toplevel_page_mec-intro,.mec-admin-dark-mode.toplevel_page_mec-intro .about-wrap h1{background:#282828!important;color:#d2d2d2}.mec-admin-dark-mode .w-theme-version{box-shadow:0 3px 30px -4px #000;background:#000;background:linear-gradient(95deg,#000 0,#282828 50%,#1f1f1f 100%)}.mec-admin-dark-mode .mec-sed-methods li.active,.mec-admin-dark-mode .wns-be-container .wns-be-group-tab h2,.mec-admin-dark-mode .wns-be-container .wns-be-group-tab h4,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap .nav-tab-wrapper .nav-tab,.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap h2.nav-tab-wrapper,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .select2-container--default .select2-selection--multiple .select2-selection__choice{color:#d2d2d2}.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li a:hover{color:#07bbe9}.mec-admin-dark-mode.m-e-calendar_page_MEC-ix #mec-wrap .nav-tab-wrapper .nav-tab-active{background:#008aff;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%)}.mec-admin-dark-mode .wns-be-container #wns-be-infobar:before{content:"";width:261px;height:78px;display:block;position:absolute;left:0;top:0;background:#1f1f1f url(../img/webnus-logo2.png) no-repeat center;border-bottom:1px solid #dedede;background-size:220px;z-index:997}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .mec-custom-msg-notification-set-box.extra,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wns-be-container #wns-be-footer,.mec-admin-dark-mode.post-type-mec-books #titlediv #title,.mec-admin-dark-mode.post-type-mec-books .postbox h1{background:#1f1f1f!important}.mec-admin-dark-mode .mec-settings-menu .mec-settings-submenu:after,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,.mec-admin-dark-mode .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:#353535}.mec-admin-dark-mode .mec-switcher input:checked+label:before{background-color:#d2d2d2;box-shadow:2px 2px 12px -2px #ccc inset}.mec-admin-dark-mode .mec-switcher input:checked+label{box-shadow:0 3px 11px -7px #000}.mec-admin-dark-mode .lity.mec-add-event-popup,.mec-admin-dark-mode .lity.mec-add-shortcode-popup,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup,.mec-admin-dark-mode .mec-add-shortcode-popup div#mec_popup_shortcode{background:#282828}.mec-admin-dark-mode .lity.mec-add-event-popup .lity-content,.mec-admin-dark-mode .lity.mec-add-shortcode-popup .lity-content{box-shadow:0 3px 20px 0 rgba(0,0,0,.55)}.mec-admin-dark-mode .mec-add-event-popup .mec-meta-box-colors-container,.mec-admin-dark-mode .mec-steps-container,.mec-admin-dark-mode .mec-steps-header{background:#000}.mec-admin-dark-mode .mec-add-event-popup div#mec_popup_event,.mec-admin-dark-mode .mec-steps-panel{background:#1f1f1f}.mec-admin-dark-mode button.lity-close{background:#000;box-shadow:0 3px 8px 0 rgba(0,0,0,.55)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li{border:2px solid #282828;background:#000!important}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-step-popup-skin-text:before,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content.mec-steps-content-4 label input{background:#282828;border-color:#1f1f1f;box-shadow:0 3px 6px 0 rgba(0,0,0,.05)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-2 .mec-steps-content.mec-steps-content-2 ul li.active{box-shadow:0 3px 5px rgba(0,0,0,.2)}.mec-admin-dark-mode .nicescroll-cursors{background-color:#000!important}.mec-admin-dark-mode .mec-add-event-popup .mec-categories-tab-contents,.mec-admin-dark-mode .mec-add-event-popup .mec-form-row.mec-available-color-row,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content.mec-steps-content-7.mec-steps-content-active,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .mec-steps-content.mec-steps-content-4 .mec-multiple-skin-options div,.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode{border-color:#282828;background:#000}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code{background:rgba(266,266,266,.35)}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code code,.mec-admin-dark-mode .mec-steps-content h3{color:#d2d2d2}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.focus,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option.selected.focus,.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .option:hover{background:#000}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list{background:#282828}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list::-webkit-scrollbar-track{background-color:#333}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content-container .wn-mec-select-popup .list::-webkit-scrollbar{width:3px;background-color:#333}.mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-6 .mec-popup-shortcode-code button{margin-left:unset}.mec-admin-dark-mode .wp-picker-container .wp-color-result.button{background:inherit}.mec-admin-dark-mode .mec-add-event-popup .mec-steps-content.mec-steps-content-6 .mce-container-body.mce-stack-layout{background:#000;border-color:#000!important}.mec-admin-dark-mode .mec-add-shortcode-popup .mec-steps-content-container.mec-steps-content-4 .wn-mec-select-popup{background-color:#000;border-color:#282828}.mec-admin-dark-mode #wns-be-content .noresults label,.mec-admin-dark-mode #wns-be-content .results .results .noresults label,.mec-admin-dark-mode #wns-be-content ul li.disable,.mec-admin-dark-mode #wns-be-content ul li.disable label{color:#666}.mec-admin-dark-mode #wns-be-content .results .results .results label,.mec-admin-dark-mode #wns-be-content .results label,.mec-admin-dark-mode #wns-be-content ul li.enable,.mec-admin-dark-mode #wns-be-content ul li.enable label{color:#fff}.mec-admin-dark-mode.post-type-mec-books table.widefat,.mec-admin-dark-mode.post-type-mec_calendars table.widefat,.post-type-mec-events.mec-admin-dark-mode table.widefat{background:#1f1f1f;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-books ul.striped>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-events .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec-events ul.striped>:nth-child(odd),.mec-admin-dark-mode.post-type-mec_calendars .striped>tbody>:nth-child(odd),.mec-admin-dark-mode.post-type-mec_calendars ul.striped>:nth-child(odd){background:#282828;border-color:#353535;color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books .widefat td,.mec-admin-dark-mode.post-type-mec-books .widefat th,.mec-admin-dark-mode.post-type-mec-events .widefat td,.mec-admin-dark-mode.post-type-mec-events .widefat th,.mec-admin-dark-mode.post-type-mec_calendars .widefat td,.mec-admin-dark-mode.post-type-mec_calendars .widefat th{border-color:#000;color:#d2d2d2}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec-events ul#adminmenu>li.current>a.current:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu a.wp-has-current-submenu:after,.mec-admin-dark-mode.post-type-mec_calendars ul#adminmenu>li.current>a.current:after{border-right-color:#1f1f1f}.mec-admin-dark-mode #mec_add_fee_button,.mec-admin-dark-mode #mec_add_ticket_variation_button,.mec-admin-dark-mode #mec_bfixed_form_field_types button,.mec-admin-dark-mode #mec_bfixed_form_fields button,.mec-admin-dark-mode #mec_event_form_field_types button,.mec-admin-dark-mode #mec_event_form_fields button,.mec-admin-dark-mode #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,.mec-admin-dark-mode #mec_reg_form_field_types button,.mec-admin-dark-mode #mec_reg_form_fields button,.mec-admin-dark-mode #taxes_option #mec_fees_list .mec-form-row .button,.mec-admin-dark-mode #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,.mec-admin-dark-mode .mec-export-settings,.mec-admin-dark-mode .mec-import-settings,.mec-admin-dark-mode .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),.mec-admin-dark-mode .mec-occurrences-wrapper .button:not(.wp-color-result),.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button-secondary,.mec-admin-dark-mode.post-type-mec-books .button,.mec-admin-dark-mode.post-type-mec-books .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec-events .button,.mec-admin-dark-mode.post-type-mec-events .button-secondary,.mec-admin-dark-mode.post-type-mec-events .wp-heading-inline+.page-title-action,.mec-admin-dark-mode.post-type-mec_calendars .button,.mec-admin-dark-mode.post-type-mec_calendars .wp-heading-inline+.page-title-action{color:#d2d2d2!important;border-color:#353535!important;background:#000}.mec-admin-dark-mode #mec_add_fee_button:hover,.mec-admin-dark-mode #mec_add_ticket_variation_button:hover,.mec-admin-dark-mode #mec_bfixed_form_field_types button:hover,.mec-admin-dark-mode #mec_bfixed_form_fields button:hover,.mec-admin-dark-mode #mec_event_form_field_types button:hover,.mec-admin-dark-mode #mec_event_form_fields button:hover,.mec-admin-dark-mode #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button:hover,.mec-admin-dark-mode #mec_reg_form_field_types button:hover,.mec-admin-dark-mode #mec_reg_form_fields button:hover,.mec-admin-dark-mode #taxes_option #mec_fees_list .mec-form-row .button:hover,.mec-admin-dark-mode #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button:hover,.mec-admin-dark-mode .mec-export-settings:hover,.mec-admin-dark-mode .mec-import-settings:hover,.mec-admin-dark-mode .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result):hover,.mec-admin-dark-mode .mec-occurrences-wrapper .button:not(.wp-color-result):hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button-secondary:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button.hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .button:hover,.mec-admin-dark-mode.post-type-mec-events .button-secondary:hover,.mec-admin-dark-mode.post-type-mec-events .button.hover,.mec-admin-dark-mode.post-type-mec-events .button:hover,.mec-admin-dark-mode.post-type-mec_calendars .button-secondary:hover,.mec-admin-dark-mode.post-type-mec_calendars .button.hover,.mec-admin-dark-mode.post-type-mec_calendars .button:hover{background:#111;border-color:#333!important;color:#fff}.mec-admin-dark-mode.post-type-mec-events .mec-form-row .button:not(.wp-color-result){height:37px;margin-top:1px;box-shadow:inset 0 2px 4px #282828,inset 0 -2px 4px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.06)}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings .wp-color-result-text,.mec-admin-dark-mode.post-type-mec-events .wp-color-result-text{border-left:1px solid #353535;color:#d2d2d2;background:#000}.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec-search-settings{color:#d2d2d2;background:#282828}.mec-admin-dark-mode.taxonomy-mec_category .button,.mec-admin-dark-mode.taxonomy-mec_label .button,.mec-admin-dark-mode.taxonomy-mec_location .button,.mec-admin-dark-mode.taxonomy-mec_organizer .button,.mec-admin-dark-mode.taxonomy-mec_speaker .button,.mec-admin-dark-mode.taxonomy-mec_tag .button{box-shadow:0 3px 10px -4px #000!important}.mec-admin-dark-mode.post-type-mec_calendars .mec-switcher input+label:after,.mec-admin-dark-mode.post-type-mec_calendars .wn-mec-select .option .wn-hover-img-sh img{background:#282828}.mec-admin-dark-mode .attachment-info,.mec-admin-dark-mode .media-frame-toolbar .media-toolbar{border-color:#282828}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .mce-content-body{background-color:#000!important}.mec-admin-dark-mode .w-box.upcoming-events .mec-event-article{border-bottom:1px solid #444}.mec-admin-dark-mode #webnus-dashboard a,.mec-admin-dark-mode #webnus-dashboard pre,.mec-admin-dark-mode .extra .w-box-head,.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a,.mec-admin-dark-mode .mec-form-row label,.mec-admin-dark-mode .mec-form-row span,.mec-admin-dark-mode .mec-meta-box-fields h4,.mec-admin-dark-mode .mec-meta-box-fields label,.mec-admin-dark-mode .mec-meta-box-fields p,.mec-admin-dark-mode .mec-meta-box-fields span,.mec-admin-dark-mode .mec-meta-box-fields strong,.mec-admin-dark-mode .mec-new-addons .mec-addons-notification-title,.mec-admin-dark-mode .mec-new-addons p,.mec-admin-dark-mode .mec-new-addons strong,.mec-admin-dark-mode .w-box-content p,.mec-admin-dark-mode .w-box.doc,.mec-admin-dark-mode .w-box.total-bookings ul li,.mec-admin-dark-mode .w-box.total-bookings ul li a,.mec-admin-dark-mode .wns-be-sidebar .mec-settings-menu .mec-settings-submenu a,.mec-admin-dark-mode.m-e-calendar_page_MEC-settings #mec_reg_form_field_types button{color:#fff!important}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a{box-shadow:0 0 0 3px rgb(255 255 255 / 24%)!important}.mec-admin-dark-mode #webnus-dashboard .mec-event-detail{color:#444}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{border-color:#2d2d2d}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag{color:#282828!important}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:hover{color:#fff!important}.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:nth-child(2):hover,.mec-admin-dark-mode #webnus-dashboard .mec-intro-section .mec-intro-section-link-tag:nth-child(3):hover{color:#999!important}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a,.mec-admin-dark-mode .w-box.total-bookings ul li{background:#333;box-shadow:0 2px 3px -2px #000}.mec-admin-dark-mode .mec-addons-notification-box-content.mec-new-addons a:hover,.mec-admin-dark-mode .w-box.total-bookings ul li:hover{background:#000}.mec-admin-dark-mode #webnus-dashboard .total-bookings input[type=text],.mec-admin-dark-mode #webnus-dashboard .total-bookings select{background:#000;color:#999;border-color:#111},.mec-admin-dark-mode #mec_category-add-toggle,.mec-admin-dark-mode #sample-permalink a,.mec-admin-dark-mode #set-post-thumbnail,.mec-admin-dark-mode .button-link,.mec-admin-dark-mode .category-tabs a,.mec-admin-dark-mode .mec-add-booking-tabs-left a,.mec-admin-dark-mode .mec-add-event-tabs-left a,.mec-admin-dark-mode .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode.post-type-mec-events .wp-list-table .row-title,.mec-admin-dark-mode.post-type-mec_calendars .wp-list-table .row-title{color:#888!important}.mec-admin-dark-mode .mec-add-booking-tabs-left a.mec-tab-active,.mec-admin-dark-mode .mec-add-event-tabs-left a.mec-tab-active,.mec-admin-dark-mode .mec-create-shortcode-tabs-left a.mec-tab-active{color:#00b0dd}.mec-admin-dark-mode #TB_title,.mec-admin-dark-mode #TB_window{background:#000}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .webnus-icons-list li:hover{background:#111}.mec-admin-dark-mode #TB_window i{color:#999}.mec-admin-dark-mode #TB_title,.mec-admin-dark-mode .webnus-icons-list li label{border:unset!important}.mec-admin-dark-mode.post-type-mec-books .notice-success,.mec-admin-dark-mode.post-type-mec-books div.updated,.mec-admin-dark-mode.post-type-mec-events .notice-success,.mec-admin-dark-mode.post-type-mec-events div.updated,.mec-admin-dark-mode.post-type-mec_calendars .notice-success,.mec-admin-dark-mode.post-type-mec_calendars div.updated{background:#111;border-top:unset;border-bottom:unset}.mec-admin-dark-mode.post-type-mec-books input,.mec-admin-dark-mode.post-type-mec-events input,.mec-admin-dark-mode.post-type-mec_calendars input{background:#000;color:#888}.mec-admin-dark-mode.post-type-mec-books .subsubsub a,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item,.mec-admin-dark-mode.post-type-mec-events .subsubsub a,.mec-admin-dark-mode.post-type-mec_calendars .subsubsub a{color:#2271b1}.mec-admin-dark-mode.post-type-mec-books .subsubsub a:hover,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item:hover,.mec-admin-dark-mode.post-type-mec-events .subsubsub a:hover,.mec-admin-dark-mode.post-type-mec_calendars .subsubsub a:hover{color:#135e96}.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a,.mec-admin-dark-mode.post-type-mec-events #set-post-thumbnail,.mec-admin-dark-mode.post-type-mec-events .attachment-info .filename{color:#888}.mec-admin-dark-mode #mec_calendar_filter .mec-create-shortcode-tabs-left a:hover,.mec-admin-dark-mode #mec_metabox_booking .mec-add-booking-tabs-left a:hover,.mec-admin-dark-mode #mec_metabox_details .mec-add-event-tabs-left a:hover,.mec-admin-dark-mode.post-type-mec-events #set-post-thumbnail:hover{color:#a9a9a9}.mec-admin-dark-mode #webnus-dashboard .welcome-head img,.mec-admin-dark-mode .w-theme-version,.mec-admin-dark-mode.post-type-mec_calendars .mec-switcher input+label:after{border-color:#444}.mec-admin-dark-mode.post-type-mec-books .postbox-header,.mec-admin-dark-mode.post-type-mec-events .postbox-header,.mec-admin-dark-mode.post-type-mec_calendars .postbox-header{border-color:#000}.mec-admin-dark-mode.post-type-mec-events .inside div div>a.mec-tab-active:after,.mec-admin-dark-mode.post-type-mec-events .inside div div>a.mec-tab-active:before,.mec-admin-dark-mode.post-type-mec_calendars .inside div div>a.mec-tab-active:after,.mec-admin-dark-mode.post-type-mec_calendars .inside div div>a.mec-tab-active:before{border-right-color:#2d2d2d}.mec-admin-dark-mode .mec-form-row input[type=radio]{box-shadow:0 1px 10px -2px #000}.mec-admin-dark-mode.post-type-mec-books .form-wrap label,.mec-admin-dark-mode.post-type-mec-books .media-frame-title h1,.mec-admin-dark-mode.post-type-mec-books h2,.mec-admin-dark-mode.post-type-mec-events .form-wrap label,.mec-admin-dark-mode.post-type-mec-events .media-frame-title h1,.mec-admin-dark-mode.post-type-mec-events h2{color:#d2d2d2}.mec-admin-dark-mode.post-type-mec-books.taxonomy-mec_coupon .button,.mec-admin-dark-mode.post-type-mec-events.taxonomy-post_tag .button{box-shadow:0 3px 10px -4px #000}.mec-admin-dark-mode.post-type-mec-events .attachments-browser .media-toolbar,.mec-admin-dark-mode.post-type-mec-events .media-frame-content,.mec-admin-dark-mode.post-type-mec-events .media-modal-content{background:#2d2d2d;color:#888}.mec-admin-dark-mode.post-type-mec-events .media-router .active,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item.active:last-child,.mec-admin-dark-mode.post-type-mec-events .media-sidebar,.mec-admin-dark-mode.post-type-mec-events .quicktags-toolbar{background:#222}.mec-admin-dark-mode.post-type-mec-events .attachments-browser .media-toolbar,.mec-admin-dark-mode.post-type-mec-events .media-frame-content,.mec-admin-dark-mode.post-type-mec-events .media-modal-content,.mec-admin-dark-mode.post-type-mec-events .media-router .active,.mec-admin-dark-mode.post-type-mec-events .media-router .media-menu-item.active:last-child,.mec-admin-dark-mode.post-type-mec-events .media-sidebar,.mec-admin-dark-mode.post-type-mec-events .quicktags-toolbar{border-color:#000}.mec-admin-dark-mode.post-type-mec-events .wp-core-ui .attachment-preview{background:#000}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-footer,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-head,.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .w-col-sm-3 .w-box.addon{border-color:#444}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-footer{background:#444}.mec-admin-dark-mode.m-e-calendar_page_MEC-addons .mec-addon-box-title span{color:#d2d2d2}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard{background:#282828!important}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap{background:#1f1f1f}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap .mec-wizard-starter-video a,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button{background:#000;border-color:#353535;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap .mec-wizard-starter-video a:hover,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover{border-color:#515151}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-back-box .mec-wizard-back-button{background:0 0;box-shadow:unset}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap svg path{fill:#7b7b7b;stroke:#7b7b7b;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a p,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button span{color:#7b7b7b;transition:all .2s ease}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a:hover p,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover span{color:#fff}.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap a:hover svg path,.mec-admin-dark-mode.m-e-calendar_page_MEC-wizard .mec-wizard-wrap button:hover svg path{fill:#fff;stroke:#fff}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip,.post-type-mec-books .attendees .mec-booking-attendees-tooltip{position:relative}.mec-attendees-wrapper .mec-attendees-list strong,.post-type-mec-books .attendees strong{line-height:26px;padding-left:26px}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:before,.post-type-mec-books .attendees .mec-booking-attendees-tooltip:before{position:absolute;content:"\e001";font-family:simple-line-icons;margin:12px 0;top:-30px;left:0;font-size:18px;line-height:12px;color:#40d9f1;padding:0 60px 5px 0}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul{position:absolute;min-width:300px;max-width:600px;display:inline-block;left:60px;top:50%;transform:translateY(-50%);background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;z-index:9999999;box-sizing:border-box;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s;padding:23px 20px 20px 20px;border-radius:8px;margin-top:-13px}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul:before,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:hover ul,.post-type-mec-books .attendees .mec-booking-attendees-tooltip:hover ul{visibility:visible;opacity:1}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul a,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul a{color:#40d9f1;margin-bottom:14px;margin-left:0;font-weight:400;font-size:14px;letter-spacing:.5px;position:relative;text-decoration:none;display:block;width:max-content}.mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul li:last-child a,.post-type-mec-books .attendees .mec-booking-attendees-tooltip ul li:last-child a{margin-bottom:0}.mec-metabox-head-version img,.mec-metabox-head-version p{float:left}.mec-metabox-head-version a{float:right}.mec-metabox-head-version p{margin-top:3px;margin-left:5px;margin-bottom:34px}h3.mec-metabox-feed-head{border-top:1px solid #ccc}div#mec_widget_news_features .inside{padding:0}.mec-metabox-head-wrap{padding:0 12px}#dashboard-widgets h3.mec-metabox-feed-head{padding:8px 12px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:700}.mec-metabox-feed-content{padding:0 12px}.mec-metabox-feed-content ul li a{font-weight:600;display:block}.mec-metabox-feed-content ul li p{margin:3px 0 24px}.mec-metabox-footer a span{font-size:17px;vertical-align:middle;margin-left:2px}.mec-metabox-footer a{text-decoration:none;border-right:1px solid #eee;padding-right:10px;margin-right:12px}.mec-metabox-footer{padding:11px 12px 10px;border-top:1px solid #eee}.mec-metabox-footer a:last-of-type{border:none}.mec-metabox-upcoming-wrap h3{border-top:none!important;padding-top:13px!important}.mec-metabox-head-wrap{box-shadow:0 5px 8px rgba(0,0,0,.05)}.mec-metabox-upcoming-wrap ul li span{float:left}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event{float:left;margin-left:10px}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event-date{float:right}.mec-metabox-upcoming-wrap ul{padding:0 12px;background:#f7f7f7;margin:0}.mec-metabox-upcoming-wrap ul li{border-bottom:1px solid #eee;padding:14px 0;margin-bottom:0}.mec-metabox-upcoming-wrap ul li:last-of-type{border:none}.mec-metabox-upcoming-wrap h3{margin-bottom:0!important}.mec-metabox-upcoming-wrap ul li .mec-metabox-upcoming-event a{font-weight:600}.mec-metabox-head-version a span{vertical-align:middle}.mec-metabox-head-version a{padding-left:6px!important}#mec_widget_total_bookings .w-box.total-bookings ul li:first-child{margin-left:1px}#mec_widget_total_bookings .w-box.total-bookings ul li{margin-right:4px}#mec_widget_total_bookings .w-box.total-bookings ul li:last-child{margin-right:0}#mec_widget_total_bookings .w-box.total-bookings ul li a{color:#000}#mec_widget_total_bookings .w-box.total-bookings ul li:hover a{color:#fff}#mec_widget_total_bookings{overflow:hidden}#mec_widget_total_bookings .inside,#mec_widget_total_bookings .w-box{margin:0;padding-bottom:0}#mec_widget_total_bookings .w-col-sm-12{padding:0}#mec_widget_total_bookings .w-box-content button{color:#fff!important;font-weight:500!important;border-radius:2px!important;box-shadow:0 3px 10px -4px #008aff!important;text-shadow:none!important;background:#008aff!important;background:linear-gradient(95deg,#36a2ff 0,#008aff 50%,#0072ff 100%)!important;border:none!important;transition:.24s!important;line-height:39px;padding:0 36px;width:calc(33% - 7px);margin-bottom:14px}#mec_widget_total_bookings .w-box-content input[type=text],#mec_widget_total_bookings .w-box-content select{border:solid 1px #ddd;border-radius:2px;height:40px;line-height:38px;padding-left:10px;box-shadow:0 3px 10px -2px rgba(0,0,0,.05),inset 0 1px 2px rgba(0,0,0,.02)}#mec_widget_total_bookings .w-box-content input[type=text]{width:calc(50% - 5px)}#mec_widget_total_bookings .w-box-content select{width:calc(33% - 2px);margin-bottom:24px;margin-top:20px}div#mec-schema .mec-form-row label{display:inline-block;width:141px}.event-status-schema{background:rgb(247 248 249 / 10%);padding:20px 40px;margin:10px 0 35px;border-radius:4px;border:1px solid #e6e6e6}@media (min-width:1281px){.event-status-schema{max-width:70%}}.event-status-schema p{margin-bottom:35px}div#mec_cancelled_reason_wrapper label{width:166px!important}.mec-fluent-hidden{display:none}#webnus-dashboard .total-bookings input[type=text]{height:38px;line-height:38px;padding-left:10px;border-radius:5px;border:none;background-color:#f7f8f9;box-shadow:inset 0 1px 2px rgb(0 0 0 / 7%)}#webnus-dashboard .total-bookings select{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;min-height:34px;line-height:34px;background-color:#f7f8f9;border-radius:2px;padding-left:8px;box-shadow:0 1px 3px rgb(0 0 0 / 2%);transition:all .23s ease;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIxNyIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE3IDE3Ij4KPGc+CjwvZz4KCTxwYXRoIGQ9Ik0xNi4zNTQgNS4wNzVsLTcuODU1IDcuODU0LTcuODUzLTcuODU0IDAuNzA3LTAuNzA3IDcuMTQ1IDcuMTQ2IDcuMTQ4LTcuMTQ3IDAuNzA4IDAuNzA4eiIgZmlsbD0iIzAwMDAwMCIgLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:26px 10px;background-position:right center;min-width:160px;border:1px solid #e6e9eb}#webnus-dashboard select{margin-top:-5px}#mec_styles_CSS{line-height:1.6}.mec-search-forms-options-container label.mec-col-12{margin-bottom:10px}@media(max-width:480px){.toplevel_page_mec-intro .mec-intro-section-ifarme iframe{width:auto!important;height:auto!important}.w-box.mec-activation input[name=MECPurchaseCode]{min-width:200px!important;width:330px}.w-box.mec-activation{background:#fff}.mec-addons{padding-right:15px}.mec-report-wrap{margin-top:20px}.mec-report-select-event-wrap .select2-container--default,.mec-report-select-event-wrap select.mec-reports-selectbox-dates{max-width:100%;width:100%;margin:10px 0}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-content,.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head{padding:10px}.mec-report-selected-event-attendees-wrap .w-clearfix.mec-attendees-head span{font-size:13px}.mec-report-selected-event-attendees-wrap .mec-attendees-content .w-col-xs-3{word-wrap:break-word}.mec-report-selected-event-attendees-wrap .w-col-xs-3.name img{display:block}.mec-report-selected-event-attendees-wrap input[type=checkbox],.mec-report-selected-event-attendees-wrap input[type=radio]{height:.85rem;width:.85rem}.wns-be-container .dpr-btn.dpr-save-btn{margin:0!important}#mec_booking_form .mec-container{padding-left:0;padding-right:0}#mec_event_form_fields,#mec_reg_form_fields{padding:10px}.mec-search-forms-options-container .mec-form-row select{width:100%}#mec_skin_monthly_view_start_date_container{display:unset}#mec_calendar_display_options input[type=number],#mec_calendar_display_options input[type=text],#mec_calendar_display_options select{max-width:100%!important;width:100%;margin:10px 0}#mec_select_tags.mec-create-shortcode-tab-content input[type=text]{width:auto}#mec_tickets .mec-box{padding:20px 7px}.fserv-container form,.fserv-form-description{padding:10px 15px!important}.fserv-field{display:inline-block;width:25%!important;padding:0!important;margin:0!important;margin-right:10px!important}#webnus-dashboard .total-bookings button{margin:15px 0}}.mec-skin-styles.mec-styles-custom{padding-left:0!important;top:40%;position:absolute;width:330px;height:auto!important;overflow:visible!important}.mec-skin-styles.mec-styles-custom .nice-select{box-shadow:0 3px 13px -5px rgba(0,0,0,.1),inset 0 1px 2px rgba(0,0,0,.07);clear:unset!important;-webkit-tap-highlight-color:transparent;background-color:#fff;border-radius:5px;border:solid 1px #e8e8e8;box-sizing:border-box;clear:both;cursor:pointer;display:block;float:left;font-family:inherit;font-size:14px;font-weight:400;height:42px;line-height:40px;outline:0;padding-left:18px;padding-right:30px;position:relative;text-align:left!important;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:300px!important}.mec-styles-custom h3{font-size:13px;font-weight:400;color:#707070}.post-type-mec_calendars .mec-form-row .select2-selection{height:auto}.mec-form-row .mec-col-12 ul li span{display:inline-block;background:#f7f8f9;padding:8px 15px;margin-right:5px;border-radius:3px;border:1px dashed #d7d8d9;font-family:monospace;letter-spacing:.4px}.post-type-mec-events .ui-datepicker.ui-widget .ui-button,.post-type-mec-events .ui-datepicker.ui-widget .ui-button.ui-state-disabled:active,.post-type-mec-events .ui-datepicker.ui-widget .ui-button.ui-state-disabled:hover,.post-type-mec-events .ui-datepicker.ui-widget .ui-state-default,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-content .ui-state-default,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-header .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button.ui-state-disabled:active,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-button.ui-state-disabled:hover,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-content .ui-state-default,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-header .ui-state-default{border:0;background-color:#fff;font-weight:400;color:#212121;text-align:center}.post-type-mec-events .ui-datepicker.ui-widget td a.ui-state-active,.post-type-mec-events .ui-datepicker.ui-widget td a:hover,.post-type-mec_calendars .ui-datepicker.ui-widget td a.ui-state-active,.post-type-mec_calendars .ui-datepicker.ui-widget td a:hover{background:#40d9f1;color:#fff}.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-header,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-header{border:0;background:unset;background-color:#fff}.post-type-mec-events .ui-datepicker.ui-widget .ui-icon,.post-type-mec-events .ui-datepicker.ui-widget .ui-widget-content .ui-icon,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-icon,.post-type-mec_calendars .ui-datepicker.ui-widget .ui-widget-content .ui-icon{background-image:unset}.post-type-mec-events .ui-datepicker.ui-widget select,.post-type-mec_calendars .ui-datepicker.ui-widget select{font-weight:600;font-size:12px;border-radius:2px;padding:2px 10px;margin:1px 3px 5px}.mec-update-warning+p{display:none}#mec_sf_timetable_address_search_placeholder,#mec_sf_timetable_txt_search_placeholder{margin-top:4px}body.rtl .wns-be-sidebar{width:260px;float:right;position:relative}body.rtl .wns-be-main{margin-left:0;border-left:0;margin-right:260px;border-right:1px solid #dedede}body.rtl .w-box.mec-activation .LicenseField{direction:rtl}body.rtl .w-box.mec-activation input[name=MECPurchaseCode]{text-align:right;padding-right:20px}body.rtl #MECActivation .MECPurchaseStatus,body.rtl .addon-activation-form .MECPurchaseStatus{right:auto;left:-51px}body.rtl #webnus-dashboard .w-box.mec-activation input[type=submit]{right:auto;left:5px}body.rtl .wns-be-sidebar .wns-be-group-menu li a{padding:13px 20px 13px 4px}body.rtl .wns-be-sidebar .wns-be-group-tab-link-a span.wns-be-group-menu-title{padding-left:0;padding-right:24px}body.rtl .wns-be-sidebar .has-sub span.extra-icon{float:left}body.rtl .wns-be-sidebar .wns-be-group-tab-link-a span.extra-icon i{right:auto;left:10px}body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:after,body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:transparent;border-left-color:#fff;right:auto;left:-1px;top:10px}body.rtl .wns-be-sidebar .wns-be-group-menu li .subsection li.active a:before{border-right-color:transparent;border-left-color:#c5c5c5;right:auto;left:0}body.rtl .mec-col-1,body.rtl .mec-col-10,body.rtl .mec-col-11,body.rtl .mec-col-12,body.rtl .mec-col-2,body.rtl .mec-col-3,body.rtl .mec-col-4,body.rtl .mec-col-5,body.rtl .mec-col-6,body.rtl .mec-col-7,body.rtl .mec-col-8,body.rtl .mec-col-9{float:right;margin:0}body.rtl .wns-be-sidebar li .submneu-hover{right:auto;left:-222px}body.rtl .wns-be-sidebar li .submneu-hover:after{position:absolute;z-index:999;content:" ";height:0;width:0;border:7px solid transparent;border-right-color:#fff;left:auto;right:-1px;top:14px}body.rtl #mec_styles_form #mec_styles_CSS{direction:ltr}body.rtl .w-box.mec-activation{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleX(-1)}body.rtl .w-box.mec-activation .w-box-content,body.rtl .w-box.mec-activation .w-box-head{-moz-transform:scaleY(-1);-o-transform:scaleY(-1);-webkit-transform:scaleY(-1);transform:scaleX(-1);display:block}body.rtl .w-box.mec-activation .w-box-head{width:100%}body.rtl .wns-be-container #wns-be-infobar:before{left:auto;right:0}body.rtl .wns-be-container .dpr-btn.dpr-save-btn{float:left}body.rtl .wns-be-container .wns-be-group-tab h2:before,body.rtl .wns-be-container .wns-be-group-tab h4:before{left:auto;right:0;margin-right:0;margin-left:5px}body.rtl #mec_gateways_form .mec-tooltip{float:left}body.rtl .fserv-container .fserv-form-name{text-align:right!important}body.rtl #webnus-dashboard .mec-activation .w-box-head{max-width:calc(100% - 250px);margin-right:250px;text-align:right}body.rtl #webnus-dashboard .w-box.mec-activation .LicenseType label{padding-left:20px;padding-right:0;font-weight:500}body.rtl #webnus-dashboard .w-box.mec-activation input[type=radio]+label span{margin-right:0;margin-left:6px}body.rtl #webnus-dashboard .upcoming-events .w-box-content .mec-event-article{display:block}body.rtl #webnus-dashboard .upcoming-events .w-box-content .mec-event-article .col-md-9.col-sm-9{float:unset}body.rtl #webnus-dashboard .total-bookings input[type=text],body.rtl #webnus-dashboard .total-bookings select{min-width:125px;margin:0}body.rtl.post-type-mec-events .mec-form-row input[type=number],body.rtl.post-type-mec-events .mec-form-row input[type=text],body.rtl.post-type-mec-events .mec-form-row input[type=url],body.rtl.post-type-mec-events .mec-form-row select,body.rtl.post-type-mec-events .mec-form-row textarea,body.rtl.post-type-mec_calendars .mec-form-row input[type=number],body.rtl.post-type-mec_calendars .mec-form-row input[type=text],body.rtl.post-type-mec_calendars .mec-form-row input[type=url],body.rtl.post-type-mec_calendars .mec-form-row select,body.rtl.post-type-mec_calendars .mec-form-row textarea{margin:0 0 0 1%}body.rtl .mec-form-row .mec-col-8 label,body.rtl .mec-form-row .mec-col-9 label{padding-left:10px}body.rtl .mec-form-row label{text-align:right}body.rtl .mec-form-row .mec-col-3{margin:0;padding-left:10px;padding-right:0}body.rtl .mec-calendar-metabox .mec-form-row input[type=checkbox],body.rtl .mec-meta-box-fields .mec-form-row input[type=checkbox]{margin-left:6px;margin-right:0}body.rtl .mec-form-row input[type=radio]{margin:0 0 0 6px}body.rtl .mec-form-row .description{border-left:0;border-right:1px dashed #ccc;padding-left:0;padding-right:12px}body.rtl #mec_add_fee_button,body.rtl #mec_add_ticket_variation_button,body.rtl #mec_meta_box_downloadable_file_options #mec_downloadable_file_remove_image_button,body.rtl #taxes_option #mec_fees_list .mec-form-row .button,body.rtl #ticket_variations_option #mec_ticket_variations_list .mec-form-row .button,body.rtl .mec-export-settings,body.rtl .mec-import-settings,body.rtl .mec-meta-box-fields .mec-form-row .button:not(.wp-color-result),body.rtl .mec-occurrences-wrapper .button:not(.wp-color-result){margin-right:0;margin-left:5px}body.rtl .mec-add-booking-tabs-right,body.rtl .mec-add-event-tabs-right,body.rtl .mec-create-shortcode-tabs-right{border-left:0;border-right:1px solid #e2e2e2}body.rtl .mec-add-booking-tabs-left a,body.rtl .mec-add-event-tabs-left a,body.rtl .mec-create-shortcode-tabs-left a{padding:13px 20px 13px 4px}body.rtl .mec-add-booking-tabs-left a.mec-tab-active,body.rtl .mec-add-event-tabs-left a.mec-tab-active,body.rtl .mec-create-shortcode-tabs-left a.mec-tab-active{padding-left:0;padding-right:22px}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row select,body.rtl .post-type-mec-events .mec-form-row select,body.rtl .post-type-mec_calendars .mec-form-row select,body.rtl .wns-be-main .mec-form-row select{background-position:left center!important}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row select,body.rtl .post-type-mec-events .mec-form-row select,body.rtl .post-type-mec_calendars .mec-form-row select,body.rtl .wns-be-main .mec-form-row select{text-align:right!important}body.rtl #mec_calendar_display_options .mec-col-4 input{margin-left:0!important;margin-right:20px!important}body.rtl .meta-box-sortables .mec-switcher input:checked+label:after{right:auto;left:2px;margin-left:0}body.rtl .mec-sed-methods li{margin:0 0 5px 5px}body.rtl .wn-mec-select:after{left:10px;right:auto}body.rtl .inside div div>a.mec-tab-active:after,body.rtl .inside div div>a.mec-tab-active:before{border-right:0;border-left-color:#fff}body.rtl .inside div div>a.mec-tab-active:after{right:auto;left:-1px}body.rtl .inside div div>a.mec-tab-active:before{border-right:0;border-left-color:#d7d8d9;right:auto;left:0}body.rtl #mec_tickets .button.remove{right:auto;left:20px;line-height:1.8}body.rtl .mec-calendar-metabox .wn-mec-select,body.rtl .mec-form-row input[type=date],body.rtl .mec-form-row input[type=email],body.rtl .mec-form-row input[type=number],body.rtl .mec-form-row input[type=tel],body.rtl .mec-form-row input[type=text],body.rtl .mec-form-row input[type=url],body.rtl .mec-form-row select,body.rtl .mec-form-row textarea,body.rtl .mec-form-row.mec-skin-list-date-format-container input[type=text],body.rtl .mec-occurrences-wrapper input[type=date],body.rtl .mec-occurrences-wrapper input[type=email],body.rtl .mec-occurrences-wrapper input[type=number],body.rtl .mec-occurrences-wrapper input[type=tel],body.rtl .mec-occurrences-wrapper input[type=text],body.rtl .mec-occurrences-wrapper input[type=url],body.rtl .mec-occurrences-wrapper select,body.rtl .mec-occurrences-wrapper textarea{padding:0 10px}body.rtl #mec-occurrences .mec-occurrences-list li,body.rtl #mec_bfixed_form_fields li,body.rtl #mec_event_form_fields li,body.rtl #mec_reg_form_fields li{border-radius:11px 3px 3px 3px}body.rtl #mec-occurrences .mec-occurrences-list .mec-occurrences-delete-button,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_remove,body.rtl #mec_event_form_fields span.mec_event_field_remove,body.rtl #mec_reg_form_fields span.mec_reg_field_remove{position:absolute;right:auto;left:47px;top:0;background:#fff}body.rtl #mec-occurrences .mec-occurrences-list .mec-occurrences-delete-button:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_option_sort:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_remove:before,body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_sort:before,body.rtl #mec_event_form_fields span.mec_event_field_option_sort:before,body.rtl #mec_event_form_fields span.mec_event_field_remove:before,body.rtl #mec_event_form_fields span.mec_event_field_sort:before,body.rtl #mec_reg_form_fields span.mec_reg_field_option_sort:before,body.rtl #mec_reg_form_fields span.mec_reg_field_remove:before,body.rtl #mec_reg_form_fields span.mec_reg_field_sort:before{left:auto;right:20px;top:7px}body.rtl #mec_bfixed_form_fields span.mec_bfixed_field_type,body.rtl #mec_bfixed_form_fields span.mec_event_field_type,body.rtl #mec_event_form_fields span.mec_event_field_type,body.rtl #mec_reg_form_fields span.mec_reg_field_type{padding-left:0;padding-right:25px}body.rtl .wns-be-main .mec-form-row .mec-col-3{padding:0}body.rtl .wns-be-main .mec-form-row .mec-col-9{float:left}body.rtl .mec-form-row .mec-col-9 .mec-box .mec-tooltip{left:15px;right:auto}body.rtl .mec-tooltip .box{left:auto!important;right:30px!important}body.rtl .mec-tooltip .box:before{left:auto!important;right:0!important}body.rtl .mec-tooltip .box.left{left:30px!important;right:auto!important}body.rtl .mec-tooltip .box.left:before{left:-12px!important;right:auto!important}body.rtl .mec-form-row .cancellation-period-box input[type=number]:first-child{margin-left:calc(2% + 4px);margin-right:0}body.rtl .support-page .w-box-content ul li i{margin:0 0 0 10px;float:right}body.rtl .support-page .w-box-content ul li .mec-sl-arrow-right-circle:before{content:"\e07a"}body.rtl #webnus-dashboard .w-box.support-page.videobox .w-button a i{float:left;line-height:24px}body.rtl #webnus-dashboard .mec-faq-accordion-trigger a{padding-right:34px;font-size:15px}
|
@@ -4931,13 +4931,22 @@ address.mec-events-address {
|
|
4931 |
}
|
4932 |
|
4933 |
.mec-single-event
|
4934 |
-
|
4935 |
-
|
4936 |
margin-bottom: 0;
|
4937 |
padding-bottom: 0;
|
4938 |
border: none;
|
4939 |
}
|
4940 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4941 |
/* Hourly Schedule */
|
4942 |
.mec-event-schedule-content {
|
4943 |
border-left: 4px solid #f0f0f0;
|
@@ -8015,6 +8024,31 @@ li.mec-no-event-found .mec-event-title {
|
|
8015 |
width: calc(100% - 36px);
|
8016 |
}
|
8017 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8018 |
.mec-full-calendar-wrap .mec-search-form .col-md-7 {
|
8019 |
padding: 0;
|
8020 |
}
|
@@ -9027,6 +9061,7 @@ li.mec-no-event-found .mec-event-title {
|
|
9027 |
.event-carousel-type1-head .mec-event-image {
|
9028 |
position: relative;
|
9029 |
min-height: 150px;
|
|
|
9030 |
}
|
9031 |
|
9032 |
.event-carousel-type1-head .mec-event-image img {
|
@@ -9283,6 +9318,16 @@ li.mec-no-event-found .mec-event-title {
|
|
9283 |
border-right: 1px solid #e6e6e6;
|
9284 |
}
|
9285 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9286 |
.mec-wrap .mec-event-carousel-type2 .owl-prev,
|
9287 |
.mec-wrap .mec-event-carousel-type2 .owl-next,
|
9288 |
.mec-wrap .mec-event-carousel-type3 .owl-prev,
|
@@ -9434,6 +9479,11 @@ li.mec-no-event-found .mec-event-title {
|
|
9434 |
margin-bottom: 36px;
|
9435 |
}
|
9436 |
|
|
|
|
|
|
|
|
|
|
|
9437 |
.mec-event-carousel-type3 .owl-next {
|
9438 |
right: -70px;
|
9439 |
}
|
@@ -18381,6 +18431,22 @@ a.mec-timeline-readmore i {
|
|
18381 |
}
|
18382 |
}
|
18383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18384 |
/* Normal Label - Default Style for All Skins */
|
18385 |
.mec-ongoing-normal-label {
|
18386 |
background-color: #40d9f1;
|
4931 |
}
|
4932 |
|
4933 |
.mec-single-event
|
4934 |
+
.mec-single-event-additional-organizers
|
4935 |
+
.mec-single-event-additional-organizer:last-child {
|
4936 |
margin-bottom: 0;
|
4937 |
padding-bottom: 0;
|
4938 |
border: none;
|
4939 |
}
|
4940 |
|
4941 |
+
.mec-event-category-color {
|
4942 |
+
width: 9px;
|
4943 |
+
height: 9px;
|
4944 |
+
display: inline-block;
|
4945 |
+
vertical-align: middle;
|
4946 |
+
margin: 0 0 0 4px;
|
4947 |
+
border-radius: 9px;
|
4948 |
+
}
|
4949 |
+
|
4950 |
/* Hourly Schedule */
|
4951 |
.mec-event-schedule-content {
|
4952 |
border-left: 4px solid #f0f0f0;
|
8024 |
width: calc(100% - 36px);
|
8025 |
}
|
8026 |
|
8027 |
+
.mec-there-reset-button .mec-totalcal-box {
|
8028 |
+
padding-bottom: 34px;
|
8029 |
+
}
|
8030 |
+
|
8031 |
+
.mec-wrap .mec-totalcal-box .mec-search-reset-button .mec-button {
|
8032 |
+
position: absolute;
|
8033 |
+
margin: 0;
|
8034 |
+
bottom: 0;
|
8035 |
+
right: 0;
|
8036 |
+
padding: 9px 25px;
|
8037 |
+
border-radius: 2px 0 0 0;
|
8038 |
+
background: #fff;
|
8039 |
+
color: #767676;
|
8040 |
+
border-top: 1px solid;
|
8041 |
+
border-left: 1px solid;
|
8042 |
+
border-color: #e8e8e8;
|
8043 |
+
overflow: hidden;
|
8044 |
+
}
|
8045 |
+
|
8046 |
+
.mec-wrap .mec-totalcal-box .mec-search-reset-button .mec-button:hover {
|
8047 |
+
background: #000;
|
8048 |
+
color: #fff;
|
8049 |
+
border-color: #000;
|
8050 |
+
}
|
8051 |
+
|
8052 |
.mec-full-calendar-wrap .mec-search-form .col-md-7 {
|
8053 |
padding: 0;
|
8054 |
}
|
9061 |
.event-carousel-type1-head .mec-event-image {
|
9062 |
position: relative;
|
9063 |
min-height: 150px;
|
9064 |
+
overflow: hidden;
|
9065 |
}
|
9066 |
|
9067 |
.event-carousel-type1-head .mec-event-image img {
|
9318 |
border-right: 1px solid #e6e6e6;
|
9319 |
}
|
9320 |
|
9321 |
+
.event-carousel-type2-head .mec-event-footer-carousel-type2 .mec-booking-button {
|
9322 |
+
line-height: 25px;
|
9323 |
+
height: 41px;
|
9324 |
+
margin-right: 0;
|
9325 |
+
}
|
9326 |
+
|
9327 |
+
.event-carousel-type2-head .mec-event-footer-carousel-type2 .mec-modal-booking-button {
|
9328 |
+
margin-right: 20px;
|
9329 |
+
}
|
9330 |
+
|
9331 |
.mec-wrap .mec-event-carousel-type2 .owl-prev,
|
9332 |
.mec-wrap .mec-event-carousel-type2 .owl-next,
|
9333 |
.mec-wrap .mec-event-carousel-type3 .owl-prev,
|
9479 |
margin-bottom: 36px;
|
9480 |
}
|
9481 |
|
9482 |
+
.event-carousel-type3-head .mec-event-footer-carousel-type3 .mec-booking-button {
|
9483 |
+
line-height: 25px;
|
9484 |
+
height: 41px;
|
9485 |
+
}
|
9486 |
+
|
9487 |
.mec-event-carousel-type3 .owl-next {
|
9488 |
right: -70px;
|
9489 |
}
|
18431 |
}
|
18432 |
}
|
18433 |
|
18434 |
+
/* Date style for calendar view */
|
18435 |
+
.mec-calendar .mec-event-article .mec-event-date {
|
18436 |
+
font-size: 12px;
|
18437 |
+
text-align: left;
|
18438 |
+
}
|
18439 |
+
|
18440 |
+
.mec-event-detailed-time {
|
18441 |
+
display: flex;
|
18442 |
+
}
|
18443 |
+
|
18444 |
+
.mec-event-detailed-time i {
|
18445 |
+
width: 15px;
|
18446 |
+
padding-top: 7px;
|
18447 |
+
}
|
18448 |
+
|
18449 |
+
|
18450 |
/* Normal Label - Default Style for All Skins */
|
18451 |
.mec-ongoing-normal-label {
|
18452 |
background-color: #40d9f1;
|
@@ -1 +1 @@
|
|
1 |
-
.entry-content .mec-wrap h1,.entry-content .mec-wrap h2,.entry-content .mec-wrap h3,.entry-content .mec-wrap h4,.entry-content .mec-wrap h5,.entry-content .mec-wrap h6,.mec-wrap h1,.mec-wrap h2,.mec-wrap h3,.mec-wrap h4,.mec-wrap h5,.mec-wrap h6{color:#171c24;font-weight:300;font-style:inherit;letter-spacing:normal;clear:none}.mec-wrap h1{font-size:50px;line-height:1.16;margin-bottom:12px;letter-spacing:-1px}.mec-wrap h2{font-size:36px;line-height:1.14;margin-bottom:10px}.mec-wrap h3{font-size:28px;line-height:1.2;margin-bottom:8px}.mec-wrap h4{font-size:24px;line-height:1.2;margin-bottom:10px}.mec-wrap h5{font-size:18px;line-height:1.3;margin-bottom:7px}.mec-wrap h6{font-size:16px;line-height:1.3;margin-bottom:4px}.mec-wrap .subheader{color:#849098}.mec-wrap h1 strong{font-weight:700}.mec-wrap p{margin:0 0 20px 0;color:#616161;font-size:14px;line-height:1.8}.mec-wrap .mec-event-article .mec-color-hover{box-shadow:none;border:none}.mec-wrap abbr,.mec-wrap acronym{cursor:auto;border:none}.entry-content .mec-wrap a{box-shadow:none}.mec-wrap .button,.mec-wrap a.button:not(.owl-dot),.mec-wrap button:not(.owl-dot):not(.gm-control-active),.mec-wrap input[type=button],.mec-wrap input[type=reset],.mec-wrap input[type=submit]{position:relative;border:none;border-radius:0;color:#fff;display:inline-block;font-size:12px;letter-spacing:1px;line-height:1.5;text-transform:uppercase;font-weight:600;text-decoration:none;cursor:pointer;margin-bottom:21px;margin-right:10px;line-height:1;padding:18px 20px 16px;background:#24ca4f;-webkit-transition:all .21s ease;-moz-transition:all .21s ease;transition:all .21s ease}.mec-wrap .button:hover,.mec-wrap a.button:hover,.mec-wrap button:hover,.mec-wrap input[type=button]:hover,.mec-wrap input[type=reset]:hover,.mec-wrap input[type=submit]:hover{background:#222;color:#fff}.mec-wrap #mec_woo_add_to_cart_btn_r{min-width:155px;margin-top:5px;border-radius:2px;box-shadow:0 2px 1px rgba(0,0,0,.08);float:left;text-align:center}.mec-booking-form-container button{display:block}.vertical-space,.vertical-space1,.vertical-space2,.vertical-space3,.vertical-space4,.vertical-space5{display:block;width:100%;margin:0;clear:both;border:0 none;height:20px}.vertical-space2{height:40px}.vertical-space3{height:60px}.vertical-space4{height:80px}.vertical-space5{height:100px}@media only screen and (max-width:479px){.vertical-space,.vertical-space1{height:8px}.vertical-space2{height:14px}.vertical-space3{height:28px}.vertical-space4{height:40px}.vertical-space5{height:60px}}@media only screen and (max-width:960px){.vertical-space,.vertical-space1{height:12px}.vertical-space2{height:18px}.vertical-space3{height:36px}.vertical-space4{height:50px}.vertical-space5{height:80px}}.mec-wrap abbr{cursor:auto;border-bottom:0}@-webkit-keyframes rotating{from{-ms-transform:rotate(0);-moz-transform:rotate(0);-webkit-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotating{from{-ms-transform:rotate(0);-moz-transform:rotate(0);-webkit-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.mec-wrap{font:14px/25px;font-weight:400;color:#626262}.mec-wrap .mec-events a{border-bottom:none}.mec-wrap .mec-container a{box-shadow:none}.mec-event-content p{font-family:Roboto,sans-serif;font-weight:300}.mec-wrap .mec-clear:after,.mec-wrap .mec-clear:before{content:" ";display:table}.mec-wrap .mec-clear:after{clear:both}.mec-events-button{background:#fff;padding:12px 34px;font-size:13px;font-weight:400;letter-spacing:0;border:1px solid #e3e3e3;margin-right:10px;transition:.3s}.mec-wrap .mec-events-button:hover{color:#fff}.mec-no-event{display:none}#mec-active-current{display:block}.current-hide #mec-active-current{display:none!important}.mec-event-grid-classic .mec-event-article{position:relative;border:2px solid #e3e3e3;box-shadow:0 2px 0 0 rgba(0,0,0,.016);margin-bottom:30px;max-width:none}.mec-event-grid-classic .mec-event-content{background:#fff;color:#767676;padding:0 20px 5px;text-align:center;min-height:125px}.mec-event-grid-classic .mec-event-title{color:#202020;margin:10px 0;font-weight:700;font-size:20px;letter-spacing:1px;text-transform:uppercase}.mec-event-grid-classic .mec-event-title a{color:#202020;transition:all .24s ease}.mec-event-grid-classic .mec-event-date{font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#fff;padding:3px 20px;margin:0 -20px 20px -20px;text-align:center}.widget_mec_mec_widget .mec-event-grid-classic .mec-event-date{margin:0}.mec-event-grid-classic .mec-event-content p{font-size:15px;color:#8a8a8a}.mec-event-grid-classic .mec-event-detail{display:none}.mec-event-grid-classic img{margin-bottom:0;width:100%}.mec-event-footer{position:relative;border-top:1px solid #efefef;padding:20px;min-height:80px;margin:0;background:#fafafa}.mec-event-sharing-wrap{left:15px;position:absolute;list-style:none;margin:0;padding-left:0}.mec-event-sharing-wrap .mec-event-sharing{position:absolute;padding:8px 0 2px;left:-6px;bottom:54px;margin:0;margin-top:6px;border-radius:5px;width:50px;visibility:hidden;opacity:0;border:1px solid #e2e2e2;background:#fff;box-shadow:0 0 9px 0 rgba(0,0,0,.06);z-index:99;-webkit-transition:all .18s ease;transition:all .18s ease}.mec-event-sharing-wrap .mec-event-sharing:after,.mec-event-sharing-wrap .mec-event-sharing:before{content:"";display:block;position:absolute;bottom:-10px;left:50%;margin-left:-10px;width:0;height:0;border-style:solid;border-width:10px}.mec-event-sharing-wrap .mec-event-sharing:before{bottom:-21px;border-color:#e2e2e2 transparent transparent transparent}.mec-event-sharing-wrap .mec-event-sharing:after{bottom:-19px;border-color:#fff transparent transparent transparent}.mec-event-sharing-wrap:hover .mec-event-sharing{opacity:1;visibility:visible}.mec-event-sharing-wrap li{text-align:center;border:0;display:block;margin-right:2px;overflow:hidden;margin:0 auto 6px;width:38px}.mec-event-sharing-wrap:hover>li{cursor:pointer;background-color:#40d9f1}.mec-event-sharing-wrap:hover li a{color:#fff}.mec-event-sharing-wrap>li:first-of-type{border:1px solid #d9d9d9}.mec-event-sharing-wrap li a,.mec-event-sharing-wrap:hover li ul li a{border:none;color:#767676}.mec-event-sharing-wrap li i{width:36px;height:36px;display:table-cell;vertical-align:middle}.mec-event-sharing-wrap li svg{height:16px}.mec-event-sharing-wrap .mec-event-sharing li a{display:block}.mec-event-sharing-wrap .mec-event-sharing li:hover a{color:#40d9f1}.mec-event-sharing .mec-event-share:hover .event-sharing-icon{background:#40d9f1;border-width:0 1px 0;cursor:pointer}.mec-event-sharing .mec-event-map{border-width:1px 0 1px}.mec-event-footer .mec-booking-button{box-shadow:none;transition:all .21s ease;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;background:#fff;color:#767676;border:1px solid #e8e8e8;position:absolute;top:20px;right:15px;padding:0 16px;line-height:37px;height:38px}.mec-event-footer .mec-booking-button:hover{background:#191919;color:#fff;border-color:#191919}@media only screen and (max-width:960px){.mec-event-grid-classic{margin-bottom:30px}}.mec-widget .mec-event-grid-classic.mec-owl-carousel{padding:36px 0 16px}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav{margin:5px 0;width:100%;position:absolute;top:15px;padding:0}.mec-skin-grid-container.mec-widget{padding-top:18px}.mec-widget .mec-event-grid-classic.mec-owl-carousel{padding:20px 0 16px}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav{margin:0;width:100%;position:absolute;top:0;padding:0}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav div{position:absolute;background:#fff;line-height:0;width:34px;height:26px;padding:6px;text-align:center;margin-top:-17px;border-radius:3px;border:1px solid #e2e2e2;text-align:center;box-shadow:0 2px 0 0 rgba(0,0,0,.028);transition:all .33s ease}.mec-skin-grid-container .mec-categories{padding:0}.mec-skin-grid-container .mec-categories li{list-style:none}.mec-skin-grid-container .mec-categories li a{color:#000;line-height:24px;text-align:left;transition:all .23s ease;-webkit-transition:all .23s ease}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav i{font-size:12px;color:#40d9f1;cursor:pointer}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav .owl-next{right:0}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav .owl-prev{left:0}.mec-widget .mec-event-grid-classic.mec-owl-carousel .mec-event-sharing{display:none}.mec-widget .mec-event-grid-classic.mec-owl-carousel .mec-event-footer{text-align:center}.mec-widget .mec-event-grid-classic.mec-owl-carousel .mec-event-footer .mec-booking-button{position:static;padding:11px 16px}.widget .mec-event-footer ul.mec-event-sharing-wrap li a.mec-event-share-icon{padding:0}@media screen and (min-width:56.875em){.mec-widget .mec-month-container dl{margin-bottom:0}}.mec-widget .mec-event-grid-classic.owl-carousel .mec-event-footer{text-align:right}.mec-widget .mec-event-grid-classic.owl-carousel .mec-event-sharing-wrap{left:5px;padding-left:5px}.mec-widget .mec-event-grid-classic.owl-carousel .mec-event-sharing-wrap .mec-event-sharing{left:0}.mec-widget .mec-event-sharing-wrap .mec-event-sharing{position:absolute;top:auto;bottom:52px;margin:0;margin-top:0;border-radius:5px}.mec-widget .mec-event-sharing-wrap .mec-event-sharing:after{top:auto;bottom:-17px;border-color:#fff transparent transparent transparent}.mec-widget .mec-event-sharing-wrap .mec-event-sharing:before{top:auto;bottom:-18px;border-color:#e2e2e2 transparent transparent transparent}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav button{position:absolute;background:#fff;padding:6px;margin-top:-17px;border-radius:3px;border:1px solid #e2e2e2;box-shadow:0 2px 0 0 rgba(0,0,0,.028)}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav button:hover{background:#40d9f1;border-color:#40d9f1}.mec-widget .mec-event-grid-classic.mec-owl-carousel .owl-nav button:hover i{color:#fff}.mec-widget .mec-event-grid-classic.mec-owl-carousel .mec-booking-button{width:40%;float:right;color:#202020;height:36px;line-height:14px;font-size:12px;width:auto}.mec-widget .mec-event-grid-classic.mec-owl-carousel .mec-booking-button:hover{color:#fff}.mec-widget .mec-event-list-modern .col-md-2.col-sm-2,.mec-widget .mec-event-list-modern .col-md-6.col-sm-6{padding:0;width:100%;display:block;position:unset}.mec-widget .mec-event-list-modern .col-md-4.col-sm-4 .mec-booking-button{width:80%;height:46px;line-height:22px;padding:11px 20px;float:right}.mec-widget .mec-event-list-modern .col-md-4.col-sm-4.mec-btn-wrapper{top:auto;bottom:5%}@media (max-width:480px){.mec-widget .mec-event-list-modern .col-md-4.col-sm-4{padding:0}.mec-widget .mec-event-list-modern .col-md-4.col-sm-4 .mec-booking-button{width:100%}}.mec-event-grid-clean{margin-bottom:10px;max-width:none}.mec-event-grid-clean .mec-event-article{margin-bottom:30px;position:relative;border:1px solid #e2e2e2;text-align:center;padding:15px 15px 0;background:#fff;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-grid-clean .mec-event-content{background:#fff;color:#767676;padding:25px 16px 0;text-align:left}.mec-event-grid-clean .mec-event-title{color:#202020;margin:0 0 10px 0;font-weight:700;font-size:21px;text-transform:capitalize}.mec-event-grid-clean .mec-event-title a{color:#202020;transition:all .24s ease}.mec-event-grid-clean .mec-event-date{font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:1px;background-color:#40d9f1;color:#fff;padding:3px 0;margin:0;text-align:center}.mec-event-grid-clean .mec-event-content p{font-size:15px;color:#9a9a9a;line-height:1.54}.mec-event-grid-clean img{margin-bottom:0;width:100%}.mec-event-grid-clean .event-grid-t2-head{margin-bottom:10px;color:#fff;padding:9px 14px 6px;text-align:left}.mec-event-grid-clean .event-grid-t2-head .mec-event-date{font-size:50px;line-height:50px;float:left;margin-right:11px}.mec-event-grid-clean .event-grid-t2-head .mec-event-month{text-transform:uppercase;font-size:17px;line-height:20px;padding-top:4px}.mec-event-grid-clean .event-grid-t2-head .mec-event-detail{font-size:12px}.mec-event-grid-clean .event-grid-t2-head .mec-categories li a{margin-bottom:10px;color:#fff}.mec-event-grid-clean .event-grid-t2-head .mec-categories li a:hover{color:#000}.mec-event-grid-clean .mec-event-sharing-wrap{left:0;padding-left:0}.mec-event-grid-clean .mec-event-footer{position:relative;border-top:2px solid;padding:20px 0;margin:0 14px;text-align:left;background:0 0}.mec-event-grid-clean .mec-event-footer .mec-booking-button{right:0}.mec-event-grid-clean .row{margin-bottom:30px}.mec-event-grid-modern{margin-bottom:10px;max-width:none}.mec-event-grid-modern .mec-event-article{position:relative;border:1px solid #e2e2e2;text-align:center;margin-bottom:30px;padding:45px 15px 10px;background:#fff;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-grid-modern .mec-event-content{background:#fff;color:#767676;padding:35px 15px 10px;text-align:left}.mec-event-grid-modern .mec-event-title{color:#202020;margin:0 0 10px 0;font-weight:700;font-size:24px;text-transform:none;letter-spacing:-1px}.mec-event-grid-modern .mec-event-title a{color:#202020;transition:all .24s ease}.mec-event-grid-modern .mec-event-content p{font-size:15px;color:#9a9a9a;line-height:1.54}.mec-event-grid-modern img{margin-bottom:0;width:100%}.mec-event-grid-modern .event-grid-modern-head{margin-bottom:10px;padding:9px 14px 6px;text-align:left}.mec-event-grid-modern .event-grid-modern-head .mec-event-date{font-size:50px;line-height:50px;float:left;margin-right:11px}.mec-event-grid-modern .event-grid-modern-head .mec-event-month{text-transform:uppercase;font-size:17px;line-height:20px;padding-top:4px}.mec-event-grid-modern .event-grid-modern-head .mec-event-detail{font-size:12px}.mec-event-grid-modern .event-grid-modern-head .mec-event-day{margin-top:9px;color:silver;font-family:Roboto,sans-serif;font-size:35px;font-weight:100;text-transform:uppercase;letter-spacing:-1px}.mec-event-grid-modern .mec-event-footer{position:relative;height:90px;padding:20px 0;border:none;margin:0 14px;text-align:left;background:0 0}.mec-event-grid-modern .mec-event-footer .mec-booking-button{right:auto;left:0}.mec-event-grid-modern .mec-event-sharing-wrap{left:auto;right:0;padding-left:0}.mec-event-grid-modern .mec-event-sharing{left:auto;right:-6px}.mec-event-grid-modern .mec-event-sharing-wrap li{border-radius:55px}.mec-event-grid-modern .row{margin-bottom:0}@media only screen and (max-width:479px){.mec-event-grid-modern .mec-event-article{padding-bottom:30px}.mec-event-grid-modern .mec-event-sharing{top:60px;left:0;right:auto}.mec-event-grid-modern .mec-event-footer .mec-booking-button{top:0}}span.mec-event-title-soldout{font-size:8px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;background:#e63360;color:#fff;padding:3px 8px;line-height:1;border-radius:15px;white-space:nowrap;vertical-align:middle}.mec-event-grid-colorful .mec-event-article{min-height:400px;border:none;box-shadow:none;background:#40d9f1;padding-top:25px;margin:0;color:#fff}.mec-event-grid-colorful .mec-event-content{background:0 0}.mec-event-grid-colorful .event-grid-modern-head,.mec-event-grid-colorful .event-grid-modern-head .mec-event-date,.mec-event-grid-colorful .event-grid-modern-head .mec-event-day,.mec-event-grid-colorful .mec-event-content p,.mec-event-grid-colorful .mec-event-sharing-wrap>li>a,.mec-event-grid-colorful .mec-event-title a{color:#fff}.mec-event-grid-colorful .mec-event-footer .mec-booking-button{border:none}.mec-event-grid-colorful .mec-event-sharing-wrap>li{border-color:#fff}.mec-event-grid-colorful .mec-event-sharing-wrap:hover>li{background:#333;border-color:#333}.mec-event-grid-colorful .mec-event-title a.mec-color-hover:hover{color:#fff;text-decoration:underline}.mec-event-grid-colorful .mec-event-title .event-color{display:none}.mec-event-grid-colorful div[class^=col-md-]{padding:0 1px 1px 0;margin:0}.mec-event-grid-colorful .mec-event-article .mec-time-details{color:#fff}@media only screen and (min-width:768px){.mec-wrap.mec-sm959.mec-event-grid-colorful .event-grid-modern-head .mec-event-day{font-size:26px}.mec-wrap.mec-sm959.mec-event-grid-colorful .event-grid-modern-head .mec-event-month{font-size:15px}.mec-wrap.mec-sm959.mec-event-grid-colorful .event-grid-modern-head .mec-event-date{font-size:50px}.mec-wrap.mec-sm959.mec-event-grid-colorful .mec-event-title{font-size:21px}.mec-wrap.mec-sm959.mec-event-grid-colorful .mec-event-content p{font-size:13px}}@media only screen and (min-width:768px) and (max-width:1200px){.mec-wrap.mec-sm959.mec-event-grid-colorful div[class^=col-md-]{width:50%}}.mec-event-list-minimal .mec-event-article{border-bottom:1px solid #efefef;padding:24px 0 16px}.mec-event-list-minimal .mec-wrap .col-md-9{padding:0}.mec-event-list-minimal .mec-event-date{position:relative;float:left;margin-right:30px;color:#fff;width:52px;padding:6px 4px 3px;text-align:center;text-transform:uppercase;border-radius:3px}.mec-event-list-minimal .mec-event-date{min-width:52px;width:fit-content}.mec-event-list-minimal .mec-event-date:nth-child(2){margin:0 30px 0 -20px}.mec-event-list-minimal .mec-event-date span{display:block;font-size:24px;font-weight:700;text-align:center;margin-bottom:4px}.mec-event-list-minimal .mec-event-date:after{display:block;content:"";position:absolute;width:50px;left:1px;top:1px;height:34px;background:rgba(255,255,255,.1);box-shadow:0 4px 4px rgba(0,0,0,.02)}.mec-event-list-minimal .mec-event-date:after{width:100%}.mec-event-list-minimal .mec-event-title{margin-top:0;margin-bottom:10px;font-weight:700;font-size:18px;text-transform:uppercase;letter-spacing:0;padding-top:10px}.mec-event-list-minimal .mec-event-detail,.mec-event-list-minimal .mec-time-details{font-size:15px;font-weight:300;line-height:1;letter-spacing:0;color:#9a9a9a;font-family:Roboto,sans-serif}.mec-event-list-minimal .btn-wrapper{text-align:right;padding-right:0;padding-top:6px}.mec-event-list-minimal .btn-wrapper .mec-detail-button{border-bottom:0;margin-bottom:14px;margin-right:0;box-shadow:none}.mec-event-list-minimal a.mec-detail-button{text-align:center;display:inline-block;background:#ededed;color:#191919;padding:12px;border-radius:2px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;transition:all .24s ease}.mec-event-list-minimal a.mec-detail-button:hover{background:#292929;color:#fff}.vc_col-sm-4 .mec-event-list-minimal .mec-event-date,.vc_col-sm-6 .mec-event-list-minimal .mec-event-date{margin-right:12px}.vc_col-sm-4 .mec-event-list-minimal .mec-event-title,.vc_col-sm-6 .mec-event-list-minimal .mec-event-title{font-size:15px;letter-spacing:2px}@media only screen and (min-width:480px) and (max-width:767px){.mec-event-list-minimal .btn-wrapper{padding-left:0}.mec-event-list-minimal .mec-event-date{margin-right:10px}}@media only screen and (max-width:767px){.mec-event-list-minimal .btn-wrapper .mec-detail-button{display:block;text-align:center;margin:0;margin-top:16px;padding:8px}.mec-event-list-minimal .btn-wrapper{margin:12px 0}}@media only screen and (max-width:479px){.mec-event-list-minimal .mec-event-date{float:none;width:100%;margin-bottom:8px}.mec-event-list-minimal .mec-event-date span{display:inline;padding-right:25px;margin-right:7px;font-size:inherit}.mec-event-list-minimal .mec-event-date:after{width:45%;box-shadow:4px 0 4px rgba(0,0,0,.02)}.mec-event-list-minimal .btn-wrapper{text-align:center;padding-left:0}.mec-event-list-minimal{text-align:center}.mec-event-list-minimal .mec-event-detail{margin-bottom:10px}}.mec-wrap .mec-event-list-modern .mec-event-title{margin-top:0;margin-bottom:10px}.mec-event-list-modern .mec-event-article{border-bottom:1px solid #efefef;padding:30px 0 10px}.mec-event-list-modern .mec-event-article:last-child{border-bottom:none}.mec-event-list-modern .mec-event-title a{color:#191919;transition:all .24s ease;box-shadow:none}.mec-event-list-modern .mec-event-date{text-transform:uppercase;padding:10px 0}.mec-event-list-modern .mec-event-date .event-d{font-size:48px;display:table-cell;padding:10px 0 0}.mec-event-list-modern .mec-event-date .event-d.mec-multiple-dates{font-size:20px;padding:0}.mec-event-list-modern .mec-event-date.mec-multiple-date-event:first-child{padding:10px 0 6px 0;position:relative;width:fit-content}.mec-event-list-modern .mec-event-date.mec-multiple-date-event:first-child:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background:silver}.mec-event-list-modern .mec-event-date.mec-multiple-date-event:last-child{padding:5px 0 10px 0}.mec-event-list-modern .mec-event-date.mec-multiple-date-event .event-d{font-size:20px;padding:0}.mec-event-list-modern .mec-event-date.mec-multiple-date-event .event-da{font-size:20px;margin:0}.mec-event-list-modern .mec-event-date .event-f{font-size:13px;display:table-cell;vertical-align:middle;padding-left:7px;font-weight:500;letter-spacing:3px;color:#777}.mec-event-list-modern .mec-event-detail{font-weight:300;color:#8a8a8a}.mec-event-list-modern .mec-event-detail .mec-time-details{display:inline}.mec-event-list-modern .mec-event-date .event-da{margin-top:9px;color:silver;font-size:28px;font-weight:100;text-transform:uppercase;letter-spacing:-1px;text-align:left}.mec-event-list-modern .mec-btn-wrapper .mec-booking-button{border-radius:1px;letter-spacing:2px;border:1px solid #e6e6e6;color:#333;background-color:#fff;padding:13px 20px;font-weight:700;font-size:11px;box-shadow:0 2px 0 0 rgba(0,0,0,.016);transition:all .28s ease}.mec-event-list-modern .mec-btn-wrapper .mec-booking-button:hover{border-color:#222;background:#222;color:#fff}.mec-event-list-modern .mec-event-title{font-weight:700;font-size:20px;text-transform:uppercase;letter-spacing:1px}.mec-event-list-modern .mec-event-detail{color:#9a9a9a;font-size:15px;font-weight:300;line-height:25px;font-family:Roboto,sans-serif}.mec-event-list-modern .mec-btn-wrapper{text-align:right;padding:10px 0;text-transform:uppercase}.mec-event-list-modern .mec-event-sharing{position:relative;margin:10px 0;padding-left:0}.mec-event-list-modern .mec-event-sharing>li{display:inline-block;border:none;border-radius:50%;margin-right:3px}.mec-event-list-modern .mec-event-sharing .telegram{min-width:36px;min-height:36px;line-height:36px;padding:9px 1px 10px;border-radius:60px}.mec-event-list-modern .mec-event-sharing>li .telegram{padding-top:8px;padding-bottom:9px;border-radius:50%;border:1px solid #ddd}.mec-event-list-modern .mec-event-sharing .telegram .svg-inline--fa.fa-telegram.fa-w-16{width:2.126rem;padding:2px 10px 0 10px;margin-bottom:-2px}.mec-event-list-modern .mec-event-sharing .telegram .svg-inline--fa.fa-telegram.fa-w-16 path{fill:#767676}.mec-event-list-modern .mec-event-sharing li:hover .telegram{background:#40d9f1}.mec-event-list-modern .mec-event-sharing li:hover .telegram .svg-inline--fa.fa-telegram.fa-w-16 path{fill:#fff}.mec-event-list-modern .mec-event-sharing>li:hover{display:inline-block}.mec-event-list-modern .mec-event-sharing>li:hover a i{color:#fff;background:#40d9f1;border-color:#40d9f1}.mec-event-list-modern .mec-event-sharing>li i{width:36px;display:inline-block;line-height:35px;color:#767676;text-align:center;border-radius:50%;border:1px solid #ddd;font-size:14px}.mec-event-list-modern .mec-event-sharing .mec-event-share:hover .mec-event-sharing-icon{background:#40d9f1;border-color:#40d9f1;cursor:pointer;border-radius:50%}.mec-event-list-modern .mec-event-sharing li:hover a i{background:#40d9f1}@media only screen and (min-width:768px){.mec-event-list-modern .mec-event-article{position:relative;min-height:160px;overflow:hidden}.mec-event-list-modern .col-md-2.col-sm-2{width:210px;position:absolute;left:0;top:20px}.mec-event-list-modern .col-md-4.col-sm-4.mec-btn-wrapper{width:180px;padding:0;position:absolute;right:0;top:30%}.mec-event-list-modern .col-md-6.col-sm-6{width:100%;padding-left:225px;padding-right:195px}}@media only screen and (max-width:767px){.mec-event-list-modern .mec-btn-wrapper .mec-booking-button{letter-spacing:1px;border:1px solid #e1e1e1;padding:8px 16px}.mec-event-list-modern .mec-btn-wrapper{padding:0 0 12px}.mec-event-list-modern .mec-event-sharing{margin-bottom:0}}.mec-event-grid-minimal .mec-event-article{margin:15px 0;min-height:80px;display:table}.mec-event-grid-minimal .event-detail-wrap{display:table-cell;vertical-align:middle}.mec-event-grid-minimal .mec-event-date{width:70px;float:left;margin-right:20px;padding:12px 16px 10px;text-align:center;text-transform:uppercase;border-radius:4px;border:1px solid #e6e6e6;transition:all .37s ease-in-out;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-grid-minimal .mec-event-date span{display:block;font-size:24px;font-weight:700;text-align:center;margin-bottom:4px;color:#2a2a2a;transition:color .3s ease}.mec-event-grid-minimal .mec-event-title{margin-top:0;margin-bottom:10px;font-weight:700;line-height:21px;font-size:16px;text-transform:uppercase;transition:color .3s ease}.mec-event-grid-minimal .mec-event-title a{color:#191919;transition:color .3s ease}.mec-event-grid-minimal .mec-event-detail,.mec-event-grid-minimal .mec-time-details{font-size:15px;font-weight:300;line-height:1;letter-spacing:0;color:#9a9a9a;font-family:Roboto,sans-serif;margin-bottom:5px}.mec-event-grid-minimal .mec-event-date:hover{color:#fff}.mec-event-grid-minimal .mec-event-date:hover span{color:#fff}.mec-wrap .mec-event-grid-minimal .mec-event-date:hover{color:#fff}.mec-event-list-classic .mec-event-article{padding:12px 0;margin-bottom:20px}.mec-event-list-classic .mec-event-image{float:left;width:86px;margin-right:20px}.mec-event-list-classic .mec-event-date,.mec-event-list-classic .mec-event-time{font-weight:400;font-size:13px;letter-spacing:0;line-height:18px;text-align:left;display:initial;margin-right:12px}.mec-event-list-classic .mec-event-time .mec-time-details,.mec-event-list-classic .mec-event-time i{display:inline;margin-right:3px}.mec-event-list-classic .mec-event-date span{font-weight:500;margin-bottom:6px}.mec-event-list-classic .mec-event-title{font-size:15px;margin:10px 0 12px;font-weight:700;text-transform:uppercase}.mec-event-list-classic .mec-event-title a{color:#494949;transition:color .3s ease}.mec-event-list-classic .mec-event-detail{color:#777;font-weight:400;line-height:12px;font-size:12px;overflow:hidden}.mec-event-list-classic a.magicmore{padding:10px 16px;color:#fff;background:#222;letter-spacing:2px;font-size:11px}.mec-event-list-classic a.magicmore:after{content:"";display:none}.mec-event-list-classic a.magicmore:hover{color:#40d9f1}.mec-event-grid-simple .mec-event-article{position:relative;margin-bottom:30px}.mec-event-grid-simple .mec-event-article:after{border-right:1px solid #e6e6e6;height:60px;position:absolute;top:50%;margin-top:-30px;right:-1px}.mec-event-grid-simple .row div:last-child .mec-event-article:after{border:none}.mec-event-grid-simple .row{margin:15px 0 30px;text-align:center}.mec-event-grid-simple .mec-event-date{padding:0;margin:0;text-transform:capitalize;font-size:12px;font-weight:700}.mec-event-grid-simple .mec-event-title{margin-top:0;margin-bottom:10px;font-weight:700;line-height:21px;font-size:15px;padding-top:5px;padding-left:5px;padding-right:5px;text-transform:uppercase;transition:color .37s ease}.mec-event-grid-simple .mec-event-title a{color:#494949;transition:color .3s ease}.mec-event-grid-simple .mec-event-detail{font-family:Roboto,sans-serif;font-weight:400;line-height:1;letter-spacing:0;font-size:13px;color:#777}.mec-event-grid-simple:hover .mec-event-title{color:#40d9f1}.mec-event-grid-simple:hover .mec-event-date{background:0 0}.event-last:after{display:none}@media only screen and (max-width:767px){.mec-event-grid-simple .mec-event-article{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #eee}.mec-event-grid-simple .mec-event-article:after{border:none}}.mec-event-grid-novel .mec-event-article{position:relative;margin-bottom:30px;padding:60px 5% 60px 7%;border:1px solid rgba(255,255,255,.12);border-radius:10px;background-color:#0050fd;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;z-index:1}.mec-event-grid-novel .mec-event-article .novel-grad-bg{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:10px;opacity:0;z-index:-1;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.mec-event-grid-novel .mec-event-article:hover{-webkit-box-shadow:0 13px 36px 0 rgba(0,0,0,.23);box-shadow:0 13px 36px 0 rgba(0,0,0,.23);border-color:transparent}.mec-event-grid-novel .mec-event-article:hover .novel-grad-bg{background-image:-webkit-gradient(linear,left top,right top,from(#262e32),to(#0e1015));background-image:-webkit-linear-gradient(left,#262e32 0,#0e1015 100%);background-image:-o-linear-gradient(left,#262e32 0,#0e1015 100%);background-image:linear-gradient(90deg,#262e32 0,#0e1015 100%);opacity:1}.mec-event-grid-novel .mec-event-image{float:left;width:150px;height:150px}.mec-event-grid-novel .mec-event-image img{width:150px;height:150px;border-radius:50%}.mec-event-grid-novel .mec-event-detail-wrap{margin-left:200px}.mec-event-grid-novel .mec-event-content h4{position:relative;margin-bottom:10px;display:inline-block}.mec-event-grid-novel .mec-event-content h4 a{font-size:24px;line-height:35px;color:#fafcff}.mec-event-grid-novel .mec-event-content h4::before{content:"";position:absolute;top:8px;left:-30px;width:17px;height:17px;background:#5cd0ed;opacity:.4;border-radius:50%}.mec-event-grid-novel .mec-event-content h4::after{content:"";position:absolute;top:12px;left:-26px;width:9px;height:9px;background:#5cd0ed;border-radius:50%}.mec-skin-grid-container .mec-event-grid-novel .mec-categories li a{color:#fff}.mec-event-grid-novel .mec-event-address,.mec-event-grid-novel .mec-event-detail,.mec-event-grid-novel .mec-event-month,.mec-event-grid-novel .mec-local-time-details{position:relative;padding-left:35px;font-size:15px;line-height:30px;color:rgba(255,255,255,.4)}.mec-event-grid-novel .mec-event-address::before,.mec-event-grid-novel .mec-event-detail::before,.mec-event-grid-novel .mec-event-month::before,.mec-event-grid-novel .mec-local-time-details:before{position:absolute;top:6px;left:6px;font-size:17px;font-family:simple-line-icons;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1}.mec-event-grid-novel .mec-local-time-details::before{content:"\e007"}.mec-event-grid-novel .mec-event-month::before{content:"\e075"}.mec-event-grid-novel .mec-event-detail::before{content:"\e081"}.mec-event-grid-novel .mec-event-address::before{content:"\e096"}.mec-event-grid-novel .mec-event-footer{clear:both;padding:20px 0;border-top:none;background:0 0}.mec-event-grid-novel .mec-event-footer .mec-booking-button{right:auto;left:0;height:42px;width:148px;padding:0 20px;font-size:14px;font-weight:400;line-height:42px;text-align:center;color:#fff;background:0 0;border-color:rgba(255,255,255,.1);border-radius:50px}.mec-event-grid-novel .mec-event-footer .mec-booking-button:hover{background-color:rgba(255,255,255,.1)}.mec-event-grid-novel .mec-event-sharing-wrap{left:175px;cursor:pointer;padding-left:0}.mec-event-grid-novel .mec-event-sharing-wrap>li{border-color:rgba(255,255,255,.1);border-radius:50%}.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing{top:-5px;left:0;padding:5px 10px 2px 50px;min-width:150px;width:inherit;height:37px;background-color:rgba(255,255,255,.1);-webkit-box-shadow:none;box-shadow:none;border:none;border-radius:50px}.mec-event-grid-novel .mec-event-sharing-wrap:hover>li{background-color:rgba(255,255,255,.1)}.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing::after,.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing::before{display:none}.mec-event-grid-novel .mec-event-sharing .mec-event-social-icon,.mec-event-grid-novel .mec-event-sharing .mec-event-social-icon a,.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing li i{display:inline}.mec-event-grid-novel .mec-event-sharing .mec-event-social-icon a{padding:0 10px}.mec-event-grid-novel .mec-event-sharing-wrap>li a{color:#fff}.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing li a{color:rgba(255,255,255,.4)}.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing li a:hover{color:rgba(255,255,255,1)}@media only screen and (max-width:1200px){.mec-event-grid-novel .row .col-md-6.col-sm-6{width:100%;float:none}.mec-event-grid-novel .mec-event-image{float:none;margin-top:-20px;margin-bottom:20px}.mec-event-grid-novel .mec-event-detail-wrap{margin-left:20px}.mec-event-grid-novel .mec-event-footer{margin-top:30px}}@media only screen and (max-width:767px){.mec-event-grid-novel .mec-event-footer{margin-top:0;padding-top:30px;margin-bottom:24px}.mec-event-grid-novel .mec-event-footer .mec-booking-button{display:block;position:relative}.mec-event-grid-novel .mec-event-sharing-wrap{left:0;bottom:-55px;padding-left:0}.mec-event-grid-novel .mec-event-content h4 a{font-size:20px;line-height:1.3}}.mec-event-grid-novel .mec-event-sharing-wrap{padding-left:0}.mec-event-grid-novel .mec-event-sharing-wrap .mec-event-sharing{width:fit-content;z-index:999999}@media (min-width:1280px){.mec-event-grid-novel .col-md-4.col-sm-4 .mec-event-article img{width:100px;height:100px}.mec-event-grid-novel .col-md-4.col-sm-4 .mec-event-detail-wrap{margin-left:150px}}@media (min-width:760px) and (max-width:1024px){.mec-event-grid-novel .col-md-4.col-sm-4{width:100%}.mec-event-grid-novel .mec-event-image{float:left}.mec-event-grid-novel .col-md-4.col-sm-4 .mec-event-article img{width:100px;height:100px}}.mec-event-cover-modern{position:relative}.mec-event-cover-modern .mec-event-cover-a{background:0 0;position:absolute;color:#fff;bottom:0;left:0;text-decoration:none}.mec-event-cover-modern .mec-event-cover-a .mec-event-overlay{transition:all .5s;opacity:.8;width:100%;height:100%;position:absolute}.mec-event-cover-modern .mec-event-cover-a:hover .mec-event-overlay{opacity:1}.mec-event-cover-modern .mec-event-detail{padding:40px;position:relative}.mec-event-cover-modern .mec-event-cover-a:hover .mec-event-tag{color:#333;transition:all .5s}.mec-event-cover-modern .mec-event-cover-a .mec-event-title:hover{text-decoration:underline}.mec-event-cover-modern .mec-event-tag{background:#fff;display:inline-block;padding:5px 9px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:24px}.mec-event-cover-modern .mec-event-date{text-transform:uppercase;font-size:17px;font-weight:300}.mec-event-cover-modern .mec-event-title{color:#fff;text-transform:uppercase;font-size:40px;font-weight:700;margin:6px 0}.mec-event-cover-modern .mec-event-place{font-weight:400;font-size:18px;font-family:Roboto,sans-serif}@media only screen and (max-width:767px){.mec-event-cover-modern .mec-event-cover-a{width:100%}}.mec-event-cover-classic{position:relative;overflow:hidden;background:#fff;padding:6px;border:1px solid #e8e8e8}.mec-event-cover-classic .mec-event-overlay{position:absolute;left:6px;right:6px;bottom:6px;top:6px;width:auto;height:auto;background-color:rgba(36,36,36,.4);transition:all .33s ease-in-out}.mec-event-cover-classic:hover .mec-event-overlay{background-color:rgba(36,36,36,.6)}.mec-event-cover-classic .mec-event-content{font-size:15px;color:#fff;position:absolute;bottom:0;padding:50px 35px;transition:all .33s ease-in-out}.mec-event-cover-classic .mec-event-date{font-size:14px;text-transform:uppercase;font-weight:400;line-height:1.6;text-align:left}.mec-event-cover-classic .mec-event-date span{display:block;font-weight:700;font-size:16px}.mec-event-cover-classic .mec-event-title{color:#fff;margin:20px 0 38px;font-size:24px;font-weight:700;text-transform:uppercase;font-style:normal}.mec-event-cover-classic .mec-btn-wrapper{text-align:left}.mec-event-cover-classic .mec-event-icon{font-size:18px;float:left;margin-right:14px;color:#fff;padding:13px}.mec-event-cover-classic .mec-event-button{color:#fff;background-color:#191919;border:2px #191919 solid;padding:12px 20px;letter-spacing:3px;font-size:12px;font-weight:700;font-style:normal;transition:all .22s ease;text-decoration:none}.mec-event-cover-classic .mec-event-button:hover{color:#191919;background-color:#fff;border-color:#fff;border-radius:1px}.mec-event-cover-classic .mec-event-image img{min-width:100%}@media only screen and (max-width:960px){.mec-event-cover-classic .mec-event-content{padding:20px}.mec-event-cover-classic .mec-event-button{font-size:11px;padding:7px 10px;letter-spacing:1px}.mec-event-cover-classic .mec-event-title{font-size:19px;margin:15px 0 25px}.mec-event-cover-classic .mec-event-date{font-size:12px}}@media only screen and (max-width:767px){.mec-event-cover-classic{margin-bottom:30px}}@media only screen and (max-width:479px){.mec-event-cover-classic .mec-event-content{padding:15px;font-size:15px}.mec-event-cover-classic .mec-event-title{font-size:15px;margin:10px 0}.mec-event-cover-classic .mec-event-button{font-size:10px;padding:6px;letter-spacing:1px}.mec-event-cover-classic .mec-event-icon{padding:10px}}.mec-load-more-wrap{text-align:center;display:block;width:100%;padding-top:20px;text-align:center;position:relative}.mec-load-more-button{box-shadow:none;transition:all .21s ease;font-size:12px;font-weight:500;letter-spacing:1px;text-transform:uppercase;background:#fff;color:#767676;border:2px solid #e8e8e8;border-radius:50px;padding:0 28px;margin-bottom:20px;cursor:pointer;line-height:40px;height:42px;display:inline-block}.mec-load-more-button:hover{background:#191919;color:#fff;border-color:#191919}.mec-load-more-loading{content:url(../img/ajax-loader.gif);cursor:wait;background:0 0;border-style:none}.mec-load-more-loading:hover{background:0 0}.mec-modal-preloader,.mec-month-navigator-loading{width:100%;height:100%;background:no-repeat rgba(255,255,255,.88) url(../img/ajax-loader.gif) center;border-style:none;position:fixed;left:0;right:0;bottom:0;top:0;z-index:9}.mec-event-calendar-classic .mec-calendar-side .mec-calendar-table{min-height:1024px}.mec-calendar-side .mec-calendar-table{min-height:450px}.mec-skin-weekly-view-events-container.mec-month-navigator-loading{margin-top:0}.mec-calendar.mec-event-calendar-classic .mec-calendar-side{display:block}.mec-skin-daily-view-events-container.mec-month-navigator-loading{margin-top:0}@media only screen and (min-width:961px){.mec-wrap.mec-sm959 .mec-calendar-side .mec-calendar-table{min-height:1px}}@media only screen and (max-width:479px){.mec-calendar-side .mec-calendar-table{min-height:1px}}.mec-event-cover-clean{position:relative;border:1px solid #e6e6e6;padding:8px}.mec-event-cover-clean .mec-event-overlay{height:100%;background-color:rgba(36,36,36,.4);position:absolute;width:100%;left:0;border:8px solid #fff;top:0;transition:all .5s ease-in-out}.mec-event-cover-clean .mec-event-content{color:#fff;position:absolute;bottom:20px;padding:40px 60px;transition:all .5s ease-in-out}.mec-event-cover-clean .mec-event-title{color:#fff;font-weight:700;margin:46px 0 19px;font-size:29px;text-transform:uppercase;text-shadow:0 0 1px rgba(0,0,0,.5)}.mec-event-cover-clean .mec-event-title a{color:#fff;transition:all .5s;text-decoration:none;outline:0;border:none;box-shadow:none}.mec-event-cover-clean .mec-event-title a:hover{text-decoration:underline}.mec-event-cover-clean .mec-event-date{position:absolute;top:-20px;right:60px;color:#fff;width:60px;padding:14px 10px;z-index:1}.mec-event-cover-clean .mec-event-date div{text-align:center;text-transform:uppercase;letter-spacing:1px;line-height:16px}.mec-event-cover-clean .mec-event-date .dday{padding-bottom:15px;border-bottom:1px solid rgba(255,255,255,.5);margin-bottom:13px;font-size:24px}.mec-event-cover-clean .mec-event-date .dmonth{letter-spacing:2px}.mec-event-cover-clean .mec-event-place{font-size:18px;font-family:Roboto,sans-serif}.mec-event-cover-clean .mec-event-image img{width:100%}@media only screen and (max-width:768px){.mec-event-cover-clean .mec-event-content{padding:20px;bottom:5px}.mec-event-cover-clean .mec-event-title{font-size:23px}.mec-event-cover-clean .mec-event-date{right:20px;padding:10px;width:50px}}@media only screen and (max-width:479px){.mec-event-cover-clean .mec-event-content{padding:10px}.mec-event-cover-clean .mec-event-title{font-size:19px;padding-right:25px}.mec-event-cover-clean .mec-event-date{right:-20px;top:-10px}.mec-event-cover-clean .mec-event-detail{font-size:12px}}.mec-month-divider{text-align:center;margin:60px 0 40px 0}.widget .mec-month-divider{margin:10px 0}.mec-month-divider span{text-transform:uppercase;font-size:22px;font-weight:700;padding-bottom:5px;color:#313131;border-bottom:4px solid #ebebeb;width:100%;display:block;padding-bottom:10px;position:relative}.mec-month-divider span:before{border-bottom:4px solid #40d9f1;font-size:6px;content:"";text-align:center;position:absolute;bottom:-4px;margin-left:-30px;left:50%;width:60px}.widget .mec-month-divider span{font-size:13px}.mec-event-list-standard .mec-events-pagination{margin-top:60px;border-top:4px solid #ebebeb;min-height:80px;padding-top:20px}.mec-event-list-standard .mec-events-pagination .mec-events-pag-previous{float:left;margin-left:0}.mec-event-list-standard .mec-events-pagination .mec-events-pag-next{float:right;margin-right:0}.mec-event-list-standard .mec-event-article{position:relative;display:block;margin-bottom:25px;border:1px solid #e9e9e9;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-list-standard .mec-topsec{display:table;width:100%}.mec-event-list-standard .col-md-3.mec-event-image-wrap{padding-left:0}.mec-event-list-standard .mec-event-content{padding-top:15px;padding-right:30px}.mec-event-list-standard .mec-event-title{font-size:29px;font-weight:700;letter-spacing:-1px;margin:0 0 10px}.mec-event-list-standard .mec-event-title a{color:#292929;transition:color .3s ease}.mec-event-list-standard .mec-col-table-c{display:table-cell;height:100%;vertical-align:middle;float:none!important}.mec-event-list-standard .mec-col-table-c.mec-event-meta-wrap{padding-top:15px}.mec-event-list-standard .mec-col-table-c.mec-event-image-wrap{vertical-align:top}.mec-topsec .mec-event-image{line-height:1px}.mec-event-list-standard .mec-event-meta-wrap{border-left:1px solid #eee}.mec-event-list-standard .mec-time-details{text-transform:uppercase;font-size:11px;font-weight:300;padding-top:0;text-align:left;padding-left:30px}.mec-event-list-standard .mec-event-meta .mec-event-address{font-style:normal;letter-spacing:0;font-size:13px;color:#8a8a8a}.mec-event-list-standard .mec-event-meta span.mec-event-d,.mec-event-list-standard .mec-event-meta span.mec-event-m{font-size:17px;font-weight:700;padding-right:6px;color:#444;text-transform:uppercase}.mec-event-list-standard .mec-date-details,.mec-event-list-standard .mec-local-time-details,.mec-event-list-standard .mec-time-details,.mec-event-list-standard .mec-venue-details{position:relative;padding-left:28px;margin-bottom:10px}.mec-event-list-standard .mec-date-details:before,.mec-event-list-standard .mec-local-time-details:before,.mec-event-list-standard .mec-time-details:before,.mec-event-list-standard .mec-venue-details:before{content:"\f041";font-family:fontawesome;position:absolute;left:6px;font-size:15px}.mec-event-list-standard .mec-date-details:before{content:"\f073"}.mec-event-list-standard .mec-time-details:before{content:"\f017"}.mec-event-list-standard .mec-local-time-details:before{content:"\f0ac"}.mec-event-list-standard .mec-local-time-details .mec-local-title{display:block}.mec-event-list-standard .mec-local-time-details .mec-local-date,.mec-event-list-standard .mec-local-time-details .mec-local-time{font-style:normal;letter-spacing:0;font-size:11px;color:#8a8a8a;font-weight:300;line-height:1.6}.mec-event-list-minimal .mec-event-title a{color:#292929;transition:color .3s ease}.mec-event-meta-wrap .mec-price-details{margin-bottom:10px}.mec-price-details i{margin-right:4px;vertical-align:text-top}.mec-event-meta-wrap .mec-event-meta .mec-price-details i:before{font-size:15px}.mec-event-list-standard .mec-price-details{text-transform:uppercase;font-size:11px;font-weight:300}.mec-event-list-standard .mec-price-details i{margin-left:6px}.mec-month-side .mec-price-details{margin-left:2px}.mec-event-article .mec-price-details i,.mec-month-side .mec-price-details i,.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-content .mec-price-details i{padding-top:4px;vertical-align:unset}.mec-event-list-standard ul.mec-categories{position:relative;padding-left:28px;margin-bottom:10px}.mec-event-list-standard ul.mec-categories li.mec-category a:before{font-size:16px!important;content:"\f105";position:absolute;font-family:fontawesome;left:8px;font-size:15px}@media only screen and (max-width:960px){.mec-event-list-standard .mec-topsec{display:block}.mec-event-list-standard .mec-col-table-c.mec-event-image-wrap{display:block;width:40%}.mec-event-list-standard .mec-col-table-c.mec-event-content-wrap{display:block;min-height:230px}.mec-event-list-standard .mec-event-meta-wrap{display:block;border-left:none;border-top:1px solid #eee;width:100%;float:none;padding-top:20px}}@media only screen and (min-width:480px) and (max-width:960px){.mec-event-list-standard .mec-col-table-c.mec-event-content-wrap,.mec-event-list-standard .mec-col-table-c.mec-event-image-wrap{display:table-cell}}@media only screen and (max-width:479px){.mec-event-list-standard .mec-col-table-c.mec-event-image-wrap,.mec-event-list-standard .mec-col-table-c.mec-event-image-wrap img{float:none;width:100%;padding:0}.mec-event-list-standard .mec-col-table-c.mec-event-content-wrap{padding:10px 10px 10px 30px}}.mec-localtime-details{color:#777;font-weight:400;line-height:12px;font-size:12px}.mec-localtime-details .mec-localdate,.mec-localtime-details .mec-localtime,.mec-localtime-details .mec-localtitle{display:inline-block}.mec-localtime-details .mec-start-date-label{padding-right:5px}.mec-localtime-details .mec-localtime{padding-left:5px}.mec-event-list-minimal .mec-localtime-details{display:inline-flex;font-size:15px;font-weight:300;line-height:1;letter-spacing:0;color:#9a9a9a;padding-left:9px}.mec-event-grid-classic .mec-localtime-details,.mec-event-grid-clean .mec-localtime-details{color:#fff;font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:-.02em;color:#fff;padding:0 0;line-height:18px;margin-top:-3px}.mec-event-grid-clean .mec-localtime-details,.mec-event-grid-colorful .mec-localtime-details,.tooltipster-box .mec-localtime-details{line-height:22px;padding-top:10px}.mec-event-grid-colorful .mec-localtime-details{color:#fff}.mec-event-grid-classic .mec-localtime-details{text-align:center}.mec-event-grid-minimal .mec-localtime-details{line-height:22px}.mec-wrap .mec-yearly-view-wrap .mec-localtime-wrap i{display:inline-block;margin-left:-1px}.mec-timetable-t2-content .mec-local-time-details{padding-left:19px}.mec-timetable-t2-content .mec-local-time-details{position:relative}.mec-timetable-t2-content .mec-local-time-details:before{content:"\e007";font-family:simple-line-icons;position:absolute;font-size:12px;margin-right:4px;left:0}.mec-masonry .mec-masonry-col6 .mec-localtime-details{margin-top:10px;line-height:21px}.mec-masonry .mec-masonry-col6 .mec-localtime-details i{height:auto}.mec-event-cover-classic .mec-localtime-details{color:#fff;margin-top:12px}.mec-event-cover-classic .mec-localtime-details i{padding-right:8px}.mec-event-cover-clean .mec-localtime-details{color:#fff;margin-bottom:20px}.mec-event-cover-modern .mec-localtime-details{color:#fff;margin:10px 0;font-weight:400;font-size:18px}.mec-event-countdown-style1 .mec-localtime-details,.mec-event-countdown-style2 .mec-localtime-details,.mec-event-countdown-style3 .mec-localtime-details{color:#fff;padding:8px 5px 0;font-size:14px;line-height:25px}.mec-event-countdown-style1 .mec-localtime-details{text-align:center}.mec-event-hover-carousel-type4 .mec-localtime-details{display:block;color:#fff;font-size:11px}.mec-event-footer-carousel-type3 .mec-localtime-details .mec-localdate,.mec-event-footer-carousel-type3 .mec-localtime-details .mec-localtime,.mec-event-footer-carousel-type3 .mec-localtime-details .mec-localtitle,.mec-event-footer-carousel-type3 .mec-localtime-details span{display:inline-flex;line-height:20px;text-align:left;margin:0!important;font-size:12px;color:#777;line-height:28px}.mec-owl-crousel-skin-type1 .mec-localtime-details{margin-top:-7px;margin-bottom:12px}.mec-wrap .mec-slider-t5 .mec-localtime-details{margin-top:14px;line-height:20px}.mec-wrap .mec-slider-t5 .mec-localtime-details i{font-size:18px;height:20px}.mec-timeline-event-local-time{background:rgba(64,217,241,.11);display:inline-block;padding:7px 20px 11px;border-radius:20px;line-height:1.24}.mec-timeline-event-local-time .mec-localtime-details{font-size:13px;font-weight:500;vertical-align:middle;margin-left:6px;color:inherit;line-height:24px}.mec-timeline-event-local-time .mec-localtime-details i{font-size:17px;vertical-align:middle;margin-left:-7px;padding-right:3px}.mec-booking-modal{background-color:#e6f7ff}.mec-booking-modal .mec-booking-shortcode .mec-book-form-gateway-label input[type=radio]:before{top:-1px}.mec-modal-booking-button{box-shadow:none;transition:all .21s ease;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;background:#fff;color:#767676;border:1px solid #e8e8e8;padding:12px 16px;line-height:37px;height:38px;margin:12px 0}.mec-modal-booking-button:hover{background:#191919;color:#fff;border-color:#191919}.mec-modal-booking-button.mec-mb-icon i{font-size:14px}.mec-event-list-classic .mec-modal-booking-button{height:0;line-height:1;margin:7px 0 0;display:inline-table;letter-spacing:0;padding:12px 14px}.mec-event-grid-novel ul.mec-categories{position:relative;line-height:30px;font-size:15px}.mec-event-grid-novel ul.mec-categories li.mec-category a{padding-left:35px;color:rgba(255,255,255,.4);line-height:30px;font-size:15px}.mec-event-grid-novel ul.mec-categories li.mec-category a:before{font-size:16px!important;content:"\f105";position:absolute;font-family:fontawesome;left:8px;font-size:15px;color:rgba(255,255,255,.4)}.mec-calendar-events-side .mec-modal-booking-button,.mec-event-container-classic .mec-modal-booking-button,.mec-event-grid-minimal .mec-modal-booking-button,.mec-event-list-minimal .mec-modal-booking-button,.mec-timetable-t2-col .mec-modal-booking-button{margin:0;color:#282828;font-size:12px;transition:all .5s ease;-webkit-transition:all .5s ease;position:relative;padding:0 0 0 24px;background:0 0;text-align:left;display:inline;border:0;font-weight:700}.mec-timetable-t2-col .mec-modal-booking-button{color:#fff;padding-left:19px}.mec-timetable-t2-col .mec-modal-booking-button:hover{color:#282828}.mec-event-list-minimal .mec-modal-booking-button{margin:0 4px 0 84px}.mec-calendar-events-side .mec-modal-booking-button:before,.mec-event-container-classic .mec-modal-booking-button:before,.mec-event-grid-minimal .mec-modal-booking-button:before,.mec-event-list-minimal .mec-modal-booking-button:before{content:"";position:absolute;background:#7a7272;width:18px;height:1px;left:0;top:45%;transition:all .1s ease;-webkit-transition:all .1s ease}.mec-skin-carousel-container .mec-modal-booking-button{line-height:70px}.mec-event-list-modern .mec-modal-booking-button.mec-mb-icon{border-radius:1px;letter-spacing:2px;border:1px solid #e6e6e6;color:#333;background-color:#fff;padding:13px 12px 13px 14px;font-weight:700;box-shadow:0 2px 0 0 rgba(0,0,0,.016);transition:all .28s ease;line-height:unset}.mec-event-list-modern .mec-modal-booking-button.mec-mb-icon:hover{border-color:#222;background:#222;color:#fff}.mec-event-footer .mec-modal-booking-button,.mec-skin-carousel-container .mec-event-footer-carousel-type2 .mec-modal-booking-button{position:absolute;top:20px;right:125px;margin:0;padding:0 16px;line-height:37px}.mec-skin-carousel-container .mec-event-footer-carousel-type2 .mec-modal-booking-button{top:0;line-height:41px;height:41px;right:121px}.mec-skin-carousel-container .mec-event-footer-carousel-type3 .mec-modal-booking-button{line-height:18px;font-size:12px;letter-spacing:0;float:right;height:41px;margin:0 12px 0 0}.mec-skin-carousel-container .mec-owl-crousel-skin-type4 .mec-modal-booking-button{color:#fff;background-color:#191919;border:2px #191919 solid;padding:10px 14px;letter-spacing:1.5px;font-size:11px;font-weight:700;font-style:normal;transition:all .22s ease;text-decoration:none;margin:0 0 0 12px}.mec-skin-carousel-container .mec-owl-crousel-skin-type4 .mec-modal-booking-button:hover{color:#191919;background-color:#fff;border:2px #fff solid}.mec-event-grid-modern .mec-event-footer .mec-modal-booking-button{right:auto;left:110px}.mec-event-grid-simple .mec-modal-booking-button,.mec-events-agenda .mec-modal-booking-button{margin:0;font-size:12px;transition:all .5s ease;-webkit-transition:all .5s ease;position:relative;padding:0;background:0 0;text-align:left;display:inline;border:0;font-weight:700}.mec-events-agenda .mec-modal-booking-button{display:block;height:unset;padding-left:173px;line-height:14px;margin-bottom:7px}.mec-yearly-view-wrap .mec-modal-booking-button{margin:0;padding-left:14px;text-transform:capitalize}.mec-event-grid-novel .mec-event-footer .mec-modal-booking-button.mec-mb-icon{right:auto;left:238px;width:36px;height:36px;display:table-cell;vertical-align:middle;padding:0 10px;border-color:rgba(255,255,255,.1);background-color:rgba(0,0,0,0);color:#fff;border-radius:36px}.mec-event-grid-novel .mec-event-footer .mec-modal-booking-button.mec-mb-icon:hover{background-color:rgba(255,255,255,.1)}.mec-event-grid-simple .mec-modal-booking-button:hover,.mec-events-agenda .mec-modal-booking-button:hover,.mec-events-yearlu .mec-modal-booking-button:hover{color:#191919}.mec-event-masonry .mec-event-footer .mec-modal-booking-button{font-size:12px;padding:0 31px;line-height:49px;height:50px;top:0;box-shadow:0 5px 11px -3px rgba(0,0,0,.05);right:auto;left:155px}.mec-timeline-event .mec-modal-booking-button{position:absolute;top:0;right:0;display:inline-block;padding:7px 20px 7px;line-height:22px;height:unset;border:unset;text-transform:capitalize;font-weight:500;font-size:13px;letter-spacing:0;margin:0;border-radius:0 0 0 10px}.mec-timeline-event .mec-modal-booking-button:hover{background:#191919;color:#fff}.mec-skin-daily-view-events-container .mec-modal-booking-button,.mec-weekly-view-dates-events .mec-event-article .mec-modal-booking-button{position:absolute;top:50%;transform:translateY(-50%);right:15px;line-height:26px;height:49px;border:unset;text-align:center;display:inline-block;background:#ededed;color:#191919;padding:12px;border-radius:2px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;transition:all .24s ease;margin:0}.mec-skin-daily-view-events-container .mec-modal-booking-button:hover,.mec-weekly-view-dates-events .mec-event-article .mec-modal-booking-button:hover{background:#292929;color:#fff}@media (max-width:1023px){.mec-skin-daily-view-events-container .mec-modal-booking-button,.mec-weekly-view-dates-events .mec-event-article .mec-modal-booking-button{position:relative;top:unset;transform:unset;margin:14px 16px 0;padding:8px;line-height:20px;height:35px}}@media (max-width:768px){.featherlight .featherlight-inner{width:100%}.mec-events-agenda .mec-modal-booking-button{padding:0}}@media (max-width:480px){.mec-booking-modal .mec-events-meta-group-booking-shortcode{padding:20px}.mec-booking-modal .mec-booking-shortcode .mec-book-reg-field-mec_email,.mec-booking-modal .mec-booking-shortcode .mec-book-reg-field-name{width:100%}.mec-booking-modal .mec-booking-shortcode button#mec-book-form-btn-step-2{margin-left:20px}.mec-booking-modal .mec-booking-shortcode .mec-click-pay button[type=submit]{bottom:22px}.mec-calendar-events-side .mec-modal-booking-button:before,.mec-event-container-classic .mec-modal-booking-button:before,.mec-event-grid-minimal .mec-modal-booking-button:before,.mec-event-list-minimal .mec-modal-booking-button:before{display:none}.mec-calendar-events-side .mec-modal-booking-button,.mec-event-container-classic .mec-modal-booking-button,.mec-event-grid-minimal .mec-modal-booking-button,.mec-event-list-minimal .mec-modal-booking-button,.mec-timetable-t2-col .mec-modal-booking-button{margin:0;padding:0}.mec-event-grid-modern .mec-event-footer .mec-booking-button{top:20px}}.mec-wrap .mec-events-cal-links{margin-bottom:0}.mec-single-event #mec-wrap{padding:0;margin-top:35px}.mec-wrap .mec-single-title,.single-mec-events .mec-wrap.mec-no-access-error h1{margin-top:0;margin-bottom:30px;font-weight:700;font-size:33px}.mec-single-event .mec-event-content{padding:40px 0 30px;margin-bottom:10px}.mec-single-event .mec-events-meta-group-booking,.mec-single-event .mec-frontbox{margin-bottom:30px;padding:20px 30px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-wrap #main-content{overflow:hidden;padding-top:35px}.mec-single-event .mec-map-get-direction-address-cnt{position:relative}.mec-single-event .mec-map-get-direction-address-cnt input.mec-map-get-direction-address{width:100%;height:46px;padding:13px 10px;margin-bottom:0;background:#fcfcfc;border:1px solid #e0e0e0;border-radius:0;box-shadow:inset 0 2px 5px rgba(0,0,0,.081)}.mec-single-event .mec-map-get-direction-address-cnt input.mec-map-get-direction-address:focus{color:#444;background:#fff;border-color:#b0b0b0;box-shadow:0 0 3px rgba(0,0,0,.2)}.mec-single-event .mec-map-get-direction-btn-cnt input{width:100%}.mec-single-event .mec-map-get-direction-reset{position:absolute;z-index:2;top:5px;right:10px;font-size:11px;cursor:pointer}.mec-events-meta-group-tags{margin-top:20px}.mec-events-meta-group-tags a{display:inline-block;color:#444;font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:500;padding:3px 7px;border:1px solid #ddd;border-radius:2px;background:#fff;margin:1px 3px}.mec-events-meta-group-tags a:hover{text-decoration:underline;background:#f9f9f9}.mec-local-time-details li{list-style:none}.mec-single-event:not(.mec-single-modern) .mec-local-time-details{background:#f7f7f7;padding:12px 14px 8px;margin-bottom:12px;vertical-align:baseline;position:relative;border:none}.mec-single-event:not(.mec-single-modern) .mec-local-time-details ul{margin:0;padding-left:35px}.mec-single-event:not(.mec-single-modern) .mec-local-time-details h3{border:none;padding-left:15px}.mec-single-event:not(.mec-single-modern) .mec-local-time-details h3:before{display:none}.mec-single-event.mec-single-modern i.mec-sl-speedometer{display:none}.mec-single-modern .mec-local-time-details.mec-frontbox i{display:none}.mec-single-event .mec-events-meta-group-booking{padding-bottom:30px}.mec-single-event .mec-events-meta-group-booking ul{list-style:none;margin-left:0;padding-left:0}.mec-single-event .mec-booking .mec-book-bfixed-fields-container{padding-left:15px}.mec-single-event .mec-events-meta-group-booking ul li{padding:0;list-style:none;margin-top:40px}.mec-single-event .mec-events-meta-group-booking h4{margin-bottom:20px;font-size:23px;font-weight:700}.mec-single-event .mec-events-meta-group-booking li h4{font-size:19px}.mec-single-event .mec-events-meta-group-booking button,.mec-single-event .mec-events-meta-group-booking input{border-radius:0;margin-bottom:6px}.mec-single-event .mec-events-meta-group-booking button{min-width:155px;margin-top:5px;margin-left:10px;border-radius:2px;box-shadow:0 2px 1px rgba(0,0,0,.08)}.mec-single-event .mec-events-meta-group-booking button.mec-book-form-back-button{background:#c4cace;float:left}.mec-single-event .mec-events-meta-group-booking button.mec-book-form-back-button:hover{background:#000}.mec-single-event .mec-events-meta-group-booking button.mec-book-form-next-button{float:left;margin-left:0}button#mec-book-form-back-btn-step-3{float:none}.mec-next-occ-booking,.mec-next-occ-booking-p{padding-left:15px}.mec-events-meta-group-booking .mec-next-occ-booking,.mec-events-meta-group-booking .mec-next-occ-booking-p{padding:0;font-size:12px;letter-spacing:0;margin:3px 0;padding:5px 1em 3px 0}.mec-book-username-password-wrapper{padding:0 15px}.lity-container .mec-next-occ-booking,.lity-container .mec-next-occ-booking-p{padding-left:0}.mec-single-event .mec-events-meta-group-booking .mec-click-pay{max-width:350px}.mec-single-event .mec-events-meta-group-booking .mec-click-pay #mec_woo_add_to_cart_btn_r,.mec-single-event .mec-events-meta-group-booking .mec-click-pay button.mec-book-form-next-button{float:right}.mec-single-event .mec-events-meta-group-booking .mec-click-pay #mec_woo_add_to_cart_btn_r:hover,.mec-single-event .mec-events-meta-group-booking .mec-click-pay button.mec-book-form-next-button:hover{background:#000}.lity-container .mec-click-pay{max-width:400px}.lity-container .mec-book-form-btn-wrap button.mec-book-form-next-button,.lity-container .mec-click-pay #mec_woo_add_to_cart_btn_r{float:right}.lity-container button.mec-book-form-next-button{float:right}.lity-container .mec-click-pay #mec_woo_add_to_cart_btn_r:hover,.lity-container .mec-click-pay button.mec-book-form-next-button:hover{background:#000}.mec-single-event .mec-events-meta-group-booking .mec-click-next{float:right;position:relative;width:calc(100% - 186px)}.lity-container .mec-click-next{float:right;position:relative;width:calc(100% - 186px)}.mec-single-event .mec-book-form-coupon button{margin-left:0}.mec-single-event .mec-book-form-gateway-checkout button{margin-left:0}.mec-single-event .mec-single-event .mec-book-form-gateway-checkout button{margin-right:20px}.lity-content .mec-book-form-back-button{position:relative;border:none;border-radius:0;color:#fff;display:inline-block;font-size:12px;letter-spacing:1px;line-height:1.5;text-transform:uppercase;font-weight:600;text-decoration:none;cursor:pointer;margin-right:10px;line-height:1;padding:18px 20px 16px;-webkit-transition:all .21s ease;-moz-transition:all .21s ease;transition:all .21s ease;min-width:170px;margin-top:5px;border-radius:0;margin-bottom:6px;background:#c4cace}.lity-content .mec-book-form-back-button:hover{background:#000}.lity-content button#mec-book-form-back-btn-step-3{float:none}.lity-content .mec-book-form-next-button{float:left}.lity-content .mec-book-bfixed-fields-container{list-style:none;padding-left:0}.mec-single-event .mec-book-first,.mec-single-event .mec-book-form-gateways,.mec-single-event .mec-book-form-price,.mec-single-event .mec-event-tickets-list,.mec-single-event form.mec-click-next{padding-left:0;padding-right:0}.mec-single-event label.mec-fill-attendees{margin-left:0}.mec-wrap .mec-events-meta-group-booking #mec-book-form-back-btn-step-2,.mec-wrap .mec-events-meta-group-booking #mec-book-form-back-btn-step-3,.mec-wrap .mec-events-meta-group-booking #mec-book-form-btn-step-1{margin-left:0}.mec-wrap .mec-booking-form-container .col-md-12{padding-left:0}.mec-wrap .mec-events-meta-group-booking .mec-wrap-checkout.row{margin:0}.mec-wrap .mec-wrap-checkout .mec-book-form-gateways .mec-book-form-gateway-label{padding-left:3px}.mec-wrap p.mec-gateway-comment{margin-top:20px}.mec-single-event .mec-events-meta-group-booking .mec-event-ticket-available{display:block;margin-bottom:20px;margin-top:-17px;font-size:11px;color:#8a8a8a}.mec-single-event .mec-events-meta-group-booking .mec-book-price-total{display:inline-block;margin-bottom:10px;font-size:26px;color:#39c36e;font-weight:700;padding:10px 0}.mec-single-event .mec-events-meta-group-booking form{margin:0}.mec-single-event .mec-events-meta-group-booking h5 span,.mec-single-event .mec-events-meta-group-booking label{color:#424242;font-size:12px;font-weight:300;letter-spacing:0;margin:3px 0;display:block;clear:none;padding:5px 1em 3px 0}.mec-single-event .mec-events-meta-group-booking h5 span{display:inline-block}.mec-single-event .mec-events-meta-group-booking h5 span.mec-ticket-variation-name{padding-right:5px;text-transform:capitalize}.mec-single-event .mec-events-meta-group-booking input::-webkit-input-placeholder{color:#aaa}.mec-single-event .mec-events-meta-group-booking input:-moz-placeholder{color:#aaa}.mec-single-event .mec-events-meta-group-booking input[type=date],.mec-single-event .mec-events-meta-group-booking input[type=email],.mec-single-event .mec-events-meta-group-booking input[type=number],.mec-single-event .mec-events-meta-group-booking input[type=password],.mec-single-event .mec-events-meta-group-booking input[type=tel],.mec-single-event .mec-events-meta-group-booking input[type=text],.mec-single-event .mec-events-meta-group-booking select,.mec-single-event .mec-events-meta-group-booking textarea{display:block;background:#fcfcfc;min-height:42px;min-width:180px;font-size:13px;border:1px solid #e0e0e0;padding:13px 10px;width:330px;margin-bottom:20px;box-shadow:inset 0 2px 4px rgba(0,0,0,.051);clear:both}.wbmec-mandatory{padding-left:5px;font-size:14px}.mec-single-event .mec-events-meta-group-booking .mec-red-notification input,.mec-single-event .mec-events-meta-group-booking .mec-red-notification select,.mec-single-event .mec-events-meta-group-booking .mec-red-notification textarea{border:1px solid #ff3c3c!important}.lity .mec-events-meta-group-booking .mec-red-notification input[type=checkbox],.lity .mec-events-meta-group-booking .mec-red-notification input[type=radio],.mec-single-event .mec-events-meta-group-booking .mec-red-notification input[type=checkbox],.mec-single-event .mec-events-meta-group-booking .mec-red-notification input[type=radio]{outline:1px solid #ff3c3c!important}.lity .mec-book-ticket-container .mec-red-notification input,.lity .mec-book-ticket-container .mec-red-notification select,.lity .mec-book-ticket-container .mec-red-notification textarea{border:1px solid #ff3c3c!important}.mec-booking .woocommerce-notices-wrapper .woocommerce-message{color:#0dbf52;background-color:#cef7ce;margin:0;padding-top:1rem;line-height:2.9rem;border:0}.mec-booking .woocommerce-notices-wrapper .woocommerce-message a{margin:0}@media only screen and (max-width:479px){.mec-single-event .mec-events-meta-group-booking input[type=date],.mec-single-event .mec-events-meta-group-booking input[type=email],.mec-single-event .mec-events-meta-group-booking input[type=number],.mec-single-event .mec-events-meta-group-booking input[type=password],.mec-single-event .mec-events-meta-group-booking input[type=tel],.mec-single-event .mec-events-meta-group-booking input[type=text],.mec-single-event .mec-events-meta-group-booking select,.mec-single-event .mec-events-meta-group-booking textarea{width:100%}}.mec-single-event .mec-events-meta-group-booking input[type=email]:focus,.mec-single-event .mec-events-meta-group-booking input[type=number]:focus,.mec-single-event .mec-events-meta-group-booking input[type=password]:focus,.mec-single-event .mec-events-meta-group-booking input[type=tel]:focus,.mec-single-event .mec-events-meta-group-booking input[type=text]:.mec-single-event .mec-events-meta-group-booking input[type=date],.mec-single-event .mec-events-meta-group-booking select:focus,.mec-single-event .mec-events-meta-group-booking textarea:focus,focus{border:1px solid #aaa;color:#444;background:#fff;-moz-box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);box-shadow:0 0 3px rgba(0,0,0,.2);outline:0}.mec-single-event .mec-events-meta-group-booking input[type=checkbox],.mec-single-event .mec-events-meta-group-booking input[type=radio]{margin-right:6px;margin-top:5px;min-height:20px;clear:none;margin:0 0 0 2px}.lity-container .mec-events-meta-group-booking input[type=radio]:before,.mec-single-event .mec-events-meta-group-booking input[type=radio]:before{content:"";display:inline-block;background:#fff;border-radius:18px;width:18px;height:18px;margin:-1px 0 0 -3px;cursor:pointer;border:2px solid #e1e7ed;box-shadow:0 2px 15px -3px rgba(69,77,89,.32)}.lity-container .mec-events-meta-group-booking input[type=radio]:checked:before,.mec-single-event .mec-events-meta-group-booking input[type=radio]:checked:before{border:7px solid #008aff;background:#fff;box-shadow:0 3px 16px -3px #008aff}.lity-container .mec-events-meta-group-booking input[type=radio],.mec-single-event .mec-events-meta-group-booking input[type=radio]{min-height:0;margin:0;margin-right:6px}.mec-single-event .mec-events-meta-group-booking input[type=checkbox]{float:left}.lity-container .mec-events-meta-group-booking .mec_book_first_for_all,.mec-single-event .mec-events-meta-group-booking .mec_book_first_for_all{display:none}.mec-events-meta-group-booking ul.mec-book-price-details{list-style:none;border:1px solid #eee;padding:0;overflow:hidden}.mec-events-meta-group-booking ul.mec-book-price-details li{font-size:15px;color:#a9a9a9;list-style:none;padding:13px 18px;margin:0;float:left;border-right:1px solid #eee}.mec-events-meta-group-booking ul.mec-book-price-details li:last-child{border-right:none}.mec-events-meta-group-booking ul.mec-book-price-details li span.mec-book-price-detail-amount{font-weight:700;font-size:21px;color:#222;display:contents}.lity-container .mec-events-meta-group-booking label.wn-checkbox-label,.mec-single-event .mec-events-meta-group-booking label.wn-checkbox-label{height:14px;width:14px;background-color:transparent;border:1px solid #d4d4d4;position:relative;display:inline-block;-moz-transition:border-color ease .2s;-o-transition:border-color ease .2s;-webkit-transition:border-color ease .2s;transition:border-color ease .2s;cursor:pointer;box-shadow:0 2px 16px -2px rgba(0,0,0,.2);vertical-align:middle;margin-right:3px;margin-top:-2px}.lity-container .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label,.mec-single-event .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label{border-color:#008aff;box-shadow:0 2px 14px -3px #008aff}.lity-container .mec-events-meta-group-booking label.wn-checkbox-label:after,.lity-container .mec-events-meta-group-booking label.wn-checkbox-label:before,.mec-single-event .mec-events-meta-group-booking label.wn-checkbox-label:after,.mec-single-event .mec-events-meta-group-booking label.wn-checkbox-label:before{position:absolute;height:0;width:1px;background-color:#008aff;display:inline-block;-moz-transform-origin:left top;-ms-transform-origin:left top;-o-transform-origin:left top;-webkit-transform-origin:left top;transform-origin:left top;content:"";-webkit-transition:opacity ease .5;-moz-transition:opacity ease .5;transition:opacity ease .5}.lity-container .mec-events-meta-group-booking label.wn-checkbox-label:before,.mec-single-event .mec-events-meta-group-booking label.wn-checkbox-label:before{top:8px;left:7px;box-shadow:0 0 0 2px #fff;-moz-transform:rotate(-145deg);-ms-transform:rotate(-145deg);-o-transform:rotate(-145deg);-webkit-transform:rotate(-145deg);transform:rotate(-145deg)}.lity-container .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label::before,.mec-single-event .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label::before{height:12px;-moz-animation:dothatopcheck .16s ease 0s forwards;-o-animation:dothatopcheck .16s ease 0s forwards;-webkit-animation:dothatopcheck .16s ease 0s forwards;animation:dothatopcheck .16s ease 0s forwards}.lity-container .mec-events-meta-group-booking label.wn-checkbox-label:after,.mec-single-event .mec-events-meta-group-booking label.wn-checkbox-label:after{top:6px;left:3px;-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.lity-container .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label::after,.mec-single-event .mec-events-meta-group-booking input[type=checkbox]:checked+.wn-checkbox-label::after{-moz-animation:dothabottomcheck 80ms ease 0s forwards;-o-animation:dothabottomcheck 80ms ease 0s forwards;-webkit-animation:dothabottomcheck 80ms ease 0s forwards;animation:dothabottomcheck 80ms ease 0s forwards;height:4px}.mec-single-event .mec-events-meta-group-booking button[type=submit]:after,.mec-single-event a.button:after{display:none;font-family:simple-line-icons;content:"\e098";margin-left:4px;-webkit-animation:rotating 1.2s linear infinite;-moz-animation:rotating 1.2s linear infinite;-ms-animation:rotating 1.2s linear infinite;-o-animation:rotating 1.2s linear infinite;animation:rotating 1.2s linear infinite}.mec-single-event .mec-events-meta-group-booking button[type=submit].loading:after,.mec-single-event a.button.loading:after{display:inline-block}.mec-single-event .mec-event-export-module{display:block}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul{display:table;width:100%}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li{display:table-cell}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li:last-child{text-align:right}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li a:hover{color:#fff}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul{padding-left:0;margin:15px 5px}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting{padding-left:0;margin:0}.mec-ticket-price{margin-left:10px;font-size:13px;font-weight:300}.mec-book-reg-field-checkbox label,.mec-book-reg-field-radio label{line-height:1.36}.mec-book-reg-field-checkbox input[type=checkbox],.mec-book-reg-field-radio input[type=radio]{float:left;margin-right:5px!important}.mec-ticket-available-spots .mec-event-ticket-description,.mec-ticket-available-spots .mec-event-ticket-price{font-size:11px}.mec-book-ticket-container .mec-reg-mandatory:nth-child(2) label:after,.mec-book-ticket-container .mec-reg-mandatory:nth-child(3) label:after,.mec-book-ticket-container .wbmec-mandatory{content:"";color:red;width:50px;height:50px;font-size:14px;padding-left:5px}@media only screen and (max-width:767px){.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li{width:100%;min-height:40px;margin-bottom:15px;text-align:center;float:none;display:block}.mec-single-event .mec-event-export-module.mec-frontbox .mec-event-exporting .mec-export-details ul li a{width:100%;padding-left:0;padding-right:0;text-align:center;display:block;font-size:12px}}.mec-single-event .mec-events-meta-group{margin-bottom:0}@media only screen and (max-width:767px){.mec-single-event .mec-events-meta-group-booking{margin-bottom:30px}}.mec-single-event .mec-event-meta dt,.mec-single-event .mec-event-meta h3{text-transform:uppercase;font-size:16px;font-weight:700;padding-bottom:5px;display:inline;color:#000;padding-left:10px}.mec-single-event .mec-event-meta h6{text-transform:uppercase;font-size:13px;padding-bottom:5px;display:inline;color:#222;padding-left:0}.mec-single-event .mec-event-meta .mec-events-event-categories a,.mec-single-event .mec-event-meta dd{font-size:14px;color:#8d8d8d}.mec-single-event .mec-event-meta .mec-location dd.author{color:#3c3b3b}.mec-single-event .mec-event-meta dd{margin:0;padding-left:35px}.mec-single-event .mec-event-meta dd.mec-events-event-categories{min-height:35px;line-height:35px}@media only screen and (max-width:480px){.single-mec-events .lity-container{width:100%}.single-mec-events .lity-content .mec-events-meta-group-booking{padding:20px;width:85%;margin:0 auto}}.mec-single-event .mec-event-meta dd.mec-events-event-categories:first-of-type{padding-top:5px}.mec-single-event .mec-event-meta dd.mec-events-event-categories:last-of-type{border-bottom:0}.mec-single-event .mec-event-meta dd a{color:#8d8d8d;transition:all .2s ease;-ms-word-wrap:break-word;word-wrap:break-word}.mec-single-event .mec-event-meta dd a i:before{font-size:16px!important}.mec-single-event .mec-event-meta dd a i{margin-right:8px}.mec-single-event .mec-event-meta dl{margin-bottom:0}.mec-single-event .mec-event-meta .mec-events-event-cost{font-size:18px}.mec-single-event .mec-event-meta .mec-events-address{color:#a9a9a9;margin-bottom:3px}.mec-single-event .mec-event-meta .mec-events-meta-group-venue .author{margin-bottom:0;color:#8d8d8d;font-size:13px}.mec-single-event .mec-events-event-image{margin-bottom:0}.mec-single-event h2.mec-single-event-title{margin-bottom:30px;font-weight:700;font-size:33px}.mec-single-event .mec-booking-button{border-bottom:none;letter-spacing:.5px;line-height:48px;height:76px;transition:all .5s ease;color:#fff;padding:16px;display:block;text-align:center;font-size:16px;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.15)}.mec-single-event .mec-booking-button:hover{background-color:#101010!important}.mec-single-event .mec-event-tags a{display:inline-block;color:#444;font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:500;padding:3px 7px;border:1px solid #ddd;border-radius:2px;background:#fff;margin:1px 3px}.mec-single-event .mec-event-tags:before{font-size:24px;color:#303030;margin-right:5px;content:"\f02c";font-family:fontawesome}.mec-single-event .mec-event-tags{padding-top:13px}.mec-single-event .mec-event-sharing{margin:30px 0 10px}.mec-region.mec-events-abbr,.mec-single-event .mec-street-address{font-style:normal;font-size:13px}.mec-events-meta-group.mec-events-meta-group-venue:before,.mec-single-event-date:before,.mec-single-event-time:before{color:#40d9f1}.mec-single-event .mec-event-social{text-align:center}.mec-single-event .mec-event-social h3{text-transform:uppercase;font-size:15px;font-weight:700;padding-bottom:5px;color:#313131;border-bottom:4px solid #ebebeb;width:100%;display:block;padding-bottom:10px;position:relative}.mec-single-event .mec-social-single:before{padding:13px 35px;border-bottom:4px solid #40d9f1;font-size:6px;content:"";text-align:center;position:absolute;bottom:-4px;margin-left:39px}.mec-single-event .mec-event-social .event-sharing{margin-top:30px}.mec-single-event .mec-event-social ul{list-style:none;margin-left:0;padding:0}.mec-single-event .mec-event-social li.mec-event-social-icon{display:inline-block}.mec-single-event .mec-event-social li.mec-event-social-icon a{display:inline-block;color:#fff;width:40px;height:40px;padding:9px;font-size:16px;margin-right:5px;margin-bottom:5px}.mec-single-event .mec-event-social a.facebook{background:#3b5996}.mec-single-event .mec-event-social a.facebook:hover{background:#28385c}.mec-single-event .mec-event-social a.twitter{background:#00acee}.mec-single-event .mec-event-social a.twitter:hover{background:#0087bd}.mec-single-event .mec-event-social a.vimeo{background:#0dadd6}.mec-single-event .mec-event-social a.vimeo:hover{background:#0a85a3}.mec-single-event .mec-event-social a.dribble{background:#d53e68}.mec-single-event .mec-event-social a.dribble:hover{background:#bf4c78}.mec-single-event .mec-event-social a.youtube{background:#cb322c}.mec-single-event .mec-event-social a.youtube:hover{background:#992622}.mec-single-event .mec-event-social a.pinterest{background:#cb2027}.mec-single-event .mec-event-social a.pinterest:hover{background:#99181d}.mec-single-event .mec-event-social a.google{background:#c3391c}.mec-single-event .mec-event-social a.google:hover{background:#99181f}.mec-single-event .mec-event-social a.linkedin{background:#0073b2}.mec-single-event .mec-event-social a.linkedin:hover{background:#005380}.mec-single-event .mec-event-social a.email{background:#ff5d5e}.mec-single-event .mec-event-social a.email:hover{background:#cc4949}.mec-single-event .mec-event-social a.vk{background:#5b88bd}.mec-single-event .mec-event-social a.vk:hover{background:#3d608a}.mec-single-event .mec-event-social a.tumblr{background:#34465d}.mec-single-event .mec-event-social a.tumblr:hover{background:#273649}.mec-single-event .mec-event-social a.telegram{background:#08c}.mec-single-event .mec-event-social a.telegram:hover{background:#1076be}.mec-single-event .mec-event-social a.whatsapp{background:#25d366}.mec-single-event .mec-event-social a.whatsapp:hover{background:#23ac55}.mec-single-event .mec-event-social a.flipboard{background:#e12828}.mec-single-event .mec-event-social a.flipboard:hover{background:#af1e1e}.mec-single-event .mec-event-social a.pocket{background:#ef4056}.mec-single-event .mec-event-social a.pocket:hover{background:#8d1717}.mec-single-event .mec-event-social a.reddit{background:#ff5700}.mec-single-event .mec-event-social a.reddit:hover{background:#c94909}.mec-single-event .mec-event-social a.flipboard svg,.mec-single-event .mec-event-social a.telegram svg{height:16px}.mec-single-event .mec-event-social li.mec-event-social-icon a svg{display:unset}.mec-single-event .mec-event-social a.rss{background:#f29a1d}.mec-single-event .mec-event-social a.rss:hover{background:#cc7400}.mec-single-event .mec-event-social a.instagram{background:#457399}.mec-single-event .mec-event-social a.instagram:hover{background:#2e4d66}.mec-single-event .mec-event-social a.linkedin{background:#457399}.mec-single-event .mec-event-social a.linkedin:hover{background:#2e4d66}.mec-single-event .mec-event-social a.other-social{background:#ff5d5e}.mec-single-event .mec-event-social a.other-social:hover{background:#cc4949}.mec-single-event .mec-event-social{text-align:center}.mec-single-event .mec-events-meta-group-booking form>h4,.mec-single-event .mec-frontbox-title,.mec-single-event .mec-wrap-checkout h4{text-transform:uppercase;font-size:15px;font-weight:700;color:#313131;border-bottom:4px solid #ebebeb;width:100%;display:block;padding-bottom:10px;position:relative;text-align:center}.mec-single-event .mec-events-meta-group-booking form>h4:before,.mec-single-event .mec-frontbox-title:before,.mec-single-event .mec-wrap-checkout h4:before{padding:1px 35px;border-bottom:4px solid #40d9f1;font-size:6px;content:"";text-align:center;position:absolute;bottom:-4px;margin-left:-35px;left:50%}.mec-single-event .mec-events-meta-group-booking input[data-stripe=exp-month],.mec-single-event .mec-events-meta-group-booking input[data-stripe=exp-year]{width:47%!important;margin-right:12px;margin-top:5px;display:inline-block!important}@media (max-width:768px){.mec-single-event .mec-events-meta-group-booking input[data-stripe=exp-month],.mec-single-event .mec-events-meta-group-booking input[data-stripe=exp-year]{width:100%!important;margin-right:0;display:block!important}}.mec-event-meta i:before{font-size:20px;vertical-align:middle}.mec-event-meta .mec-single-event-additional-organizers i:before,.mec-event-meta .mec-single-event-organizer i:before{font-size:14px;vertical-align:baseline}#mec-wrap .mec-events-day-time-slot .mec-events-content{float:left;width:33%;padding:0 15px}#mec-wrap .mec-events-day-time-slot .mec-events-event-image{padding-left:0}#mec-events-content .mec-events-abbr{color:#8d8d8d;font-size:14px}.mec-single-event .mec-events-content{margin-bottom:30px}.mec-single-event .mec-organizer-url a{word-wrap:break-word}.mec-single-event #headline{margin:0 0 10px}.mec-single-event #headline h2{padding:0}.mec-single-event .mec-events-meta-group.mec-events-meta-group-gmap .mec-events-venue-map{margin-top:0;padding:8px;border:1px solid #e5e5e5;border-radius:7px}#mec-events-gmap-0{height:325px!important}.mec-events-list .mec-events-day-time-slot .mec-events-event-meta{width:33%;float:left;padding:40px;height:auto;margin:0}.mec-events-day-time-slot .mec-events-content.description.entry-summary{font-size:15px;font-weight:300;color:#8d8d8d}.mec-events-day-time-slot .type-mec_events h2{font-size:28px;padding-bottom:20px}.mec-events-day .mec-events-day-time-slot .type-mec_events{margin:0}.mec-events-day .mec-events-day-time-slot h5{background-color:#8d8d8d}.mec-single-event .mec-event-meta .mec-single-event-additional-organizers .mec-events-single-section-title,.mec-single-event .mec-event-meta .mec-single-event-organizer .mec-events-single-section-title,.mec-single-event .mec-events-meta-date h3{padding-left:0;margin:10px;display:inline-block}.mec-single-event .mec-events-meta-date h3{width:100%}.mec-single-event .mec-events-event-image{border:0}.mec-single-event .mec-events-venue-map{padding:0}.mec-event-cost,.mec-event-more-info,.mec-event-website,.mec-events-meta-date,.mec-single-event-additional-organizers,.mec-single-event-category,.mec-single-event-date,.mec-single-event-label,.mec-single-event-location,.mec-single-event-organizer,.mec-single-event-time{background:#f7f7f7;padding:12px 14px 8px;margin-bottom:12px;vertical-align:baseline;position:relative}.mec-single-event .mec-events-meta-date dd,.mec-single-event .mec-single-event-additional-organizers dd,.mec-single-event .mec-single-event-organizer dd{padding-left:0;margin-bottom:10px}.mec-single-event .mec-events-meta-date dd span,.mec-single-event .mec-single-event-additional-organizers dd span,.mec-single-event .mec-single-event-organizer dd span{display:block;padding-left:12px;color:#8d8d8d}.mec-single-event .mec-events-meta-date i,.mec-single-event .mec-single-event-additional-organizers i,.mec-single-event .mec-single-event-organizer i{margin-right:10px;margin-left:12px}.mec-events-meta-group.mec-events-meta-group-venue dl{margin-bottom:0}address.mec-events-address{line-height:19px;font-style:normal;font-size:12px}.mec-single-event .mec-event-content dt{margin-top:5px}.mec-single-event .mec-single-event-additional-organizers .mec-single-event-additional-organizer{margin-bottom:15px;padding-bottom:5px;border-bottom:1px solid #e4e4e4}.mec-single-event .mec-single-event-additional-organizers .mec-single-event-additional-organizer:last-child{margin-bottom:0;padding-bottom:0;border:none}.mec-event-schedule-content{border-left:4px solid #f0f0f0;padding-top:10px;margin-top:30px;margin-left:25px;margin-bottom:20px;color:#8a8a8a}.mec-event-schedule-content dl{padding-left:24px;font-size:12px;position:relative;margin-bottom:35px}.mec-event-schedule-content dl:before{content:"";display:block;position:absolute;left:0;top:4px;width:20px;height:0;border-top:4px solid #f0f0f0}.mec-event-schedule-content dl dt{margin:0 0 10px;line-height:1.16}.mec-event-schedule-content dl dt.mec-schedule-title{font-size:13px;color:#5a5a5a;font-weight:700}.mec-event-schedule-content dl dt.mec-schedule-description{font-weight:300}.mec-event-schedule-content .mec-schedule-speakers{background:#f7f7f7;padding:10px}.mec-wrap .mec-event-schedule-content h6{font-size:13px;color:#5a5a5a;font-weight:700;display:inline-block}.mec-wrap .mec-event-schedule-content a{font-weight:400;color:#5a5a5a;transition:all .1s ease}.single-mec-events .mec-speakers-details ul{padding:0;margin-left:0}.mec-single-event .mec-speakers-details ul li{list-style:none;background:#f7f7f7;padding:5px 5px 18px 5px;margin-top:14px}.mec-single-event .mec-speakers-details ul li a{-webkit-transition:.2s all ease;transition:.2s all ease}.mec-single-event .mec-speakers-details ul li .mec-speaker-avatar a img{float:left;border-radius:50%;transition:.2s all ease;border:2px solid transparent;width:68px;height:68px}.mec-single-event .mec-speakers-details ul li .mec-speaker-avatar a:hover img{border-color:#40d9f1}.mec-single-event .mec-speakers-details ul li .mec-speaker-name{display:inline-block;margin-top:10px;font-size:15px;line-height:1.8;text-transform:capitalize;font-weight:700;padding-left:8px}.mec-single-event .mec-speakers-details ul li .mec-speaker-job-title{display:block;font-size:12px;margin-top:-1px;padding-left:75px;color:#888}.mec-single-event-location img,.mec-single-event-organizer img{margin-bottom:10px;width:100%}.mec-qrcode-details{text-align:center}.mec-time-comment{font-size:11px}.mec-wrap .mec-attendees-list-details p{font-weight:300;margin:20px 0 0 0;color:#8d8d8d}.mec-wrap .mec-attendees-list-details li{list-style:none;display:block;margin-top:15px}.mec-wrap .mec-attendees-list-details li .mec-attendee-avatar{display:inline-block}.mec-wrap .mec-attendees-list-details li .mec-attendee-profile-link{display:inline-block;vertical-align:top;margin-left:10px}.mec-attendees-list-details ul{margin-bottom:0}.mec-attendees-list-details .mec-attendee-profile-link a{color:#8d8d8d;display:block}.mec-attendees-list-details .mec-attendee-profile-link span{display:inline-block;color:#000;vertical-align:middle;cursor:pointer}.mec-attendees-list-details span.mec-attendee-profile-ticket-number{border-radius:50px;width:20px;height:20px;font-size:12px;text-align:center;color:#fff;margin-right:4px;line-height:20px}#wrap .mec-attendees-list-details span.mec-attendee-profile-ticket-number{line-height:19px}.mec-attendees-list-details .mec-attendee-profile-link span i{vertical-align:middle;font-size:9px;font-weight:700;margin-left:5px}.mec-attendees-list-details .mec-attendees-toggle{border:1px solid #e6e6e6;background:#fafafa;padding:15px 15px 0;border-radius:3px;margin:12px 0 20px 52px;position:relative;font-size:13px;box-shadow:0 3px 1px 0 rgba(0,0,0,.02)}.mec-attendees-list-details .mec-attendees-toggle:after,.mec-attendees-list-details .mec-attendees-toggle:before{content:"";display:block;position:absolute;left:50px;width:0;height:0;border-style:solid;border-width:10px}.mec-attendees-list-details .mec-attendees-toggle:after{top:-20px;border-color:transparent transparent #fafafa transparent}.mec-attendees-list-details .mec-attendees-toggle:before{top:-21px;border-color:transparent transparent #e1e1e1 transparent}.mec-attendees-list-details .mec-attendees-toggle .mec-attendees-item{padding-bottom:15px}.mec-attendees-list-details .mec-attendee-avatar img{border-radius:3px}.mec-attendee-avatar-sec{float:left;width:50px;margin-right:12px}.mec-attendee-profile-name-sec,.mec-attendee-profile-ticket-sec{float:left;width:calc(100% - 62px);margin-top:3px}.mec-calendar{margin-bottom:20px;border:1px solid #e8e8e8;width:100%;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-calendar .mec-calendar-topsec{display:table;background:#fff}.mec-calendar .mec-calendar-topsec .mec-calendar-events-sec{display:none}.mec-calendar .mec-calendar-side{width:590px;display:table-cell;padding:40px;position:relative;text-align:center;box-shadow:0 1px 5px 6px rgba(0,0,0,.005) inset}.mec-calendar .mec-calendar-events-side{display:table-cell;height:100%;border-left:1px solid #efefef;padding:40px;width:100%}.mec-calendar .mec-calendar-events-side .mec-table-side-day{width:46px;height:46px;margin:0 auto 20px;position:relative;text-align:center;line-height:46px;border:1px solid #40d9f1;border-radius:50%;font-size:12px;font-weight:600;padding:0}.mec-calendar .mec-calendar-events-side .mec-table-side-title{text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:3px;margin-bottom:14px}.mec-calendar .mec-calendar-header{position:relative;width:560px;margin-top:8px;margin-bottom:16px}.mec-calendar .mec-calendar-header h2{text-transform:uppercase;font-size:22px;font-weight:700;color:#333}.mec-calendar .mec-event-footer{width:auto;min-height:60px}.mec-calendar dl{display:table;margin:0;border:none;padding:0;table-layout:fixed}.mec-calendar dt{display:table-cell;transition:all .66s ease;color:#4d4d4d;background:#fff;border-radius:44px;font-size:14px;width:80px;height:80px;line-height:80px;text-align:center}.excerpt-wrap .mec-wrap dt,.nv-content-wrap .mec-wrap dt{display:table-cell}.mec-calendar .mec-calendar-table .mec-no-event{display:none}.mec-calendar .mec-calendar-table-head dt{font-weight:700;text-transform:uppercase;font-size:15px}.mec-calendar .mec-calendar-row dt:hover{background:#f4f4f4}.mec-calendar .mec-table-nullday{color:#cacaca}.mec-calendar.mec-box-calendar .mec-table-nullday:last-child{border-right:1px solid #eaeaea}.mec-calendar .mec-next-month:hover,.mec-calendar .mec-prev-month:hover{background:#f4f4f4}.mec-calendar .mec-selected-day,.mec-calendar .mec-selected-day:hover{background:#40d9f1;color:#fff}.mec-calendar .mec-selected-day a{color:#fff}.mec-calendar .mec-has-event{position:relative}.mec-calendar .mec-calendar-row dt.mec-has-event:hover{background:#40d9f1}.mec-calendar .mec-has-event a{cursor:pointer;display:block;width:100%;height:100%;border-radius:50%;color:#4d4d4d;transition:all .25s ease;text-decoration:none;box-shadow:none}.mec-calendar .mec-calendar-row dt.mec-has-event.mec-selected-day a,.mec-calendar .mec-calendar-row dt.mec-has-event:hover a{color:#fff}.mec-calendar .mec-has-event:after{background-color:#40d9f1;border-radius:50%;display:block;content:"";width:8px;height:8px;bottom:14px;left:50%;margin:-4px 0 0 -4px;position:absolute;transition:all .25s ease}.mec-calendar .mec-calendar-row dt.mec-has-event:hover:after{background-color:#fff}.mec-calendar .mec-has-event.mec-selected-day:after{display:none}.mec-calendar .mec-event-article{text-align:left;margin-bottom:0;padding-bottom:25px;padding-top:26px;border-top:1px solid #efefef;transition:all .33s ease}.mec-calendar .mec-event-article:hover{background-color:#fafafa}.mec-calendar .mec-event-article .mec-event-time{font-size:11px;line-height:1.1;margin:0}.mec-calendar .mec-event-article .mec-event-title{font-size:13px;padding:0;margin:10px 0 8px;font-weight:700;text-transform:uppercase}.mec-calendar .mec-event-article .mec-event-title a{text-decoration:none;color:#494949;transition:color .3s ease}.mec-calendar .mec-event-article .mec-event-title a:hover{color:#40d9f1}.mec-calendar .mec-event-article .mec-event-image,.mec-calendar .mec-event-list-classic .mec-event-image img{width:65px;height:auto}.mec-calendar .mec-event-article .mec-event-image{float:left;margin-right:20px;width:65px;height:auto}.mec-calendar .mec-event-article .mec-event-detail,.mec-calendar .mec-event-article .mec-localtime-details div{font-size:13px;line-height:1.3;font-family:Roboto,sans-serif;color:#9a9a9a;margin-bottom:0}.mec-calendar .mec-calendar-side .mec-next-month,.mec-calendar .mec-calendar-side .mec-previous-month{cursor:pointer;position:absolute;top:0;min-width:50px;height:50px;line-height:50px;text-align:center;background:#fff;color:#a9a9a9;font-size:12px;letter-spacing:1px;text-transform:uppercase;padding-left:10px;padding-right:10px;border:1px solid #efefef;border-top:none;box-shadow:0 2px 0 0 rgba(0,0,0,.015);transition:all .33s ease}.mec-calendar .mec-calendar-side .mec-next-month i,.mec-calendar .mec-calendar-side .mec-previous-month i{font-size:12px;color:#40d9f1;cursor:pointer}.mec-calendar .mec-calendar-side .mec-next-month:hover,.mec-calendar .mec-calendar-side .mec-previous-month:hover{background-color:#f9f9f9;color:#40d9f1}.mec-calendar .mec-calendar-side .mec-previous-month{left:0;border-bottom-right-radius:6px;border-left:none}.mec-calendar .mec-calendar-side .mec-next-month{right:0;border-bottom-left-radius:6px;border-right:none}@media only screen and (min-width:961px){.mec-wrap.mec-sm959 .mec-calendar:not(.mec-event-calendar-classic):not(.mec-calendar-weekly) .mec-has-event:after{width:6px;height:6px;bottom:6px}.mec-wrap.mec-sm959 .mec-calendar:not(.mec-event-calendar-classic):not(.mec-calendar-weekly) .mec-calendar-side{width:370px}.mec-wrap.mec-sm959 .mec-calendar:not(.mec-event-calendar-classic):not(.mec-calendar-weekly) .mec-calendar-header{position:relative;width:350px;margin-top:30px;margin-bottom:20px;padding-top:20px}.mec-wrap.mec-sm959 .mec-calendar:not(.mec-event-calendar-classic):not(.mec-calendar-weekly) dt{width:50px;height:50px;line-height:50px}.mec-wrap.mec-sm959 .mec-calendar.mec-event-calendar-classic dl dt{height:110px}}@media only screen and (max-width:1200px){.mec-calendar .mec-has-event:after{width:6px;height:6px;bottom:6px}.mec-calendar .mec-calendar-side{width:370px}.mec-calendar .mec-calendar-header{position:relative;width:350px;margin-top:30px}.mec-calendar dt{width:50px;height:50px;line-height:50px}}@media only screen and (max-width:767px){.mec-calendar .mec-calendar-header h2{font-size:18px}.mec-calendar .mec-calendar-topsec{width:100%}.mec-calendar .mec-calendar-side{width:100%;display:block;padding:30px}.mec-calendar .mec-calendar-header{width:auto}.mec-calendar .mec-calendar-events-side{width:100%;display:block;height:100%;border-left:none;border-top:1px solid #efefef;padding:20px}.mec-calendar dl{width:100%}.mec-calendar dt{width:14%;height:60px;line-height:60px;border-radius:50px}}@media only screen and (max-width:479px){.mec-calendar .mec-has-event:after{width:4px;height:4px}.mec-calendar .mec-calendar-header h2{font-size:16px;margin-top:33px}.mec-calendar dt{height:38px;line-height:38px}.mec-calendar .mec-event-list-classic .mec-event-detail,.mec-calendar .mec-event-list-classic .mec-event-title{font-size:12px}.mec-calendar .mec-event-list-classic .mec-event-time{font-size:10px}}.mec-box-calendar.mec-calendar .mec-has-event a,.mec-box-calendar.mec-calendar dt{border-radius:0}.mec-box-calendar.mec-calendar .mec-calendar-header{margin-top:2px;margin-bottom:30px}.mec-box-calendar.mec-calendar dt{border-bottom:1px solid #eaeaea;border-left:1px solid #eaeaea}.mec-box-calendar.mec-calendar dl dt:last-child{border-right:1px solid #eaeaea}.mec-box-calendar.mec-calendar .mec-calendar-table-head dt{border-top:1px solid #eaeaea;background-color:#f8f8f8}.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-table-head dt{background-color:#f4f4f4}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month,.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{border-radius:2px;top:40px;border:1px solid #eee;height:30px;line-height:30px;z-index:1}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{left:40px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month{right:40px}.mec-box-calendar.mec-calendar .mec-calendar-side{box-shadow:none}.mec-box-calendar.mec-calendar .mec-calendar-events-side{border:none}.mec-box-calendar.mec-calendar .mec-calendar-events-side .mec-table-side-day{border-radius:2px}.mec-box-calendar.mec-calendar h4.mec-month-label{position:relative;width:560px;margin-top:2px;margin-bottom:30px;text-transform:uppercase;font-size:22px;font-weight:700;color:#333}.mec-widget .mec-box-calendar.mec-calendar h4.mec-month-label{width:100%;margin-top:8px;font-size:13px}@media only screen and (max-width:1200px){.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{left:42px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month{right:42px}.mec-calendar .mec-calendar-header h2{font-size:17px;margin-top:7px}}@media only screen and (max-width:767px){.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month,.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{top:28px;font-size:10px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{left:30px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month{right:30px}.mec-calendar .mec-calendar-header h2{font-size:15px}}@media only screen and (max-width:479px){.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month,.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{top:16px;font-size:0;padding:4px 0;text-align:center;min-width:33px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{left:10px}.mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month{right:10px}.mec-box-calendar.mec-calendar .mec-calendar-header h2{font-size:12px;margin-top:15px}.mec-box-calendar.mec-calendar .mec-event-image{margin-right:12px}}.mec-calendar.mec-event-calendar-classic,.mec-calendar.mec-event-calendar-classic .mec-calendar-side{border:none;padding:0;width:100%;height:100%;box-shadow:none}.mec-calendar.mec-event-calendar-classic .mec-calendar-side{display:block}.mec-calendar.mec-event-calendar-classic .mec-calendar-header,.mec-calendar.mec-event-calendar-classic dl{width:100%}.mec-calendar.mec-event-calendar-classic dl dt{width:15%;height:136px;line-height:1.2;text-align:left;padding:5px 7px;position:relative}.mec-calendar.mec-event-calendar-classic .mec-calendar-table-head dt{height:30px!important}.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-next-month,.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-previous-month{top:0}.mec-calendar.mec-event-calendar-classic .mec-has-event:after{bottom:auto;top:24px;left:7px;margin:0}.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-previous-month{left:0}.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-side .mec-next-month{right:0}.mec-next-month a,.mec-previous-month a{pointer-events:none}.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec{text-align:left;background:#fafafa;border:1px solid #eaeaea;border-top:none;padding:10px 20px}.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec{display:none}.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec .mec-event-article:hover{background-color:#fcfcfc}.mec-calendar.mec-event-calendar-classic .mec-selected-day,.mec-calendar.mec-event-calendar-classic dt.mec-selected-day:hover{color:#40d9f1;font-weight:700;background:#fafafa;border-bottom:none}.mec-wrap .mec-calendar.mec-event-calendar-classic .mec-selected-day:hover{color:#fff!important}.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec .mec-table-side-day,.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec .mec-table-side-title{display:inline-block;margin:0;margin-bottom:15px;font-weight:700}.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec .mec-table-side-day{margin-left:4px}.mec-calendar.mec-event-calendar-classic .mec-calendar-row dt.mec-has-event a{color:#4d4d4d}.mec-calendar.mec-event-calendar-classic .mec-calendar-row dt.mec-has-event:not(.mec-selected-day):hover a{color:#fff}@media only screen and (max-width:1200px){.mec-calendar.mec-event-calendar-classic dl dt{height:100px}}@media only screen and (max-width:767px){.mec-calendar.mec-event-calendar-classic dl dt{height:40px}}@media only screen and (max-width:479px){.mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec{padding:10px}.mec-box-calendar.mec-calendar.mec-event-calendar-classic .mec-calendar-header h2{font-size:13px;margin-top:8px}}.mec-calendar .mec-event-article.mec-single-event-novel{padding:4px 8px;min-height:25px;margin:0 -4px;border-radius:0}.mec-calendar .mec-event-article.mec-single-event-novel h4{margin:0;font-size:10px;line-height:18px}.mec-calendar.mec-event-container-novel dl dt{padding:3px}.mec-calendar.mec-event-calendar-classic .mec-calendar-novel-selected-day{display:inline-block;padding:4px;margin-left:1px}.mec-calendar.mec-event-calendar-classic .mec-selected-day .mec-calendar-novel-selected-day{color:#fff}.mec-calendar.mec-event-calendar-classic.mec-event-container-novel .mec-selected-day,.mec-calendar.mec-event-calendar-classic.mec-event-container-novel dt.mec-selected-day:hover{border-bottom:1px solid #eaeaea}.mec-calendar.mec-event-calendar-classic.mec-event-container-novel .mec-calendar-side .mec-calendar-table{min-height:auto}.mec-single-event-novel.light h4{color:#000!important}.mec-single-event-novel.dark h4{color:#fff!important}@media only screen and (max-width:768px){.mec-calendar .mec-event-article.mec-single-event-novel{padding:0;min-height:5px}.mec-calendar .mec-event-article.mec-single-event-novel h4{display:block;font-size:9px}}.mec-event-container-simple .event-single-content-simple{display:none}.mec-event-calendar-classic.mec-event-container-simple .mec-calendar-side .mec-calendar-table{min-height:unset}.mec-event-container-simple .mec-monthly-tooltip h4{font-size:13px;font-weight:500;margin:0;color:#444}.mec-event-container-simple .mec-monthly-tooltip h4:hover{text-decoration:underline;color:#111}.mec-event-container-simple .mec-monthly-tooltip.event-single-link-simple{border-bottom:1px dashed #e3e3e3;padding:10px 2px;display:block}.mec-calendar.mec-event-container-simple dl dt.mec-calendar-day{font-size:30px;color:#000}.mec-calendar.mec-event-container-simple .mec-calendar-row dt:hover{background:unset}.mec-calendar.mec-event-container-simple .mec-calendar-row dt,.mec-calendar.mec-event-container-simple .mec-calendar-row dt:last-child,.mec-calendar.mec-event-container-simple .mec-calendar-table-head dt,.mec-calendar.mec-event-container-simple .mec-calendar-table-head dt:last-child{border-width:2px}.mec-calendar.mec-event-container-simple dl dt.mec-selected-day,.mec-calendar.mec-event-container-simple dl dt.mec-selected-day:hover{border-bottom:2px solid #40d9f1;background:unset}.mec-calendar.mec-event-container-simple .mec-calendar-table-head dt{line-height:36px}@media (max-width:768px){.mec-calendar.mec-event-container-simple{overflow-x:scroll}.mec-calendar.mec-event-container-simple .mec-calendar-side{min-width:100%}.mec-event-container-simple .mec-monthly-tooltip h4{font-size:12px}.mec-event-container-simple .mec-calendar-side{min-width:600px!important;overflow-x:scroll}}.mec-wrap.colorskin-custom .mec-calendar.mec-event-container-simple .mec-selected-day:hover{background:#f4f4f4}.mec-event-container-simple .mec-calendar-day .mec-monthly-tooltip.event-single-link-simple:last-of-type{border:none}.mec-tooltip-event-title{font-size:16px;font-weight:700;color:#000;margin-bottom:2px}.mec-tooltip-event-time,.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-content .mec-price-details{font-size:12px;color:#888;margin-bottom:8px;margin-top:5px}.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-content{padding:17px}.mec-tooltip-event-content{clear:both}.mec-tooltip-event-featured{float:left;margin-right:13px;margin-bottom:1px}.mec-tooltip-event-featured img{max-width:120px}.mec-tooltip-event-desc{font-size:14px;color:#444;line-height:18px}.mec-tooltip-event-desc p{font-size:13px;line-height:1.4;margin-bottom:10px}.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-box{border-radius:3px!important;border:1px solid #e2e3e4!important;background:#fff!important;box-shadow:0 -1px 30px -2px rgba(0,0,0,.15)!important}.tooltipster-box .mec-tooltip-event-desc{margin-bottom:12px}.tooltipster-sidetip:not(.uael-tooltipster-active) .tooltipster-arrow{overflow:visible!important}.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-arrow-border{border-width:12px!important}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right:not(.uael-tooltipster-active) .tooltipster-arrow-border{border-right-color:#e2e3e4!important}.tooltipster-sidetip:not(.uael-tooltipster-active) .tooltipster-arrow-border{left:-12px!important;z-index:9999999999!important}.tooltipster-sidetip.tooltipster-shadow:not(.uael-tooltipster-active) .tooltipster-arrow-background{display:block!important}.tooltipster-sidetip:not(.uael-tooltipster-active) .tooltipster-arrow-background{border-width:11px!important;z-index:99999999999!important}.tooltipster-sidetip.tooltipster-right:not(.uael-tooltipster-active) .tooltipster-arrow-background{left:-9px!important;top:1px!important;border-right-color:#fff!important}.tooltipster-sidetip.tooltipster-top:not(.uael-tooltipster-active) .tooltipster-arrow-background{border-top-color:#fff!important;left:0!important;top:-1px!important}.tooltipster-sidetip.tooltipster-top:not(.uael-tooltipster-active) .tooltipster-arrow-border{left:-1px!important}.tooltipster-sidetip.tooltipster-shadow.tooltipster-top:not(.uael-tooltipster-active) .tooltipster-arrow-border{border-top-color:#e2e3e4!important}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom:not(.uael-tooltipster-active) .tooltipster-arrow-border{left:-1px!important;top:-11px!important}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom:not(.uael-tooltipster-active) .tooltipster-arrow-border{border-bottom-color:#e2e3e4!important}.tooltipster-sidetip.tooltipster-bottom:not(.uael-tooltipster-active) .tooltipster-arrow-background{top:-9px!important;border-bottom-color:#fff!important}.tooltipster-sidetip.tooltipster-left:not(.uael-tooltipster-active) .tooltipster-arrow-background{border-left-color:#fff!important;left:-2px!important;top:0!important}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left:not(.uael-tooltipster-active) .tooltipster-arrow-border{border-left-color:#e2e3e4!important;left:-1px!important;top:-1px!important}@media (max-width:780px){.mec-event-container-simple .mec-monthly-tooltip.event-single-link-simple h4{word-break:break-all;font-size:13px}}@media (max-width:320px){.mec-event-container-simple .mec-monthly-tooltip.event-single-link-simple h4{font-size:10px}}.mec-calendar.mec-calendar-daily .mec-calendar-day-events .mec-event-article{padding-left:15px;padding-right:15px;position:relative}.mec-calendar.mec-calendar-daily .mec-calendar-a-month{text-align:center;background-color:#fff;border-bottom:2px solid #f4f4f4;position:relative}.mec-calendar.mec-calendar-daily .mec-calendar-a-month h4{color:#444;font-size:18px;line-height:1.2;padding:15px 0 11px;margin:0;font-weight:700;letter-spacing:1px;text-transform:uppercase;border-bottom:1px solid #e6e6e6}.mec-calendar.mec-calendar-daily .mec-calendar-d-top{text-align:center;padding:10px 0;position:relative;background-color:#fafafa}.mec-calendar.mec-calendar-daily .mec-next-month,.mec-calendar.mec-calendar-daily .mec-previous-month{position:absolute;top:50%;left:50%;margin-top:-25px;min-width:50px;height:50px;line-height:50px;text-align:center;background:#fff;border:1px solid #e2e2e2;border-radius:50px;box-shadow:0 2px 0 0 rgba(0,0,0,.015);transition:all .33s ease;cursor:pointer}.mec-calendar.mec-calendar-daily .mec-next-month i,.mec-calendar.mec-calendar-daily .mec-previous-month i{font-size:14px;cursor:pointer}.mec-calendar.mec-calendar-daily .mec-next-month:hover,.mec-calendar.mec-calendar-daily .mec-previous-month:hover{border-color:#d0d0d0;color:#444;box-shadow:0 2px 5px 0 rgba(0,0,0,.075)}.mec-calendar.mec-calendar-daily .mec-previous-month{margin-left:-150px}.mec-calendar.mec-calendar-daily .mec-next-month{margin-left:100px}.mec-calendar.mec-calendar-daily .mec-calendar-a-month .mec-next-month,.mec-calendar.mec-calendar-daily .mec-calendar-a-month .mec-previous-month{min-height:28px;height:28px;line-height:28px;width:28px;margin-top:-14px;border-radius:3px}.mec-calendar.mec-calendar-daily .mec-calendar-d-top h2,.mec-calendar.mec-calendar-daily .mec-calendar-d-top h3{margin-top:9px;color:#b9b9b9;font-family:Roboto,sans-serif;font-size:30px;font-weight:100;text-transform:uppercase;margin-bottom:12px;line-height:1}.mec-calendar.mec-calendar-daily .mec-calendar-d-top h2{font-size:81px;color:#444;margin-bottom:10px;line-height:1.1}.mec-calendar.mec-calendar-daily .mec-calendar-d-table{overflow:hidden;background:#fff;min-height:60px;border-top:1px solid #e6e6e6;border-bottom:2px solid #f3f3f3;padding:0 50px;position:relative}@media only screen and (min-width:479px){.mec-calendar.mec-calendar-daily .mec-calendar-d-table{padding:0 55px}}.mec-calendar.mec-calendar-daily .mec-calendar-d-table dl{width:1310px;display:block}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl{display:none}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl.mec-weekly-view-week-active{display:flex}.mec-calendar.mec-calendar-daily .mec-calendar-d-table a,.mec-calendar.mec-calendar-daily .mec-calendar-d-table dl dt{display:block;background:#fff;width:42px;height:60px;line-height:60px;text-align:center;float:left;border-right:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;border-radius:0}.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day:hover,.mec-calendar.mec-calendar-daily .mec-calendar-d-table dl dt:hover{background:#fafafa;box-shadow:0 2px 5px 0 rgba(0,0,0,.065) inset;cursor:pointer}.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day{cursor:default;background:#fff;color:#c1c1c1;line-height:59px;text-align:center;border-right:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day.mec-has-event{cursor:pointer;font-weight:700;color:#4a4a4a}.mec-calendar.mec-calendar-daily .mec-calendar-d-table .mec-daily-view-day.mec-daily-view-day-active,.mec-calendar.mec-calendar-daily .mec-calendar-d-table dl dt.mec-table-d-current{font-size:18px;font-weight:700;background:#fafafa;color:#40d9f1}.mec-calendar.mec-calendar-daily .mec-calendar-d-table a.mec-table-d-next,.mec-calendar.mec-calendar-daily .mec-calendar-d-table a.mec-table-d-prev{float:none;font-size:14px;width:55px;position:absolute;top:0;left:0;cursor:pointer}.mec-calendar.mec-calendar-daily .mec-calendar-d-table a.mec-table-d-next{left:auto;right:0;border-left:1px solid #e6e6e6;border-right:none}.mec-calendar.mec-calendar-daily .mec-today-container .mec-today-count{font-size:12px;color:#888;text-align:center}@media only screen and (max-width:479px){.mec-calendar.mec-calendar-daily .mec-previous-month{margin-left:-130px}.mec-calendar.mec-calendar-daily .mec-next-month{margin-left:80px}.mec-calendar.mec-calendar-daily .mec-calendar-a-month h4{font-size:14px;letter-spacing:0}}.widget .mec-calendar.mec-calendar-daily .mec-calendar-a-month h4{font-size:14px;letter-spacing:0}.widget .mec-calendar.mec-calendar-daily .mec-previous-month{margin-left:-130px}.widget .mec-calendar.mec-calendar-daily .mec-next-month{margin-left:80px}.mec-util-hidden{display:none}.mec-daily-view-date-events,.mec-weekly-view-date-events{list-style:none;margin:0}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table{padding:0}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl{width:calc(100% - 1px)}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt{width:100%;height:70px;line-height:normal;cursor:default}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt:hover{background:#fff;cursor:default}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt:last-child{border-right:none}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt span{font-size:12px;font-weight:700;text-transform:uppercase;display:block;margin:15px 0 6px}.mec-calendar.mec-calendar-weekly .mec-calendar-d-table a.mec-table-d-next,.mec-calendar.mec-calendar-weekly .mec-calendar-d-table a.mec-table-d-prev{display:none}ul.mec-weekly-view-dates-events,ul.mec-weekly-view-dates-events li{padding:0;margin:0;line-height:initial}.mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date{width:64px;height:64px;margin-right:10px;font-size:11px;text-transform:uppercase;float:left;text-align:center;padding-top:2px}.mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date span{font-size:40px;line-height:30px;font-weight:700;display:block;margin-bottom:6px;letter-spacing:1px}.mec-calendar.mec-calendar-weekly .mec-calendar-a-month .mec-previous-month{margin-left:0;left:12px}.mec-calendar.mec-calendar-weekly .mec-calendar-a-month .mec-next-month{margin-left:0;left:auto;right:12px}@media only screen and (max-width:479px){.mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt span{font-size:9px;letter-spacing:0}.mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date{width:100%;height:36px;margin-bottom:12px;line-height:1;font-size:10px;margin-right:5px;text-align:left}.mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date span{font-size:18px;margin-bottom:5px}}.widget .mec-calendar.mec-calendar-weekly .mec-calendar-d-table dl dt span{font-size:9px;letter-spacing:0}.widget .mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date{width:100%;height:36px;margin-bottom:12px;line-height:1;font-size:10px;margin-right:5px;text-align:left}.widget .mec-calendar.mec-calendar-weekly .mec-event-list-weekly-date span{font-size:18px;margin-bottom:5px}.mec-week-events-container .mec-weekly-view-dates-events li.mec-no-event-found{list-style:none!important}li.mec-no-event-found .mec-event-title{text-align:center}.mec-widget .mec-calendar{max-width:100%}.mec-widget .mec-calendar dl dt,.mec-wrap.mec-sm959.mec-widget .mec-calendar.mec-event-calendar-classic dl dt{height:40px}.mec-widget .mec-calendar .mec-calendar-events-sec{padding:10px}.mec-widget .mec-calendar .mec-calendar-header h2{font-size:13px;margin-top:8px}.mec-widget .mec-calendar .mec-event-list-classic .mec-event-image{margin-right:12px}.mec-widget .mec-calendar .mec-has-event:after{width:4px;height:4px}.mec-widget .mec-calendar.mec-event-calendar-classic .mec-calendar-events-sec .mec-table-side-title{font-size:14px}.mec-widget .mec-calendar .mec-event-article .mec-event-image{margin-right:11px}.mec-widget .mec-box-calendar.mec-calendar .mec-calendar-header{margin-bottom:20px}.mec-widget .mec-box-calendar.mec-calendar .mec-calendar-side .mec-next-month,.mec-widget .mec-box-calendar.mec-calendar .mec-calendar-side .mec-previous-month{font-size:0;padding:4px 0;text-align:center;min-width:33px}.mec-widget .mec-event-calendar-classic .mec-calendar-side .mec-calendar-table{min-height:200px}.mec-widget .mec-event-list-classic{margin-bottom:8px;padding:8px 0}.mec-widget .mec-event-list-classic .mec-event-article{margin-bottom:0;padding:10px 0;position:relative;min-height:86px;padding-left:80px}.mec-widget .mec-event-list-classic .mec-event-date{font-size:10px;line-height:14px;text-transform:uppercase}.mec-widget .mec-event-list-classic .mec-event-title{font-size:13px}.mec-widget .mec-event-list-classic .mec-event-detail{font-size:11px}.mec-widget .mec-event-list-classic .mec-event-image{width:68px;position:absolute;left:0}.mec-event-list-classic .mec-event-image img{width:100%}.mec-widget .mec-event-list-classic .mec-event-detail{overflow:visible}.event-color{width:14px;display:inline-block;height:14px;margin-left:5px;border-radius:50%}.mec-map-lightbox-wp{width:580px;padding:15px 15px 0;background-color:#fff}.mec-map-view-event-detail.mec-event-detail{width:580px;background-color:#e9e9e9;padding:8px 15px}.mec-map-lightbox-wp.mec-event-list-classic .mec-event-article{padding:0 0 15px;margin:0}.mec-map-lightbox-wp.mec-event-list-classic .mec-event-image{width:70px;margin-right:15px}.mec-marker-infowindow-wp{padding:10px}.mec-marker-infowindow-wp .mec-marker-infowindow-count{width:60px;height:60px;display:block;text-align:center;line-height:60px;border:1px solid #40d9f1;border-radius:50%;font-size:32px;color:#40d9f1;float:left;margin-right:11px}.mec-marker-infowindow-wp .mec-marker-infowindow-content{overflow:hidden;padding-top:6px}.mec-marker-infowindow-wp .mec-marker-infowindow-content span{display:block;color:#222}.mec-marker-infowindow-wp .mec-marker-infowindow-content span:first-child{font-size:15px;font-weight:700}.mec-marker-wrap{display:inline-block;width:35px;height:35px;margin:15px 0 0 4px;border-radius:50% 50% 50% 0;background:#00cae9;animation-name:mec-map-bounce;animation-fill-mode:both;animation-duration:1s;border:3px solid #fff;cursor:pointer}.mec-marker-wrap .mec-marker{margin-top:5px;display:block;-webkit-transform:rotate(45deg);transform:rotate(45deg);text-align:center;color:#fff;font-size:17px}.mec-marker-wrap .mec-marker-pulse-wrap{-webkit-transform:rotate(45deg);transform:rotate(45deg);display:inline-block;margin-left:-11px;margin-top:0}.mec-marker-wrap .mec-marker-pulse{display:inline-block;background:#c5c5c5;border-radius:50%;height:14px;width:14px;-webkit-transform:rotateX(55deg);transform:rotateX(55deg);z-index:-2}.mec-marker-wrap .mec-marker-pulse:after{content:"";border-radius:50%;height:40px;width:40px;position:absolute;margin:-13px 0 0 -13px;animation:pulsate 1s ease-out;animation-iteration-count:infinite;opacity:0;box-shadow:0 0 1px 2px #00cae9;animation-delay:1.1s}@keyframes pulsate{0%{transform:scale(.1,.1);opacity:0}50%{opacity:1}100%{transform:scale(1.2,1.2);opacity:0}}@keyframes mec-map-bounce{0%{opacity:0;transform:translateY(-2000px) rotate(-45deg)}60%{opacity:1;transform:translateY(30px) rotate(-45deg)}80%{transform:translateY(-10px) rotate(-45deg)}100%{transform:translateY(0) rotate(-45deg)}}.mec-skin-grid-container .mec-skin-map-container,.mec-skin-list-container .mec-skin-map-container{margin-bottom:20px}.mec-single-event{margin-top:10px}.mec-single-event .mec-events-meta-group-countdown{color:#c9c9c9;text-align:center;margin-bottom:30px;padding:20px 30px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-events-meta-group-countdown .countdown-w{text-align:center;font-size:36px;margin:0 auto;padding:40px 0 0;position:relative;display:table;table-layout:fixed}.mec-events-meta-group-countdown .countdown-w .icon-w{font-size:24px}.mec-events-meta-group-countdown .countdown-w .label-w{font-size:15px;font-weight:300;letter-spacing:1px;text-transform:uppercase;position:relative}.mec-events-meta-group-countdown .countdown-w .block-w{display:table-cell;margin:0 20px 10px;position:relative;height:70px;width:190px;font-size:72px;transition:all .3s ease-in-out;line-height:1.2}.mec-events-meta-group-countdown .countdown-w .block-w.done-w{border:0 none}.mec-events-meta-group-countdown .countdown-w .block-w li{font-size:50px}.mec-events-meta-group-countdown .countdown-w span{padding:24px 0 20px}.mec-events-meta-group-countdown .countdown-w .div-d{display:none}.mec-events-meta-group-countdown .countdown-w .countdown-message{display:none}.mec-events-meta-group-countdown .countdown-w .block-w i{display:none}#countdown{list-style:none;margin-bottom:0;margin-top:0;margin-left:0;padding-left:0}.mec-events-meta-group-countdown .mec-end-counts h3{display:inherit;text-align:center;font-size:16px;right:50%}.mec-countdown-details .countdown-w .clockdiv li p{margin-top:23px}@media (min-width:481px) and (max-width:768px){.mec-events-meta-group-countdown .countdown-w{padding:0}.mec-events-meta-group-countdown .countdown-w .label-w{font-size:12px;letter-spacing:0}.mec-events-meta-group-countdown .countdown-w span{font-size:34px}}@media (min-width:320px) and (max-width:480px){.mec-events-meta-group-countdown .countdown-w .label-w{font-size:10px}.mec-events-meta-group-countdown .countdown-w span{font-size:28px}.mec-countdown-details .countdown-w .clockdiv li p{margin-top:16px}}@media (max-width:320px){.mec-events-meta-group-countdown .countdown-w .label-w{font-size:9px;letter-spacing:0}.mec-events-meta-group-countdown .countdown-w span{font-size:22px}}.info-msg,.mec-error,.mec-success,.warning-msg{margin:10px 0;padding:10px;border-radius:3px 3px 3px 3px;font-size:13px}.info-msg{color:#059;background-color:#bef}.mec-success{color:#0dbf52;background-color:#cef7ce}.warning-msg{color:#9f6000;background-color:#feefb3}.mec-error{color:#d8000c!important;background-color:#ffbaba}.mec-fes-form,.mec-fes-list{background:#f8feff;padding:30px 3%;color:#798f96;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important}.mec-fes-list .mec-fes-list-top-actions,.mec-fes-list ul{margin:0 auto 15px;max-width:960px;list-style:none;padding-left:40px}.mec-fes-form-cntt .dashicons-editor-help{display:none}.mec-fes-list ul li *{text-decoration:none!important}.mec-fes-list ul li{padding:20px 15px;border-radius:3px;margin-bottom:15px;border:1px solid #cfeff5;box-shadow:0 2px 6px -4px #cfeff5;background:#fff;line-height:normal}.mec-fes-list ul li a{box-shadow:none;color:#181818}.mec-fes-list ul li a:hover{color:#40d9f1}.mec-fes-list ul li .mec-event-title{font-size:17px;font-weight:600;width:calc(100% - 250px);display:inline-block}@media (max-width:680px){.mec-fes-list ul li .mec-event-title{width:100%;font-size:13px;margin:0 0 20px 0;display:block}.mec-fes-list ul li{padding:10px 12px 40px}}@media (max-width:480px){.mec-fes-list .mec-fes-list-top-actions,.mec-fes-list ul{padding-left:0}}.mec-fes-form .mec-required{color:#ff3c3c}.mec-fes-list .mec-event-status{color:#fff!important;border-color:transparent!important}.mec-fes-form .mec-book-confirmed,.mec-fes-list .mec-book-confirmed{background:#50d477!important}.mec-fes-form .mec-book-pending,.mec-fes-list .mec-book-pending{background:#fcbe69!important}.mec-fes-form .mec-book-rejected,.mec-fes-list .mec-book-rejected{background:#fe686a!important}.mec-fes-form .mec-book-other,.mec-fes-list .mec-book-other{background:#40d9f1!important}.mec-fes-list ul li .mec-fes-event-remove,.mec-fes-list ul li .mec-fes-event-view{font-size:11px;padding:0;border:0;background:#f7f8f9;float:right;margin-left:5px;border-radius:2px;transition:all .2s ease}.mec-fes-list ul li .mec-fes-event-export a,.mec-fes-list ul li .mec-fes-event-remove,.mec-fes-list ul li .mec-fes-event-view a{padding:4px 8px;display:inline-block;border:1px solid #e7e8e9;border-radius:2px;color:#789;position:relative}@media (max-width:600px){.mec-fes-list ul li .mec-fes-event-export a,.mec-fes-list ul li .mec-fes-event-remove,.mec-fes-list ul li .mec-fes-event-view a{font-size:10px}}.mec-fes-list ul li .mec-fes-event-remove:hover{cursor:pointer;background:#f96f8a;border-color:#f96f8a;color:#fff}.mec-fes-list ul li .mec-fes-event-export a:hover,.mec-fes-list ul li .mec-fes-event-view a:hover{background:#40d9f1;color:#fff;border-color:#40d9f1}.mec-fes-form-top-actions a,.mec-fes-list-top-actions a,.single-mec-events .pmpro_content_message a,.single-mec-events .pmpro_content_message a:link{position:relative;border:none;border-radius:3px;color:#fff!important;display:inline-block;font-size:13px;line-height:1;text-transform:none;font-weight:400;text-decoration:none;cursor:pointer;margin-bottom:20px!important;margin-right:10px;line-height:1;letter-spacing:0;padding:15px 22px;background:#39c36e;box-shadow:0 1px 7px -3px #39c36e!important;-webkit-transition:all .21s ease;-moz-transition:all .21s ease;transition:all .21s ease;text-decoration:unset}.mec-fes-form-top-actions a:hover,.mec-fes-list-top-actions a:hover,.single-mec-events .pmpro_content_message a:hover,.single-mec-events .pmpro_content_message a:hover:link{background:#222;color:#fff}.mec-fes-list-top-actions a{font-weight:600;text-transform:capitalize}.mec-fes-form-top-actions a:before{content:"";border:solid #fff;border-width:0 2px 2px 0;display:inline-block;padding:6px;margin-right:5px;vertical-align:sub;transform:rotate(135deg);-webkit-transform:rotate(135deg)}.mec-fes-form .mec-form-row,.mec-fes-list .mec-form-row{margin-bottom:10px;clear:both}.mec-fes-form label{font-size:13px;display:block;color:#798f96;font-weight:400;padding:0 0 4px 2px}.mec-fes-form input+label{padding-top:8px;padding-left:3px;margin:0;display:inline-block;vertical-align:top}#wrap .mec-fes-form input+label{padding-top:0}.mec-fes-form .post-status{float:right!important;margin:0 5px;color:#fff;padding:0 10px;border-radius:12px;font-style:italic;font-size:18px}.mec-fes-form #mec-event-data input[type=date],.mec-fes-form input[type=email],.mec-fes-form input[type=number],.mec-fes-form input[type=password],.mec-fes-form input[type=tel],.mec-fes-form input[type=text],.mec-fes-form input[type=url],.mec-fes-form select,.mec-fes-form textarea{min-width:inherit;width:auto;display:inline;min-height:30px;font-size:13px;padding:10px;margin-bottom:20px;clear:both;background:#fff;border:1px solid #cfeff5;box-shadow:0 2px 5px rgba(207,239,245,.38) inset;border-radius:3px;height:40px;max-width:280px;color:#798f96;font-family:inherit}#mec_fes_form input[type=date]::-webkit-calendar-picker-indicator,.lity-content #mec_fes_form input[type=date]::-webkit-calendar-picker-indicator,.lity-content .mec-events-meta-group-booking input[type=date]::-webkit-calendar-picker-indicator,.mec-single-event .mec-events-meta-group-booking input[type=date]::-webkit-calendar-picker-indicator{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjA0QjQ2N0QwQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjA0QjQ2N0QxQjQ4MzExRUE4RDdFREZDRTUxMUVERTM5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDRCNDY3Q0VCNDgzMTFFQThEN0VERkNFNTExRURFMzkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDRCNDY3Q0ZCNDgzMTFFQThEN0VERkNFNTExRURFMzkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6WW71PAAAGIklEQVR42qRXS28bVRQ+586Mx3ZC1DSpVFojRU2CqMIGiSKxAVoUduzoDjYIlhU/Av4AYsdjRXfkD0Cjom6QqIqEqEhRo1aRkkZpkpY6j7GduQ++c2dsj1+BlInGztxvzj3nfudpPlM/otc2W2QjJmU0rZ0uUytUpBxNnN9p/FYhctF0+XUi2nPGkX7WJOfwxNRzqXxtbfI4eUvm7xY1o4iiI0d/vFiisL2BgTAz0yvbCRnLhP0uNEtqrgUseZRcwPPvJewaldSA8o48vo+Tj0U+CnrkOgZwvkEzEmGm1PF9fzK5Y3U/YlllsjRUv19zXl7571HyAjooc/kmYerpcmPO0Mfa0SyxEtji44ynOjPuayjecd7M46/MQOdGyIs9ThnzMLD0XRrwIdeetmoLm41fWiG95Ar792tydLLrOPkAlpW027hbG3+T37lf/5EtvYcXUuhfBjWp9wHRBO63c5lbEkQj2B92uaHy4l2EAQ66GFgbmiD4id/9q661ooAtf8rsvmUEilAHEqcgtJvvNq3YPTkJA8PksT9ZFxD8+4my9pvAOqOMxIMoJHfPZoJkJNiYat3duOac6hxt1N3GR8lnt0O623s+c2CVZEGaZ8Oks1mElvxu7hGYaQjpHLpH3q/YFQE7Oh5Y6gFTaHhAXlasxmoWpZO5L9Ow4DTv+UBZBAkWNO+CqhkbSOzaXWWyzY+n3WcACdVscnklz5CHYsmv1L/RyUJ/cs7zdT3Ey8pTgw/QgNNuS4XjNMvffwvBNmwDH+pdeZ3J+1qDdW15vS0iBhjZWzF9ge8HWl7zNLluYhP/9/jvFANXyL+ufF4jZvOCZsK8isp77+sixf10n7QQjJT39bBtjzdA5chtLG61n7kgk6UvDy29z4HL4c/ifkN0hYV+cA3Bc7stKAfossgSSF06+3HOu8QovE8eThDlv4pu1TbUOpqySDNUKMSDQRIo6QgVRHbFcID1mCITUGgNKLI9uBbcCC59xUi+DsiHBq0XOLb3utqOUYV+LglH9XJASRAsRNqt4xHVj59Exqw3AlrYi0PaiwNqBKoX12Y9iQSP/GkD4xZC0yt/GPFCvZzhUBoMtmPftRwMEEtpupy2auzadLraXtlNoXLhKQYLbjrWRx0cXNf24wxPSmWw5aZPNXSNOi5ytXqZpjTwSqs3PsJi0I61LG29EFG9GtyaeqgvxU17TrAkDjbvnq/eKcTYrbcemi5eHoI/OLgUt7r4n+cqd04llmZ3mjBSDQ4kYtERLLz4OKGt0xGKA9+RgiSGSRV7+UlCVvka72lEvHRx04vLGW2f/PzTBk3VtddRrGlhMXVaIdME5sLJ3ZQOTPQBNqj58uzcxsXtZEkqmQ7IB9ihLeA2x6FQqyG4cRuvbh8uNZSigzBCALhBBtrjkwjjQItQ+kPXWY6eBuEi/lmOlC8kvTh38ZLH3QC+y+GiIl4OqbeZ9RggQZgcVIXe1ep48jPkz/oGw7x1yoytIq1o59AH1Wp1rNHBSXA9tip87zYyvFzpx8dXLVTvqySvhUMNsN6+1ERrrNQVQs57H4K6cR35GrapffICb16RpO7glOHrrQyvjHXxQHB0/j1ugV0LpcFwAzS4n6hiZoIvEp2znwcSigfGJhxpMmseLc0dvFjcvRuLvdEdNyl2+0DOALwE863TM/jnJqhfQa6v4AfJzUNOZ/aVlhqIUpoO4PuU4XFsqFrSM866m9hxBXSvWPx/wHpGqA96Vfa5AH9HnMjYNI96dbkwaVzcCw/nAK+xHzp4Hp89eD04nENzX6v4cYrnrVWXXQF/Fh7MQfWasmogCNsmaT+qwD0g4gYsuYqnWlboeKMUumUr86LycxdwdRUb+zQTvAzcgL0jLXFkbkQUX5UKyFTE2bvZD0a5B8SAUu6dPf+7AInssja2VPSZRud2Ni/NKse5M2VQqkO4BxSzZLmV8Wwpa8S9OHsK3X6+Lc7F/JidOwvkc7z3FbIgzd7smy1c35TEg7NGrg6Ucs88UsCliOLHH1+Td8HYFl++W//QxfT9iSee/3lJWy5X6aMwtK3rTVWJUU4/g4GzdLLp73ku8cEDxNmXUZhc/0eAAQAVgX0RHvvILQAAAABJRU5ErkJggg==);background-position:center;background-size:cover;width:10px;height:12px;display:block}.mec-fes-form input{background:#fff!important;border-radius:3px!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif!important}.mec-fes-form textarea{height:80px}.mec-fes-form input::-webkit-input-placeholder{color:#798f96}.mec-fes-form input::-moz-placeholder{color:#798f96}.mec-fes-form input:-ms-input-placeholder{color:#798f96}.mec-fes-form input:-moz-placeholder{color:#798f96}#mec-excerpt .mec-form-row .widefat{max-width:100%}#mec_more_info_target{width:100%}@media only screen and (min-width:961px){.mec-fes-form #mec-event-data input[type=date],.mec-fes-form #mec-event-data select,.mec-fes-form input[type=email],.mec-fes-form input[type=password],.mec-fes-form input[type=tel],.mec-fes-form input[type=text],.mec-fes-form input[type=url],.mec-fes-form textarea{width:100%;display:inline-block}}@media only screen and (max-width:768px){.mec-fes-form #mec-event-data input[type=date],.mec-fes-form #mec-event-data select,.mec-fes-form input[type=email],.mec-fes-form input[type=password],.mec-fes-form input[type=text],.mec-fes-form input[type=url],.mec-fes-form textarea{width:100%}}.mec-fes-form input[type=text]#mec_fes_title{padding:5px 10px;min-height:32px;height:50px;background:#fff!important;max-width:100%;font-size:19px;font-weight:400}.mec-fes-form input[type=checkbox],.mec-fes-form input[type=radio]{display:inline!important;float:left;margin:5px 5px 0 0}.mec-fes-form input[type=email]:focus,.mec-fes-form input[type=number]:focus,.mec-fes-form input[type=password]:focus,.mec-fes-form input[type=tel]:focus,.mec-fes-form input[type=text]:focus,.mec-fes-form input[type=url]:focus,.mec-fes-form select:focus,.mec-fes-form textarea:focus{border:1px solid #aaa;color:#444;background:#fff;-moz-box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);box-shadow:0 0 3px rgba(0,0,0,.2);outline:0}.mec-form-row .mec-color{cursor:pointer}.mec-form-row.mec-available-color-row span{margin:10px;width:14px;height:14px;display:inline-block;margin-right:6px;border-radius:20px 20px 20px 20px;vertical-align:middle}.mec-form-row.mec-available-color-row span:first-of-type{margin-left:0}.mec-fes-form.mec-fes-form .mec-tooltip{display:inline}.mec-fes-form-cntt .dashicons-editor-help{display:block}.mec-fes-form .mec-tooltip:hover:after,.mec-fes-form .mec-tooltip:hover:before{display:none}.mec-fes-form.mec-fes-form .mec-tooltip{display:inline-flex;bottom:7px}.mec-fes-form .mec-tooltip .box{min-width:300px;max-width:600px;display:inline-block;left:26px;top:50%;transform:translateY(-50%);padding:0;margin-top:8px;background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;position:absolute;z-index:9999999;box-sizing:border-box;border-radius:6px;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s}#webnus-dashboard .mec-fes-form .mec-tooltip .box p,.mec-fes-form .mec-tooltip .box p{color:#fff!important;font-size:14px;line-height:1.3;margin:0}.mec-fes-form .mec-tooltip:hover .box{visibility:visible;opacity:1}.mec-fes-form .mec-tooltip:hover .box{padding:20px;border-radius:8px}.mec-fes-form .mec-tooltip .box h5{color:#fff;font-size:17px;font-weight:600;margin:-30px -20px;padding:20px 0;text-align:center;margin-bottom:10px;background:#3a3f44;border-bottom:1px solid #32363a;border-radius:6px 6px 0 0;z-index:9999}#webnus-dashboard .mec-fes-form .mec-tooltip .box p a,.mec-fes-form .mec-tooltip .box p a{color:#40d9f1;margin-top:10px;margin-left:0;font-weight:400;position:relative;text-decoration:none;display:block;width:max-content}.mec-fes-form .mec-tooltip .box a:hover{color:#f90}.mec-fes-form .mec-tooltip .box:after{display:block;position:absolute!important;top:100%!important;right:50%!important;margin-top:-6px!important;margin-right:-6px!important;width:12px!important;height:24px!important;overflow:hidden!important;transform:rotate(-90deg)!important}.mec-fes-form .mec-tooltip .box:before{display:block;content:""!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-fes-form .mec-tooltip .box.top{left:50%;top:0;transform:translate(-50%,-100%);margin-top:0;margin-left:-10px}.mec-fes-form .mec-tooltip .box.top:after{top:50%!important;right:100%!important}.mec-fes-form .mec-tooltip .box.top:before{left:50%!important;top:100%!important}.mec-fes-form .mec-tooltip .box.bottom{left:50%;top:auto;bottom:0;transform:translate(-50%,100%);margin-bottom:-20px;margin-left:-10px}.mec-fes-form .mec-tooltip .box.bottom:after{top:0!important;right:50%!important;background-color:#3a3f44!important}.mec-fes-form .mec-tooltip .box.bottom:before{left:50%!important;top:-7px!important;transform:translateX(-50%);background-color:#3a3f44!important}.mec-fes-form .mec-tooltip .box.left{left:auto;right:26px;top:50%;transform:translateY(-50%)}.mec-fes-form .mec-tooltip .box.left:before{right:0!important;left:auto!important;top:50%!important}.mec-fes-form .mec-tooltip{display:inline-block;position:relative;margin-right:10px;cursor:help;bottom:5px;left:3px}.mec-fes-form .mec-tooltip:last-child{margin-right:0}.mec-fes-form .mec-tooltip:hover:after{background:#313130;border-radius:5px;bottom:24px;color:#fff;content:attr(title);left:-75px;padding:10px;position:absolute;z-index:98;width:240px}.mec-fes-form .mec-tooltip:hover:before{border:solid;border-color:#313130 transparent;border-width:6px 6px 0;bottom:18px;content:"";left:30%;position:absolute;z-index:99}.mec-fes-form .mec-tooltip .dashicons-before:before{font-size:24px;color:#008aff;line-height:37px}.mec-fes-form .mec-tooltip a:focus{box-shadow:none}.mec-form-row .bootstrap_unvalid{display:block;border:2px solid red;position:relative;display:inline-block;border-bottom:1px dotted #000}.mec-fes-form .mec-tooltiptext{visibility:hidden;width:120px;background-color:red;color:#fff;text-align:center;border-radius:6px;padding:5px 0;position:absolute;z-index:1}.mec-fes-form .mec-tooltip .content p a{display:none}@media only screen and (min-width:961px){.mec-fes-form .mec-fes-form-cntt,.mec-fes-form .mec-fes-form-sdbr{width:68%;float:left;padding-right:20px}.mec-fes-form .mec-fes-form-sdbr{width:32%;padding-right:0;padding-left:20px}.mec-fes-submit-mobile{display:none}}.mec-fes-form .mec-meta-box-fields{padding:0 20px 20px;border:1px solid #cfeff5;margin-bottom:20px!important;box-shadow:0 2px 6px -3px #cfeff5;border-radius:3px;background:#fff}.mec-fes-form .mec-meta-box-fields h4{margin:0 -20px;font-size:15px;font-weight:600;letter-spacing:0;color:#40d9f1;text-transform:capitalize;padding:15px 20px;background:#ecfcff;margin-bottom:20px}.mec-fes-sub-button{width:100%}.mec-available-color-row span.color-selected{border:3px solid #fff;box-sizing:content-box;box-shadow:0 0 0 2px #40d9f1,0 2px 8px -1px #40d9f1}.mec-fes-loading:before{content:url(../img/ajax-loader.gif);background:0 0;border-style:none;display:block;margin-left:47%}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text]{width:190px;margin-right:1.4%}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text].mec-col-1,.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text].mec-col-2{width:120px;margin-right:10px}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text].widefat{width:100%}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row{border-bottom:none;padding-bottom:10px}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text].mec-col-6{width:39%}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row button{margin-right:0;padding:9px 26px}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row button.mec-add-hourly-schedule-button{font-size:12px;height:30px;line-height:25px}.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row .description{display:inline-block;border-left:1px dashed #bfcacc;margin-left:12px;line-height:28px;padding-left:12px;margin-top:5px;font-style:italic}@media only screen and (max-width:768px){.mec-fes-form #mec_meta_box_hourly_schedule_days .mec-form-row input[type=text]{width:100%!important}}#mec_fes_form_message{max-width:838px;margin:10px auto;display:block!important;text-align:center}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip{position:relative}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list strong,.post-type-mec-books .attendees strong{line-height:26px;padding-left:26px}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:before{position:absolute;content:"\e001";font-family:simple-line-icons;margin:12px 0;top:-30px;left:0;font-size:18px;line-height:12px;color:#40d9f1;padding:0 60px 5px 0}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul{position:absolute;min-width:300px;max-width:600px;display:inline-block;left:60px;top:50%;transform:translateY(-50%);background-color:#535a61;color:#fff;font-weight:300;font-size:14px;letter-spacing:.5px;line-height:1.3;z-index:9999999;box-sizing:border-box;box-shadow:0 4px 45px -8px #444b50;visibility:hidden;opacity:0;transition:opacity .23s;padding:23px 20px 20px 20px;border-radius:8px;margin-top:-13px}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul:before{display:block;content:''!important;position:absolute!important;width:12px;height:12px;left:-10px!important;top:50%!important;transform:translate(50%,-50%) rotate(-45deg)!important;background-color:#535a61!important;box-shadow:0 8px 9px -4px #535a61!important;z-index:0!important}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:hover ul{visibility:visible;opacity:1}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul li{list-style:none}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul a{color:#40d9f1;margin-bottom:14px;margin-left:0;font-weight:400;font-size:14px;letter-spacing:.5px;position:relative;text-decoration:none;display:block;width:max-content}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip ul li:last-child a{margin-bottom:0}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list{margin:0}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child{background:#fff;border-bottom:1px solid #cfeff5}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child div span{line-height:1;font-weight:600;font-size:13px}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix{display:flex;background:#f8feff;padding:10px;text-align:left}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3{width:25%;word-wrap:break-word}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:first-child{width:45%}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:nth-child(2){width:15%}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:nth-child(3){width:25%}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3:nth-child(4){width:20%}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix:not(:first-child) .w-col-xs-3{font-size:13px;display:block;color:#798f96;font-weight:400;padding:0}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix .w-col-xs-3 a{text-decoration:unset}.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix:nth-child(odd){background:#fff}.mec-wrap .mec-totalcal-box{position:relative;border:1px solid #efefef;padding:20px 5px;margin:0 0 20px;background:#fafafa;overflow:hidden;box-shadow:0 3px 2px 0 rgba(0,0,0,.012);min-height:78px}.mec-wrap .mec-totalcal-box i{float:left;margin:0;width:36px;height:36px;background:#fff;border:1px solid #efefef;text-align:center;padding:10px 0;font-size:15px;color:#888}.mec-checkboxes-search .mec-searchbar-category-wrap,.mec-wrap .mec-totalcal-box .mec-totalcal-view span,.mec-wrap .mec-totalcal-box input,.mec-wrap .mec-totalcal-box select{width:auto;min-height:36px;height:36px;line-height:36px;background:#fff;font-size:13px;color:#777;border:1px solid #efefef;margin:0 0 0 -1px;float:left;padding:0 5px;font-family:Roboto,Helvetica,Arial,sans-serif}.mec-wrap .mec-totalcal-box input[type=submit]{cursor:pointer;padding:0 16px;text-transform:uppercase;font-size:11px;transition:all .21s ease}.mec-wrap .mec-totalcal-box input[type=submit]:hover{background:#222;color:#fff}.mec-wrap .mec-totalcal-box .mec-totalcal-view span{display:inline-block;text-transform:uppercase;font-size:11px;padding:0 12px;cursor:pointer}.mec-wrap .mec-totalcal-box .mec-totalcal-view span:hover{color:#40d9f1}.mec-wrap .mec-totalcal-box .mec-totalcal-view span.mec-totalcalview-selected{color:#fff;background:#40d9f1;border-color:#40d9f1}.mec-wrap .mec-totalcal-box .mec-totalcal-view{text-align:right;float:right}.mec-wrap .mec-totalcal-box input[type=search]{width:calc(100% - 36px)}.mec-full-calendar-wrap .mec-search-form .col-md-7{padding:0}.mec-wrap .mec-date-search .mec-col-3,.mec-wrap .mec-minmax-event-cost .mec-minmax-price{width:calc(50% - 17px)}.mec-wrap .mec-text-address-search.with-mec-cost{width:calc(100% - 356px)}.mec-wrap .mec-minmax-event-cost{display:block;float:left;width:50%;margin-left:10px}.mec-wrap .mec-minmax-event-cost.with-mec-address{display:block;width:336px;max-width:50%;float:right;margin-left:0;margin-right:10px}.mec-wrap .mec-checkboxes-search{margin-left:10px;margin-right:10px;display:table-caption}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap{width:calc(100% - 36px)!important;max-width:calc(100% - 36px)!important;padding:0;position:relative;line-height:inherit;height:auto}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap select{line-height:20px}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container.select2-container--default{width:calc(100% - 36px)!important}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap input[type=search]{width:calc(100% - 36px)!important;min-height:30px;margin:0}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple ul,.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container.select2-container--default{height:auto;overflow:unset}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple ul{display:block}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple{border:unset;width:100%;height:0!important;border-radius:0}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple ul li{line-height:12px!important;max-height:20px!important;width:auto;margin-right:5px;margin-top:5px}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple .select2-selection__choice{letter-spacing:0;color:#777;text-transform:capitalize;padding:4px 6px;background-color:#efefef;border-radius:2px;border:0;cursor:default;float:left;margin-right:5px;margin-top:5px;margin-bottom:5px;font-size:11px;text-transform:uppercase}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple .select2-selection__choice__remove{color:#777}@media only screen and (min-width:961px) and (max-width:1200px){.mec-wrap .mec-totalcal-box{padding:37px 5px}}@media only screen and (max-width:960px){.mec-wrap .mec-totalcal-box .col-md-3,.mec-wrap .mec-totalcal-box .col-md-4,.mec-wrap .mec-totalcal-box .col-md-5{width:100%;float:none;clear:both;overflow:hidden}.mec-full-calendar-wrap .mec-search-form .col-md-3,.mec-full-calendar-wrap .mec-search-form .col-md-4,.mec-full-calendar-wrap .mec-search-form .col-md-5{display:block;max-width:100%;padding:0;margin:0 0 10px 0}.mec-full-calendar-wrap .mec-search-form .col-md-3{padding-bottom:10px!important}.mec-wrap .mec-search-form .mec-date-search select{width:calc(100% - 106px)}.mec-wrap .mec-search-form .mec-date-search select:last-child{width:70px}.mec-wrap .mec-totalcal-box .mec-totalcal-view{float:none}.mec-wrap .mec-checkboxes-search .mec-searchbar-category-wrap .select2-container .select2-selection--multiple .select2-selection__choice{display:block;max-width:100%;white-space:break-spaces;max-height:unset!important;height:auto!important}}@media only screen and (min-width:768px) and (max-width:960px){.mec-wrap .mec-totalcal-box .col-md-4{position:relative;width:initial}.mec-wrap .mec-totalcal-box .col-md-5{padding-bottom:0}.mec-full-calendar-wrap .mec-search-form .col-md-5{margin-top:20px}.mec-wrap .mec-totalcal-box{padding:37px 5px}}@media only screen and (max-width:767px){.mec-wrap .mec-totalcal-box .mec-totalcal-view{float:none}.mec-wrap .mec-totalcal-box .col-md-4{padding-bottom:0}.mec-wrap .mec-minmax-event-cost.with-mec-address,.mec-wrap .mec-text-address-search.with-mec-cost{width:100%;float:left}.mec-wrap .mec-minmax-event-cost.with-mec-address{max-width:calc(100% - 20px);margin:0 10px 20px 10px}.mec-wrap .mec-minmax-event-cost .mec-minmax-price{width:calc(50% - 17px)}}@media only screen and (max-width:479px){.mec-wrap .mec-totalcal-box .mec-totalcal-view span{padding:0 8px;font-size:10px}.mec-wrap .mec-totalcal-box input[type=submit]{padding:0 10px;font-size:10px}}@media only screen and (min-width:961px){.mec-wrap .mec-wrap.mec-sm959 .mec-totalcal-box .col-md-5,.mec-wrap.mec-sm959 .mec-totalcal-box .col-md-3{padding-bottom:20px;clear:both;overflow:hidden}.mec-wrap.mec-sm959 .mec-totalcal-box .col-md-5{right:10px;width:initial}.mec-wrap.mec-sm959 .mec-totalcal-box .col-md-4{padding-bottom:0;width:100%}}@media (min-width:961px) and (max-width:1200px){.mec-full-calendar-wrap .mec-totalcal-box{padding:15px 10px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2{width:50%}.mec-wrap .mec-totalcal-box .mec-totalcal-view span{padding:0 10px}.mec-search-form .mec-date-search,.mec-search-form .mec-dropdown-search,.mec-search-form .mec-text-address-search,.mec-search-form .mec-text-input-search{padding:0 4px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2,.mec-full-calendar-wrap .mec-totalcal-box .col-md-3,.mec-full-calendar-wrap .mec-totalcal-box .col-md-4,.mec-full-calendar-wrap .mec-totalcal-box .col-md-5{padding-bottom:20px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2 select{min-width:calc(100% - 36px)}.mec-full-calendar-wrap .mec-totalcal-box .col-md-3 select{min-width:calc(30% - 10px)}.mec-full-calendar-wrap .mec-totalcal-box .col-md-3:last-child select{min-width:calc(50% - 19px)}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{font-size:9px;text-align:center}}@media only screen and (max-width:1200px){.post-type-archive-mec-events .mec-totalcal-box .col-md-3,.post-type-archive-mec-events .mec-totalcal-box .col-md-4{width:100%;padding:0}.post-type-archive-mec-events .mec-totalcal-box select:last-child{min-width:auto}.post-type-archive-mec-events .mec-totalcal-box .col-md-5{position:relative;float:right;max-width:100%;left:0;top:20px;width:100%!important;display:block;clear:both}.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view{max-width:100%;width:100%}.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view span{width:20.1%;font-size:10px}}@media only screen and (max-width:960px){.post-type-archive-mec-events .mec-totalcal-box .col-md-5{top:10px}}@media only screen and (max-width:760px){.post-type-archive-mec-events .mec-totalcal-box .col-md-5{top:0!important}}@media only screen and (max-width:480px){.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view span{font-size:8px}}@media (min-width:1201px) and (max-width:1280px){.mec-full-calendar-wrap .mec-totalcal-view span{font-size:9px;padding:0 10px}}@media (min-width:761px) and (max-width:1200px){.mec-full-calendar-wrap .mec-search-form .mec-dropdown-wrap .mec-dropdown-search{width:33.3333%;display:block;float:left}.mec-full-calendar-wrap .mec-search-form .col-md-4 .mec-text-input-search{padding:0;margin-bottom:20px}.mec-full-calendar-wrap .mec-search-form .col-md-3{width:100%}.mec-full-calendar-wrap .mec-search-form .mec-date-search select:last-child{min-width:70px;width:70px}.mec-full-calendar-wrap .mec-search-form .col-md-5{float:right;padding:0 0 10px 0}.mec-full-calendar-wrap .mec-totalcal-view span{font-size:11px}}@media (max-width:760px){.mec-full-calendar-wrap .mec-search-form .col-md-3{width:100%}.mec-full-calendar-wrap .mec-search-form .mec-date-search select:last-child{min-width:70px;width:70px}.mec-full-calendar-wrap .mec-search-form .col-md-5{float:right;padding:0 0 10px 0}.mec-full-calendar-wrap .mec-totalcal-view span{font-size:11px}}@media (max-width:960px){.mec-full-calendar-wrap .mec-totalcal-box{padding:20px 20px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2{width:50%}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2,.mec-full-calendar-wrap .mec-totalcal-box .col-md-3,.mec-full-calendar-wrap .mec-totalcal-box .col-md-4{padding-bottom:10px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2 select{min-width:calc(100% - 36px);margin-bottom:10px}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view{margin-left:10px}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{font-size:10px;text-align:center}.mec-full-calendar-wrap .mec-totalcal-box .col-md-2{width:100%}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{min-width:14.3%;text-align:center;font-size:10px;margin-right:-1px}}@media (max-width:780px){.mec-full-calendar-wrap .mec-totalcal-box .col-md-3 select{width:calc(50% - 18px)!important}.mec-full-calendar-wrap .mec-totalcal-box .col-md-4{position:unset;padding-right:0}.mec-full-calendar-wrap .mec-search-form .col-md-3,.mec-full-calendar-wrap .mec-search-form .col-md-4,.mec-full-calendar-wrap .mec-search-form .col-md-5{margin:0;padding:0}.mec-wrap .mec-totalcal-box .mec-totalcal-view span{padding:0 7px;margin-top:20px}}@media (max-width:480px){.mec-full-calendar-wrap .mec-totalcal-box{padding:15px 10px}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{min-width:13.5%;text-align:center;font-size:11px}}@media (max-width:411px){.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{min-width:12%;font-size:10px}}@media (max-width:320px){.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{min-width:22.5%;font-size:11px}}.mec-totalcalview-selected:hover{color:#fff!important}.mec-search-form{padding:20px 10px}.mec-search-form .mec-dropdown-wrap{display:table;width:100%}.mec-search-form .mec-date-input-search,.mec-search-form .mec-date-search,.mec-search-form .mec-dropdown-search,.mec-search-form .mec-text-input-search,.mec-search-form .mec-time-input-search{padding:0 10px;float:left}.mec-search-form .mec-date-search,.mec-search-form .mec-time-picker-search,.mec-search-form .mec-totalcal-view{padding:0 10px}.mec-search-form .mec-text-input-search{width:100%}.mec-search-form .mec-full-calendar-search-ends .mec-text-input-search{width:50%}.mec-search-form .mec-date-search,.mec-search-form .mec-time-picker-search{width:50%;float:left}.mec-search-form .mec-date-search.with-mec-time-picker,.mec-search-form .mec-time-picker-search.with-mec-date-search{width:25%;float:left}.mec-search-form .mec-tab-loader.col-md-6 .mec-totalcal-view{padding:0}.mec-wrap .mec-search-form .with-mec-date-search .mec-timepicker-end,.mec-wrap .mec-search-form .with-mec-date-search .mec-timepicker-start{width:calc(50% - 17px)}.mec-search-form .mec-full-calendar-search-ends .mec-text-input-search.col-md-12,.mec-search-form .mec-minmax-event-cost,.mec-search-form .mec-text-address-search{min-height:55px}.mec-search-form .mec-full-calendar-search-ends .mec-text-input-search.col-md-12,.mec-widget .mec-search-form .mec-date-search,.mec-widget .mec-search-form .mec-text-input-search{width:100%}.mec-search-form .mec-full-calendar-search-ends .mec-text-input-search.col-md-12{padding:0 10px}.mec-search-form .mec-minmax-event-cost,.mec-search-form .mec-text-address-search,.mec-widget .mec-search-form .mec-text-input-search{margin-top:10px}.mec-search-form .mec-date-search{clear:left}.mec-search-form .mec-dropdown-wrap .mec-dropdown-search{display:table-cell;float:none}.mec-widget .mec-search-form .mec-dropdown-wrap .mec-dropdown-search{display:block}.mec-checkboxes-search .mec-searchbar-category-wrap,.mec-wrap .mec-search-form .mec-dropdown-wrap .mec-dropdown-search select{width:calc(100% - 36px);margin-bottom:10px}.mec-wrap .mec-search-form .mec-minmax-price input,.mec-wrap .mec-search-form .mec-text-address-search input,.mec-wrap .mec-search-form .mec-text-input-search input{margin-bottom:10px}.mec-wrap .mec-totalcal-box label{display:block;line-height:1.8;margin-bottom:4px;font-size:13px;color:#9a9a9a}.mec-wrap .mec-search-form .mec-date-search select{width:calc(100% - 106px)}.mec-wrap .mec-search-form .mec-date-search select:last-child{width:70px}@media only screen and (max-width:781px){.mec-search-form .mec-date-search,.mec-search-form .mec-dropdown-search,.mec-search-form .mec-text-input-search{width:100%;float:none}.mec-search-form .mec-date-search{min-height:55px}.mec-search-form .mec-dropdown-wrap .mec-dropdown-search{display:block;width:50%;float:left}.mec-full-calendar-wrap .mec-totalcal-box .col-md-3{margin-bottom:0;padding-bottom:0!important}}@media only screen and (max-width:479px){.mec-search-form .mec-dropdown-wrap .mec-dropdown-search{display:block;width:100%;float:none}}@media only screen and (min-width:961px) and (max-width:1200px){.post-type-archive-mec-events .mec-totalcal-box .col-md-3,.post-type-archive-mec-events .mec-totalcal-box .col-md-4,.post-type-archive-mec-events .mec-totalcal-box .col-md-5{max-width:100%;width:100%}.post-type-archive-mec-events .mec-totalcal-box .col-md-4{padding:0 10px}.post-type-archive-mec-events .mec-totalcal-box .col-md-4 .mec-text-input-search{margin:0}.post-type-archive-mec-events .mec-totalcal-box .col-md-5{margin-bottom:20px;padding:0 10px 10px 10px}}@media only screen and (max-width:960px){.mec-full-calendar-wrap .mec-totalcal-box .col-md-4,.post-type-archive-mec-events .mec-totalcal-box .col-md-4{padding:0 10px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-4{margin-bottom:0}.post-type-archive-mec-events .mec-totalcal-box .col-md-4 .mec-text-input-search{margin:0}.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view{padding-right:15px}.mec-full-calendar-wrap .mec-search-form .col-md-5{margin-bottom:0}.post-type-archive-mec-events .mec-totalcal-box .col-md-5{padding:0}}@media only screen and (max-width:780px){.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view span{margin-top:10px;margin-bottom:10px}.mec-wrap .mec-totalcal-box .mec-totalcal-view span{margin-top:0}}@media only screen and (max-width:760px){.post-type-archive-mec-events .mec-totalcal-box .mec-totalcal-view span{margin-top:20px;margin-bottom:0}.mec-wrap .mec-totalcal-box .mec-totalcal-view span{margin-top:20px}.mec-full-calendar-wrap .mec-totalcal-box .col-md-4,.post-type-archive-mec-events .mec-totalcal-box .col-md-4{padding:0}}@media only screen and (max-width:1200px){.post-type-archive-mec-events .mec-full-calendar-wrap .mec-totalcal-view span{width:14.333%;font-size:8px}}@media only screen and (min-width:320px) and (max-width:960px){.post-type-archive-mec-events .mec-search-form .col-md-5 span{width:20%!important}}.mec-search-form .mec-text-address-search{float:left;width:100%;padding:0 10px}@media (max-width:960px){.mec-search-form .mec-dropdown-search{margin-bottom:10px}.mec-wrap .mec-minmax-event-cost.with-mec-address,.mec-wrap .mec-text-address-search.with-mec-cost{margin-top:0}.mec-search-form .mec-date-search.with-mec-time-picker,.mec-search-form .mec-time-picker-search.with-mec-date-search{width:50%;margin-bottom:20px}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view{margin:0}.mec-full-calendar-wrap .mec-tab-loader{width:100%;display:block;float:unset;padding:0 0 0 10px}}@media (max-width:780px){.mec-full-calendar-wrap .mec-totalcal-box{padding:10px}.mec-search-form .mec-date-search.with-mec-time-picker,.mec-search-form .mec-time-picker-search.with-mec-date-search{margin:20px 0;height:auto}.mec-search-form .mec-date-search{min-height:unset}}@media (max-width:480px){.mec-search-form .mec-date-search.with-mec-time-picker,.mec-search-form .mec-time-picker-search.with-mec-date-search{width:100%}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span{min-width:12%;text-align:center;font-size:9px}.mec-full-calendar-wrap .mec-totalcal-box .mec-totalcal-view span,.mec-search-form .mec-date-search.with-mec-time-picker,.mec-search-form .mec-full-calendar-search-ends .mec-text-input-search,.mec-search-form .mec-minmax-event-cost,.mec-search-form .mec-text-address-search,.mec-search-form .mec-time-picker-search.with-mec-date-search,.mec-wrap .mec-minmax-event-cost.with-mec-address{margin-bottom:0;margin-top:10px;min-height:auto}.mec-wrap .mec-minmax-event-cost.with-mec-address{margin-bottom:10px}.mec-wrap.mec-widget .mec-minmax-event-cost.with-mec-address,.mec-wrap.mec-widget .mec-search-form .mec-time-picker-search.with-mec-date-search,.mec-wrap.mec-widget .mec-text-address-search.with-mec-cost{display:block!important;width:100%!important;max-width:100%!important}.mec-wrap.mec-widget .mec-minmax-event-cost.with-mec-address{float:left!important;max-width:calc(100% - 20px)!important;margin:0 0 0 10px!important}.mec-wrap.mec-widget .mec-search-form .mec-time-picker-search.with-mec-date-search{margin-top:20px!important}.mec-wrap.mec-widget .mec-search-form .mec-text-input-search{padding:10px!important}}.ui-datepicker{background-color:#fff;border:1px solid #66afe9;border-radius:4px;box-shadow:0 0 8px rgba(102,175,233,.6);display:none;margin-top:4px;padding:10px;width:240px}.ui-datepicker a,.ui-datepicker a:hover{text-decoration:none;cursor:pointer}.ui-datepicker a:hover,.ui-datepicker td:hover a{color:#2c6396;-webkit-transition:color .1s ease-in-out;-moz-transition:color .1s ease-in-out;-o-transition:color .1s ease-in-out;transition:color .1s ease-in-out}.ui-datepicker .ui-datepicker-header{margin-bottom:4px;text-align:center}.ui-datepicker .ui-datepicker-title{font-weight:700}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{cursor:default;font-family:dashicons;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;height:20px;line-height:1.4;margin-top:2px;width:20px}.ui-datepicker .ui-datepicker-prev{float:left;text-align:left}.ui-datepicker .ui-datepicker-next{float:right;text-align:center}.ui-datepicker .ui-datepicker-prev:before{content:"\f341"}.ui-datepicker .ui-datepicker-next:before{content:"\f345"}.ui-datepicker .ui-icon{display:none}.ui-datepicker .ui-datepicker-calendar{table-layout:fixed;width:100%}.ui-datepicker .ui-datepicker-calendar td,.ui-datepicker .ui-datepicker-calendar th{text-align:center;padding:4px 0}.ui-datepicker .ui-datepicker-calendar td{border-radius:4px;-webkit-transition:background-color .1s ease-in-out,color .1s ease-in-out;-moz-transition:background-color .1s ease-in-out,color .1s ease-in-out;-o-transition:background-color .1s ease-in-out,color .1s ease-in-out;transition:background-color .1s ease-in-out,color .1s ease-in-out}.ui-datepicker .ui-datepicker-calendar td:hover{background-color:#eee;cursor:pointer}.ui-datepicker .ui-datepicker-calendar td a{text-decoration:none}.ui-datepicker .ui-datepicker-current-day{background-color:#4289cc}.ui-datepicker .ui-datepicker-current-day a{color:#fff}.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover{background-color:#fff;cursor:default}.mec-owl-theme .owl-dots .owl-dot{border:none}.event-carousel-type1-head .mec-event-image{position:relative;min-height:150px}.event-carousel-type1-head .mec-event-image img{width:100%}.mec-event-carousel-content .mec-event-carousel-title a{transition:all .2s ease}.event-carousel-type1-head .mec-event-date-carousel{position:absolute;top:25px;left:1px;font-size:41px;width:160px;color:#fff;font-weight:500;background-color:#40d9f1;padding-left:14px;height:97px;line-height:2.3;padding-right:85px}.event-carousel-type1-head .mec-event-date-carousel:after{content:"";position:absolute;display:inline-block;z-index:-1;bottom:-13px;left:5px;width:0;border-width:13px;border-style:solid;border-color:transparent transparent #40d9f1 transparent;transform:rotate(45deg)}.event-carousel-type1-head .mec-event-date-info{font-size:12px;font-weight:300;position:absolute;top:27px;left:75px}.event-carousel-type1-head .mec-event-date-info-year{font-size:12px;font-weight:300;position:absolute;top:45px;left:75px}.mec-event-carousel-content{border:1px solid #e8e8e8;border-top:none;margin-top:-5px;padding:34px 9px 11px 37px}.mec-event-carousel-content .mec-event-carousel-title a{font-size:23px;font-weight:500;color:#000;letter-spacing:-1px}.mec-event-carousel-content p{font-size:14px;color:#7a7272;font-weight:300}.mec-owl-crousel-skin-type1 .owl-item .mec-event-article{padding:0 19px}.mec-event-carousel-type1 .owl-page.active span{background-color:#00aeef;height:14px;width:14px}.mec-event-carousel-type1 .mec-event-carousel-content{margin-bottom:15px;box-shadow:0 1px 2px rgba(0,0,0,.04);transition:all .27s ease}.mec-event-carousel-type1 .mec-event-carousel-content:hover{box-shadow:0 0 35px rgba(0,0,0,.07)}.mec-skin-carousel-container .mec-multiple-event .mec-event-date-carousel{width:255px}.mec-skin-carousel-container .mec-multiple-event .event-carousel-type1-head .mec-event-date-info,.mec-skin-carousel-container .mec-multiple-event .event-carousel-type1-head .mec-event-date-info-year{left:175px}.mec-skin-carousel-container .mec-time-details,.mec-skin-carousel-container .mec-time-details span{font-size:11px;font-weight:400;line-height:1.9;letter-spacing:0;color:#000;border-radius:2px;white-space:nowrap}.mec-event-carousel-type4 .mec-time-details,.mec-event-carousel-type4 .mec-time-details span{color:#fff}.mec-skin-carousel-container .mec-time-details span{margin:0;display:inline-block}@media only screen and (min-width:768px) and (max-width:1000px),(min-width:270px) and (max-width:448px){.event-carousel-type1-head .mec-event-date-carousel{font-size:25px;line-height:2.5;padding-right:70px;height:64px;width:120px}.event-carousel-type1-head .mec-event-date-carousel:after{left:7px}.event-carousel-type1-head .mec-event-date-info{font-size:10px;top:13px;left:55px}.event-carousel-type1-head .mec-event-date-info-year{font-size:10px;top:25px;left:55px}.event-carousel-type1-head .mec-event-date-carousel:after{top:48px}}.event-carousel-type2-head{background:#fff;border:1px solid #e6e6e6}.event-carousel-type2-head .mec-event-carousel-content-type2{margin-top:15px;min-height:182px}.event-carousel-type2-head .mec-event-carousel-content-type2 .mec-event-date-info{font-size:15px;color:#9a9a9a;font-weight:300}.event-carousel-type2-head .mec-event-carousel-content-type2 .mec-event-carousel-title{font-size:26px;font-weight:700;color:#1c1d21;margin-top:15px;letter-spacing:-1px}.mec-event-carousel-content-type2 .mec-event-carousel-title a{color:inherit}.mec-event-carousel-type2 .event-carousel-type2-head .mec-event-carousel-content-type2 p{font-size:16px;font-weight:300;color:#444}.event-carousel-type2-head .mec-event-footer-carousel-type2{margin-top:33px;position:relative}.mec-event-carousel-type2 .mec-event-footer-carousel-type2 .mec-event-sharing-wrap{padding-left:0;left:0}.event-carousel-type2-head .mec-event-footer-carousel-type2 .mec-event-sharing-wrap>li{border:none;-webkit-transition:all .25s ease;transition:all .25s ease}.event-carousel-type2-head .mec-event-footer-carousel-type2 .mec-booking-button{border:1px solid #e4e4e4;float:right;padding:7px 23px 7px;font-size:12px;text-transform:uppercase;color:#707070;font-weight:500;-webkit-transition:all .25s ease;transition:all .25s ease}.event-carousel-type2-head .mec-event-footer-carousel-type2 .mec-booking-button:hover{color:#fff}.mec-event-article .event-carousel-type2-head{padding:10%;margin-right:-1px}.mec-event-carousel-type2 .mec-owl-carousel .owl-wrapper-outer{border-right:1px solid #e6e6e6}.mec-wrap .mec-event-carousel-type2 .owl-next,.mec-wrap .mec-event-carousel-type2 .owl-prev,.mec-wrap .mec-event-carousel-type3 .owl-next,.mec-wrap .mec-event-carousel-type3 .owl-prev,.mec-wrap .mec-event-carousel-type4 .owl-next,.mec-wrap .mec-event-carousel-type4 .owl-prev{transition:all .25s ease;-webkit-transition:all .25s ease;position:absolute;top:47%;background-color:transparent!important}.mec-event-carousel-type2 .owl-next{right:-60px}.mec-event-carousel-type2 .owl-prev{left:-60px}.mec-event-carousel-type2 .owl-next i,.mec-event-carousel-type2 .owl-prev i,.mec-event-carousel-type3 .owl-next i,.mec-event-carousel-type3 .owl-prev i,.mec-event-carousel-type4 .owl-next i,.mec-event-carousel-type4 .owl-prev i{font-size:40px;color:#282828}.mec-event-carousel-type2 .owl-next i:hover,.mec-event-carousel-type2 .owl-prev i:hover,.mec-event-carousel-type3 .owl-next i:hover,.mec-event-carousel-type3 .owl-prev i:hover{color:#000;cursor:pointer}.mec-event-footer-carousel-type2 .mec-event-sharing-wrap .mec-event-sharing{top:auto;bottom:60px}.mec-event-footer-carousel-type2 .mec-event-sharing-wrap .mec-event-sharing:after,.mec-event-footer-carousel-type2 .mec-event-sharing-wrap .mec-event-sharing:before{top:auto;bottom:-19px;border-color:#e2e2e2 transparent transparent transparent}.mec-event-footer-carousel-type2 .mec-event-sharing-wrap .mec-event-sharing:after{bottom:-18px;border-color:#fff transparent transparent transparent}@media only screen and (min-width:320px) and (max-width:768px){.mec-event-carousel-type2 .owl-next,.mec-event-carousel-type2 .owl-prev,.mec-event-carousel-type3 .owl-next,.mec-event-carousel-type3 .owl-prev,.mec-event-carousel-type4 .owl-next,.mec-event-carousel-type4 .owl-prev{position:initial;top:100%}}.mec-event-carousel-type3 .mec-event-article{margin:0 10px}.event-carousel-type3-head .mec-event-image,.event-carousel-type3-head .mec-event-image img{width:100%;height:auto}.event-carousel-type3-head .mec-event-footer-carousel-type3{background:#fff;display:inline-block;width:calc(100% - 40px);margin-top:-74px;position:relative;margin-left:20px;margin-right:20px;margin-bottom:6px;padding:8% 11%;box-shadow:0 2px 10px -2px rgba(0,0,0,.2)}.event-carousel-type3-head .mec-event-footer-carousel-type3 .mec-booking-button{border:1px solid #e4e4e4;text-transform:uppercase;float:right;padding:7px 23px 7px;font-size:12px;color:#707070;font-weight:500}.event-carousel-type3-head .mec-event-footer-carousel-type3 .mec-booking-button:hover{color:#fff}.mec-event-footer-carousel-type3 span{font-size:15px;color:#9a9a9a;font-weight:300;display:block;margin-top:30px}.mec-event-footer-carousel-type3 .mec-event-carousel-title{font-size:29px;font-weight:700}.event-carousel-type3-head .mec-event-footer-carousel-type3 .mec-event-carousel-title{font-size:26px;font-weight:700;color:#1c1d21;margin-top:15px;letter-spacing:-1px}.mec-event-footer-carousel-type3 .mec-event-carousel-title a{color:inherit}.event-carousel-type3-head .mec-event-footer-carousel-type3 p{font-size:16px;font-weight:300;color:#444!important;margin-bottom:36px}.mec-event-carousel-type3 .owl-next{right:-70px}.mec-event-carousel-type3 .owl-prev{left:-70px}.mec-event-footer-carousel-type3 .mec-event-sharing-wrap{left:11%}.mec-event-footer-carousel-type3 .mec-event-sharing-wrap .mec-event-sharing{top:auto;bottom:60px}.mec-event-footer-carousel-type3 .mec-event-sharing-wrap .mec-event-sharing:after,.mec-event-footer-carousel-type3 .mec-event-sharing-wrap .mec-event-sharing:before{top:auto;bottom:-19px;border-color:#e2e2e2 transparent transparent transparent}.mec-event-footer-carousel-type3 .mec-event-sharing-wrap .mec-event-sharing:after{bottom:-18px;border-color:#fff transparent transparent transparent}.event-carousel-type3-head .mec-end-date-label{display:inline;margin-left:2px}.event-carousel-type4-head.clearfix{position:relative;overflow:hidden;background:#fff}.event-carousel-type4-head .mec-event-overlay{position:absolute;left:0;right:0;bottom:0;top:0;width:auto;height:auto;background-color:rgba(36,36,36,.4);transition:all .33s ease-in-out}.mec-event-hover-carousel-type4{font-size:15px;color:#fff;position:absolute;bottom:0;padding:50px 35px;transition:all .33s ease-in-out;opacity:0;visibility:hidden}.mec-event-carousel-type4 .mec-event-article{margin:0 10px}.mec-event-carousel-type4 .mec-event-article:hover .mec-event-hover-carousel-type4{opacity:1;visibility:visible}.mec-event-hover-carousel-type4 .mec-event-icon{font-size:18px;float:left;margin-right:14px;color:#fff;padding:13px}.mec-event-hover-carousel-type4 .mec-event-date{font-size:11px;text-transform:uppercase;font-weight:400;line-height:1.6;text-align:left}.mec-event-hover-carousel-type4 .mec-event-date span{display:block;font-weight:700;font-size:14px}.mec-event-hover-carousel-type4 .mec-event-title{color:#fff;margin:20px 0 38px;font-size:16px;font-weight:700;text-transform:uppercase;font-style:normal}.mec-event-hover-carousel-type4 .mec-btn-wrapper{text-align:left}.mec-event-hover-carousel-type4 .mec-event-button{color:#fff;background-color:#191919;border:2px #191919 solid;padding:10px 14px;letter-spacing:1.5px;font-size:11px;font-weight:700;font-style:normal;transition:all .22s ease;text-decoration:none}.mec-event-hover-carousel-type4 .mec-event-button:hover{color:#191919;background-color:#fff;border-color:#fff;border-radius:1px}.mec-event-carousel-type4 .owl-next{right:-70px}.mec-event-carousel-type4 .owl-prev{left:-70px}.mec-carousel-type4-head{margin-bottom:25px}.mec-carousel-type4-head-title{padding:0 11px;text-align:left;font-weight:700;font-size:20px;color:#000}.mec-carousel-type4-head-link{text-align:right;padding:0 11px}.mec-carousel-type4-head-link a{background:#222;color:#fff;padding:10px 38px;transition:all .3s ease}.mec-carousel-type4-head-link a:hover,.mec-carousel-type4-head-link a:visited{color:#fff}@media (max-width:960px){.mec-event-carousel-type4 .owl-stage{left:-50px}}.mec-wrap .mec-event-countdown-style1{color:#fff;padding:0!important;display:table;background:#437df9}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part1{z-index:5;padding:50px 1% 50px 4%;display:table-cell;float:none;vertical-align:middle}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part2{background-color:rgba(0,0,0,.05);height:100%;padding-top:0;display:table-cell;float:none;position:relative;vertical-align:middle}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part3{background-color:#f8f8f8;display:table-cell;float:none;text-align:center;vertical-align:middle}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part1 .mec-event-title{color:#fff;font-size:15px;margin-top:30px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part1 .mec-event-upcoming{font-size:36px;font-weight:700;line-height:1;margin-top:0}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part2 .mec-event-countdown>div{display:inline-block}.mec-event-countdown-style1 .mec-events-meta-group-countdown{color:#c9c9c9;margin-bottom:30px;padding:20px 30px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-countdown-style1 .mec-event-countdown-part1 .mec-event-upcoming span{display:block}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part2:after{content:"";position:absolute;display:inline-block;z-index:1;top:50%;margin-top:-11px;right:-24px;width:0;border-width:12px;border-style:solid;border-color:transparent transparent transparent #4077ed}.mec-event-countdown-style1 .mec-event-countdown-part2 .mec-event-date-place{text-align:center;padding-bottom:8px}.mec-event-countdown-part2 .mec-event-place,.mec-event-countdown-style1 .mec-event-countdown-part2 .mec-event-date{display:inline;font-size:14px;padding:0 5px;text-align:center}.mec-event-countdown-style1 .mec-event-countdown-part3 .mec-event-button{display:inline-block;padding:14px 30px;vertical-align:middle;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#fff;background:#4077ed;transition:all .24s ease}.mec-event-countdown-style1 .mec-event-countdown-part3 .mec-event-button:hover{background:#222}.mec-event-countdown-style1 .mec-event-countdown{text-align:center;display:table;table-layout:fixed;margin:0 auto}.mec-event-countdown-style1 .mec-event-countdown .label-w{letter-spacing:1px;text-transform:uppercase;position:relative}.mec-event-countdown-style1 .mec-event-countdown .block-w{display:table-cell;margin:0 20px 10px;position:relative;height:70px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li{background-color:rgba(0,0,0,.1);margin:5px;padding:20px 0;min-width:94px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li span{font-size:30px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li .label-w{font-size:12px;color:#fff;margin:8px 0 0;line-height:1}@media only screen and (min-width:1200px){.mec-wrap.mec-sm959 .mec-event-countdown-style1 .mec-event-countdown-part1,.mec-wrap.mec-sm959 .mec-event-countdown-style1 .mec-event-countdown-part2,.mec-wrap.mec-sm959 .mec-event-countdown-style1 .mec-event-countdown-part3{width:100%;display:block;padding-top:50px;padding-bottom:50px}.mec-wrap.mec-sm959 .mec-event-countdown-style1 .mec-event-countdown-part2:after{border-color:#4077ed transparent transparent transparent;top:auto;margin-top:0;bottom:-24px;margin-left:-11px;left:50%}}@media (max-width:960px){.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part1,.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part2,.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part3{width:100%;display:block;padding-top:50px;padding-bottom:50px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown-part2:after{border-color:#4077ed transparent transparent transparent;top:auto;margin-top:0;bottom:-24px;margin-left:-11px;left:50%;transform:rotate(90deg)}}@media (max-width:480px){.mec-event-countdown-style1 .mec-event-countdown .block-w{margin:3px;height:auto}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li{padding:10px 5px;min-width:50px;margin:3px 1px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li span{font-size:15px}.mec-wrap .mec-event-countdown-style1 .mec-event-countdown li .label-w{font-size:8px}.mec-event-countdown-style1 .mec-event-countdown-part2 .mec-event-date-place{display:inline}}.mec-wrap .mec-event-countdown-style2{color:#fff;padding:30px 0;background:#437df9;max-width:600px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part1,.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part2,.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part3{width:100%;float:none;vertical-align:middle;padding:50px 10% 50px 10%}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part2{padding-top:12%;padding-bottom:0}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part1 .mec-event-title{color:#fff;font-size:15px;margin-top:30px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part1 .mec-event-upcoming{font-size:36px;font-weight:700;line-height:1;margin-top:0}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown-part2 .mec-event-countdown>div{display:inline-block}.mec-event-countdown-style2 .mec-events-meta-group-countdown{color:#c9c9c9;margin-bottom:30px;padding:20px 30px;background:#fff;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-countdown-style2 .mec-event-countdown-part1 .mec-event-upcoming span{display:block}.mec-event-countdown-style2 .mec-event-countdown-part2 .mec-event-date-place{text-align:left;padding-bottom:8px}.mec-event-countdown-part2 .mec-event-place,.mec-event-countdown-style2 .mec-event-countdown-part2 .mec-event-date{display:inline;font-size:14px;padding:0 8px}.mec-event-countdown-style2 .mec-event-countdown-part3 .mec-event-button{display:inline-block;padding:14px 30px;vertical-align:middle;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#222;background:#fff;transition:all .24s ease}.mec-event-countdown-style2 .mec-event-countdown-part3 .mec-event-button:hover{background:#222;color:#fff}.mec-event-countdown-style2 .mec-event-countdown{text-align:center;display:table;table-layout:fixed;margin:0}.mec-event-countdown-style2 .mec-event-countdown .label-w{letter-spacing:1px;text-transform:uppercase;position:relative}.mec-event-countdown-style2 .mec-event-countdown .block-w{display:table-cell;margin:0 20px 10px;position:relative;height:70px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li{background-color:rgba(0,0,0,.1);margin:5px;padding:20px 0;min-width:94px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li span{font-size:30px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li .label-w{font-size:12px;color:#fff;margin:8px 0 0;line-height:1}@media only screen and (max-width:767px){.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li{min-width:80px;padding:15px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li span{font-size:26px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li .label-w{font-size:11px}}@media only screen and (max-width:479px){.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li{min-width:40px;padding:15px 10px;margin:2px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li span{font-size:20px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li .label-w{font-size:9px}}@media (max-width:380px){.mec-event-countdown-style2 .mec-event-countdown .block-w{margin:3px;height:auto}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li{padding:10px 4px;margin:4px 1px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li span{font-size:15px}.mec-wrap .mec-event-countdown-style2 .mec-event-countdown li .label-w{font-size:7px}}.mec-wrap .mec-event-countdown-style3{color:#fff;padding:0;background:#282828;display:table;width:100%}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part1{width:68%;padding:50px 1% 50px 4%;vertical-align:middle;display:table-cell;position:relative}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part2{width:32%;display:table-cell;position:relative;padding-bottom:0;padding-top:0}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part2 img{width:100%;display:block}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part1 .mec-event-countdown-part-title span{font-weight:300;display:block}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part1 .mec-event-upcoming{color:#fff;font-size:36px;letter-spacing:-2px;font-weight:700;line-height:1;margin-top:-10px}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown-part2 .mec-event-countdown>div{display:inline-block}.mec-event-countdown-style3 .mec-events-meta-group-countdown{color:#c9c9c9;margin-bottom:30px;padding:20px 30px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 2px 0 0 rgba(0,0,0,.016)}.mec-event-countdown-style3 .mec-event-countdown-part2 .mec-event-date-place{text-align:center;padding-bottom:8px}.mec-event-countdown-part2 .mec-event-place,.mec-event-countdown-style3 .mec-event-countdown-part2 .mec-event-date{display:inline;font-size:14px;padding:0 5px;text-align:center}.mec-event-countdown-style3 .mec-event-countdown-part3 .mec-event-button{display:inline-block;padding:14px 30px;vertical-align:middle;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:#fff;background:#4077ed;transition:all .24s ease}.mec-event-countdown-style3 .mec-event-countdown-part3 .mec-event-button:hover{background:#222}.mec-event-countdown-style3 .mec-event-countdown{text-align:center;display:table;table-layout:fixed;margin:0 auto;position:absolute;top:40px;right:20px}.mec-event-countdown-style3 .mec-event-countdown .label-w{letter-spacing:1px;text-transform:uppercase;position:relative}.mec-event-countdown-style3 .mec-event-countdown .block-w{display:table-cell;margin:0 20px 10px;position:relative;height:70px}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown li{padding:15px}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown li span{font-size:30px}.mec-wrap .mec-event-countdown-style3 .mec-event-countdown li .label-w{font-size:11px;color:#888;margin:8px 0 0;line-height:1}.mec-event-countdown-style3 .mec-event-date{width:176px;height:96px;background:#40d9f1;color:#fff;font-size:13px;position:absolute;left:-27px;top:146px}.mec-event-countdown-style3 .mec-event-date:after{content:"";position:absolute;display:inline-block;z-index:1;bottom:-18px;left:8px;width:0;border-width:19px;border-style:solid;border-color:transparent transparent #40d9f1 transparent;transform:rotate(45deg)}.mec-event-countdown-style3 .mec-event-date .mec-date1{font-size:50px;position:absolute;top:36px;left:12px;letter-spacing:-3px}.mec-event-countdown-style3 .mec-event-date .mec-date2{position:absolute;left:80px;top:26px}.mec-event-countdown-style3 .mec-event-date .mec-date3{position:absolute;left:80px;top:45px}.mec-event-countdown-style3 .mec-event-countdown-part-details{padding-top:35px;margin-bottom:50px;min-height:100px}.mec-event-countdown-style3 .mec-event-countdown-part-details .mec-event-title{font-size:17px;color:#fff;line-height:1.4;padding-right:20px}.mec-event-countdown-style3 .mec-event-countdown-part-details .mec-event-link{color:#fff;font-size:12px;position:relative;padding-left:22px}.mec-event-countdown-style3 .mec-event-countdown-part-details .mec-event-link:before{content:"";display:inline-block;width
|
|