BuddyPress - Version 11.0.0-beta1

Version Description

= 10.6.0 = See: https://codex.buddypress.org/releases/version-10-6-0/

= 10.5.0 = See: https://codex.buddypress.org/releases/version-10-5-0/

= 10.4.0 = See: https://codex.buddypress.org/releases/version-10-4-0/

= 10.3.0 = See: https://codex.buddypress.org/releases/version-10-3-0/

= 10.2.0 = See: https://codex.buddypress.org/releases/version-10-2-0/

= 10.1.0 = See: https://codex.buddypress.org/releases/version-10-1-0/

= 10.0.0 = See: https://codex.buddypress.org/releases/version-10-0-0/

= 9.2.0 = See: https://codex.buddypress.org/releases/version-9-2-0/

= 9.1.1 = See: https://codex.buddypress.org/releases/version-9-1-1/

= 9.0.0 = See: https://codex.buddypress.org/releases/version-9-0-0/

= 8.0.0 = See: https://codex.buddypress.org/releases/version-8-0-0/

= 7.3.0 = See: https://codex.buddypress.org/releases/version-7-3-0/

= 7.2.1 = See: https://codex.buddypress.org/releases/version-7-2-1/

= 7.2.0 = See: https://codex.buddypress.org/releases/version-7-2-0/

= 7.1.0 = See: https://codex.buddypress.org/releases/version-7-1-0/

= 7.0.0 = See: https://codex.buddypress.org/releases/version-7-0-0/

= 6.4.0 = See: https://codex.buddypress.org/releases/version-6-4-0/

= 6.3.0 = See: https://codex.buddypress.org/releases/version-6-3-0/

= 6.2.0 = See: https://codex.buddypress.org/releases/version-6-2-0/

= 6.1.0 = See: https://codex.buddypress.org/releases/version-6-1-0/

= 6.0.0 = See: https://codex.buddypress.org/releases/version-6-0-0/

= 5.2.0 = See: https://codex.buddypress.org/releases/version-5-2-0/

= 5.1.2 = See: https://codex.buddypress.org/releases/version-5-1-2/

= 5.1.1 = See: https://codex.buddypress.org/releases/version-5-1-1/

= 5.1.0 = See: https://codex.buddypress.org/releases/version-5-1-0/

= 5.0.0 = See: https://codex.buddypress.org/releases/version-5-0-0/

Download this release

Release Info

Developer imath
Plugin Icon 128x128 BuddyPress
Version 11.0.0-beta1
Comparing to
See all releases

Code changes from version 10.6.0 to 11.0.0-beta1

Files changed (90) hide show
  1. bp-activity/bp-activity-cache.php +1 -1
  2. bp-activity/bp-activity-functions.php +58 -12
  3. bp-activity/bp-activity-template.php +74 -27
  4. bp-activity/classes/class-bp-activity-activity.php +68 -7
  5. bp-activity/classes/class-bp-activity-component.php +6 -4
  6. bp-activity/classes/class-bp-rest-activity-endpoint.php +47 -23
  7. bp-blogs/bp-blogs-activity.php +63 -111
  8. bp-blogs/bp-blogs-functions.php +9 -6
  9. bp-blogs/bp-blogs-template.php +35 -9
  10. bp-blogs/classes/class-bp-blogs-blog.php +41 -26
  11. bp-blogs/classes/class-bp-rest-blogs-endpoint.php +1 -1
  12. bp-core/bp-core-actions.php +3 -0
  13. bp-core/bp-core-attachments.php +19 -8
  14. bp-core/bp-core-avatars.php +6 -6
  15. bp-core/bp-core-cssjs.php +5 -5
  16. bp-core/bp-core-dependency.php +43 -7
  17. bp-core/bp-core-filters.php +1 -1
  18. bp-core/bp-core-functions.php +226 -20
  19. bp-core/bp-core-moderation.php +0 -6
  20. bp-core/bp-core-rest-api.php +1 -1
  21. bp-core/bp-core-update.php +45 -0
  22. bp-core/classes/class-bp-admin.php +5 -3
  23. bp-core/classes/class-bp-attachment-avatar.php +3 -0
  24. bp-core/classes/class-bp-attachment-cover-image.php +3 -0
  25. bp-core/classes/class-bp-attachment.php +2 -11
  26. bp-core/classes/class-bp-block.php +117 -44
  27. bp-core/classes/class-bp-core-bp-nav-backcompat.php +8 -6
  28. bp-core/classes/class-bp-core.php +3 -1
  29. bp-core/classes/class-bp-phpmailer.php +29 -100
  30. bp-core/classes/class-bp-rest-components-endpoint.php +6 -5
  31. bp-core/deprecated/11.0.php +78 -0
  32. bp-core/js/bp-plupload.js +7 -0
  33. bp-core/js/bp-plupload.min.js +1 -1
  34. bp-core/js/vendor/jquery.atwho.min.js +1 -1
  35. bp-core/js/vendor/moment-js/moment.min.js +1 -1
  36. bp-friends/bp-friends-blocks.php +1 -1
  37. bp-friends/bp-friends-template.php +45 -20
  38. bp-friends/classes/class-bp-rest-friends-endpoint.php +2 -2
  39. bp-groups/bp-groups-activity.php +1 -1
  40. bp-groups/bp-groups-blocks.php +1 -1
  41. bp-groups/bp-groups-cache.php +4 -1
  42. bp-groups/bp-groups-functions.php +8 -3
  43. bp-groups/bp-groups-notifications.php +44 -1
  44. bp-groups/bp-groups-template.php +63 -27
  45. bp-groups/classes/class-bp-group-member-query.php +8 -3
  46. bp-groups/classes/class-bp-groups-component.php +13 -8
  47. bp-groups/classes/class-bp-groups-group.php +9 -5
  48. bp-groups/classes/class-bp-rest-group-invites-endpoint.php +3 -7
  49. bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php +2 -7
  50. bp-groups/classes/class-bp-rest-groups-endpoint.php +66 -11
  51. bp-groups/screens/user/invites.php +5 -5
  52. bp-loader.php +12 -9
  53. bp-members/bp-members-blocks.php +1 -1
  54. bp-members/bp-members-functions.php +10 -5
  55. bp-members/bp-members-invitations.php +13 -12
  56. bp-members/classes/class-bp-members-component.php +1 -1
  57. bp-members/classes/class-bp-members-invitation-manager.php +1 -1
  58. bp-members/classes/class-bp-rest-members-endpoint.php +82 -3
  59. bp-members/classes/class-bp-rest-signup-endpoint.php +1 -5
  60. bp-messages/bp-messages-template.php +59 -31
  61. bp-messages/classes/class-bp-messages-message.php +2 -2
  62. bp-messages/classes/class-bp-rest-messages-endpoint.php +17 -17
  63. bp-messages/classes/class-bp-rest-sitewide-notices-endpoint.php +2 -2
  64. bp-messages/js/autocomplete/jquery.autocomplete.min.js +1 -1
  65. bp-messages/js/autocomplete/jquery.bgiframe.min.js +1 -1
  66. bp-notifications/classes/class-bp-notifications-component.php +3 -1
  67. bp-notifications/classes/class-bp-rest-notifications-endpoint.php +1 -1
  68. bp-settings/actions/general.php +25 -17
  69. bp-settings/classes/class-bp-settings-component.php +1 -1
  70. bp-templates/bp-legacy/buddypress-functions.php +8 -4
  71. bp-templates/bp-legacy/buddypress/members/single/groups.php +10 -11
  72. bp-templates/bp-legacy/buddypress/members/single/groups/invites.php +4 -4
  73. bp-templates/bp-legacy/buddypress/members/single/messages/compose.php +1 -1
  74. bp-templates/bp-legacy/buddypress/members/single/settings/data.php +26 -17
  75. bp-templates/bp-legacy/css/buddypress-rtl.css +11 -0
  76. bp-templates/bp-legacy/css/buddypress-rtl.min.css +1 -1
  77. bp-templates/bp-legacy/css/buddypress.css +11 -0
  78. bp-templates/bp-legacy/css/buddypress.min.css +1 -1
  79. bp-templates/bp-legacy/js/buddypress.js +4 -0
  80. bp-templates/bp-legacy/js/buddypress.min.js +1 -1
  81. bp-templates/bp-nouveau/buddypress-functions.php +5 -5
  82. bp-templates/bp-nouveau/buddypress/members/single/groups.php +2 -7
  83. bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php +2 -2
  84. bp-templates/bp-nouveau/buddypress/members/single/settings/data.php +29 -8
  85. bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss +17 -0
  86. bp-templates/bp-nouveau/css/buddypress-rtl.css +11 -0
  87. bp-templates/bp-nouveau/css/buddypress-rtl.min.css +1 -1
  88. bp-templates/bp-nouveau/css/buddypress.css +11 -0
  89. bp-templates/bp-nouveau/css/buddypress.min.css +1 -1
  90. bp-templates/bp-nouveau/css/twentytwentythree-rtl.css +1718 -0
bp-activity/bp-activity-cache.php CHANGED
@@ -49,7 +49,7 @@ function bp_activity_clear_cache_for_activity( $activity ) {
49
  wp_cache_delete( 'bp_activity_sitewide_front', 'bp' );
50
 
51
  // Clear the comments cache for the parent activity ID.
52
- if ( 'activity_comment' === $activity->type ) {
53
  wp_cache_delete( $activity->item_id, 'bp_activity_comments' );
54
  }
55
  }
49
  wp_cache_delete( 'bp_activity_sitewide_front', 'bp' );
50
 
51
  // Clear the comments cache for the parent activity ID.
52
+ if ( 'activity_comment' === $activity->type && ! empty( $activity->item_id ) ) {
53
  wp_cache_delete( $activity->item_id, 'bp_activity_comments' );
54
  }
55
  }
bp-activity/bp-activity-functions.php CHANGED
@@ -1847,6 +1847,8 @@ function bp_activity_get( $args = '' ) {
1847
  'meta_query' => false, // Filter by activity meta. See WP_Meta_Query for format.
1848
  'date_query' => false, // Filter by date. See first parameter of WP_Date_Query for format.
1849
  'filter_query' => false,
 
 
1850
  'show_hidden' => false, // Show activity items that are hidden site-wide?
1851
  'exclude' => false, // Comma-separated list of activity IDs to exclude.
1852
  'in' => false, // Comma-separated list or array of activity IDs to which you want to limit the query.
@@ -1882,6 +1884,8 @@ function bp_activity_get( $args = '' ) {
1882
  'date_query' => $r['date_query'],
1883
  'filter_query' => $r['filter_query'],
1884
  'filter' => $r['filter'],
 
 
1885
  'scope' => $r['scope'],
1886
  'display_comments' => $r['display_comments'],
1887
  'show_hidden' => $r['show_hidden'],
@@ -2063,7 +2067,7 @@ function bp_activity_add( $args = '' ) {
2063
  }
2064
 
2065
  // If this is an activity comment, rebuild the tree.
2066
- if ( 'activity_comment' === $activity->type ) {
2067
  // Also clear the comment cache for the parent activity ID.
2068
  wp_cache_delete( $activity->item_id, 'bp_activity_comments' );
2069
 
@@ -3460,9 +3464,39 @@ function bp_activity_create_summary( $content, $activity ) {
3460
  'width' => isset( $GLOBALS['content_width'] ) ? (int) $GLOBALS['content_width'] : 'medium',
3461
  );
3462
 
 
 
 
 
 
 
 
 
3463
  // Get the WP_Post object if this activity type is a blog post.
3464
  if ( $activity['type'] === 'new_blog_post' ) {
3465
- $content = get_post( $activity['secondary_item_id'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3466
  }
3467
 
3468
  /**
@@ -3491,7 +3525,6 @@ function bp_activity_create_summary( $content, $activity ) {
3491
  */
3492
  $args = apply_filters( 'bp_activity_create_summary_extractor_args', $args, $content, $activity, $extractor );
3493
 
3494
-
3495
  // Extract media information from the $content.
3496
  $media = $extractor->extract( $content, BP_Media_Extractor::ALL, $args );
3497
 
@@ -3578,22 +3611,35 @@ function bp_activity_create_summary( $content, $activity ) {
3578
  }
3579
 
3580
  // Generate a text excerpt for this activity item (and remove any oEmbeds URLs).
3581
- $summary = bp_create_excerpt( html_entity_decode( $content ), 225, array(
3582
- 'html' => false,
3583
- 'filter_shortcodes' => true,
3584
- 'strip_tags' => true,
3585
- 'remove_links' => true
3586
- ) );
 
3587
 
3588
  if ( $use_media_type === 'embeds' ) {
3589
- $summary .= PHP_EOL . PHP_EOL . $extracted_media['url'];
3590
  } elseif ( $use_media_type === 'images' ) {
3591
  $extracted_media_url = isset( $extracted_media['url'] ) ? $extracted_media['url'] : '';
3592
- $summary .= sprintf( ' <img src="%s">', esc_url( $extracted_media_url ) );
 
 
 
 
 
3593
  } elseif ( in_array( $use_media_type, array( 'audio', 'videos' ), true ) ) {
3594
- $summary .= PHP_EOL . PHP_EOL . $extracted_media['original']; // Full shortcode.
3595
  }
3596
 
 
 
 
 
 
 
 
3597
  /**
3598
  * Filters the newly-generated summary for the activity item.
3599
  *
1847
  'meta_query' => false, // Filter by activity meta. See WP_Meta_Query for format.
1848
  'date_query' => false, // Filter by date. See first parameter of WP_Date_Query for format.
1849
  'filter_query' => false,
1850
+ 'user_id__in' => array(), // Array of user ids to include.
1851
+ 'user_id__not_in' => array(), // Array of user ids to excluce.
1852
  'show_hidden' => false, // Show activity items that are hidden site-wide?
1853
  'exclude' => false, // Comma-separated list of activity IDs to exclude.
1854
  'in' => false, // Comma-separated list or array of activity IDs to which you want to limit the query.
1884
  'date_query' => $r['date_query'],
1885
  'filter_query' => $r['filter_query'],
1886
  'filter' => $r['filter'],
1887
+ 'user_id__in' => $r['user_id__in'],
1888
+ 'user_id__not_in' => $r['user_id__not_in'],
1889
  'scope' => $r['scope'],
1890
  'display_comments' => $r['display_comments'],
1891
  'show_hidden' => $r['show_hidden'],
2067
  }
2068
 
2069
  // If this is an activity comment, rebuild the tree.
2070
+ if ( 'activity_comment' === $activity->type && ! empty( $activity->item_id ) ) {
2071
  // Also clear the comment cache for the parent activity ID.
2072
  wp_cache_delete( $activity->item_id, 'bp_activity_comments' );
2073
 
3464
  'width' => isset( $GLOBALS['content_width'] ) ? (int) $GLOBALS['content_width'] : 'medium',
3465
  );
3466
 
3467
+ $post_url = '';
3468
+ $post_title = '';
3469
+ $bp_excerpt_args = array(
3470
+ 'html' => false,
3471
+ 'filter_shortcodes' => true,
3472
+ 'strip_tags' => true,
3473
+ 'remove_links' => true,
3474
+ );
3475
  // Get the WP_Post object if this activity type is a blog post.
3476
  if ( $activity['type'] === 'new_blog_post' ) {
3477
+ $content = get_post( $activity['secondary_item_id'] );
3478
+ $post_url = $content->guid;
3479
+ $post_title = sprintf(
3480
+ '<strong><a href="%1$s">%2$s</a></strong>',
3481
+ esc_url( $post_url ),
3482
+ esc_html( $content->post_title )
3483
+ );
3484
+
3485
+ $more_text = sprintf(
3486
+ '<span>%s</span>',
3487
+ trim( __( ' [&hellip;]', 'buddypress' ) )
3488
+ );
3489
+
3490
+ /** This filter is documented in wp-admin/includes/post-template.php */
3491
+ $bp_excerpt_args['ending'] = apply_filters(
3492
+ 'the_content_more_link',
3493
+ sprintf(
3494
+ ' <a href="%1$s">%2$s</a>',
3495
+ esc_url( $post_url ),
3496
+ $more_text
3497
+ ),
3498
+ $more_text
3499
+ );
3500
  }
3501
 
3502
  /**
3525
  */
3526
  $args = apply_filters( 'bp_activity_create_summary_extractor_args', $args, $content, $activity, $extractor );
3527
 
 
3528
  // Extract media information from the $content.
3529
  $media = $extractor->extract( $content, BP_Media_Extractor::ALL, $args );
3530
 
3611
  }
3612
 
3613
  // Generate a text excerpt for this activity item (and remove any oEmbeds URLs).
3614
+ $summary_parts = array(
3615
+ str_replace(
3616
+ array( "\n", "\r" ),
3617
+ ' ',
3618
+ trim( bp_create_excerpt( html_entity_decode( $content ), 225, $bp_excerpt_args ) )
3619
+ ),
3620
+ );
3621
 
3622
  if ( $use_media_type === 'embeds' ) {
3623
+ $summary_parts[] = PHP_EOL . PHP_EOL . $extracted_media['url'];
3624
  } elseif ( $use_media_type === 'images' ) {
3625
  $extracted_media_url = isset( $extracted_media['url'] ) ? $extracted_media['url'] : '';
3626
+ $image_tag = sprintf( '<img src="%s"> ', esc_url( $extracted_media_url ) );
3627
+
3628
+ if ( $post_url ) {
3629
+ $image_tag = sprintf( '<a href="%1$s" class="activity-post-featured-image">%2$s</a> ', esc_url( $post_url ), trim( $image_tag ) );
3630
+ array_unshift( $summary_parts, $image_tag );
3631
+ }
3632
  } elseif ( in_array( $use_media_type, array( 'audio', 'videos' ), true ) ) {
3633
+ $summary_parts[] = PHP_EOL . PHP_EOL . $extracted_media['original']; // Full shortcode.
3634
  }
3635
 
3636
+ if ( $post_title ) {
3637
+ array_unshift( $summary_parts, $post_title );
3638
+ }
3639
+
3640
+ // Join summary parts.
3641
+ $summary = implode( '', $summary_parts );
3642
+
3643
  /**
3644
  * Filters the newly-generated summary for the activity item.
3645
  *
bp-activity/bp-activity-template.php CHANGED
@@ -272,6 +272,7 @@ function bp_has_activities( $args = '' ) {
272
  'primary_id' => $primary_id, // Object ID to filter on e.g. a group_id or blog_id etc.
273
  'secondary_id' => false, // Secondary object ID to filter on e.g. a post_id.
274
  'offset' => false, // Return only items >= this ID.
 
275
  'since' => false, // Return only items recorded since this Y-m-d H:i:s date.
276
 
277
  'meta_query' => false, // Filter on activity meta. See WP_Meta_Query for format.
@@ -326,7 +327,7 @@ function bp_has_activities( $args = '' ) {
326
  $r['filter'] = array(
327
  'object' => $_GET['afilter']
328
  );
329
- } elseif ( ! empty( $r['user_id'] ) || ! empty( $r['object'] ) || ! empty( $r['action'] ) || ! empty( $r['primary_id'] ) || ! empty( $r['secondary_id'] ) || ! empty( $r['offset'] ) || ! empty( $r['since'] ) ) {
330
  $r['filter'] = array(
331
  'user_id' => $r['user_id'],
332
  'object' => $r['object'],
@@ -334,6 +335,7 @@ function bp_has_activities( $args = '' ) {
334
  'primary_id' => $r['primary_id'],
335
  'secondary_id' => $r['secondary_id'],
336
  'offset' => $r['offset'],
 
337
  'since' => $r['since']
338
  );
339
  } else {
@@ -404,14 +406,25 @@ function bp_activity_load_more_link() {
404
  * Get the URL for the Load More link.
405
  *
406
  * @since 2.1.0
 
407
  *
408
  * @return string $link
409
  */
410
  function bp_get_activity_load_more_link() {
411
  global $activities_template;
412
 
413
- $url = bp_get_requested_url();
414
- $link = add_query_arg( $activities_template->pag_arg, $activities_template->pag_page + 1, $url );
 
 
 
 
 
 
 
 
 
 
415
 
416
  /**
417
  * Filters the Load More link URL.
@@ -1459,6 +1472,12 @@ function bp_activity_has_content() {
1459
  $generated_content = new stdClass();
1460
  $activity = $activities_template->activity;
1461
  $user_id = $activity->user_id;
 
 
 
 
 
 
1462
 
1463
  // Set generated content properties.
1464
  if ( 'new_avatar' === $activity_type ) {
@@ -1562,8 +1581,14 @@ function bp_activity_has_content() {
1562
  }
1563
  }
1564
 
1565
- if ( 'created_group' === $activity_type || 'joined_group' === $activity_type ) {
1566
- $group = bp_get_group( $activity->item_id );
 
 
 
 
 
 
1567
 
1568
  if ( isset( $bp->avatar->show_avatars ) && $bp->avatar->show_avatars && ! bp_disable_group_avatar_uploads() ) {
1569
  $generated_content->group_profile_photo = array(
@@ -3482,38 +3507,38 @@ function bp_mentioned_user_display_name( $user_id_or_username = false ) {
3482
  *
3483
  * @since 1.2.0
3484
  *
3485
- * @see bp_get_send_public_message_button() for description of parameters.
3486
  *
3487
- * @param array|string $args See {@link bp_get_send_public_message_button()}.
3488
  */
3489
  function bp_send_public_message_button( $args = '' ) {
3490
  echo bp_get_send_public_message_button( $args );
3491
  }
3492
 
3493
  /**
3494
- * Return button for sending a public message (an @-mention).
3495
- *
3496
- * @since 1.2.0
3497
  *
 
3498
  *
3499
  * @param array|string $args {
3500
- * All arguments are optional. See {@link BP_Button} for complete
3501
- * descriptions.
3502
- * @type string $id Default: 'public_message'.
3503
- * @type string $component Default: 'activity'.
3504
- * @type bool $must_be_logged_in Default: true.
3505
- * @type bool $block_self Default: true.
3506
- * @type string $wrapper_id Default: 'post-mention'.
3507
- * @type string $link_href Default: the public message link for
3508
- * the current member in the loop.
3509
- * @type string $link_text Default: 'Public Message'.
3510
- * @type string $link_class Default: 'activity-button mention'.
 
 
3511
  * }
3512
- * @return string The button for sending a public message.
3513
  */
3514
- function bp_get_send_public_message_button( $args = '' ) {
3515
-
3516
- $r = bp_parse_args(
3517
  $args,
3518
  array(
3519
  'id' => 'public_message',
@@ -3522,6 +3547,7 @@ function bp_send_public_message_button( $args = '' ) {
3522
  'block_self' => true,
3523
  'wrapper_id' => 'post-mention',
3524
  'link_href' => bp_get_send_public_message_link(),
 
3525
  'link_text' => __( 'Public Message', 'buddypress' ),
3526
  'link_class' => 'activity-button mention',
3527
  )
@@ -3532,9 +3558,30 @@ function bp_send_public_message_button( $args = '' ) {
3532
  *
3533
  * @since 1.2.10
3534
  *
3535
- * @param array $r Array of arguments for the public message button HTML.
3536
  */
3537
- return bp_get_button( apply_filters( 'bp_get_send_public_message_button', $r ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3538
  }
3539
 
3540
  /**
272
  'primary_id' => $primary_id, // Object ID to filter on e.g. a group_id or blog_id etc.
273
  'secondary_id' => false, // Secondary object ID to filter on e.g. a post_id.
274
  'offset' => false, // Return only items >= this ID.
275
+ 'offset_lower' => false, // Return only items < this ID.
276
  'since' => false, // Return only items recorded since this Y-m-d H:i:s date.
277
 
278
  'meta_query' => false, // Filter on activity meta. See WP_Meta_Query for format.
327
  $r['filter'] = array(
328
  'object' => $_GET['afilter']
329
  );
330
+ } elseif ( ! empty( $r['user_id'] ) || ! empty( $r['object'] ) || ! empty( $r['action'] ) || ! empty( $r['primary_id'] ) || ! empty( $r['secondary_id'] ) || ! empty( $r['offset'] ) || ! empty( $r['offset_lower'] ) || ! empty( $r['since'] ) ) {
331
  $r['filter'] = array(
332
  'user_id' => $r['user_id'],
333
  'object' => $r['object'],
335
  'primary_id' => $r['primary_id'],
336
  'secondary_id' => $r['secondary_id'],
337
  'offset' => $r['offset'],
338
+ 'offset_lower' => $r['offset_lower'],
339
  'since' => $r['since']
340
  );
341
  } else {
406
  * Get the URL for the Load More link.
407
  *
408
  * @since 2.1.0
409
+ * @since 11.0.0 Adds the `offset_lower` query arg to avoid last displayed activity to be duplicated.
410
  *
411
  * @return string $link
412
  */
413
  function bp_get_activity_load_more_link() {
414
  global $activities_template;
415
 
416
+ $url = bp_get_requested_url();
417
+ $load_more_args = array(
418
+ $activities_template->pag_arg => $activities_template->pag_page + 1,
419
+ );
420
+
421
+ // Try to include the offset arg.
422
+ $last_displayed_activity = reset( $activities_template->activities );
423
+ if ( isset( $last_displayed_activity->id ) && $last_displayed_activity->id ) {
424
+ $load_more_args['offset_lower'] = (int) $last_displayed_activity->id;
425
+ }
426
+
427
+ $link = add_query_arg( $load_more_args, $url );
428
 
429
  /**
430
  * Filters the Load More link URL.
1472
  $generated_content = new stdClass();
1473
  $activity = $activities_template->activity;
1474
  $user_id = $activity->user_id;
1475
+ $personal_types = array( 'new_avatar', 'new_member', 'updated_profile' );
1476
+
1477
+ // Do not use generated-content activities when displaying a personal activity stream.
1478
+ if ( (int) $user_id === (int) bp_displayed_user_id() && in_array( $activity_type, $personal_types, true ) ) {
1479
+ return false;
1480
+ }
1481
 
1482
  // Set generated content properties.
1483
  if ( 'new_avatar' === $activity_type ) {
1581
  }
1582
  }
1583
 
1584
+ if ( bp_is_active( 'groups' ) && ( 'created_group' === $activity_type || 'joined_group' === $activity_type ) ) {
1585
+ $group = bp_get_group( $activity->item_id );
1586
+ $current_group = groups_get_current_group();
1587
+
1588
+ // Do not use generated-content activities when displaying a group activity stream.
1589
+ if ( isset( $current_group->id ) && (int) $group->id === (int) $current_group->id ) {
1590
+ return false;
1591
+ }
1592
 
1593
  if ( isset( $bp->avatar->show_avatars ) && $bp->avatar->show_avatars && ! bp_disable_group_avatar_uploads() ) {
1594
  $generated_content->group_profile_photo = array(
3507
  *
3508
  * @since 1.2.0
3509
  *
3510
+ * @see bp_activity_get_public_message_button_args() for description of parameters.
3511
  *
3512
+ * @param array|string $args See {@link bp_activity_get_public_message_button_args()}.
3513
  */
3514
  function bp_send_public_message_button( $args = '' ) {
3515
  echo bp_get_send_public_message_button( $args );
3516
  }
3517
 
3518
  /**
3519
+ * Get the arguments for the public message button.
 
 
3520
  *
3521
+ * @since 11.0.0
3522
  *
3523
  * @param array|string $args {
3524
+ * All arguments are optional. See {@link BP_Button} for complete
3525
+ * descriptions.
3526
+ * @type string $id Default: 'public_message'.
3527
+ * @type string $component Default: 'activity'.
3528
+ * @type bool $must_be_logged_in Default: true.
3529
+ * @type bool $block_self Default: true.
3530
+ * @type string $wrapper_id Default: 'post-mention'.
3531
+ * @type string $link_href Default: the public message link for
3532
+ * the current member in the loop.
3533
+ * @type string $link_title Default: 'Send a public message on your
3534
+ * activity stream.'.
3535
+ * @type string $link_text Default: 'Public Message'.
3536
+ * @type string $link_class Default: 'activity-button mention'.
3537
  * }
3538
+ * @return array The arguments for the public message button.
3539
  */
3540
+ function bp_activity_get_public_message_button_args( $args = '' ) {
3541
+ $button_args = bp_parse_args(
 
3542
  $args,
3543
  array(
3544
  'id' => 'public_message',
3547
  'block_self' => true,
3548
  'wrapper_id' => 'post-mention',
3549
  'link_href' => bp_get_send_public_message_link(),
3550
+ 'link_title' => __( 'Send a public message to this member.', 'buddypress' ),
3551
  'link_text' => __( 'Public Message', 'buddypress' ),
3552
  'link_class' => 'activity-button mention',
3553
  )
3558
  *
3559
  * @since 1.2.10
3560
  *
3561
+ * @param array $button_args Array of arguments for the public message button HTML.
3562
  */
3563
+ return apply_filters( 'bp_get_send_public_message_button', $button_args );
3564
+ }
3565
+
3566
+ /**
3567
+ * Return button for sending a public message (an @-mention).
3568
+ *
3569
+ * @since 1.2.0
3570
+ * @since 11.0.0 uses `bp_activity_get_public_message_button_args()`.
3571
+ *
3572
+ * @see bp_activity_get_public_message_button_args() for description of parameters.
3573
+ *
3574
+ * @param array|string $args See {@link bp_activity_get_public_message_button_args()}.
3575
+ * @return string The button for sending a public message.
3576
+ */
3577
+ function bp_get_send_public_message_button( $args = '' ) {
3578
+ $button_args = bp_activity_get_public_message_button_args( $args );
3579
+
3580
+ if ( ! array_filter( $button_args ) ) {
3581
+ return '';
3582
+ }
3583
+
3584
+ return bp_get_button( $button_args );
3585
  }
3586
 
3587
  /**
bp-activity/classes/class-bp-activity-activity.php CHANGED
@@ -342,6 +342,7 @@ class BP_Activity_Activity {
342
  * @since 2.4.0 Introduced the `$fields` parameter.
343
  * @since 2.9.0 Introduced the `$order_by` parameter.
344
  * @since 10.0.0 Introduced the `$count_total_only` parameter.
 
345
  *
346
  * @see BP_Activity_Activity::get_filter_sql() for a description of the
347
  * 'filter' parameter.
@@ -366,6 +367,10 @@ class BP_Activity_Activity {
366
  * @type array $filter_query Array of advanced query conditions. See BP_Activity_Query::__construct().
367
  * @type string|array $scope Pre-determined set of activity arguments.
368
  * @type array $filter See BP_Activity_Activity::get_filter_sql().
 
 
 
 
369
  * @type string $search_terms Limit results by a search term. Default: false.
370
  * @type bool $display_comments Whether to include activity comments. Default: false.
371
  * @type bool $show_hidden Whether to show items marked hide_sitewide. Default: false.
@@ -430,6 +435,8 @@ class BP_Activity_Activity {
430
  'meta_query' => false, // Filter by activitymeta.
431
  'date_query' => false, // Filter by date.
432
  'filter_query' => false, // Advanced filtering - see BP_Activity_Query.
 
 
433
  'filter' => false, // See self::get_filter_sql().
434
  'scope' => false, // Preset activity arguments.
435
  'search_terms' => false, // Terms to search by.
@@ -483,6 +490,50 @@ class BP_Activity_Activity {
483
  $where_conditions['filter_sql'] = $filter_sql;
484
  }
485
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
  // Spam.
487
  if ( 'ham_only' == $r['spam'] ) {
488
  $where_conditions['spam_sql'] = 'a.is_spam = 0';
@@ -1240,7 +1291,7 @@ class BP_Activity_Activity {
1240
  )
1241
  );
1242
 
1243
- $where_args = false;
1244
 
1245
  if ( ! empty( $r['user_id'] ) ) {
1246
  $where_args[] = $wpdb->prepare( 'user_id = %d', $r['user_id'] );
@@ -1567,15 +1618,16 @@ class BP_Activity_Activity {
1567
  $top_level_parent_id = $activity_id;
1568
  }
1569
 
1570
- $comments = wp_cache_get( $activity_id, 'bp_activity_comments' );
 
1571
 
1572
  // We store the string 'none' to cache the fact that the
1573
  // activity item has no comments.
1574
- if ( 'none' === $comments ) {
1575
- $comments = false;
1576
 
1577
  // A true cache miss.
1578
- } elseif ( empty( $comments ) ) {
1579
 
1580
  $bp = buddypress();
1581
 
@@ -1689,17 +1741,19 @@ class BP_Activity_Activity {
1689
  $r->depth = $depth;
1690
  }
1691
 
1692
- // If we cache a value of false, it'll count as a cache
1693
  // miss the next time the activity comments are fetched.
1694
  // Storing the string 'none' is a hack workaround to
1695
  // avoid unnecessary queries.
1696
- if ( false === $comments ) {
1697
  $cache_value = 'none';
1698
  } else {
1699
  $cache_value = $comments;
1700
  }
1701
 
1702
  wp_cache_set( $activity_id, $cache_value, 'bp_activity_comments' );
 
 
1703
  }
1704
 
1705
  return $comments;
@@ -1868,6 +1922,8 @@ class BP_Activity_Activity {
1868
  * 'secondary_item_id' column in the database.
1869
  * @type int $offset Return only those items with an ID greater
1870
  * than the offset value.
 
 
1871
  * @type string $since Return only those items that have a
1872
  * date_recorded value greater than a
1873
  * given MySQL-formatted date.
@@ -1913,6 +1969,11 @@ class BP_Activity_Activity {
1913
  $filter_sql[] = "a.id >= {$sid_sql}";
1914
  }
1915
 
 
 
 
 
 
1916
  if ( ! empty( $filter_array['since'] ) ) {
1917
  // Validate that this is a proper Y-m-d H:i:s date.
1918
  // Trick: parse to UNIX date then translate back.
342
  * @since 2.4.0 Introduced the `$fields` parameter.
343
  * @since 2.9.0 Introduced the `$order_by` parameter.
344
  * @since 10.0.0 Introduced the `$count_total_only` parameter.
345
+ * @since 11.0.0 Introduced the `$user_id__in` and `$user_id__not_in` parameters.
346
  *
347
  * @see BP_Activity_Activity::get_filter_sql() for a description of the
348
  * 'filter' parameter.
367
  * @type array $filter_query Array of advanced query conditions. See BP_Activity_Query::__construct().
368
  * @type string|array $scope Pre-determined set of activity arguments.
369
  * @type array $filter See BP_Activity_Activity::get_filter_sql().
370
+ * @type array $user_id__in An array of user ids to include. Activity posted by users matching one of these
371
+ * user ids will be included in results. Default empty array.
372
+ * @type array $user_id__not_in An array of user ids to exclude. Activity posted by users matching one of these
373
+ * user ids will not be included in results. Default empty array.
374
  * @type string $search_terms Limit results by a search term. Default: false.
375
  * @type bool $display_comments Whether to include activity comments. Default: false.
376
  * @type bool $show_hidden Whether to show items marked hide_sitewide. Default: false.
435
  'meta_query' => false, // Filter by activitymeta.
436
  'date_query' => false, // Filter by date.
437
  'filter_query' => false, // Advanced filtering - see BP_Activity_Query.
438
+ 'user_id__in' => array(), // Array of user ids to include.
439
+ 'user_id__not_in' => array(), // Array of user ids to excluce.
440
  'filter' => false, // See self::get_filter_sql().
441
  'scope' => false, // Preset activity arguments.
442
  'search_terms' => false, // Terms to search by.
490
  $where_conditions['filter_sql'] = $filter_sql;
491
  }
492
 
493
+ // User IDs filtering.
494
+ $user_ids_clause = array();
495
+ $user_ids_filters = array_filter(
496
+ array_intersect_key(
497
+ $r,
498
+ array(
499
+ 'user_id__in' => true,
500
+ 'user_id__not_in' => true,
501
+ )
502
+ )
503
+ );
504
+
505
+ foreach ( $user_ids_filters as $user_ids_filter_key => $user_ids_filter ) {
506
+ $user_ids_operator = 'IN';
507
+ if ( 'user_id__not_in' === $user_ids_filter_key ) {
508
+ $user_ids_operator = 'NOT IN';
509
+ }
510
+
511
+ if ( $user_ids_clause ) {
512
+ $user_ids_clause[] = array(
513
+ 'column' => 'user_id',
514
+ 'compare' => $user_ids_operator,
515
+ 'value' => (array) $user_ids_filter,
516
+ );
517
+ } else {
518
+ $user_ids_clause = array(
519
+ 'relation' => 'AND',
520
+ array(
521
+ 'column' => 'user_id',
522
+ 'compare' => $user_ids_operator,
523
+ 'value' => (array) $user_ids_filter,
524
+ ),
525
+ );
526
+ }
527
+ }
528
+
529
+ if ( $user_ids_clause ) {
530
+ $user_ids_query = new BP_Activity_Query( $user_ids_clause );
531
+ $user_ids_sql = $user_ids_query->get_sql();
532
+ if ( ! empty( $user_ids_sql ) ) {
533
+ $where_conditions['user_ids_query_sql'] = $user_ids_sql;
534
+ }
535
+ }
536
+
537
  // Spam.
538
  if ( 'ham_only' == $r['spam'] ) {
539
  $where_conditions['spam_sql'] = 'a.is_spam = 0';
1291
  )
1292
  );
1293
 
1294
+ $where_args = array();
1295
 
1296
  if ( ! empty( $r['user_id'] ) ) {
1297
  $where_args[] = $wpdb->prepare( 'user_id = %d', $r['user_id'] );
1618
  $top_level_parent_id = $activity_id;
1619
  }
1620
 
1621
+ $comments = array();
1622
+ $comments_cache = wp_cache_get( $activity_id, 'bp_activity_comments' );
1623
 
1624
  // We store the string 'none' to cache the fact that the
1625
  // activity item has no comments.
1626
+ if ( 'none' === $comments_cache ) {
1627
+ return false;
1628
 
1629
  // A true cache miss.
1630
+ } elseif ( empty( $comments_cache ) ) {
1631
 
1632
  $bp = buddypress();
1633
 
1741
  $r->depth = $depth;
1742
  }
1743
 
1744
+ // If we cache an empty array, it'll count as a cache
1745
  // miss the next time the activity comments are fetched.
1746
  // Storing the string 'none' is a hack workaround to
1747
  // avoid unnecessary queries.
1748
+ if ( ! $comments ) {
1749
  $cache_value = 'none';
1750
  } else {
1751
  $cache_value = $comments;
1752
  }
1753
 
1754
  wp_cache_set( $activity_id, $cache_value, 'bp_activity_comments' );
1755
+ } else {
1756
+ $comments = (array) $comments_cache;
1757
  }
1758
 
1759
  return $comments;
1922
  * 'secondary_item_id' column in the database.
1923
  * @type int $offset Return only those items with an ID greater
1924
  * than the offset value.
1925
+ * @type int $offset_lower Return only those items with an ID lower
1926
+ * than the offset value.
1927
  * @type string $since Return only those items that have a
1928
  * date_recorded value greater than a
1929
  * given MySQL-formatted date.
1969
  $filter_sql[] = "a.id >= {$sid_sql}";
1970
  }
1971
 
1972
+ if ( ! empty( $filter_array['offset_lower'] ) ) {
1973
+ $sid_sql = absint( $filter_array['offset_lower'] );
1974
+ $filter_sql[] = "a.id < {$sid_sql}";
1975
+ }
1976
+
1977
  if ( ! empty( $filter_array['since'] ) ) {
1978
  // Validate that this is a proper Y-m-d H:i:s date.
1979
  // Trick: parse to UNIX date then translate back.
bp-activity/classes/class-bp-activity-component.php CHANGED
@@ -65,11 +65,13 @@ class BP_Activity_Component extends BP_Component {
65
  }
66
 
67
  // Load Akismet support if Akismet is configured.
68
- $akismet_key = bp_get_option( 'wordpress_api_key' );
 
69
 
70
- /** This filter is documented in bp-activity/bp-activity-akismet.php */
71
- if ( defined( 'AKISMET_VERSION' ) && class_exists( 'Akismet' ) && ( ! empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) {
72
- $includes[] = 'akismet';
 
73
  }
74
 
75
  // Embeds.
65
  }
66
 
67
  // Load Akismet support if Akismet is configured.
68
+ if ( defined( 'AKISMET_VERSION' ) && class_exists( 'Akismet' ) ) {
69
+ $akismet_key = bp_get_option( 'wordpress_api_key' );
70
 
71
+ /** This filter is documented in bp-activity/bp-activity-akismet.php */
72
+ if ( ( ! empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) {
73
+ $includes[] = 'akismet';
74
+ }
75
  }
76
 
77
  // Embeds.
bp-activity/classes/class-bp-rest-activity-endpoint.php CHANGED
@@ -77,11 +77,7 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
77
  'callback' => array( $this, 'get_item' ),
78
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
79
  'args' => array(
80
- 'context' => $this->get_context_param(
81
- array(
82
- 'default' => 'view',
83
- )
84
- ),
85
  ),
86
  ),
87
  array(
@@ -914,6 +910,7 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
914
  'status' => $activity->is_spam ? 'spam' : 'published',
915
  'title' => $activity->action,
916
  'type' => $activity->type,
 
917
  'favorited' => in_array( $activity->id, $this->get_user_favorites(), true ),
918
  );
919
 
@@ -1036,6 +1033,11 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1036
  $prepared_activity->component = buddypress()->activity->id;
1037
  }
1038
 
 
 
 
 
 
1039
  // Activity Item ID.
1040
  if ( ! empty( $schema['properties']['primary_item_id'] ) && ! empty( $request->get_param( 'primary_item_id' ) ) ) {
1041
  $item_id = (int) $request->get_param( 'primary_item_id' );
@@ -1069,8 +1071,19 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1069
  }
1070
 
1071
  // Activity Sitewide visibility.
1072
- if ( ! empty( $schema['properties']['hidden'] ) && ! empty( $request->get_param( 'hidden' ) ) ) {
1073
- $prepared_activity->hide_sitewide = (bool) $request->get_param( 'hidden' );
 
 
 
 
 
 
 
 
 
 
 
1074
  }
1075
 
1076
  /**
@@ -1106,6 +1119,7 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1106
  ),
1107
  );
1108
 
 
1109
  if ( ! empty( $activity->user_id ) ) {
1110
  $links['user'] = array(
1111
  'href' => bp_rest_get_object_url( absint( $activity->user_id ), 'members' ),
@@ -1119,12 +1133,6 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1119
  );
1120
  }
1121
 
1122
- if ( bp_activity_can_favorite() ) {
1123
- $links['favorite'] = array(
1124
- 'href' => rest_url( $url . '/favorite' ),
1125
- );
1126
- }
1127
-
1128
  // Embed Group.
1129
  if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && ! empty( $activity->item_id ) ) {
1130
  $links['group'] = array(
@@ -1155,6 +1163,18 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1155
  );
1156
  }
1157
 
 
 
 
 
 
 
 
 
 
 
 
 
1158
  /**
1159
  * Filter links prepared for the REST response.
1160
  *
@@ -1195,17 +1215,21 @@ class BP_REST_Activity_Endpoint extends WP_REST_Controller {
1195
  $retval = false;
1196
 
1197
  if ( ! is_null( $component ) ) {
1198
- // If activity is from a group, do an extra cap check.
1199
- if ( ! $retval && ! empty( $item_id ) && bp_is_active( $component ) && buddypress()->groups->id === $component ) {
1200
- // Group admins and mods have access as well.
1201
- if ( groups_is_user_admin( $user_id, $item_id ) || groups_is_user_mod( $user_id, $item_id ) ) {
1202
- $retval = true;
1203
-
1204
- // User is a member of the group.
1205
- } elseif ( (bool) groups_is_user_member( $user_id, $item_id ) ) {
1206
- $retval = true;
1207
- }
1208
  }
 
 
 
 
 
 
 
 
 
 
 
1209
  }
1210
 
1211
  // Moderators as well.
77
  'callback' => array( $this, 'get_item' ),
78
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
79
  'args' => array(
80
+ 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
 
 
 
 
81
  ),
82
  ),
83
  array(
910
  'status' => $activity->is_spam ? 'spam' : 'published',
911
  'title' => $activity->action,
912
  'type' => $activity->type,
913
+ 'hidden' => (bool) $activity->hide_sitewide,
914
  'favorited' => in_array( $activity->id, $this->get_user_favorites(), true ),
915
  );
916
 
1033
  $prepared_activity->component = buddypress()->activity->id;
1034
  }
1035
 
1036
+ // Activity date.
1037
+ if ( ! empty( $activity->date_recorded ) ) {
1038
+ $prepared_activity->recorded_time = $activity->date_recorded;
1039
+ }
1040
+
1041
  // Activity Item ID.
1042
  if ( ! empty( $schema['properties']['primary_item_id'] ) && ! empty( $request->get_param( 'primary_item_id' ) ) ) {
1043
  $item_id = (int) $request->get_param( 'primary_item_id' );
1071
  }
1072
 
1073
  // Activity Sitewide visibility.
1074
+ if ( ! empty( $schema['properties']['hidden'] ) ) {
1075
+ $is_hidden = $request->get_param( 'hidden' );
1076
+
1077
+ if ( ! is_null( $is_hidden ) ) {
1078
+ $is_hidden = wp_validate_boolean( $is_hidden );
1079
+ } elseif ( isset( $activity->hide_sitewide ) ) {
1080
+ $is_hidden = (bool) $activity->hide_sitewide;
1081
+ } elseif ( bp_is_active( 'groups' ) && isset( $prepared_activity->item_id, $prepared_activity->component ) && $prepared_activity->item_id && buddypress()->groups->id === $prepared_activity->component ) {
1082
+ $group = bp_get_group_by( 'id', $prepared_activity->item_id );
1083
+ $is_hidden = isset( $group->status ) && 'public' !== $group->status;
1084
+ }
1085
+
1086
+ $prepared_activity->hide_sitewide = $is_hidden;
1087
  }
1088
 
1089
  /**
1119
  ),
1120
  );
1121
 
1122
+ // Embeds.
1123
  if ( ! empty( $activity->user_id ) ) {
1124
  $links['user'] = array(
1125
  'href' => bp_rest_get_object_url( absint( $activity->user_id ), 'members' ),
1133
  );
1134
  }
1135
 
 
 
 
 
 
 
1136
  // Embed Group.
1137
  if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && ! empty( $activity->item_id ) ) {
1138
  $links['group'] = array(
1163
  );
1164
  }
1165
 
1166
+ // Actions.
1167
+ if ( is_user_logged_in() && bp_activity_can_favorite() ) {
1168
+ $favorite_action = array(
1169
+ 'href' => rest_url( $url . '/favorite' ),
1170
+ 'activity_id' => $activity->id,
1171
+ );
1172
+
1173
+ // Will be deprecated.
1174
+ $links['favorite'] = $favorite_action;
1175
+ $links['bp-action-favorite'] = $favorite_action;
1176
+ }
1177
+
1178
  /**
1179
  * Filter links prepared for the REST response.
1180
  *
1215
  $retval = false;
1216
 
1217
  if ( ! is_null( $component ) ) {
1218
+ // If activity is from a group, check the user is a confirmed member/admin or mod of the group.
1219
+ if ( 'groups' === $component && bp_is_active( 'groups' ) && ! empty( $item_id ) ) {
1220
+ $retval = (bool) groups_is_user_member( $user_id, $item_id );
 
 
 
 
 
 
 
1221
  }
1222
+
1223
+ /**
1224
+ * Filter here to manage hidden activity for the component.
1225
+ *
1226
+ * @since 0.7.0
1227
+ *
1228
+ * @param bool $retval True to show hidden activities. False otherwise.
1229
+ * @param string $component The component name/ID.
1230
+ * @param int $user_id The current user ID.
1231
+ */
1232
+ $retval = apply_filters( 'bp_rest_activity_show_hidden', $retval, $component, $user_id );
1233
  }
1234
 
1235
  // Moderators as well.
bp-blogs/bp-blogs-activity.php CHANGED
@@ -114,6 +114,53 @@ function bp_blogs_register_post_tracking_args( $params = null, $post_type = 0 )
114
  }
115
  add_filter( 'bp_activity_get_post_type_tracking_args', 'bp_blogs_register_post_tracking_args', 10, 2 );
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  /**
118
  * Format 'new_blog' activity actions.
119
  *
@@ -121,11 +168,10 @@ add_filter( 'bp_activity_get_post_type_tracking_args', 'bp_blogs_register_post_t
121
  *
122
  * @param string $action Static activity action.
123
  * @param object $activity Activity data object.
124
- * @return string
125
  */
126
  function bp_blogs_format_activity_action_new_blog( $action, $activity ) {
127
- $blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
128
- $blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
129
 
130
  $action = sprintf(
131
  /* translators: 1: the activity user link. 2: the blog link. */
@@ -142,7 +188,8 @@ function bp_blogs_format_activity_action_new_blog( $action, $activity ) {
142
  }
143
 
144
  if ( isset( $recorded_blog ) ) {
145
- $action = apply_filters( 'bp_blogs_activity_created_blog_action', $action, $recorded_blog, $blog_name, bp_blogs_get_blogmeta( $activity->item_id, 'description' ) );
 
146
  }
147
  }
148
 
@@ -167,93 +214,23 @@ function bp_blogs_format_activity_action_new_blog( $action, $activity ) {
167
  * @return string Constructed activity action.
168
  */
169
  function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
170
- $blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
171
- $blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
172
-
173
- if ( empty( $blog_url ) || empty( $blog_name ) ) {
174
- $blog_url = get_home_url( $activity->item_id );
175
- $blog_name = get_blog_option( $activity->item_id, 'blogname' );
176
-
177
- bp_blogs_update_blogmeta( $activity->item_id, 'url', $blog_url );
178
- bp_blogs_update_blogmeta( $activity->item_id, 'name', $blog_name );
179
- }
180
-
181
- /**
182
- * When the post is published we are faking an activity object
183
- * to which we add 2 properties :
184
- * - the post url
185
- * - the post title
186
- * This is done to build the 'post link' part of the activity
187
- * action string.
188
- * NB: in this case the activity has not yet been created.
189
- */
190
- if ( isset( $activity->post_url ) ) {
191
- $post_url = $activity->post_url;
192
-
193
- /**
194
- * The post_url property is not set, we need to build the url
195
- * thanks to the post id which is also saved as the secondary
196
- * item id property of the activity object.
197
- */
198
- } else {
199
- $post_url = add_query_arg( 'p', $activity->secondary_item_id, trailingslashit( $blog_url ) );
200
- }
201
-
202
- // Should be the case when the post has just been published.
203
- if ( isset( $activity->post_title ) ) {
204
- $post_title = $activity->post_title;
205
-
206
- // If activity already exists try to get the post title from activity meta.
207
- } else if ( ! empty( $activity->id ) ) {
208
- $post_title = bp_activity_get_meta( $activity->id, 'post_title' );
209
- }
210
-
211
- /**
212
- * In case the post was published without a title
213
- * or the activity meta was not found.
214
- */
215
- if ( empty( $post_title ) ) {
216
- // Defaults to no title.
217
- $post_title = __( '(no title)', 'buddypress' );
218
-
219
- switch_to_blog( $activity->item_id );
220
-
221
- $post = get_post( $activity->secondary_item_id );
222
- if ( is_a( $post, 'WP_Post' ) ) {
223
- // Does the post have a title ?
224
- if ( ! empty( $post->post_title ) ) {
225
- $post_title = $post->post_title;
226
- }
227
-
228
- // Make sure the activity exists before saving the post title in activity meta.
229
- if ( ! empty( $activity->id ) ) {
230
- bp_activity_update_meta( $activity->id, 'post_title', $post_title );
231
- }
232
- }
233
-
234
- restore_current_blog();
235
- }
236
-
237
- // Build the 'post link' part of the activity action string.
238
- $post_link = '<a href="' . esc_url( $post_url ) . '">' . esc_html( $post_title ) . '</a>';
239
-
240
  $user_link = bp_core_get_userlink( $activity->user_id );
241
 
242
  // Build the complete activity action string.
243
  if ( is_multisite() ) {
 
 
244
  $action = sprintf(
245
- /* translators: 1: the activity user link. 2: the post link. 3: the blog link. */
246
- esc_html_x( '%1$s wrote a new post, %2$s, on the site %3$s', '`new_blog_post` activity action', 'buddypress' ),
247
  $user_link,
248
- $post_link,
249
  '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>'
250
  );
251
  } else {
252
  $action = sprintf(
253
- /* translators: 1: the activity user link. 2: the post link. */
254
- esc_html_x( '%1$s wrote a new post, %2$s', '`new_blog_post` activity action', 'buddypress' ),
255
- $user_link,
256
- $post_link
257
  );
258
  }
259
 
@@ -264,7 +241,8 @@ function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
264
  restore_current_blog();
265
 
266
  if ( ! empty( $post ) && ! is_wp_error( $post ) ) {
267
- $action = apply_filters( 'bp_blogs_activity_new_post_action', $action, $post, $post_url );
 
268
  }
269
  }
270
 
@@ -300,34 +278,8 @@ function bp_blogs_format_activity_action_new_blog_comment( $action, $activity )
300
  * action string.
301
  * NB: in this case the activity has not yet been created.
302
  */
303
-
304
- $blog_url = false;
305
-
306
- // Try to get the blog url from the activity object.
307
- if ( isset( $activity->blog_url ) ) {
308
- $blog_url = $activity->blog_url;
309
- } else {
310
- $blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
311
- }
312
-
313
- $blog_name = false;
314
-
315
- // Try to get the blog name from the activity object.
316
- if ( isset( $activity->blog_name ) ) {
317
- $blog_name = $activity->blog_name;
318
- } else {
319
- $blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
320
- }
321
-
322
- if ( empty( $blog_url ) || empty( $blog_name ) ) {
323
- $blog_url = get_home_url( $activity->item_id );
324
- $blog_name = get_blog_option( $activity->item_id, 'blogname' );
325
-
326
- bp_blogs_update_blogmeta( $activity->item_id, 'url', $blog_url );
327
- bp_blogs_update_blogmeta( $activity->item_id, 'name', $blog_name );
328
- }
329
-
330
- $post_url = false;
331
 
332
  // Try to get the post url from the activity object.
333
  if ( isset( $activity->post_url ) ) {
@@ -401,7 +353,7 @@ function bp_blogs_format_activity_action_new_blog_comment( $action, $activity )
401
  restore_current_blog();
402
 
403
  if ( ! empty( $comment ) && ! is_wp_error( $comment ) ) {
404
- $action = apply_filters( 'bp_blogs_activity_new_comment_action', $action, $comment, $post_url . '#' . $activity->secondary_item_id );
405
  }
406
  }
407
 
114
  }
115
  add_filter( 'bp_activity_get_post_type_tracking_args', 'bp_blogs_register_post_tracking_args', 10, 2 );
116
 
117
+ /**
118
+ * Returns the blog URL and name which relates to a post or comment activity.
119
+ *
120
+ * @since 11.0.0
121
+ *
122
+ * @param BP_Activity_Activity $activity The activity object.
123
+ * @return array The blog URL and name which relates to a post or comment activity.
124
+ */
125
+ function bp_blogs_activity_get_site_link_meta( $activity = null ) {
126
+ $attributes = array(
127
+ 'blog_url' => '',
128
+ 'blog_name' => '',
129
+ );
130
+
131
+ if ( ! isset( $activity->item_id, $activity->component ) || ! $activity->item_id || 'blogs' !== $activity->component ) {
132
+ return $attributes;
133
+ }
134
+
135
+ if ( isset( $activity->blog_url ) ) {
136
+ $attributes['blog_url'] = $activity->blog_url;
137
+ } else {
138
+ $blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
139
+
140
+ if ( ! $blog_url ) {
141
+ $blog_url = get_home_url( $activity->item_id );
142
+ bp_blogs_update_blogmeta( $activity->item_id, 'url', $blog_url );
143
+ } else {
144
+ $attributes['blog_url'] = $blog_url;
145
+ }
146
+ }
147
+
148
+ if ( isset( $activity->blog_name ) ) {
149
+ $attributes['blog_name'] = $activity->blog_name;
150
+ } else {
151
+ $blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
152
+
153
+ if ( ! $blog_name ) {
154
+ $blog_name = get_blog_option( $activity->item_id, 'blogname' );
155
+ bp_blogs_update_blogmeta( $activity->item_id, 'name', $blog_name );
156
+ } else {
157
+ $attributes['blog_name'] = $blog_name;
158
+ }
159
+ }
160
+
161
+ return $attributes;
162
+ }
163
+
164
  /**
165
  * Format 'new_blog' activity actions.
166
  *
168
  *
169
  * @param string $action Static activity action.
170
  * @param object $activity Activity data object.
171
+ * @return string Constructed activity action.
172
  */
173
  function bp_blogs_format_activity_action_new_blog( $action, $activity ) {
174
+ list( $blog_url, $blog_name ) = array_values( bp_blogs_activity_get_site_link_meta( $activity ) );
 
175
 
176
  $action = sprintf(
177
  /* translators: 1: the activity user link. 2: the blog link. */
188
  }
189
 
190
  if ( isset( $recorded_blog ) ) {
191
+ $blog_description = bp_blogs_get_blogmeta( $activity->item_id, 'description' );
192
+ $action = apply_filters_deprecated( 'bp_blogs_activity_created_blog_action', array( $action, $recorded_blog, $blog_name, $blog_description ), '2.0.0', 'bp_blogs_format_activity_action_new_blog' );
193
  }
194
  }
195
 
214
  * @return string Constructed activity action.
215
  */
216
  function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  $user_link = bp_core_get_userlink( $activity->user_id );
218
 
219
  // Build the complete activity action string.
220
  if ( is_multisite() ) {
221
+ list( $blog_url, $blog_name ) = array_values( bp_blogs_activity_get_site_link_meta( $activity ) );
222
+
223
  $action = sprintf(
224
+ /* translators: 1: the activity user link. 2: the blog link. */
225
+ esc_html_x( '%1$s wrote a new post on the site %2$s', 'Multisite `new_blog_post` activity action', 'buddypress' ),
226
  $user_link,
 
227
  '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>'
228
  );
229
  } else {
230
  $action = sprintf(
231
+ /* translators: 1: the activity user link. */
232
+ esc_html_x( '%s wrote a new post', '`new_blog_post` activity action', 'buddypress' ),
233
+ $user_link
 
234
  );
235
  }
236
 
241
  restore_current_blog();
242
 
243
  if ( ! empty( $post ) && ! is_wp_error( $post ) ) {
244
+ $post_url = add_query_arg( 'p', $post->ID, trailingslashit( get_home_url( $activity->item_id ) ) );
245
+ $action = apply_filters_deprecated( 'bp_blogs_activity_new_post_action', array( $action, $post, $post_url ), '2.0.0', 'bp_blogs_format_activity_action_new_blog_post' );
246
  }
247
  }
248
 
278
  * action string.
279
  * NB: in this case the activity has not yet been created.
280
  */
281
+ list( $blog_url, $blog_name ) = array_values( bp_blogs_activity_get_site_link_meta( $activity ) );
282
+ $post_url = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
 
284
  // Try to get the post url from the activity object.
285
  if ( isset( $activity->post_url ) ) {
353
  restore_current_blog();
354
 
355
  if ( ! empty( $comment ) && ! is_wp_error( $comment ) ) {
356
+ $action = apply_filters_deprecated( 'bp_blogs_activity_new_comment_action', array( $action, $comment, $post_url . '#' . $activity->secondary_item_id ), '2.0.0', 'bp_blogs_format_activity_action_new_blog_comment' );
357
  }
358
  }
359
 
bp-blogs/bp-blogs-functions.php CHANGED
@@ -350,12 +350,14 @@ function bp_blogs_is_blog_trackable( $blog_id, $user_id = 0 ) {
350
  */
351
  function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
352
 
353
- if ( empty( $user_id ) )
354
  $user_id = bp_loggedin_user_id();
 
355
 
356
  // If blog is not recordable, do not record the activity.
357
- if ( !bp_blogs_is_blog_recordable( $blog_id, $user_id ) )
358
  return false;
 
359
 
360
  $name = get_blog_option( $blog_id, 'blogname' );
361
  $url = get_home_url( $blog_id );
@@ -381,7 +383,7 @@ function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
381
  $recorded_blog->user_id = $user_id;
382
  $recorded_blog->blog_id = $blog_id;
383
  $recorded_blog_id = $recorded_blog->save();
384
- $is_recorded = !empty( $recorded_blog_id ) ? true : false;
385
 
386
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'url', $url );
387
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'name', $name );
@@ -392,8 +394,6 @@ function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
392
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'thread_comments_depth', $thread_depth );
393
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'comment_moderation', $moderation );
394
 
395
- $is_private = !empty( $_POST['blog_public'] ) && (int) $_POST['blog_public'] ? false : true;
396
-
397
  /**
398
  * Filters whether or not a new blog is public.
399
  *
@@ -401,7 +401,10 @@ function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
401
  *
402
  * @param bool $is_private Whether or not blog is public.
403
  */
404
- $is_private = !apply_filters( 'bp_is_new_blog_public', !$is_private );
 
 
 
405
 
406
  /**
407
  * Fires after BuddyPress has been made aware of a new site for activity tracking.
350
  */
351
  function bp_blogs_record_blog( $blog_id, $user_id, $no_activity = false ) {
352
 
353
+ if ( empty( $user_id ) ) {
354
  $user_id = bp_loggedin_user_id();
355
+ }
356
 
357
  // If blog is not recordable, do not record the activity.
358
+ if ( ! bp_blogs_is_blog_recordable( $blog_id, $user_id ) ) {
359
  return false;
360
+ }
361
 
362
  $name = get_blog_option( $blog_id, 'blogname' );
363
  $url = get_home_url( $blog_id );
383
  $recorded_blog->user_id = $user_id;
384
  $recorded_blog->blog_id = $blog_id;
385
  $recorded_blog_id = $recorded_blog->save();
386
+ $is_recorded = ! empty( $recorded_blog_id ) ? true : false;
387
 
388
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'url', $url );
389
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'name', $name );
394
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'thread_comments_depth', $thread_depth );
395
  bp_blogs_update_blogmeta( $recorded_blog->blog_id, 'comment_moderation', $moderation );
396
 
 
 
397
  /**
398
  * Filters whether or not a new blog is public.
399
  *
401
  *
402
  * @param bool $is_private Whether or not blog is public.
403
  */
404
+ $is_private = ! apply_filters(
405
+ 'bp_is_new_blog_public',
406
+ (bool) get_blog_option( $blog_id, 'blog_public' )
407
+ );
408
 
409
  /**
410
  * Fires after BuddyPress has been made aware of a new site for activity tracking.
bp-blogs/bp-blogs-template.php CHANGED
@@ -1526,7 +1526,7 @@ function bp_blog_create_nav_item() {
1526
  */
1527
  function bp_blog_backcompat_create_nav_item() {
1528
  // Bail if Blogs nav item is already used by bp-legacy.
1529
- if ( has_action( 'bp_blogs_directory_blog_types', 'bp_legacy_theme_blog_create_nav', 999 ) ) {
1530
  return;
1531
  }
1532
 
@@ -1542,19 +1542,22 @@ add_action( 'bp_blogs_directory_blog_types', 'bp_blog_backcompat_create_nav_item
1542
  /**
1543
  * Output button for visiting a blog in a loop.
1544
  *
1545
- * @see bp_get_blogs_visit_blog_button() for description of arguments.
1546
  *
1547
- * @param array|string $args See {@link bp_get_blogs_visit_blog_button()}.
1548
  */
1549
  function bp_blogs_visit_blog_button( $args = '' ) {
1550
  echo bp_get_blogs_visit_blog_button( $args );
1551
  }
 
1552
  /**
1553
- * Return button for visiting a blog in a loop.
1554
  *
1555
  * @see BP_Button for a complete description of arguments and return
1556
  * value.
1557
  *
 
 
1558
  * @param array|string $args {
1559
  * Arguments are listed below, with their default values. For a
1560
  * complete description of arguments, see {@link BP_Button}.
@@ -1566,11 +1569,12 @@ function bp_blogs_visit_blog_button( $args = '' ) {
1566
  * @type string $link_href Permalink of the current blog in the loop.
1567
  * @type string $link_class Default: 'blog-button visit'.
1568
  * @type string $link_text Default: 'Visit Site'.
 
1569
  * }
1570
- * @return string The HTML for the Visit button.
1571
  */
1572
- function bp_get_blogs_visit_blog_button( $args = '' ) {
1573
- $button = bp_parse_args(
1574
  $args,
1575
  array(
1576
  'id' => 'visit_blog',
@@ -1581,6 +1585,7 @@ function bp_blogs_visit_blog_button( $args = '' ) {
1581
  'link_href' => bp_get_blog_permalink(),
1582
  'link_class' => 'blog-button visit',
1583
  'link_text' => __( 'Visit Site', 'buddypress' ),
 
1584
  )
1585
  );
1586
 
@@ -1589,9 +1594,30 @@ function bp_blogs_visit_blog_button( $args = '' ) {
1589
  *
1590
  * @since 1.2.10
1591
  *
1592
- * @param array $button Array of arguments to be used for the button to visit a blog.
1593
  */
1594
- return bp_get_button( apply_filters( 'bp_get_blogs_visit_blog_button', $button ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1595
  }
1596
 
1597
  /** Stats **********************************************************************/
1526
  */
1527
  function bp_blog_backcompat_create_nav_item() {
1528
  // Bail if Blogs nav item is already used by bp-legacy.
1529
+ if ( has_action( 'bp_blogs_directory_blog_types', 'bp_legacy_theme_blog_create_nav' ) ) {
1530
  return;
1531
  }
1532
 
1542
  /**
1543
  * Output button for visiting a blog in a loop.
1544
  *
1545
+ * @see bp_get_blogs_visit_blog_button_args() for description of arguments.
1546
  *
1547
+ * @param array|string $args See {@link bp_get_blogs_visit_blog_button_args()}.
1548
  */
1549
  function bp_blogs_visit_blog_button( $args = '' ) {
1550
  echo bp_get_blogs_visit_blog_button( $args );
1551
  }
1552
+
1553
  /**
1554
+ * Return the arguments of the button for visiting a blog in a loop.
1555
  *
1556
  * @see BP_Button for a complete description of arguments and return
1557
  * value.
1558
  *
1559
+ * @since 11.0.0
1560
+ *
1561
  * @param array|string $args {
1562
  * Arguments are listed below, with their default values. For a
1563
  * complete description of arguments, see {@link BP_Button}.
1569
  * @type string $link_href Permalink of the current blog in the loop.
1570
  * @type string $link_class Default: 'blog-button visit'.
1571
  * @type string $link_text Default: 'Visit Site'.
1572
+ * @type string $link_title Default: 'Visit Site'.
1573
  * }
1574
+ * @return array Thhe arguments of the button for visiting a blog in a loop.
1575
  */
1576
+ function bp_get_blogs_visit_blog_button_args( $args = '' ) {
1577
+ $button_args = bp_parse_args(
1578
  $args,
1579
  array(
1580
  'id' => 'visit_blog',
1585
  'link_href' => bp_get_blog_permalink(),
1586
  'link_class' => 'blog-button visit',
1587
  'link_text' => __( 'Visit Site', 'buddypress' ),
1588
+ 'link_title' => __( 'Visit Site', 'buddypress' ),
1589
  )
1590
  );
1591
 
1594
  *
1595
  * @since 1.2.10
1596
  *
1597
+ * @param array $button_args Array of arguments to be used for the button to visit a blog.
1598
  */
1599
+ return apply_filters( 'bp_get_blogs_visit_blog_button', $button_args );
1600
+ }
1601
+
1602
+ /**
1603
+ * Return button for visiting a blog in a loop.
1604
+ *
1605
+ * @see BP_Button for a complete description of arguments and return
1606
+ * value.
1607
+ *
1608
+ * @see bp_get_blogs_visit_blog_button_args() for description of arguments.
1609
+ *
1610
+ * @param array|string $args See {@link bp_get_blogs_visit_blog_button_args()}.
1611
+ * @return string The HTML for the Visit button.
1612
+ */
1613
+ function bp_get_blogs_visit_blog_button( $args = '' ) {
1614
+ $button_args = bp_get_blogs_visit_blog_button_args( $args );
1615
+
1616
+ if ( ! array_filter( $button_args ) ) {
1617
+ return '';
1618
+ }
1619
+
1620
+ return bp_get_button( $button_args );
1621
  }
1622
 
1623
  /** Stats **********************************************************************/
bp-blogs/classes/class-bp-blogs-blog.php CHANGED
@@ -626,33 +626,48 @@ class BP_Blogs_Blog {
626
  for ( $i = 0, $count = count( $paged_blogs ); $i < $count; ++$i ) {
627
  $blog_prefix = $wpdb->get_blog_prefix( $paged_blogs[$i]->blog_id );
628
  $paged_blogs[$i]->latest_post = $wpdb->get_row( "SELECT ID, post_content, post_title, post_excerpt, guid FROM {$blog_prefix}posts WHERE post_status = 'publish' AND post_type = 'post' AND id != 1 ORDER BY id DESC LIMIT 1" );
629
- $images = array();
630
 
631
- // Add URLs to any Featured Image this post might have.
632
- if ( ! empty( $paged_blogs[$i]->latest_post ) && has_post_thumbnail( $paged_blogs[$i]->latest_post->ID ) ) {
633
-
634
- // Grab 4 sizes of the image. Thumbnail.
635
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'thumbnail', false );
636
- if ( ! empty( $image ) )
637
- $images['thumbnail'] = $image[0];
638
-
639
- // Medium.
640
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'medium', false );
641
- if ( ! empty( $image ) )
642
- $images['medium'] = $image[0];
643
-
644
- // Large.
645
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'large', false );
646
- if ( ! empty( $image ) )
647
- $images['large'] = $image[0];
648
-
649
- // Post thumbnail.
650
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'post-thumbnail', false );
651
- if ( ! empty( $image ) )
652
- $images['post-thumbnail'] = $image[0];
653
-
654
- // Add the images to the latest_post object.
655
- $paged_blogs[$i]->latest_post->images = $images;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
656
  }
657
  }
658
 
626
  for ( $i = 0, $count = count( $paged_blogs ); $i < $count; ++$i ) {
627
  $blog_prefix = $wpdb->get_blog_prefix( $paged_blogs[$i]->blog_id );
628
  $paged_blogs[$i]->latest_post = $wpdb->get_row( "SELECT ID, post_content, post_title, post_excerpt, guid FROM {$blog_prefix}posts WHERE post_status = 'publish' AND post_type = 'post' AND id != 1 ORDER BY id DESC LIMIT 1" );
 
629
 
630
+ /**
631
+ * Filters whether to fetch Featured Images for the Sites directory.
632
+ *
633
+ * @since 11.0.0
634
+ *
635
+ * @param bool $fetch_featured_images Defaults to true.
636
+ * @param int $blog_id ID of the current blog whose extras are being generated.
637
+ */
638
+ if ( apply_filters( 'bp_blogs_fetch_latest_post_thumbnails', true, $paged_blogs[ $i ]->blog_id ) ) {
639
+ $images = array();
640
+
641
+ switch_to_blog( $paged_blogs[ $i ]->blog_id );
642
+
643
+ // Add URLs to any Featured Image this post might have.
644
+ if ( ! empty( $paged_blogs[$i]->latest_post ) && has_post_thumbnail( $paged_blogs[$i]->latest_post->ID ) ) {
645
+
646
+ // Grab 4 sizes of the image. Thumbnail.
647
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'thumbnail', false );
648
+ if ( ! empty( $image ) )
649
+ $images['thumbnail'] = $image[0];
650
+
651
+ // Medium.
652
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'medium', false );
653
+ if ( ! empty( $image ) )
654
+ $images['medium'] = $image[0];
655
+
656
+ // Large.
657
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'large', false );
658
+ if ( ! empty( $image ) )
659
+ $images['large'] = $image[0];
660
+
661
+ // Post thumbnail.
662
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $paged_blogs[$i]->latest_post->ID ), 'post-thumbnail', false );
663
+ if ( ! empty( $image ) )
664
+ $images['post-thumbnail'] = $image[0];
665
+
666
+ // Add the images to the latest_post object.
667
+ $paged_blogs[$i]->latest_post->images = $images;
668
+ }
669
+
670
+ restore_current_blog();
671
  }
672
  }
673
 
bp-blogs/classes/class-bp-rest-blogs-endpoint.php CHANGED
@@ -489,7 +489,7 @@ class BP_REST_Blogs_Endpoint extends WP_REST_Controller {
489
  );
490
  }
491
 
492
- // Embed latest blog post.
493
  if ( ! empty( $blog->latest_post->ID ) ) {
494
  $links['post'] = array(
495
  'embeddable' => true,
489
  );
490
  }
491
 
492
+ // Embed the latest blog post.
493
  if ( ! empty( $blog->latest_post->ID ) ) {
494
  $links['post'] = array(
495
  'embeddable' => true,
bp-core/bp-core-actions.php CHANGED
@@ -119,6 +119,9 @@ add_action( 'bp_after_setup_theme', 'bp_check_theme_template_pack_dependency',
119
  add_action( 'bp_after_setup_theme', 'bp_load_theme_functions', 1 );
120
  add_action( 'bp_after_setup_theme', 'bp_register_theme_compat_default_features', 10 );
121
 
 
 
 
122
  // Load the admin.
123
  if ( is_admin() ) {
124
  add_action( 'bp_loaded', 'bp_admin' );
119
  add_action( 'bp_after_setup_theme', 'bp_load_theme_functions', 1 );
120
  add_action( 'bp_after_setup_theme', 'bp_register_theme_compat_default_features', 10 );
121
 
122
+ // Adds a new hook to be sure to enqueue scripts when `is_buddypress()` is true.
123
+ add_action( 'bp_enqueue_scripts', 'bp_enqueue_community_scripts' );
124
+
125
  // Load the admin.
126
  if ( is_admin() ) {
127
  add_action( 'bp_loaded', 'bp_admin' );
bp-core/bp-core-attachments.php CHANGED
@@ -156,6 +156,7 @@ function bp_attachments_get_max_upload_file_size( $type = '' ) {
156
  * Get allowed types for any attachment.
157
  *
158
  * @since 2.4.0
 
159
  *
160
  * @param string $type The extension types to get.
161
  * Default: 'avatar'.
@@ -163,16 +164,16 @@ function bp_attachments_get_max_upload_file_size( $type = '' ) {
163
  */
164
  function bp_attachments_get_allowed_types( $type = 'avatar' ) {
165
  // Defaults to BuddyPress supported image extensions.
166
- $exts = array( 'jpeg', 'gif', 'png' );
167
- $wp_exts = wp_get_ext_types();
 
 
168
 
169
- /**
170
- * It's not a BuddyPress feature, get the allowed extensions
171
- * matching the $type requested.
172
- */
173
- if ( 'avatar' !== $type && 'cover_image' !== $type ) {
174
  // Reset the default exts.
175
- $exts = array();
 
176
 
177
  if ( 'video' === $type ) {
178
  $exts = wp_get_video_extensions();
@@ -689,6 +690,7 @@ function bp_attachments_get_plupload_l10n() {
689
  'dismiss' => __( 'Dismiss', 'buddypress' ),
690
  'crunching' => __( 'Crunching&hellip;', 'buddypress' ),
691
  'unique_file_warning' => __( 'Make sure to upload a unique file', 'buddypress' ),
 
692
 
693
  /* translators: %s: File name. */
694
  'error_uploading' => __( '&#8220;%s&#8221; has failed to upload.', 'buddypress' ),
@@ -779,6 +781,15 @@ function bp_attachments_enqueue_scripts( $class = '' ) {
779
  $defaults['filters']['max_file_size'] = $args['max_file_size'] . 'b';
780
  }
781
 
 
 
 
 
 
 
 
 
 
782
  // Specific to BuddyPress Avatars.
783
  if ( 'bp_avatar_upload' === $defaults['multipart_params']['action'] ) {
784
 
156
  * Get allowed types for any attachment.
157
  *
158
  * @since 2.4.0
159
+ * @since 11.0.0 Adds the support for .webp images to Avatars and Cover images.
160
  *
161
  * @param string $type The extension types to get.
162
  * Default: 'avatar'.
164
  */
165
  function bp_attachments_get_allowed_types( $type = 'avatar' ) {
166
  // Defaults to BuddyPress supported image extensions.
167
+ $exts = array( 'jpg', 'jpeg', 'jpe', 'gif', 'png' );
168
+ if ( bp_is_running_wp( '5.8.0', '>=' ) ) {
169
+ $exts[] = 'webp';
170
+ }
171
 
172
+ // Avatar and cover image are images.
173
+ if ( 'image' !== $type && 'avatar' !== $type && 'cover_image' !== $type ) {
 
 
 
174
  // Reset the default exts.
175
+ $exts = array();
176
+ $wp_exts = wp_get_ext_types();
177
 
178
  if ( 'video' === $type ) {
179
  $exts = wp_get_video_extensions();
690
  'dismiss' => __( 'Dismiss', 'buddypress' ),
691
  'crunching' => __( 'Crunching&hellip;', 'buddypress' ),
692
  'unique_file_warning' => __( 'Make sure to upload a unique file', 'buddypress' ),
693
+ 'noneditable_image' => __( 'This image cannot be processed by the web server. Convert it to JPEG or PNG before uploading.', 'buddypress' ),
694
 
695
  /* translators: %s: File name. */
696
  'error_uploading' => __( '&#8220;%s&#8221; has failed to upload.', 'buddypress' ),
781
  $defaults['filters']['max_file_size'] = $args['max_file_size'] . 'b';
782
  }
783
 
784
+ if ( isset( $args['mime_types'] ) && $args['mime_types'] ) {
785
+ $defaults['filters']['mime_types'] = array( array( 'extensions' => $args['mime_types'] ) );
786
+ }
787
+
788
+ // Check if WebP images can be edited.
789
+ if ( bp_is_running_wp( '5.8.0', '>=' ) && ! wp_image_editor_supports( array( 'mime_type' => 'image/webp' ) ) ) {
790
+ $defaults['webp_upload_error'] = true;
791
+ }
792
+
793
  // Specific to BuddyPress Avatars.
794
  if ( 'bp_avatar_upload' === $defaults['multipart_params']['action'] ) {
795
 
bp-core/bp-core-avatars.php CHANGED
@@ -456,7 +456,9 @@ function bp_core_fetch_avatar( $args = '' ) {
456
 
457
  // Use an alias to leave the param unchanged.
458
  $avatar_classes = $params['class'];
459
- if ( ! is_array( $avatar_classes ) ) {
 
 
460
  $avatar_classes = explode( ' ', $avatar_classes );
461
  }
462
 
@@ -808,14 +810,12 @@ function bp_core_delete_existing_avatar( $args = '' ) {
808
  }
809
 
810
  /** This filter is documented in bp-core/bp-core-avatars.php */
811
- $item_id = apply_filters( 'bp_core_avatar_item_id', $args['item_id'], $args['object'] );
812
  } else {
813
- $item_id = $args['item_id'];
814
  }
815
 
816
- if ( $item_id && ( ctype_digit( $item_id ) || is_int( $item_id ) ) ) {
817
- $item_id = (int) $item_id;
818
- } else {
819
  return false;
820
  }
821
 
456
 
457
  // Use an alias to leave the param unchanged.
458
  $avatar_classes = $params['class'];
459
+ if ( is_null( $avatar_classes ) ) {
460
+ $avatar_classes = array();
461
+ } elseif ( ! is_array( $avatar_classes ) ) {
462
  $avatar_classes = explode( ' ', $avatar_classes );
463
  }
464
 
810
  }
811
 
812
  /** This filter is documented in bp-core/bp-core-avatars.php */
813
+ $item_id = (int) apply_filters( 'bp_core_avatar_item_id', $args['item_id'], $args['object'] );
814
  } else {
815
+ $item_id = (int) str_replace( '.', '', $args['item_id'] );
816
  }
817
 
818
+ if ( ! $item_id ) {
 
 
819
  return false;
820
  }
821
 
bp-core/bp-core-cssjs.php CHANGED
@@ -185,7 +185,7 @@ function bp_core_confirmation_js() {
185
  ) );
186
 
187
  }
188
- add_action( 'bp_enqueue_scripts', 'bp_core_confirmation_js' );
189
  add_action( 'bp_admin_enqueue_scripts', 'bp_core_confirmation_js' );
190
 
191
  /**
@@ -206,7 +206,7 @@ function bp_core_avatar_scripts() {
206
  add_action( 'bp_after_group_admin_content', 'bp_avatar_template_check' );
207
  add_action( 'bp_after_group_avatar_creation_step', 'bp_avatar_template_check' );
208
  }
209
- add_action( 'bp_enqueue_scripts', 'bp_core_avatar_scripts' );
210
 
211
  /**
212
  * Enqueues the css and js required by the Cover Image UI.
@@ -221,7 +221,7 @@ function bp_core_cover_image_scripts() {
221
  // Enqueue the Attachments scripts for the Cover Image UI.
222
  bp_attachments_enqueue_scripts( 'BP_Attachment_Cover_Image' );
223
  }
224
- add_action( 'bp_enqueue_scripts', 'bp_core_cover_image_scripts' );
225
 
226
  /**
227
  * Enqueues jCrop library and hooks BP's custom cropper JS.
@@ -522,7 +522,7 @@ function bp_add_cover_image_inline_css( $return = false ) {
522
  }
523
  }
524
  }
525
- add_action( 'bp_enqueue_scripts', 'bp_add_cover_image_inline_css', 11 );
526
 
527
  /**
528
  * Enqueues livestamp.js on BuddyPress pages.
@@ -536,7 +536,7 @@ function bp_core_add_livestamp() {
536
 
537
  bp_core_enqueue_livestamp();
538
  }
539
- add_action( 'bp_enqueue_scripts', 'bp_core_add_livestamp' );
540
 
541
  /**
542
  * Enqueue and localize livestamp.js script.
185
  ) );
186
 
187
  }
188
+ add_action( 'bp_enqueue_community_scripts', 'bp_core_confirmation_js' );
189
  add_action( 'bp_admin_enqueue_scripts', 'bp_core_confirmation_js' );
190
 
191
  /**
206
  add_action( 'bp_after_group_admin_content', 'bp_avatar_template_check' );
207
  add_action( 'bp_after_group_avatar_creation_step', 'bp_avatar_template_check' );
208
  }
209
+ add_action( 'bp_enqueue_community_scripts', 'bp_core_avatar_scripts' );
210
 
211
  /**
212
  * Enqueues the css and js required by the Cover Image UI.
221
  // Enqueue the Attachments scripts for the Cover Image UI.
222
  bp_attachments_enqueue_scripts( 'BP_Attachment_Cover_Image' );
223
  }
224
+ add_action( 'bp_enqueue_community_scripts', 'bp_core_cover_image_scripts' );
225
 
226
  /**
227
  * Enqueues jCrop library and hooks BP's custom cropper JS.
522
  }
523
  }
524
  }
525
+ add_action( 'bp_enqueue_community_scripts', 'bp_add_cover_image_inline_css', 11 );
526
 
527
  /**
528
  * Enqueues livestamp.js on BuddyPress pages.
536
 
537
  bp_core_enqueue_livestamp();
538
  }
539
+ add_action( 'bp_enqueue_community_scripts', 'bp_core_add_livestamp' );
540
 
541
  /**
542
  * Enqueue and localize livestamp.js script.
bp-core/bp-core-dependency.php CHANGED
@@ -499,21 +499,57 @@ function bp_enqueue_scripts() {
499
  }
500
 
501
  /**
502
- * Fires the 'bp_enqueue_embed_scripts' action in the <head> for BP oEmbeds.
503
  *
504
- * @since 2.6.0
 
 
 
505
  */
506
- function bp_enqueue_embed_scripts() {
507
- if ( ! is_buddypress() ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  return;
509
  }
510
 
511
  /**
512
- * Enqueue CSS and JS files for BuddyPress embeds.
513
  *
514
- * @since 2.6.0
515
  */
516
- do_action( 'bp_enqueue_embed_scripts' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
517
  }
518
 
519
  /**
499
  }
500
 
501
  /**
502
+ * Fires an action hook to enqueue scripts and styles for specific BuddyPress contexts.
503
  *
504
+ * @since 11.0.0
505
+ *
506
+ * @param string $context The specific BuddyPress context. Supported values are `embed` and `community`.
507
+ * Default: `embed`.
508
  */
509
+ function bp_enqueue_context_scripts( $context = 'embed' ) {
510
+ $bp_pages_only_assets = false;
511
+
512
+ /**
513
+ * Filter here & return `true` to restrict BP Assets loading to BP Pages.
514
+ *
515
+ * @since 11.0.0
516
+ *
517
+ * @param bool $value False to carry on loading BP Assets "everywhere". True otherwise.
518
+ */
519
+ $bp_pages_only = apply_filters( 'bp_enqueue_assets_in_bp_pages_only', false );
520
+
521
+ if ( 'embed' === $context || $bp_pages_only ) {
522
+ $bp_pages_only_assets = true;
523
+ }
524
+
525
+ if ( $bp_pages_only_assets && ! is_buddypress() ) {
526
  return;
527
  }
528
 
529
  /**
530
+ * Enqueue CSS and JS files for a specific BuddyPress context.
531
  *
532
+ * @since 11.0.0
533
  */
534
+ do_action( "bp_enqueue_{$context}_scripts" );
535
+ }
536
+
537
+ /**
538
+ * Fires the 'bp_enqueue_embed_scripts' action in the <head> for BP oEmbeds.
539
+ *
540
+ * @since 2.6.0
541
+ */
542
+ function bp_enqueue_embed_scripts() {
543
+ return bp_enqueue_context_scripts( 'embed' );
544
+ }
545
+
546
+ /**
547
+ * Fires the `bp_enqueue_community_scripts` action for Template packs scripts and styles.
548
+ *
549
+ * @since 11.0.0
550
+ */
551
+ function bp_enqueue_community_scripts() {
552
+ return bp_enqueue_context_scripts( 'community' );
553
  }
554
 
555
  /**
bp-core/bp-core-filters.php CHANGED
@@ -171,7 +171,7 @@ add_filter( 'nav_menu_meta_box_object', 'bp_core_exclude_pages_from_nav_menu_adm
171
  * @return array
172
  */
173
  function bp_core_menu_highlight_parent_page( $retval, $page ) {
174
- if ( ! is_buddypress() ) {
175
  return $retval;
176
  }
177
 
171
  * @return array
172
  */
173
  function bp_core_menu_highlight_parent_page( $retval, $page ) {
174
+ if ( ! is_buddypress() || ! bp_is_root_blog() ) {
175
  return $retval;
176
  }
177
 
bp-core/bp-core-functions.php CHANGED
@@ -70,6 +70,62 @@ function bp_db_version_raw() {
70
  return !empty( $bp->db_version_raw ) ? $bp->db_version_raw : 0;
71
  }
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  /**
74
  * Check whether the current version of WP exceeds a given version.
75
  *
@@ -3357,6 +3413,7 @@ function bp_get_taxonomy_types( $taxonomy = '', $types = array() ) {
3357
  return $types;
3358
  }
3359
 
 
3360
  $type_metadata = array_keys( get_registered_meta_keys( 'term', $taxonomy ) );
3361
 
3362
  foreach ( $terms as $term ) {
@@ -3971,6 +4028,22 @@ function bp_email_get_schema() {
3971
  /* translators: do not remove {} brackets or translate its contents. */
3972
  'post_excerpt' => __( "Your membership request for the group \"{{group.name}}\" has been rejected.\n\nTo request membership again, visit: {{{group.url}}}", 'buddypress' ),
3973
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3974
  'bp-members-invitation' => array(
3975
  /* translators: do not remove {} brackets or translate its contents. */
3976
  'post_title' => __( '{{inviter.name}} has invited you to join {{site.name}}', 'buddypress' ),
@@ -4152,6 +4225,18 @@ function bp_email_get_type_schema( $field = 'description' ) {
4152
  ),
4153
  );
4154
 
 
 
 
 
 
 
 
 
 
 
 
 
4155
  $core_user_activation = array(
4156
  'description' => __( 'Recipient has successfully activated an account.', 'buddypress' ),
4157
  'named_salutation' => true,
@@ -4183,26 +4268,28 @@ function bp_email_get_type_schema( $field = 'description' ) {
4183
  );
4184
 
4185
  $types = array(
4186
- 'activity-comment' => $activity_comment,
4187
- 'activity-comment-author' => $activity_comment_author,
4188
- 'activity-at-message' => $activity_at_message,
4189
- 'groups-at-message' => $groups_at_message,
4190
- 'core-user-registration' => $core_user_registration,
4191
- 'core-user-registration-with-blog' => $core_user_registration_with_blog,
4192
- 'friends-request' => $friends_request,
4193
- 'friends-request-accepted' => $friends_request_accepted,
4194
- 'groups-details-updated' => $groups_details_updated,
4195
- 'groups-invitation' => $groups_invitation,
4196
- 'groups-member-promoted' => $groups_member_promoted,
4197
- 'groups-membership-request' => $groups_membership_request,
4198
- 'messages-unread' => $messages_unread,
4199
- 'settings-verify-email-change' => $settings_verify_email_change,
4200
- 'groups-membership-request-accepted' => $groups_membership_request_accepted,
4201
- 'groups-membership-request-rejected' => $groups_membership_request_rejected,
4202
- 'core-user-activation' => $core_user_activation,
4203
- 'bp-members-invitation' => $members_invitation,
4204
- 'members-membership-request' => $members_membership_request,
4205
- 'members-membership-request-rejected' => $members_membership_request_rejected,
 
 
4206
  );
4207
 
4208
  if ( $field !== 'all' ) {
@@ -4644,3 +4731,122 @@ function bp_delete_optout_by_id( $id = 0 ) {
4644
  $optout_class = new BP_Optout();
4645
  return $optout_class::delete_by_id( $id );
4646
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  return !empty( $bp->db_version_raw ) ? $bp->db_version_raw : 0;
71
  }
72
 
73
+ /**
74
+ * Output a BuddyPress major version.
75
+ *
76
+ * @since 11.0.0
77
+ *
78
+ * @param string $version BuddyPress version.
79
+ */
80
+ function bp_major_version( $version = '' ) {
81
+ echo bp_get_major_version( $version );
82
+ }
83
+
84
+ /**
85
+ * Return a BuddyPress major version.
86
+ *
87
+ * @since 11.0.0
88
+ *
89
+ * @param string $version BuddyPress version.
90
+ * @return string The corresponding BuddyPress major version.
91
+ */
92
+ function bp_get_major_version( $version = '' ) {
93
+ if ( ! $version ) {
94
+ $version = bp_get_version();
95
+ }
96
+
97
+ $last_wp_like_major_versions = '2.9';
98
+ $float_version = (float) $version;
99
+
100
+ if ( 1 !== version_compare( $version, $last_wp_like_major_versions ) ) {
101
+ $major_version = (string) $float_version;
102
+ } else {
103
+ $major_version = (int) $float_version . '.0';
104
+ }
105
+
106
+ return $major_version;
107
+ }
108
+
109
+ /**
110
+ * Output the BuddyPress version used for its first install.
111
+ *
112
+ * @since 11.0.0
113
+ */
114
+ function bp_initial_version() {
115
+ echo bp_get_initial_version();
116
+ }
117
+
118
+ /**
119
+ * Return the BuddyPress version used for its first install.
120
+ *
121
+ * @since 11.0.0
122
+ *
123
+ * @return string The BuddyPress version used for its first install.
124
+ */
125
+ function bp_get_initial_version() {
126
+ return bp_get_option( '_bp_initial_major_version', '0' );
127
+ }
128
+
129
  /**
130
  * Check whether the current version of WP exceeds a given version.
131
  *
3413
  return $types;
3414
  }
3415
 
3416
+ $db_types = array();
3417
  $type_metadata = array_keys( get_registered_meta_keys( 'term', $taxonomy ) );
3418
 
3419
  foreach ( $terms as $term ) {
4028
  /* translators: do not remove {} brackets or translate its contents. */
4029
  'post_excerpt' => __( "Your membership request for the group \"{{group.name}}\" has been rejected.\n\nTo request membership again, visit: {{{group.url}}}", 'buddypress' ),
4030
  ),
4031
+ 'groups-membership-request-accepted-by-admin' => array(
4032
+ /* translators: do not remove {} brackets or translate its contents. */
4033
+ 'post_title' => __( '[{{{site.name}}}] Membership request for group "{{group.name}}" accepted', 'buddypress' ),
4034
+ /* translators: do not remove {} brackets or translate its contents. */
4035
+ 'post_content' => __( "An administrator accepted an invitation to join &quot;<a href=\"{{{group.url}}}\">{{group.name}}</a>&quot; on your behalf.\n\nIf you disagree with this, you can leave the group at anytime visiting your <a href=\"{{{leave-group.url}}}\">groups memberships page</a>.", 'buddypress' ),
4036
+ /* translators: do not remove {} brackets or translate its contents. */
4037
+ 'post_excerpt' => __( "An administrator accepted an invitation to join \"{{group.name}}\" on your behalf.\n\nIf you disagree with this, you can leave the group at anytime visiting your groups memberships page: {{{leave-group.url}}}", 'buddypress' ),
4038
+ ),
4039
+ 'groups-membership-request-rejected-by-admin' => array(
4040
+ /* translators: do not remove {} brackets or translate its contents. */
4041
+ 'post_title' => __( '[{{{site.name}}}] Membership request for group "{{group.name}}" rejected', 'buddypress' ),
4042
+ /* translators: do not remove {} brackets or translate its contents. */
4043
+ 'post_content' => __( "An administrator rejected an invitation to join &quot;<a href=\"{{{group.url}}}\">{{group.name}}</a>&quot; on your behalf.\n\nIf you disagree with this, please contact the site administrator.", 'buddypress' ),
4044
+ /* translators: do not remove {} brackets or translate its contents. */
4045
+ 'post_excerpt' => __( "An administrator rejected an invitation to join \"{{group.name}}\" on your behalf.\n\nIf you disagree with this, please contact the site administrator.", 'buddypress' ),
4046
+ ),
4047
  'bp-members-invitation' => array(
4048
  /* translators: do not remove {} brackets or translate its contents. */
4049
  'post_title' => __( '{{inviter.name}} has invited you to join {{site.name}}', 'buddypress' ),
4225
  ),
4226
  );
4227
 
4228
+ $groups_membership_request_accepted_by_admin = array(
4229
+ 'description' => __( 'Recipient had requested to join a group, which was accepted by admin.', 'buddypress' ),
4230
+ 'named_salutation' => true,
4231
+ 'unsubscribe' => false,
4232
+ );
4233
+
4234
+ $groups_membership_request_rejected_by_admin = array(
4235
+ 'description' => __( 'Recipient had requested to join a group, which was rejected by admin.', 'buddypress' ),
4236
+ 'named_salutation' => true,
4237
+ 'unsubscribe' => false,
4238
+ );
4239
+
4240
  $core_user_activation = array(
4241
  'description' => __( 'Recipient has successfully activated an account.', 'buddypress' ),
4242
  'named_salutation' => true,
4268
  );
4269
 
4270
  $types = array(
4271
+ 'activity-comment' => $activity_comment,
4272
+ 'activity-comment-author' => $activity_comment_author,
4273
+ 'activity-at-message' => $activity_at_message,
4274
+ 'groups-at-message' => $groups_at_message,
4275
+ 'core-user-registration' => $core_user_registration,
4276
+ 'core-user-registration-with-blog' => $core_user_registration_with_blog,
4277
+ 'friends-request' => $friends_request,
4278
+ 'friends-request-accepted' => $friends_request_accepted,
4279
+ 'groups-details-updated' => $groups_details_updated,
4280
+ 'groups-invitation' => $groups_invitation,
4281
+ 'groups-member-promoted' => $groups_member_promoted,
4282
+ 'groups-membership-request' => $groups_membership_request,
4283
+ 'messages-unread' => $messages_unread,
4284
+ 'settings-verify-email-change' => $settings_verify_email_change,
4285
+ 'groups-membership-request-accepted' => $groups_membership_request_accepted,
4286
+ 'groups-membership-request-rejected' => $groups_membership_request_rejected,
4287
+ 'core-user-activation' => $core_user_activation,
4288
+ 'bp-members-invitation' => $members_invitation,
4289
+ 'members-membership-request' => $members_membership_request,
4290
+ 'members-membership-request-rejected' => $members_membership_request_rejected,
4291
+ 'groups-membership-request-accepted-by-admin' => $groups_membership_request_accepted_by_admin,
4292
+ 'groups-membership-request-rejected-by-admin' => $groups_membership_request_rejected_by_admin,
4293
  );
4294
 
4295
  if ( $field !== 'all' ) {
4731
  $optout_class = new BP_Optout();
4732
  return $optout_class::delete_by_id( $id );
4733
  }
4734
+
4735
+ /**
4736
+ * Get the list of versions needing their deprecated functions to be loaded.
4737
+ *
4738
+ * @since 11.0.0
4739
+ *
4740
+ * @return array The list of versions needing their deprecated functions to be loaded.
4741
+ */
4742
+ function bp_get_deprecated_functions_versions() {
4743
+ $ignore_deprecated = null;
4744
+ if ( defined( 'BP_IGNORE_DEPRECATED' ) ) {
4745
+ $ignore_deprecated = (bool) BP_IGNORE_DEPRECATED;
4746
+ }
4747
+
4748
+ /*
4749
+ * Respect the site owner's choice to ignore deprecated functions.
4750
+ * Return an empty array to inform no deprecated version files should be loaded.
4751
+ */
4752
+ if ( true === $ignore_deprecated ) {
4753
+ return array();
4754
+ }
4755
+
4756
+ // List of versions containing deprecated functions.
4757
+ $deprecated_functions_versions = array(
4758
+ '1.2',
4759
+ '1.5',
4760
+ '1.6',
4761
+ '1.7',
4762
+ '1.9',
4763
+ '2.0',
4764
+ '2.1',
4765
+ '2.2',
4766
+ '2.3',
4767
+ '2.4',
4768
+ '2.5',
4769
+ '2.6',
4770
+ '2.7',
4771
+ '2.8',
4772
+ '2.9',
4773
+ '3.0',
4774
+ '4.0',
4775
+ '6.0',
4776
+ '7.0',
4777
+ '8.0',
4778
+ '9.0',
4779
+ '10.0',
4780
+ '11.0',
4781
+ );
4782
+
4783
+ /*
4784
+ * Respect the site owner's choice to load all deprecated functions.
4785
+ * Return an empty array to inform no deprecated version files should be loaded.
4786
+ */
4787
+ if ( false === $ignore_deprecated ) {
4788
+ return $deprecated_functions_versions;
4789
+ }
4790
+
4791
+ /*
4792
+ * Unless the `BP_IGNORE_DEPRECATED` constant is used & set to false, the development
4793
+ * version of BuddyPress do not load deprecated functions.
4794
+ */
4795
+ if ( defined( 'BP_SOURCE_SUBDIRECTORY' ) && BP_SOURCE_SUBDIRECTORY === 'src' ) {
4796
+ return array();
4797
+ }
4798
+
4799
+ /*
4800
+ * If the constant is not defined, put our logic in place so that only the
4801
+ * 2 last versions deprecated functions will be loaded for upgraded installs.
4802
+ */
4803
+ $initial_version = (float) bp_get_initial_version();
4804
+ $current_version = (float) bp_get_version();
4805
+ $load_latest_deprecated = $initial_version < $current_version;
4806
+
4807
+ // We don't load deprecated functions for new installs.
4808
+ if ( ! $load_latest_deprecated ) {
4809
+ // Run some additional checks if PHPUnit is running.
4810
+ if ( defined( 'BP_TESTS_DIR' ) ) {
4811
+ $deprecated_files = array_filter(
4812
+ array_map(
4813
+ function( $file ) {
4814
+ if ( false !== strpos( $file, '.php' ) ) {
4815
+ return str_replace( '.php', '', $file );
4816
+ };
4817
+ },
4818
+ scandir( buddypress()->plugin_dir . 'bp-core/deprecated' )
4819
+ )
4820
+ );
4821
+
4822
+ if ( array_diff( $deprecated_files, $deprecated_functions_versions ) ) {
4823
+ return false;
4824
+ }
4825
+ }
4826
+ return array();
4827
+ }
4828
+
4829
+ // Try to get the first major version that was in used when BuddyPress was fist installed.
4830
+ $first_major = '';
4831
+ if ( $initial_version ) {
4832
+ $first_major = bp_get_major_version( $initial_version );
4833
+ }
4834
+
4835
+ $index_first_major = array_search( $first_major, $deprecated_functions_versions, true );
4836
+ if ( false === $index_first_major ) {
4837
+ return array_splice( $deprecated_functions_versions, -2 );
4838
+ }
4839
+
4840
+ $latest_deprecated_functions_versions = array_splice( $deprecated_functions_versions, $index_first_major );
4841
+
4842
+ if ( 2 <= count( $latest_deprecated_functions_versions ) ) {
4843
+ $latest_deprecated_functions_versions = array_splice( $latest_deprecated_functions_versions, -2 );
4844
+ }
4845
+
4846
+ $index_initial_version = array_search( $first_major, $latest_deprecated_functions_versions, true );
4847
+ if ( false !== $index_initial_version ) {
4848
+ unset( $latest_deprecated_functions_versions[ $index_initial_version ] );
4849
+ }
4850
+
4851
+ return $latest_deprecated_functions_versions;
4852
+ }
bp-core/bp-core-moderation.php CHANGED
@@ -239,12 +239,6 @@ function bp_core_check_for_disallowed_keys( $user_id = 0, $title = '', $content
239
 
240
  // Get the moderation keys.
241
  $disallowed = get_option( 'disallowed_keys' );
242
-
243
- // Support for WP < 5.5.
244
- if ( false === $disallowed ) {
245
- $disallowed = get_option( 'blacklist_keys' );
246
- }
247
-
248
  $disallowed = trim( $disallowed );
249
 
250
  // Bail if disallowed list is empty.
239
 
240
  // Get the moderation keys.
241
  $disallowed = get_option( 'disallowed_keys' );
 
 
 
 
 
 
242
  $disallowed = trim( $disallowed );
243
 
244
  // Bail if disallowed list is empty.
bp-core/bp-core-rest-api.php CHANGED
@@ -18,7 +18,7 @@ defined( 'ABSPATH' ) || exit;
18
  * @return boolean True if the BP REST plugin is active. False otherwise.
19
  */
20
  function bp_rest_is_plugin_active() {
21
- return (bool) has_action( 'bp_rest_api_init', 'bp_rest', 5 );
22
  }
23
 
24
  /**
18
  * @return boolean True if the BP REST plugin is active. False otherwise.
19
  */
20
  function bp_rest_is_plugin_active() {
21
+ return (bool) has_action( 'bp_rest_api_init', 'bp_rest' );
22
  }
23
 
24
  /**
bp-core/bp-core-update.php CHANGED
@@ -205,6 +205,8 @@ function bp_version_updater() {
205
 
206
  // Install BP schema and activate only Activity and XProfile.
207
  if ( bp_is_install() ) {
 
 
208
 
209
  // Apply schema and set Activity and XProfile components as active.
210
  bp_core_install( $default_components );
@@ -284,6 +286,11 @@ function bp_version_updater() {
284
  bp_update_to_10_0();
285
  }
286
 
 
 
 
 
 
287
  }
288
 
289
  /* All done! *************************************************************/
@@ -748,6 +755,44 @@ function bp_core_get_10_0_upgrade_email_schema( $emails ) {
748
  return $new_emails;
749
  }
750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  /**
752
  * Updates the component field for new_members type.
753
  *
205
 
206
  // Install BP schema and activate only Activity and XProfile.
207
  if ( bp_is_install() ) {
208
+ // Set the first BP major version the plugin was installed.
209
+ bp_update_option( '_bp_initial_major_version', bp_get_major_version() );
210
 
211
  // Apply schema and set Activity and XProfile components as active.
212
  bp_core_install( $default_components );
286
  bp_update_to_10_0();
287
  }
288
 
289
+ // Version 11.0.0.
290
+ if ( $raw_db_version < 13271 ){
291
+ bp_update_to_11_0();
292
+ }
293
+
294
  }
295
 
296
  /* All done! *************************************************************/
755
  return $new_emails;
756
  }
757
 
758
+ /**
759
+ * 11.0.0 update routine.
760
+ *
761
+ * - Install new BP Emails for group membership requests which is completed by admin.
762
+ *
763
+ * @since 11.0.0
764
+ */
765
+ function bp_update_to_11_0() {
766
+ bp_delete_option( '_bp_ignore_deprecated_code' );
767
+
768
+ add_filter( 'bp_email_get_schema', 'bp_core_get_11_0_upgrade_email_schema' );
769
+
770
+ bp_core_install_emails();
771
+
772
+ remove_filter( 'bp_email_get_schema', 'bp_core_get_11_0_upgrade_email_schema' );
773
+ }
774
+
775
+ /**
776
+ * Select only the emails that need to be installed with version 11.0.
777
+ *
778
+ * @since 11.0.0
779
+ *
780
+ * @param array $emails The array of emails schema.
781
+ */
782
+ function bp_core_get_11_0_upgrade_email_schema( $emails ) {
783
+ $new_emails = array();
784
+
785
+ if ( isset( $emails['groups-membership-request-accepted-by-admin'] ) ) {
786
+ $new_emails['groups-membership-request-accepted-by-admin'] = $emails['groups-membership-request-accepted-by-admin'];
787
+ }
788
+
789
+ if ( isset( $emails['groups-membership-request-rejected-by-admin'] ) ) {
790
+ $new_emails['groups-membership-request-rejected-by-admin'] = $emails['groups-membership-request-rejected-by-admin'];
791
+ }
792
+
793
+ return $new_emails;
794
+ }
795
+
796
  /**
797
  * Updates the component field for new_members type.
798
  *
bp-core/classes/class-bp-admin.php CHANGED
@@ -183,9 +183,11 @@ class BP_Admin {
183
  // Add a link to BuddyPress Hello in the admin bar.
184
  add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ), 100 );
185
 
186
- // Add a description of new BuddyPress tools in the available tools page.
187
- add_action( 'tool_box', 'bp_core_admin_available_tools_intro' );
188
- add_action( 'bp_network_tool_box', 'bp_core_admin_available_tools_intro' );
 
 
189
 
190
  // On non-multisite, catch.
191
  add_action( 'load-users.php', 'bp_core_admin_user_manage_spammers' );
183
  // Add a link to BuddyPress Hello in the admin bar.
184
  add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ), 100 );
185
 
186
+ // Add a description of BuddyPress tools in the available tools page.
187
+ if ( bp_current_user_can( 'bp_moderate' ) ) {
188
+ add_action( 'tool_box', 'bp_core_admin_available_tools_intro' );
189
+ add_action( 'bp_network_tool_box', 'bp_core_admin_available_tools_intro' );
190
+ }
191
 
192
  // On non-multisite, catch.
193
  add_action( 'load-users.php', 'bp_core_admin_user_manage_spammers' );
bp-core/classes/class-bp-attachment-avatar.php CHANGED
@@ -399,6 +399,9 @@ class BP_Attachment_Avatar extends BP_Attachment {
399
  // Get default script data.
400
  $script_data = parent::script_data();
401
 
 
 
 
402
  // Defaults to Avatar Backbone script.
403
  $js_scripts = array( 'bp-avatar' );
404
 
399
  // Get default script data.
400
  $script_data = parent::script_data();
401
 
402
+ // Adds the list of supported image types.
403
+ $script_data['mime_types'] = implode( ',', bp_core_get_allowed_avatar_types() );
404
+
405
  // Defaults to Avatar Backbone script.
406
  $js_scripts = array( 'bp-avatar' );
407
 
bp-core/classes/class-bp-attachment-cover-image.php CHANGED
@@ -196,6 +196,9 @@ class BP_Attachment_Cover_Image extends BP_Attachment {
196
  // Get default script data.
197
  $script_data = parent::script_data();
198
 
 
 
 
199
  if ( bp_is_user() ) {
200
  $item_id = bp_displayed_user_id();
201
 
196
  // Get default script data.
197
  $script_data = parent::script_data();
198
 
199
+ // Adds the list of supported image types.
200
+ $script_data['mime_types'] = implode( ',', bp_attachments_get_allowed_types( 'cover_image' ) );
201
+
202
  if ( bp_is_user() ) {
203
  $item_id = bp_displayed_user_id();
204
 
bp-core/classes/class-bp-attachment.php CHANGED
@@ -493,17 +493,8 @@ abstract class BP_Attachment {
493
  $check_types['dst_file'] = array( 'file' => $r['dst_file'], 'error' => _x( 'destination file', 'Attachment destination file', 'buddypress' ) );
494
  }
495
 
496
- /**
497
- * WordPress image supported types.
498
- * @see wp_attachment_is()
499
- */
500
- $supported_image_types = array(
501
- 'jpg' => 1,
502
- 'jpeg' => 1,
503
- 'jpe' => 1,
504
- 'gif' => 1,
505
- 'png' => 1,
506
- );
507
 
508
  foreach ( $check_types as $file ) {
509
  $is_image = wp_check_filetype( $file['file'] );
493
  $check_types['dst_file'] = array( 'file' => $r['dst_file'], 'error' => _x( 'destination file', 'Attachment destination file', 'buddypress' ) );
494
  }
495
 
496
+ // Set supported image types.
497
+ $supported_image_types = array_fill_keys( bp_attachments_get_allowed_types( 'image' ), 1 );
 
 
 
 
 
 
 
 
 
498
 
499
  foreach ( $check_types as $file ) {
500
  $is_image = wp_check_filetype( $file['file'] );
bp-core/classes/class-bp-block.php CHANGED
@@ -46,29 +46,35 @@ class BP_Block {
46
  * Construct the BuddyPress Block.
47
  *
48
  * @since 6.0.0
 
49
  *
50
  * @param array $args {
51
  * The registration arguments for the BP Block. Part of the arguments are the ones
52
  * used by `WP_Block_Type`. Below are BP specific arguments.
53
  *
54
- * @type string $name The name of the block (eg: `bp/member`).
55
- * @type string $editor_script_url URL to the JavaScript main file of the BP Block
56
- * to load into the Block Editor.
57
- * @type array $editor_script_deps The list of JavaScript dependency handles for the
58
- * BP Block main file.
59
- * @type string $script_url URL to the JavaScript file to load into the Block
60
- * Editor and on front-end.
61
- * @type array $script_deps The list of JavaScript dependency handles for the
62
- * JavaScript file to load into the Block Editor and
63
- * on front-end.
64
- * @type string $editor_style_url URL to the CSS main file of the BP Block to load
65
- * into the Block Editor.
66
- * @type array $editor_style_deps The list of CSS dependency handles for the
67
- * CSS main file.
68
- * @type string $style_url URL to the CSS file to load into the Block Editor
69
- * and on front-end.
70
- * @type array $style_deps The list of CSS dependency handles for the CSS file
71
- * to load into the Block Editor and on front-end.
 
 
 
 
 
72
  * }
73
  */
74
  public function __construct( $args ) {
@@ -76,43 +82,95 @@ class BP_Block {
76
  _doing_it_wrong( __METHOD__, esc_html__( 'BP Blocks needs to be registered hooking `bp_blocks_init`', 'buddypress' ), '6.0.0' );
77
  }
78
 
79
- $min = bp_core_get_minified_asset_suffix();
80
- $wp_args = array_intersect_key(
81
- $args,
82
- array(
83
- 'name' => '',
84
- 'render_callback' => '',
85
- 'attributes' => '',
86
- 'editor_script' => '',
87
- 'script' => '',
88
- 'editor_style' => '',
89
- 'style' => '',
90
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  );
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  if ( ! isset( $wp_args['name'] ) || ! $wp_args['name'] || ! isset( $wp_args['editor_script'] ) || ! $wp_args['editor_script'] ) {
94
  $this->block = new WP_Error( 'missing_parameters', __( 'The `name` or `editor_script` required keys are missing.', 'buddypress' ) );
95
  } else {
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  // Get specific BP Blocks arguments.
97
  $bp_args = array_intersect_key(
98
  $args,
99
  array(
100
- 'editor_script_url' => '',
101
- 'editor_script_deps' => array(),
102
- 'script_url' => '',
103
- 'script_deps' => array(),
104
- 'editor_style_url' => '',
105
- 'editor_style_deps' => array(),
106
- 'style_url' => '',
107
- 'style_deps' => array(),
 
 
 
 
108
  )
109
  );
110
 
111
  // Register the scripts.
112
- $version = bp_get_version();
113
  $this->registered_scripts = array();
 
 
 
 
114
 
115
- foreach ( array( 'editor_script', 'script' ) as $script_handle_key ) {
116
  if ( ! isset( $wp_args[ $script_handle_key ] ) || ! $wp_args[ $script_handle_key ] ) {
117
  continue;
118
  }
@@ -180,6 +238,11 @@ class BP_Block {
180
  $name = $wp_args['name'];
181
  unset( $wp_args['name'] );
182
 
 
 
 
 
 
183
  // Set the Block Type.
184
  $this->block = new WP_Block_Type( $name, $wp_args );
185
 
@@ -188,27 +251,37 @@ class BP_Block {
188
 
189
  // Load Block translations if found.
190
  if ( $this->block->editor_script ) {
 
 
 
 
 
191
  /**
192
  * Filter here to use a custom directory to look for the JSON translation file into.
193
  *
194
  * @since 6.0.0
195
  *
196
- * @param string $value Absolute path to the directory to look for the JSON translation file into.
197
  * @param string $editor_script The editor's script handle.
198
  * @param string $name The block's name.
199
  */
200
- $translation_dir = apply_filters( 'bp_block_translation_dir', null, $this->block->editor_script, $name );
 
 
 
 
 
201
 
202
  /**
203
  * Filter here to use a custom domain for the JSON translation file.
204
  *
205
  * @since 6.0.0
206
  *
207
- * @param string $value The custom domain for the JSON translation file.
208
  * @param string $editor_script The editor's script handle.
209
  * @param string $name The block's name.
210
  */
211
- $translation_domain = apply_filters( 'bp_block_translation_domain', 'buddypress', $this->block->editor_script, $name );
212
 
213
  // Try to load the translation.
214
  $translated = wp_set_script_translations( $this->block->editor_script, $translation_domain, $translation_dir );
46
  * Construct the BuddyPress Block.
47
  *
48
  * @since 6.0.0
49
+ * @since 11.0.0 Add support for WP Block API v2 { apiVersion: 2 }.
50
  *
51
  * @param array $args {
52
  * The registration arguments for the BP Block. Part of the arguments are the ones
53
  * used by `WP_Block_Type`. Below are BP specific arguments.
54
  *
55
+ * @type string $editor_script_url URL to the JavaScript main file of the BP Block
56
+ * to load into the Block Editor.
57
+ * @type array $editor_script_deps The list of JavaScript dependency handles for the
58
+ * BP Block main file.
59
+ * @type string $script_url URL to the JavaScript file to load into the Block
60
+ * Editor and on front-end.
61
+ * @type array $script_deps The list of JavaScript dependency handles for the
62
+ * JavaScript file to load into the Block Editor and
63
+ * on front-end.
64
+ * @type string $view_script_url URL to the JavaScript file to load on front-end.
65
+ * @type array $view_script_deps The list of JavaScript dependency handles for the
66
+ * JavaScript file to load on front-end.
67
+ * @type string $editor_style_url URL to the CSS main file of the BP Block to load
68
+ * into the Block Editor.
69
+ * @type array $editor_style_deps The list of CSS dependency handles for the
70
+ * CSS main file.
71
+ * @type string $style_url URL to the CSS file to load into the Block Editor
72
+ * and on front-end.
73
+ * @type array $style_deps The list of CSS dependency handles for the CSS file
74
+ * to load into the Block Editor and on front-end.
75
+ * @type string $domain_path The path to the folder where custom block translations
76
+ * are located.
77
+ * @type array $buddypress_contexts The list of BuddyPress contexts a block can be loaded into.
78
  * }
79
  */
80
  public function __construct( $args ) {
82
  _doing_it_wrong( __METHOD__, esc_html__( 'BP Blocks needs to be registered hooking `bp_blocks_init`', 'buddypress' ), '6.0.0' );
83
  }
84
 
85
+ $min = bp_core_get_minified_asset_suffix();
86
+ $metadata_map = array(
87
+ 'ancestor' => 'ancestor',
88
+ 'apiVersion' => 'api_version',
89
+ 'attributes' => 'attributes',
90
+ 'category' => 'category',
91
+ 'description' => 'description',
92
+ 'editorScript' => 'editor_script',
93
+ 'editorStyle' => 'editor_style',
94
+ 'example' => 'example',
95
+ 'icon' => 'icon',
96
+ 'keywords' => 'keywords',
97
+ 'name' => 'name',
98
+ 'parent' => 'parent',
99
+ 'providesContext' => 'provides_context',
100
+ 'script' => 'script',
101
+ 'style' => 'style',
102
+ 'styles' => 'styles',
103
+ 'supports' => 'supports',
104
+ 'textdomain' => 'textdomain',
105
+ 'title' => 'title',
106
+ 'usesContext' => 'uses_context',
107
+ 'variations' => 'variations',
108
+ 'version' => 'version',
109
+ 'viewScript' => 'view_script',
110
  );
111
 
112
+ // Init WordPress Block $args.
113
+ $wp_args = array();
114
+
115
+ // rekey $args.
116
+ foreach ( $args as $arg_key => $arg ) {
117
+ $snake_case_key = '';
118
+
119
+ if ( isset( $metadata_map[ $arg_key ] ) ) {
120
+ $snake_case_key = $metadata_map[ $arg_key ];
121
+ $wp_args[ $snake_case_key ] = $arg;
122
+ } elseif ( in_array( $arg_key, $metadata_map, true ) ) {
123
+ $wp_args[ $arg_key ] = $arg;
124
+ }
125
+ }
126
+
127
+ if ( isset( $args['render_callback'] ) && $args['render_callback'] ) {
128
+ $wp_args['render_callback'] = $args['render_callback'];
129
+ }
130
+
131
  if ( ! isset( $wp_args['name'] ) || ! $wp_args['name'] || ! isset( $wp_args['editor_script'] ) || ! $wp_args['editor_script'] ) {
132
  $this->block = new WP_Error( 'missing_parameters', __( 'The `name` or `editor_script` required keys are missing.', 'buddypress' ) );
133
  } else {
134
+ if ( isset( $wp_args['api_version'], $args['plugin_url'] ) && 2 === (int) $wp_args['api_version'] ) {
135
+ foreach ( array( 'editor_script', 'editor_style', 'script', 'style', 'view_script' ) as $asset_key ) {
136
+ if ( ! isset( $wp_args[ $asset_key ] ) ) {
137
+ continue;
138
+ }
139
+
140
+ $asset_abs_uri_key = $asset_key . '_url';
141
+ $args[ $asset_abs_uri_key ] = trailingslashit( $args['plugin_url'] ) . remove_block_asset_path_prefix( $wp_args[ $asset_key ] );
142
+ $args[ $asset_key ] = str_replace( '/', '-', $wp_args['name'] ) . '-' . str_replace( '_', '-', $asset_key );
143
+ $wp_args[ $asset_key ] = $args[ $asset_key ];
144
+ }
145
+ }
146
+
147
  // Get specific BP Blocks arguments.
148
  $bp_args = array_intersect_key(
149
  $args,
150
  array(
151
+ 'editor_script_url' => '',
152
+ 'editor_script_deps' => array(),
153
+ 'script_url' => '',
154
+ 'script_deps' => array(),
155
+ 'view_script_url' => '',
156
+ 'view_script_deps' => array(),
157
+ 'editor_style_url' => '',
158
+ 'editor_style_deps' => array(),
159
+ 'style_url' => '',
160
+ 'style_deps' => array(),
161
+ 'domain_path' => null,
162
+ 'buddypress_contexts' => array(),
163
  )
164
  );
165
 
166
  // Register the scripts.
 
167
  $this->registered_scripts = array();
168
+ $version = bp_get_version();
169
+ if ( isset( $wp_args['version'] ) && $wp_args['version'] ) {
170
+ $version = $wp_args['version'];
171
+ }
172
 
173
+ foreach ( array( 'editor_script', 'script', 'view_script' ) as $script_handle_key ) {
174
  if ( ! isset( $wp_args[ $script_handle_key ] ) || ! $wp_args[ $script_handle_key ] ) {
175
  continue;
176
  }
238
  $name = $wp_args['name'];
239
  unset( $wp_args['name'] );
240
 
241
+ // Used to restrict blocks to specific BuddyPress contexts.
242
+ if ( isset( $bp_args['buddypress_contexts'] ) ) {
243
+ $wp_args['buddypress_contexts'] = $bp_args['buddypress_contexts'];
244
+ }
245
+
246
  // Set the Block Type.
247
  $this->block = new WP_Block_Type( $name, $wp_args );
248
 
251
 
252
  // Load Block translations if found.
253
  if ( $this->block->editor_script ) {
254
+ $domain_path = null;
255
+ if ( isset( $bp_args['domain_path'] ) && is_dir( $bp_args['domain_path'] ) ) {
256
+ $domain_path = $bp_args['domain_path'];
257
+ }
258
+
259
  /**
260
  * Filter here to use a custom directory to look for the JSON translation file into.
261
  *
262
  * @since 6.0.0
263
  *
264
+ * @param string $domain_path Absolute path to the directory to look for the JSON translation file into.
265
  * @param string $editor_script The editor's script handle.
266
  * @param string $name The block's name.
267
  */
268
+ $translation_dir = apply_filters( 'bp_block_translation_dir', $domain_path, $this->block->editor_script, $name );
269
+
270
+ $textdomain = 'buddypress';
271
+ if ( isset( $wp_args['textdomain'] ) && $wp_args['textdomain'] ) {
272
+ $textdomain = $wp_args['textdomain'];
273
+ }
274
 
275
  /**
276
  * Filter here to use a custom domain for the JSON translation file.
277
  *
278
  * @since 6.0.0
279
  *
280
+ * @param string $textdomain The custom domain for the JSON translation file.
281
  * @param string $editor_script The editor's script handle.
282
  * @param string $name The block's name.
283
  */
284
+ $translation_domain = apply_filters( 'bp_block_translation_domain', $textdomain, $this->block->editor_script, $name );
285
 
286
  // Try to load the translation.
287
  $translated = wp_set_script_translations( $this->block->editor_script, $translation_domain, $translation_dir );
bp-core/classes/class-bp-core-bp-nav-backcompat.php CHANGED
@@ -60,6 +60,7 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
60
  * @param mixed $offset Array offset.
61
  * @param array $value Nav item.
62
  */
 
63
  public function offsetSet( $offset, $value ) {
64
  _doing_it_wrong(
65
  'bp_nav',
@@ -94,6 +95,7 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
94
  * @param mixed $offset Array offset.
95
  * @return BP_Core_BP_Nav_BackCompat
96
  */
 
97
  public function offsetGet( $offset ) {
98
  _doing_it_wrong(
99
  'bp_nav',
@@ -101,12 +103,10 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
101
  '2.6.0'
102
  );
103
 
104
- // if ( ! isset( $this->backcompat_nav[ $offset ] ) ) {
105
- $nav = $this->get_nav( $offset );
106
- if ( $nav && isset( $nav[ $offset ] ) ) {
107
- $this->backcompat_nav[ $offset ] = new self( $nav[ $offset ] );
108
- }
109
- // }
110
 
111
  return $this->backcompat_nav[ $offset ];
112
  }
@@ -119,6 +119,7 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
119
  * @param mixed $offset Array offset.
120
  * @return bool
121
  */
 
122
  public function offsetExists( $offset ) {
123
  _doing_it_wrong(
124
  'bp_nav',
@@ -145,6 +146,7 @@ class BP_Core_BP_Nav_BackCompat implements ArrayAccess {
145
  *
146
  * @param mixed $offset Array offset.
147
  */
 
148
  public function offsetUnset( $offset ) {
149
  _doing_it_wrong(
150
  'bp_nav',
60
  * @param mixed $offset Array offset.
61
  * @param array $value Nav item.
62
  */
63
+ #[ReturnTypeWillChange]
64
  public function offsetSet( $offset, $value ) {
65
  _doing_it_wrong(
66
  'bp_nav',
95
  * @param mixed $offset Array offset.
96
  * @return BP_Core_BP_Nav_BackCompat
97
  */
98
+ #[ReturnTypeWillChange]
99
  public function offsetGet( $offset ) {
100
  _doing_it_wrong(
101
  'bp_nav',
103
  '2.6.0'
104
  );
105
 
106
+ $nav = $this->get_nav( $offset );
107
+ if ( $nav && isset( $nav[ $offset ] ) ) {
108
+ $this->backcompat_nav[ $offset ] = new self( $nav[ $offset ] );
109
+ }
 
 
110
 
111
  return $this->backcompat_nav[ $offset ];
112
  }
119
  * @param mixed $offset Array offset.
120
  * @return bool
121
  */
122
+ #[ReturnTypeWillChange]
123
  public function offsetExists( $offset ) {
124
  _doing_it_wrong(
125
  'bp_nav',
146
  *
147
  * @param mixed $offset Array offset.
148
  */
149
+ #[ReturnTypeWillChange]
150
  public function offsetUnset( $offset ) {
151
  _doing_it_wrong(
152
  'bp_nav',
bp-core/classes/class-bp-core.php CHANGED
@@ -311,7 +311,9 @@ class BP_Core extends BP_Component {
311
 
312
  // Global groups.
313
  wp_cache_add_global_groups( array(
314
- 'bp'
 
 
315
  ) );
316
 
317
  parent::setup_cache_groups();
311
 
312
  // Global groups.
313
  wp_cache_add_global_groups( array(
314
+ 'bp',
315
+ 'bp_pages',
316
+ 'bp_invitations',
317
  ) );
318
 
319
  parent::setup_cache_groups();
bp-core/classes/class-bp-phpmailer.php CHANGED
@@ -26,7 +26,6 @@ class BP_PHPMailer implements BP_Email_Delivery {
26
  */
27
  public function bp_email( BP_Email $email ) {
28
  static $phpmailer = null;
29
- $phpmailer_is_6_0 = false;
30
 
31
  /**
32
  * Filter PHPMailer object to use.
@@ -39,31 +38,14 @@ class BP_PHPMailer implements BP_Email_Delivery {
39
  */
40
  $phpmailer = apply_filters( 'bp_phpmailer_object', $phpmailer );
41
 
42
- /**
43
- * WordPress 5.5 deprecated version 5.2 of PHPMailer
44
- * and is now using version 6.0 of PHPMailer.
45
- */
46
- if ( bp_get_major_wp_version() >= 5.5 ) {
47
- $phpmailer_is_6_0 = true;
48
-
49
- if ( ! ( $phpmailer instanceof PHPMailer\PHPMailer\PHPMailer ) ) {
50
- if ( ! class_exists( 'PHPMailer\\PHPMailer\\PHPMailer' ) ) {
51
- require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php';
52
- require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';
53
- require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
54
- }
55
-
56
- $phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );
57
  }
58
- } else {
59
- if ( ! ( $phpmailer instanceof PHPMailer ) ) {
60
- if ( ! class_exists( 'PHPMailer' ) ) {
61
- require_once ABSPATH . WPINC . '/class-phpmailer.php';
62
- require_once ABSPATH . WPINC . '/class-smtp.php';
63
- }
64
 
65
- $phpmailer = new PHPMailer( true );
66
- }
67
  }
68
 
69
  /*
@@ -86,11 +68,7 @@ class BP_PHPMailer implements BP_Email_Delivery {
86
  * Content.
87
  */
88
  $phpmailer->Subject = $email->get_subject( 'replace-tokens' );
89
- if ( $phpmailer_is_6_0 ) {
90
- $content_plaintext = PHPMailer\PHPMailer\PHPMailer::normalizeBreaks( $email->get_content_plaintext( 'replace-tokens' ) );
91
- } else {
92
- $content_plaintext = PHPMailer::normalizeBreaks( $email->get_content_plaintext( 'replace-tokens' ) );
93
- }
94
 
95
  if ( $email->get( 'content_type' ) === 'html' ) {
96
  $phpmailer->msgHTML( $email->get_template( 'add-content' ) );
@@ -102,79 +80,38 @@ class BP_PHPMailer implements BP_Email_Delivery {
102
  }
103
 
104
  $recipient = $email->get_from();
105
- if ( $phpmailer_is_6_0 ) {
106
- try {
107
- $phpmailer->setFrom( $recipient->get_address(), $recipient->get_name(), false );
108
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
109
- }
110
- } else {
111
- try {
112
- $phpmailer->SetFrom( $recipient->get_address(), $recipient->get_name(), false );
113
- } catch ( phpmailerException $e ) {
114
- }
115
  }
116
 
117
  $recipient = $email->get_reply_to();
118
- if ( $phpmailer_is_6_0 ) {
119
- try {
120
- $phpmailer->addReplyTo( $recipient->get_address(), $recipient->get_name() );
121
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
122
- }
123
- } else {
124
- try {
125
- $phpmailer->addReplyTo( $recipient->get_address(), $recipient->get_name() );
126
- } catch ( phpmailerException $e ) {
127
- }
128
  }
129
 
130
  $recipients = $email->get_to();
131
- if ( $phpmailer_is_6_0 ) {
132
- foreach ( $recipients as $recipient ) {
133
- try {
134
- $phpmailer->AddAddress( $recipient->get_address(), $recipient->get_name() );
135
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
136
- }
137
- }
138
- } else {
139
- foreach ( $recipients as $recipient ) {
140
- try {
141
- $phpmailer->AddAddress( $recipient->get_address(), $recipient->get_name() );
142
- } catch ( phpmailerException $e ) {
143
- }
144
  }
145
  }
146
 
147
  $recipients = $email->get_cc();
148
- if ( $phpmailer_is_6_0 ) {
149
- foreach ( $recipients as $recipient ) {
150
- try {
151
- $phpmailer->AddCc( $recipient->get_address(), $recipient->get_name() );
152
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
153
- }
154
- }
155
- } else {
156
- foreach ( $recipients as $recipient ) {
157
- try {
158
- $phpmailer->AddCc( $recipient->get_address(), $recipient->get_name() );
159
- } catch ( phpmailerException $e ) {
160
- }
161
  }
162
  }
163
 
164
  $recipients = $email->get_bcc();
165
- if ( $phpmailer_is_6_0 ) {
166
- foreach ( $recipients as $recipient ) {
167
- try {
168
- $phpmailer->AddBcc( $recipient->get_address(), $recipient->get_name() );
169
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
170
- }
171
- }
172
- } else {
173
- foreach ( $recipients as $recipient ) {
174
- try {
175
- $phpmailer->AddBcc( $recipient->get_address(), $recipient->get_name() );
176
- } catch ( phpmailerException $e ) {
177
- }
178
  }
179
  }
180
 
@@ -195,18 +132,10 @@ class BP_PHPMailer implements BP_Email_Delivery {
195
  /** This filter is documented in wp-includes/pluggable.php */
196
  do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
197
 
198
- if ( $phpmailer_is_6_0 ) {
199
- try {
200
- return $phpmailer->Send();
201
- } catch ( PHPMailer\PHPMailer\Exception $e ) {
202
- return new WP_Error( $e->getCode(), $e->getMessage(), $email );
203
- }
204
- } else {
205
- try {
206
- return $phpmailer->Send();
207
- } catch ( phpmailerException $e ) {
208
- return new WP_Error( $e->getCode(), $e->getMessage(), $email );
209
- }
210
  }
211
  }
212
 
26
  */
27
  public function bp_email( BP_Email $email ) {
28
  static $phpmailer = null;
 
29
 
30
  /**
31
  * Filter PHPMailer object to use.
38
  */
39
  $phpmailer = apply_filters( 'bp_phpmailer_object', $phpmailer );
40
 
41
+ if ( ! ( $phpmailer instanceof PHPMailer\PHPMailer\PHPMailer ) ) {
42
+ if ( ! class_exists( 'PHPMailer\\PHPMailer\\PHPMailer' ) ) {
43
+ require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php';
44
+ require_once ABSPATH . WPINC . '/PHPMailer/SMTP.php';
45
+ require_once ABSPATH . WPINC . '/PHPMailer/Exception.php';
 
 
 
 
 
 
 
 
 
 
46
  }
 
 
 
 
 
 
47
 
48
+ $phpmailer = new PHPMailer\PHPMailer\PHPMailer( true );
 
49
  }
50
 
51
  /*
68
  * Content.
69
  */
70
  $phpmailer->Subject = $email->get_subject( 'replace-tokens' );
71
+ $content_plaintext = PHPMailer\PHPMailer\PHPMailer::normalizeBreaks( $email->get_content_plaintext( 'replace-tokens' ) );
 
 
 
 
72
 
73
  if ( $email->get( 'content_type' ) === 'html' ) {
74
  $phpmailer->msgHTML( $email->get_template( 'add-content' ) );
80
  }
81
 
82
  $recipient = $email->get_from();
83
+ try {
84
+ $phpmailer->setFrom( $recipient->get_address(), $recipient->get_name(), false );
85
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
 
 
 
 
 
 
 
86
  }
87
 
88
  $recipient = $email->get_reply_to();
89
+ try {
90
+ $phpmailer->addReplyTo( $recipient->get_address(), $recipient->get_name() );
91
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
 
 
 
 
 
 
 
92
  }
93
 
94
  $recipients = $email->get_to();
95
+ foreach ( $recipients as $recipient ) {
96
+ try {
97
+ $phpmailer->AddAddress( $recipient->get_address(), $recipient->get_name() );
98
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
 
 
 
 
 
 
 
 
 
99
  }
100
  }
101
 
102
  $recipients = $email->get_cc();
103
+ foreach ( $recipients as $recipient ) {
104
+ try {
105
+ $phpmailer->AddCc( $recipient->get_address(), $recipient->get_name() );
106
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
 
 
 
 
 
 
 
 
 
107
  }
108
  }
109
 
110
  $recipients = $email->get_bcc();
111
+ foreach ( $recipients as $recipient ) {
112
+ try {
113
+ $phpmailer->AddBcc( $recipient->get_address(), $recipient->get_name() );
114
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
 
 
 
 
 
 
 
 
 
115
  }
116
  }
117
 
132
  /** This filter is documented in wp-includes/pluggable.php */
133
  do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) );
134
 
135
+ try {
136
+ return $phpmailer->Send();
137
+ } catch ( PHPMailer\PHPMailer\Exception $e ) {
138
+ return new WP_Error( $e->getCode(), $e->getMessage(), $email );
 
 
 
 
 
 
 
 
139
  }
140
  }
141
 
bp-core/classes/class-bp-rest-components-endpoint.php CHANGED
@@ -95,11 +95,11 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
95
  $components = bp_core_get_components( $type );
96
 
97
  // Active components.
98
- $active_components = apply_filters( 'bp_active_components', bp_get_option( 'bp-active-components' ) );
99
 
100
  // Core component is always active.
101
- if ( 'optional' !== $type ) {
102
- $active_components['core'] = $components['core'];
103
  }
104
 
105
  // Inactive components.
@@ -108,7 +108,7 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
108
  $current_components = array();
109
  switch ( $args['status'] ) {
110
  case 'all':
111
- foreach ( $components as $name => $labels ) {
112
  $current_components[] = $this->get_component_info( $name );
113
  }
114
  break;
@@ -466,7 +466,8 @@ class BP_REST_Components_Endpoint extends WP_REST_Controller {
466
  break;
467
  case 'blogs':
468
  $features = array(
469
- 'site_icon' => bp_is_active( 'blogs', 'site-icon' ),
 
470
  );
471
  break;
472
  case 'messages':
95
  $components = bp_core_get_components( $type );
96
 
97
  // Active components.
98
+ $active_components = (array) apply_filters( 'bp_active_components', bp_get_option( 'bp-active-components' ) );
99
 
100
  // Core component is always active.
101
+ if ( 'optional' !== $type && ! empty( $components['core'] ) ) {
102
+ $active_components['core'] = '1';
103
  }
104
 
105
  // Inactive components.
108
  $current_components = array();
109
  switch ( $args['status'] ) {
110
  case 'all':
111
+ foreach ( array_keys( $components ) as $name ) {
112
  $current_components[] = $this->get_component_info( $name );
113
  }
114
  break;
466
  break;
467
  case 'blogs':
468
  $features = array(
469
+ 'site_icon' => bp_is_active( 'blogs', 'site-icon' ),
470
+ 'sites_directory' => is_multisite(),
471
  );
472
  break;
473
  case 'messages':
bp-core/deprecated/11.0.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Deprecated functions.
4
+ *
5
+ * @package BuddyPress
6
+ * @deprecated 11.0.0
7
+ */
8
+
9
+ // Exit if accessed directly.
10
+ if ( ! defined( 'ABSPATH' ) ) {
11
+ exit;
12
+ }
13
+
14
+ /**
15
+ * Catch the arguments for buttons
16
+ *
17
+ * @since 3.0.0
18
+ * @deprecated 11.0.0
19
+ *
20
+ * @param array $buttons The arguments of the button that BuddyPress is about to create.
21
+ *
22
+ * @return array An empty array to stop the button creation process.
23
+ */
24
+ function bp_nouveau_members_catch_button_args( $button = array() ) {
25
+ _deprecated_function( __FUNCTION__, '11.0.0' );
26
+
27
+ /*
28
+ * Globalize the arguments so that we can use it
29
+ * in bp_nouveau_get_member_header_buttons().
30
+ */
31
+ bp_nouveau()->members->button_args = $button;
32
+
33
+ // return an empty array to stop the button creation process
34
+ return array();
35
+ }
36
+
37
+ /**
38
+ * Catch the arguments for buttons
39
+ *
40
+ * @since 3.0.0
41
+ * @deprecated 11.0.0
42
+ *
43
+ * @param array $button The arguments of the button that BuddyPress is about to create.
44
+ *
45
+ * @return array An empty array to stop the button creation process.
46
+ */
47
+ function bp_nouveau_groups_catch_button_args( $button = array() ) {
48
+ _deprecated_function( __FUNCTION__, '11.0.0' );
49
+
50
+ /**
51
+ * Globalize the arguments so that we can use it
52
+ * in bp_nouveau_get_groups_buttons().
53
+ */
54
+ bp_nouveau()->groups->button_args = $button;
55
+
56
+ // return an empty array to stop the button creation process
57
+ return array();
58
+ }
59
+
60
+ /**
61
+ * Catch the arguments for buttons
62
+ *
63
+ * @since 3.0.0
64
+ * @deprecated 11.0.0
65
+ *
66
+ * @param array $buttons The arguments of the button that BuddyPress is about to create.
67
+ *
68
+ * @return array An empty array to stop the button creation process.
69
+ */
70
+ function bp_nouveau_blogs_catch_button_args( $button = array() ) {
71
+ _deprecated_function( __FUNCTION__, '11.0.0' );
72
+
73
+ // Globalize the arguments so that we can use it in bp_nouveau_get_blogs_buttons().
74
+ bp_nouveau()->blogs->button_args = $button;
75
+
76
+ // return an empty array to stop the button creation process
77
+ return array();
78
+ }
bp-core/js/bp-plupload.js CHANGED
@@ -162,6 +162,13 @@ window.bp = window.bp || {};
162
  return;
163
  }
164
 
 
 
 
 
 
 
 
165
  if ( max > hundredmb && file.size > hundredmb && uploader.runtime !== 'html5' ) {
166
  _this.uploadSizeError( uploader, file, true );
167
  } else {
162
  return;
163
  }
164
 
165
+ if ( file.type === 'image/webp' && uploader.settings.webp_upload_error ) {
166
+ // Disallow uploading of WebP images if the server cannot edit them.
167
+ $( self ).trigger( 'bp-uploader-warning', self.strings.noneditable_image );
168
+ uploader.removeFile( file );
169
+ return;
170
+ }
171
+
172
  if ( max > hundredmb && file.size > hundredmb && uploader.runtime !== 'html5' ) {
173
  _this.uploadSizeError( uploader, file, true );
174
  } else {
bp-core/js/bp-plupload.min.js CHANGED
@@ -1 +1 @@
1
- window.wp=window.wp||{},window.bp=window.bp||{},function(d,o){"undefined"!=typeof BP_Uploader&&(_.extend(d,_.pick(wp,"Backbone","ajax","template")),d.Models=d.Models||{},d.Collections=d.Collections||{},d.Views=d.Views||{},d.Uploader={},d.Uploader.uploader=function(){var n=this,e=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(e||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(e){var i=o("#"+n.params.defaults.container),t=o("#"+n.params.defaults.drop_element);"html4"===e.runtime&&(e.settings.multipart_params.html4=!0),"bp_avatar_upload"===e.settings.multipart_params.action&&(e.settings.multipart_params.bp_params.ui_available_width=i.width()),e.features.dragdrop&&!n.params.browser.mobile?(i.addClass("drag-drop"),t.on("dragover.wp-uploader",function(){i.addClass("drag-over")}),t.on("dragleave.wp-uploader, drop.wp-uploader",function(){i.removeClass("drag-over")})):(i.removeClass("drag-drop"),t.off(".wp-uploader"))}),this.uploader.bind("postinit",function(e){e.refresh()}),this.uploader.init(),this.feedback=function(e,i,t){!_.isNull(t)&&t.item&&t.item.clear(),d.Uploader.filesError.unshift({message:e,data:i,file:t})},this.uploader.bind("FilesAdded",function(t,e){var s=104857600,a=parseInt(t.settings.max_file_size,10),r=this;if(!t.settings.multi_selection&&1<e.length){for(var i in e)t.removeFile(e[i]);o(n).trigger("bp-uploader-warning",n.strings.unique_file_warning)}else _.each(e,function(e){var i;plupload.FAILED!==e.status&&(s<a&&e.size>s&&"html5"!==t.runtime?r.uploadSizeError(t,e,!0):(i=_.extend({id:e.id,file:e,uploading:!0,date:new Date,filename:e.name},_.pick(e,"loaded","size","percent")),e.item=new d.Models.File(i),d.Uploader.filesQueue.add(e.item)))}),t.refresh(),t.start()}),this.uploader.bind("UploadProgress",function(e,i){i.item.set(_.pick(i,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(e,i,t){var s=n.strings.default_error;try{t=JSON.parse(t.response)}catch(e){return n.feedback(s,e,i)}return!_.isObject(t)||_.isUndefined(t.success)?n.feedback(s,null,i):t.success?(_.each(["file","loaded","size","percent"],function(e){i.item.unset(e)}),i.item.set(_.extend(t.data,{uploading:!1})),void d.Uploader.filesUploaded.add(i.item)):(t.data&&t.data.message&&(s=t.data.message),n.feedback(s,t.data,i))}),this.uploader.bind("BeforeUpload",function(e,i){o(n).trigger("bp-uploader-new-upload",e,i)}),this.uploader.bind("UploadComplete",function(e,i){o(n).trigger("bp-uploader-upload-complete",e,i),d.Uploader.filesQueue.reset()}),this.uploader.bind("Error",function(e,i){var t,s=n.strings.default_error,a={FAILED:n.strings.upload_failed,FILE_EXTENSION_ERROR:n.strings.invalid_filetype,IMAGE_FORMAT_ERROR:n.strings.not_an_image,IMAGE_MEMORY_ERROR:n.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:n.strings.image_dimensions_exceeded,GENERIC_ERROR:n.strings.upload_failed,IO_ERROR:n.strings.io_error,HTTP_ERROR:n.strings.http_error,SECURITY_ERROR:n.strings.security_error,FILE_SIZE_ERROR:n.strings.file_exceeds_size_limit.replace("%s",o("<span />").text(i.file.name).html())};for(t in a)if(i.code===plupload[t]){s=a[t];break}o(n).trigger("bp-uploader-warning",s),e.refresh()})):BP_Uploader=void 0},d.Models.File=Backbone.Model.extend({file:{}}),o.extend(d.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),d.View=d.Backbone.View.extend({inject:function(e){this.render(),o(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),d.Views.Uploader=d.View.extend({className:"bp-uploader-window",template:d.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new d.Uploader.uploader,o(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),o(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(e,i){_.isUndefined(i)||(i=new d.Views.uploaderWarning({value:i}).render(),this.warnings.push(i),this.$el.after(i.el))},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(e){e.remove()}),this.warnings=[])}}),d.Views.uploaderWarning=d.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),d.Views.uploaderStatus=d.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),d.Uploader.filesError.on("add",this.feedback,this)},addFile:function(e){this.views.add(new d.Views.uploaderProgress({model:e}))},progress:function(e){_.isUndefined(e.get("percent"))||o("#"+e.get("id")+" .bp-progress .bp-bar").css("width",e.get("percent")+"%")},feedback:function(e){_.isUndefined(e.get("message"))||_.isUndefined(e.get("file"))||o("#"+e.get("file").id).html(e.get("message")).addClass("error")}}),d.Views.uploaderProgress=d.View.extend({className:"bp-uploader-progress",template:d.template("progress-window")}))}(window.bp,jQuery);
1
+ window.wp=window.wp||{},window.bp=window.bp||{},function(d,o){"undefined"!=typeof BP_Uploader&&(_.extend(d,_.pick(wp,"Backbone","ajax","template")),d.Models=d.Models||{},d.Collections=d.Collections||{},d.Views=d.Views||{},d.Uploader={},d.Uploader.uploader=function(){var n=this,e=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(e||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(e){var i=o("#"+n.params.defaults.container),t=o("#"+n.params.defaults.drop_element);"html4"===e.runtime&&(e.settings.multipart_params.html4=!0),"bp_avatar_upload"===e.settings.multipart_params.action&&(e.settings.multipart_params.bp_params.ui_available_width=i.width()),e.features.dragdrop&&!n.params.browser.mobile?(i.addClass("drag-drop"),t.on("dragover.wp-uploader",function(){i.addClass("drag-over")}),t.on("dragleave.wp-uploader, drop.wp-uploader",function(){i.removeClass("drag-over")})):(i.removeClass("drag-drop"),t.off(".wp-uploader"))}),this.uploader.bind("postinit",function(e){e.refresh()}),this.uploader.init(),this.feedback=function(e,i,t){!_.isNull(t)&&t.item&&t.item.clear(),d.Uploader.filesError.unshift({message:e,data:i,file:t})},this.uploader.bind("FilesAdded",function(t,e){var s=104857600,a=parseInt(t.settings.max_file_size,10),r=this;if(!t.settings.multi_selection&&1<e.length){for(var i in e)t.removeFile(e[i]);o(n).trigger("bp-uploader-warning",n.strings.unique_file_warning)}else _.each(e,function(e){var i;plupload.FAILED!==e.status&&("image/webp"===e.type&&t.settings.webp_upload_error?(o(n).trigger("bp-uploader-warning",n.strings.noneditable_image),t.removeFile(e)):s<a&&e.size>s&&"html5"!==t.runtime?r.uploadSizeError(t,e,!0):(i=_.extend({id:e.id,file:e,uploading:!0,date:new Date,filename:e.name},_.pick(e,"loaded","size","percent")),e.item=new d.Models.File(i),d.Uploader.filesQueue.add(e.item)))}),t.refresh(),t.start()}),this.uploader.bind("UploadProgress",function(e,i){i.item.set(_.pick(i,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(e,i,t){var s=n.strings.default_error;try{t=JSON.parse(t.response)}catch(e){return n.feedback(s,e,i)}return!_.isObject(t)||_.isUndefined(t.success)?n.feedback(s,null,i):t.success?(_.each(["file","loaded","size","percent"],function(e){i.item.unset(e)}),i.item.set(_.extend(t.data,{uploading:!1})),void d.Uploader.filesUploaded.add(i.item)):(t.data&&t.data.message&&(s=t.data.message),n.feedback(s,t.data,i))}),this.uploader.bind("BeforeUpload",function(e,i){o(n).trigger("bp-uploader-new-upload",e,i)}),this.uploader.bind("UploadComplete",function(e,i){o(n).trigger("bp-uploader-upload-complete",e,i),d.Uploader.filesQueue.reset()}),this.uploader.bind("Error",function(e,i){var t,s=n.strings.default_error,a={FAILED:n.strings.upload_failed,FILE_EXTENSION_ERROR:n.strings.invalid_filetype,IMAGE_FORMAT_ERROR:n.strings.not_an_image,IMAGE_MEMORY_ERROR:n.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:n.strings.image_dimensions_exceeded,GENERIC_ERROR:n.strings.upload_failed,IO_ERROR:n.strings.io_error,HTTP_ERROR:n.strings.http_error,SECURITY_ERROR:n.strings.security_error,FILE_SIZE_ERROR:n.strings.file_exceeds_size_limit.replace("%s",o("<span />").text(i.file.name).html())};for(t in a)if(i.code===plupload[t]){s=a[t];break}o(n).trigger("bp-uploader-warning",s),e.refresh()})):BP_Uploader=void 0},d.Models.File=Backbone.Model.extend({file:{}}),o.extend(d.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),d.View=d.Backbone.View.extend({inject:function(e){this.render(),o(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),d.Views.Uploader=d.View.extend({className:"bp-uploader-window",template:d.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new d.Uploader.uploader,o(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),o(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(e,i){_.isUndefined(i)||(i=new d.Views.uploaderWarning({value:i}).render(),this.warnings.push(i),this.$el.after(i.el))},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(e){e.remove()}),this.warnings=[])}}),d.Views.uploaderWarning=d.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),d.Views.uploaderStatus=d.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),d.Uploader.filesError.on("add",this.feedback,this)},addFile:function(e){this.views.add(new d.Views.uploaderProgress({model:e}))},progress:function(e){_.isUndefined(e.get("percent"))||o("#"+e.get("id")+" .bp-progress .bp-bar").css("width",e.get("percent")+"%")},feedback:function(e){_.isUndefined(e.get("message"))||_.isUndefined(e.get("file"))||o("#"+e.get("file").id).html(e.get("message")).addClass("error")}}),d.Views.uploaderProgress=d.View.extend({className:"bp-uploader-progress",template:d.template("progress-window")}))}(window.bp,jQuery);
bp-core/js/vendor/jquery.atwho.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(a){var i,s;function t(t){this.currentFlag=null,this.controllers={},this.aliasMaps={},this.$inputor=a(t),this.setupRootElement(),this.listen()}s={ESC:27,TAB:9,ENTER:13,CTRL:17,A:65,P:80,N:78,LEFT:37,UP:38,RIGHT:39,DOWN:40,BACKSPACE:8,SPACE:32},i={beforeSave:function(t){return n.arrayToDefaultHash(t)},matcher:function(t,e,i,r){var n;return t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),i&&(t="(?:^|\\s)"+t),i=decodeURI("%C3%80"),n=decodeURI("%C3%BF"),(i=new RegExp(t+"([A-Za-z"+i+"-"+n+"0-9_"+(r?" ":"")+"'.+-]*)$|"+t+"([^\\x00-\\xff]*)$","gi").exec(e))?i[2]||i[1]:null},filter:function(t,e,i){for(var r,n=[],o=0,s=e.length;o<s;o++)r=e[o],~new String(r[i]).toLowerCase().indexOf(t.toLowerCase())&&n.push(r);return n},remoteFilter:null,sorter:function(t,e,i){var r,n,o,s;if(!t)return e;for(r=[],n=0,s=e.length;n<s;n++)(o=e[n]).atwho_order=new String(o[i]).toLowerCase().indexOf(t.toLowerCase()),-1<o.atwho_order&&r.push(o);return r.sort(function(t,e){return t.atwho_order-e.atwho_order})},tplEval:function(t,r){var e=t;try{return(e="string"!=typeof t?t(r):e).replace(/\$\{([^\}]*)\}/g,function(t,e,i){return r[e]})}catch(t){return""}},highlighter:function(t,e){return e?(e=new RegExp(">\\s*([^<]*?)("+e.replace("+","\\+")+")([^<]*)\\s*<","ig"),t.replace(e,function(t,e,i,r){return"> "+e+"<strong>"+i+"</strong>"+r+" <"})):t},beforeInsert:function(t,e,i){return t},beforeReposition:function(t){return t},afterMatchFailed:function(t,e){}},t.prototype.createContainer=function(t){var e;return null!=(e=this.$el)&&e.remove(),a(t.body).append(this.$el=a("<div class='atwho-container'></div>"))},t.prototype.setupRootElement=function(e,t){if(null==t&&(t=!1),e)this.window=e.contentWindow,this.document=e.contentDocument||this.window.document,this.iframe=e;else{this.document=this.$inputor[0].ownerDocument,this.window=this.document.defaultView||this.document.parentWindow;try{this.iframe=this.window.frameElement}catch(t){if(e=t,this.iframe=null,a.fn.atwho.debug)throw new Error("iframe auto-discovery is failed.\nPlease use `setIframe` to set the target iframe manually.\n"+e)}}return this.createContainer((this.iframeAsRoot=t)?this.document:document)},t.prototype.controller=function(t){var e,i,r,n;if(this.aliasMaps[t])i=this.controllers[this.aliasMaps[t]];else for(r in n=this.controllers)if(e=n[r],r===t){i=e;break}return i||this.controllers[this.currentFlag]},t.prototype.setContextFor=function(t){return this.currentFlag=t,this},t.prototype.reg=function(t,e){var i=(i=this.controllers)[t]||(i[t]=new(this.$inputor.is("[contentEditable]")?u:d)(this,t));return e.alias&&(this.aliasMaps[e.alias]=t),i.init(e),this},t.prototype.listen=function(){return this.$inputor.on("compositionstart",(a=this,function(t){var e;return null!=(e=a.controller())&&e.view.hide(),a.isComposing=!0,null})).on("compositionend",(s=this,function(t){return s.isComposing=!1,setTimeout(function(t){return s.dispatch(t)}),null})).on("keyup.atwhoInner",(o=this,function(t){return o.onKeyup(t)})).on("keydown.atwhoInner",(r=this,function(t){return r.onKeydown(t)})).on("blur.atwhoInner",(i=this,function(t){var e;if(e=i.controller())return e.expectedQueryCBId=null,e.view.hide(t,e.getOpt("displayTimeout"))})).on("click.atwhoInner",(e=this,function(t){return e.dispatch(t)})).on("scroll.atwhoInner",(n=this,function(){var r=n.$inputor.scrollTop();return function(t){var e,i=t.target.scrollTop;return r!==i&&null!=(e=n.controller())&&e.view.hide(t),r=i,!0}}()));var n,e,i,r,o,s,a},t.prototype.shutdown=function(){var t,e=this.controllers;for(t in e)e[t].destroy(),delete this.controllers[t];return this.$inputor.off(".atwhoInner"),this.$el.remove()},t.prototype.dispatch=function(t){var e,i,r=this.controllers,n=[];for(e in r)i=r[e],n.push(i.lookUp(t));return n},t.prototype.onKeyup=function(t){var e;switch(t.keyCode){case s.ESC:t.preventDefault(),null!=(e=this.controller())&&e.view.hide();break;case s.DOWN:case s.UP:case s.CTRL:case s.ENTER:a.noop();break;case s.P:case s.N:t.ctrlKey||this.dispatch(t);break;default:this.dispatch(t)}},t.prototype.onKeydown=function(t){var e,i=null!=(e=this.controller())?e.view:void 0;if(i&&i.visible())switch(t.keyCode){case s.ESC:t.preventDefault(),i.hide(t);break;case s.UP:t.preventDefault(),i.prev();break;case s.DOWN:t.preventDefault(),i.next();break;case s.P:t.ctrlKey&&(t.preventDefault(),i.prev());break;case s.N:t.ctrlKey&&(t.preventDefault(),i.next());break;case s.TAB:case s.ENTER:case s.SPACE:!i.visible()||!this.controller().getOpt("spaceSelectsMatch")&&t.keyCode===s.SPACE||!this.controller().getOpt("tabSelectsMatch")&&t.keyCode===s.TAB||(i.highlighted()?(t.preventDefault(),i.choose(t)):i.hide(t));break;default:a.noop()}};var o=t,r=[].slice;function e(t,e){this.app=t,this.at=e,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.expectedQueryCBId=null,this.setting=null,this.query=null,this.pos=0,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new c(this),this.view=new p(this)}e.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},e.prototype.init=function(t){return this.setting=a.extend({},this.setting||a.fn.atwho.default,t),this.view.init(),this.model.reload(this.setting.data)},e.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},e.prototype.callDefault=function(){var e=arguments[0],t=2<=arguments.length?r.call(arguments,1):[];try{return i[e].apply(this,t)}catch(t){return a.error(t+" Or maybe At.js doesn't have function "+e)}},e.prototype.trigger=function(t,e){var i;return(e=null==e?[]:e).push(this),i=this.getOpt("alias"),this.$inputor.trigger(i?t+"-"+i+".atwho":t+".atwho",e)},e.prototype.callbacks=function(t){return this.getOpt("callbacks")[t]||i[t]},e.prototype.getOpt=function(t,e){try{return this.setting[t]}catch(t){return null}},e.prototype.insertContentFor=function(t){var e=this.getOpt("insertTpl"),t=a.extend({},t.data("item-data"),{"atwho-at":this.at});return this.callbacks("tplEval").call(this,e,t,"onInsert")},e.prototype.renderView=function(t){var e=this.getOpt("searchKey");return t=this.callbacks("sorter").call(this,this.query.text,t.slice(0,1001),e),this.view.render(t.slice(0,this.getOpt("limit")))},e.arrayToDefaultHash=function(t){var e,i,r,n;if(!Array.isArray(t))return t;for(n=[],e=0,r=t.length;e<r;e++)i=t[e],a.isPlainObject(i)?n.push(i):n.push({name:i});return n},e.prototype.lookUp=function(t){var e;if((!t||"click"!==t.type||this.getOpt("lookUpOnClick"))&&(!this.getOpt("suspendOnComposing")||!this.app.isComposing))return(t=this.catchQuery(t))?(this.app.setContextFor(this.at),(e=this.getOpt("delay"))?this._delayLookUp(t,e):this._lookUp(t)):this.expectedQueryCBId=null,t},e.prototype._delayLookUp=function(t,e){var i,r,n=Date.now?Date.now():(new Date).getTime();return this.previousCallTime||(this.previousCallTime=n),0<(i=e-(n-this.previousCallTime))&&i<e?(this.previousCallTime=n,this._stopDelayedCall(),this.delayedCallTimeout=setTimeout((r=this,function(){return r.previousCallTime=0,r.delayedCallTimeout=null,r._lookUp(t)}),e)):(this._stopDelayedCall(),this.previousCallTime!==n&&(this.previousCallTime=0),this._lookUp(t))},e.prototype._stopDelayedCall=function(){if(this.delayedCallTimeout)return clearTimeout(this.delayedCallTimeout),this.delayedCallTimeout=null},e.prototype._generateQueryCBId=function(){return{}},e.prototype._lookUp=function(t){var e=function(t,e){if(t===this.expectedQueryCBId)return e&&0<e.length?this.renderView(this.constructor.arrayToDefaultHash(e)):this.view.hide()};return this.expectedQueryCBId=this._generateQueryCBId(),this.model.query(t.text,a.proxy(e,this,this.expectedQueryCBId))};var n=e,l={}.hasOwnProperty;function h(){return h.__super__.constructor.apply(this,arguments)}(function(t,e){for(var i in e)l.call(e,i)&&(t[i]=e[i]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype})(h,n),h.prototype.catchQuery=function(){var t=this.$inputor.val(),e=this.$inputor.caret("pos",{iframe:this.app.iframe}),t=t.slice(0,e),t=this.callbacks("matcher").call(this,this.at,t,this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),i="string"==typeof t;if(!(i&&t.length<this.getOpt("minLen",0)))return i&&t.length<=this.getOpt("maxLen",20)?(e=(i=e-t.length)+t.length,this.pos=i,this.trigger("matched",[this.at,(t={text:t,headPos:i,endPos:e}).text])):(t=null,this.view.hide()),this.query=t},h.prototype.rect=function(){var t,e;if(t=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeAsRoot&&(e=a(this.app.iframe).offset(),t.left+=e.left,t.top+=e.top),e=this.app.document.selection?0:2,{left:t.left,top:t.top,bottom:t.top+t.height+e}},h.prototype.insert=function(t,e){var i=this.$inputor,r=i.val(),n=r.slice(0,Math.max(this.query.headPos-this.at.length,0)),o=""===(o=this.getOpt("suffix"))?o:o||" ",o=""+n+(t+=o)+r.slice(this.query.endPos||0);return i.val(o),i.caret("pos",n.length+t.length,{iframe:this.app.iframe}),i.is(":focus")||i.trigger("focus"),i.trigger("change")};var u,c,p,f,d=h,l={}.hasOwnProperty;function g(){return g.__super__.constructor.apply(this,arguments)}function y(t){this.context=t,this.at=this.context.at,this.storage=this.context.$inputor}function v(t){this.context=t,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.$elUl=this.$el.children(),this.timeoutID=null,this.context.$el.append(this.$el),this.bindEvent()}(function(t,e){for(var i in e)l.call(e,i)&&(t[i]=e[i]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype})(g,n),g.prototype._getRange=function(){var t=this.app.window.getSelection();if(0<t.rangeCount)return t.getRangeAt(0)},g.prototype._setRange=function(t,e,i){if((i=null==i?this._getRange():i)&&e)return e=a(e)[0],"after"===t?(i.setEndAfter(e),i.setStartAfter(e)):(i.setEndBefore(e),i.setStartBefore(e)),i.collapse(!1),this._clearRange(i)},g.prototype._clearRange=function(t){var e;if(null==t&&(t=this._getRange()),e=this.app.window.getSelection(),null==this.ctrl_a_pressed)return e.removeAllRanges(),e.addRange(t)},g.prototype._movingEvent=function(t){return"click"===t.type||(t=t.which)===s.RIGHT||t===s.LEFT||t===s.UP||t===s.DOWN},g.prototype._unwrap=function(t){var e;return(e=(t=a(t).unwrap().get(0)).nextSibling)&&e.nodeValue&&(t.nodeValue+=e.nodeValue,a(e).remove()),t},g.prototype.catchQuery=function(t){var e,i,r,n,o;if((o=this._getRange())&&o.collapsed)if(t.which===s.ENTER)(e=a(o.startContainer).closest(".atwho-query")).contents().unwrap(),e.is(":empty")&&e.remove(),(e=a(".atwho-query",this.app.document)).text(e.text()).contents().last().unwrap(),this._clearRange();else{if(/firefox/i.test(navigator.userAgent)){if(a(o.startContainer).is(this.$inputor))return void this._clearRange();t.which===s.BACKSPACE&&o.startContainer.nodeType===document.ELEMENT_NODE&&0<=(n=o.startOffset-1)?((i=o.cloneRange()).setStart(o.startContainer,n),a(i.cloneContents()).contents().last().is(".atwho-inserted")&&(n=a(o.startContainer).contents().get(n),this._setRange("after",a(n).contents().last()))):t.which===s.LEFT&&o.startContainer.nodeType===document.TEXT_NODE&&(n=a(o.startContainer.previousSibling)).is(".atwho-inserted")&&0===o.startOffset&&this._setRange("after",n.contents().last())}if(a(o.startContainer).closest(".atwho-inserted").addClass("atwho-query").siblings().removeClass("atwho-query"),0<(e=a(".atwho-query",this.app.document)).length&&e.is(":empty")&&0===e.text().length&&e.remove(),this._movingEvent(t)||e.removeClass("atwho-inserted"),0<e.length)switch(t.which){case s.LEFT:return this._setRange("before",e.get(0),o),void e.removeClass("atwho-query");case s.RIGHT:return this._setRange("after",e.get(0).nextSibling,o),void e.removeClass("atwho-query")}if(0<e.length&&(n=e.attr("data-atwho-at-query"))&&(e.empty().html(n).attr("data-atwho-at-query",null),this._setRange("after",e.get(0),o)),(i=o.cloneRange()).setStart(o.startContainer,0),i="string"==typeof(n=this.callbacks("matcher").call(this,this.at,i.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar"))),0===e.length&&i&&0<=(r=o.startOffset-this.at.length-n.length)&&(o.setStart(o.startContainer,r),e=a("<span/>",this.app.document).attr(this.getOpt("editableAtwhoQueryAttrs")).addClass("atwho-query"),o.surroundContents(e.get(0)),r=e.contents().last().get(0))&&(/firefox/i.test(navigator.userAgent)?(o.setStart(r,r.length),o.setEnd(r,r.length),this._clearRange(o)):this._setRange("after",r,o)),!(i&&n.length<this.getOpt("minLen",0)))return i&&n.length<=this.getOpt("maxLen",20)?(this.trigger("matched",[this.at,(r={text:n,el:e}).text]),this.query=r):(this.view.hide(),this.query={el:e},0<=e.text().indexOf(this.at)&&(this._movingEvent(t)&&e.hasClass("atwho-inserted")?e.removeClass("atwho-query"):!1!==this.callbacks("afterMatchFailed").call(this,this.at,e)&&this._setRange("after",this._unwrap(e.text(e.text()).contents().first()))),null)}},g.prototype.rect=function(){var t,e=this.query.el.offset();if(e&&this.query.el[0].getClientRects().length)return this.app.iframe&&!this.app.iframeAsRoot&&(t=a(this.app.iframe).offset(),e.left+=t.left-this.$inputor.scrollLeft(),e.top+=t.top-this.$inputor.scrollTop()),e.bottom=e.top+this.query.el.height(),e},g.prototype.insert=function(t,e){var i;return this.$inputor.is(":focus")||this.$inputor.focus(),(i=this.getOpt("functionOverrides")).insert?i.insert.call(this,t,e):(i=""===(i=this.getOpt("suffix"))?i:i||" ",e=e.data("item-data"),this.query.el.removeClass("atwho-query").addClass("atwho-inserted").html(t).attr("data-atwho-at-query",""+e["atwho-at"]+this.query.text).attr("contenteditable","false"),(t=this._getRange())&&(this.query.el.length&&t.setEndAfter(this.query.el[0]),t.collapse(!1),t.insertNode(e=this.app.document.createTextNode(""+i)),this._setRange("after",e,t)),this.$inputor.is(":focus")||this.$inputor.focus(),this.$inputor.change())},u=g,y.prototype.destroy=function(){return this.storage.data(this.at,null)},y.prototype.saved=function(){return 0<this.fetch()},y.prototype.query=function(t,e){var i=this.fetch(),r=this.context.getOpt("searchKey");return i=this.context.callbacks("filter").call(this.context,t,i,r)||[],r=this.context.callbacks("remoteFilter"),0<i.length||!r&&0===i.length?e(i):r.call(this.context,t,e)},y.prototype.fetch=function(){return this.storage.data(this.at)||[]},y.prototype.save=function(t){return this.storage.data(this.at,this.context.callbacks("beforeSave").call(this.context,t||[]))},y.prototype.load=function(t){if(!this.saved()&&t)return this._load(t)},y.prototype.reload=function(t){return this._load(t)},y.prototype._load=function(t){return"string"==typeof t?a.ajax(t,{dataType:"json"}).done((e=this,function(t){return e.save(t)})):this.save(t);var e},c=y,v.prototype.init=function(){var t=this.context.getOpt("alias")||this.context.at.charCodeAt(0),e=this.context.getOpt("headerTpl");return e&&1===this.$el.children().length&&this.$el.prepend(e),this.$el.attr({id:"at-view-"+t})},v.prototype.destroy=function(){return this.$el.remove()},v.prototype.bindEvent=function(){var e,i=this.$el.find("ul"),r=0,n=0;return i.on("mousemove.atwho-view","li",function(t){if((r!==t.clientX||n!==t.clientY)&&(r=t.clientX,n=t.clientY,!(t=a(t.currentTarget)).hasClass("cur")))return i.find(".cur").removeClass("cur"),t.addClass("cur")}).on("click.atwho-view","li",(e=this,function(t){return i.find(".cur").removeClass("cur"),a(t.currentTarget).addClass("cur"),e.choose(t),t.preventDefault()}))},v.prototype.visible=function(){return a.expr.pseudos.visible(this.$el[0])},v.prototype.highlighted=function(){return 0<this.$el.find(".cur").length},v.prototype.choose=function(t){var e,i;if((e=this.$el.find(".cur")).length&&(i=this.context.insertContentFor(e),this.context._stopDelayedCall(),this.context.insert(this.context.callbacks("beforeInsert").call(this.context,i,e,t),e),this.context.trigger("inserted",[e,t]),this.hide(t)),this.context.getOpt("hideWithoutSuffix"))return this.stopShowing=!0},v.prototype.reposition=function(t){var e=this.context.app.iframeAsRoot?this.context.app.window:window;return t.bottom+this.$el.height()-a(e).scrollTop()>a(e).height()&&(t.bottom=t.top-this.$el.height()),t.left>(e=a(e).width()-this.$el.width()-5)&&(t.left=e),e={left:t.left,top:t.bottom},null!=(t=this.context.callbacks("beforeReposition"))&&t.call(this.context,e),this.$el.offset(e),this.context.trigger("reposition",[e])},v.prototype.next=function(){var t=this.$el.find(".cur").removeClass("cur").next();return(t=t.length?t:this.$el.find("li:first")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.prev=function(){var t=this.$el.find(".cur").removeClass("cur").prev();return(t=t.length?t:this.$el.find("li:last")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.scrollTop=function(t){var e=this.context.getOpt("scrollDuration");return e?this.$elUl.animate({scrollTop:t},e):this.$elUl.scrollTop(t)},v.prototype.show=function(){var t;if(!this.stopShowing)return this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(t=this.context.rect())?this.reposition(t):void 0;this.stopShowing=!1},v.prototype.hide=function(t,e){var i;if(this.visible())return isNaN(e)?(this.$el.hide(),this.context.trigger("hidden",[t])):(i=this,t=function(){return i.hide()},clearTimeout(this.timeoutID),this.timeoutID=setTimeout(t,e))},v.prototype.render=function(t){var e,i,r,n,o,s;if(Array.isArray(t)&&0<t.length){for(this.$el.find("ul").empty(),e=this.$el.find("ul"),s=this.context.getOpt("displayTpl"),i=0,n=t.length;i<n;i++)r=t[i],r=a.extend({},r,{"atwho-at":this.context.at}),o=this.context.callbacks("tplEval").call(this.context,s,r,"onDisplay"),(o=a(this.context.callbacks("highlighter").call(this.context,o,this.context.query.text))).data("item-data",r),e.append(o);return this.show(),this.context.getOpt("highlightFirst")?e.find("li:first").addClass("cur"):void 0}this.hide()},p=v,f={load:function(t,e){if(t=this.controller(t))return t.model.load(e)},isSelecting:function(){var t;return!(null==(t=this.controller())||!t.view.visible())},hide:function(){var t;return null!=(t=this.controller())?t.view.hide():void 0},reposition:function(){var t;if(t=this.controller())return t.view.reposition(t.rect())},setIframe:function(t,e){return this.setupRootElement(t,e),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(i){var r=arguments,n=null;return this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var t,e;return(e=(t=a(this)).data("atwho"))||t.data("atwho",e=new o(this)),"object"!=typeof i&&i?f[i]&&e?n=f[i].apply(e,Array.prototype.slice.call(r,1)):a.error("Method "+i+" does not exist on jQuery.atwho"):e.reg(i.at,i)}),null!=n?n:this},a.fn.atwho.default={at:void 0,alias:void 0,data:null,displayTpl:"<li>${name}</li>",insertTpl:"${atwho-at}${name}",headerTpl:null,callbacks:i,functionOverrides:{},searchKey:"name",suffix:void 0,hideWithoutSuffix:!1,startWithSpace:!0,acceptSpaceBar:!1,highlightFirst:!0,limit:5,maxLen:20,minLen:0,displayTimeout:300,delay:null,spaceSelectsMatch:!1,tabSelectsMatch:!0,editableAtwhoQueryAttrs:{},scrollDuration:150,suspendOnComposing:!0,lookUpOnClick:!0},a.fn.atwho.debug=!1});
1
+ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(a){var i,s;function t(t){this.currentFlag=null,this.controllers={},this.aliasMaps={},this.$inputor=a(t),this.setupRootElement(),this.listen()}s={ESC:27,TAB:9,ENTER:13,CTRL:17,A:65,P:80,N:78,LEFT:37,UP:38,RIGHT:39,DOWN:40,BACKSPACE:8,SPACE:32},i={beforeSave:function(t){return n.arrayToDefaultHash(t)},matcher:function(t,e,i,r){var n;return t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),i&&(t="(?:^|\\s)"+t),i=decodeURI("%C3%80"),n=decodeURI("%C3%BF"),(i=new RegExp(t+"([A-Za-z"+i+"-"+n+"0-9_"+(r?" ":"")+"'.+-]*)$|"+t+"([^\\x00-\\xff]*)$","gi").exec(e))?i[2]||i[1]:null},filter:function(t,e,i){for(var r,n=[],o=0,s=e.length;o<s;o++)r=e[o],~new String(r[i]).toLowerCase().indexOf(t.toLowerCase())&&n.push(r);return n},remoteFilter:null,sorter:function(t,e,i){var r,n,o,s;if(!t)return e;for(r=[],n=0,s=e.length;n<s;n++)(o=e[n]).atwho_order=new String(o[i]).toLowerCase().indexOf(t.toLowerCase()),-1<o.atwho_order&&r.push(o);return r.sort(function(t,e){return t.atwho_order-e.atwho_order})},tplEval:function(t,r){var e=t;try{return(e="string"!=typeof t?t(r):e).replace(/\$\{([^\}]*)\}/g,function(t,e,i){return r[e]})}catch(t){return""}},highlighter:function(t,e){return e?(e=new RegExp(">\\s*([^<]*?)("+e.replace("+","\\+")+")([^<]*)\\s*<","ig"),t.replace(e,function(t,e,i,r){return"> "+e+"<strong>"+i+"</strong>"+r+" <"})):t},beforeInsert:function(t,e,i){return t},beforeReposition:function(t){return t},afterMatchFailed:function(t,e){}},t.prototype.createContainer=function(t){var e;return null!=(e=this.$el)&&e.remove(),a(t.body).append(this.$el=a("<div class='atwho-container'></div>"))},t.prototype.setupRootElement=function(e,t){if(null==t&&(t=!1),e)this.window=e.contentWindow,this.document=e.contentDocument||this.window.document,this.iframe=e;else{this.document=this.$inputor[0].ownerDocument,this.window=this.document.defaultView||this.document.parentWindow;try{this.iframe=this.window.frameElement}catch(t){if(e=t,this.iframe=null,a.fn.atwho.debug)throw new Error("iframe auto-discovery is failed.\nPlease use `setIframe` to set the target iframe manually.\n"+e)}}return this.createContainer((this.iframeAsRoot=t)?this.document:document)},t.prototype.controller=function(t){var e,i,r,n;if(this.aliasMaps[t])i=this.controllers[this.aliasMaps[t]];else for(r in n=this.controllers)if(e=n[r],r===t){i=e;break}return i||this.controllers[this.currentFlag]},t.prototype.setContextFor=function(t){return this.currentFlag=t,this},t.prototype.reg=function(t,e){var i=(i=this.controllers)[t]||(i[t]=new(this.$inputor.is("[contentEditable]")?u:d)(this,t));return e.alias&&(this.aliasMaps[e.alias]=t),i.init(e),this},t.prototype.listen=function(){return this.$inputor.on("compositionstart",(a=this,function(t){var e;return null!=(e=a.controller())&&e.view.hide(),a.isComposing=!0,null})).on("compositionend",(s=this,function(t){return s.isComposing=!1,setTimeout(function(t){return s.dispatch(t)}),null})).on("keyup.atwhoInner",(o=this,function(t){return o.onKeyup(t)})).on("keydown.atwhoInner",(r=this,function(t){return r.onKeydown(t)})).on("blur.atwhoInner",(i=this,function(t){var e;if(e=i.controller())return e.expectedQueryCBId=null,e.view.hide(t,e.getOpt("displayTimeout"))})).on("click.atwhoInner",(e=this,function(t){return e.dispatch(t)})).on("scroll.atwhoInner",(n=this,function(){var r=n.$inputor.scrollTop();return function(t){var e,i=t.target.scrollTop;return r!==i&&null!=(e=n.controller())&&e.view.hide(t),r=i,!0}}()));var n,e,i,r,o,s,a},t.prototype.shutdown=function(){var t,e=this.controllers;for(t in e)e[t].destroy(),delete this.controllers[t];return this.$inputor.off(".atwhoInner"),this.$el.remove()},t.prototype.dispatch=function(t){var e,i,r=this.controllers,n=[];for(e in r)i=r[e],n.push(i.lookUp(t));return n},t.prototype.onKeyup=function(t){var e;switch(t.keyCode){case s.ESC:t.preventDefault(),null!=(e=this.controller())&&e.view.hide();break;case s.DOWN:case s.UP:case s.CTRL:case s.ENTER:a.noop();break;case s.P:case s.N:t.ctrlKey||this.dispatch(t);break;default:this.dispatch(t)}},t.prototype.onKeydown=function(t){var e,i=null!=(e=this.controller())?e.view:void 0;if(i&&i.visible())switch(t.keyCode){case s.ESC:t.preventDefault(),i.hide(t);break;case s.UP:t.preventDefault(),i.prev();break;case s.DOWN:t.preventDefault(),i.next();break;case s.P:t.ctrlKey&&(t.preventDefault(),i.prev());break;case s.N:t.ctrlKey&&(t.preventDefault(),i.next());break;case s.TAB:case s.ENTER:case s.SPACE:!i.visible()||!this.controller().getOpt("spaceSelectsMatch")&&t.keyCode===s.SPACE||!this.controller().getOpt("tabSelectsMatch")&&t.keyCode===s.TAB||(i.highlighted()?(t.preventDefault(),i.choose(t)):i.hide(t));break;default:a.noop()}};var o=t,r=[].slice;function e(t,e){this.app=t,this.at=e,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.expectedQueryCBId=null,this.setting=null,this.query=null,this.pos=0,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new c(this),this.view=new p(this)}e.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},e.prototype.init=function(t){return this.setting=a.extend({},this.setting||a.fn.atwho.default,t),this.view.init(),this.model.reload(this.setting.data)},e.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},e.prototype.callDefault=function(){var e=arguments[0],t=2<=arguments.length?r.call(arguments,1):[];try{return i[e].apply(this,t)}catch(t){return a.error(t+" Or maybe At.js doesn't have function "+e)}},e.prototype.trigger=function(t,e){var i;return(e=null==e?[]:e).push(this),i=this.getOpt("alias"),this.$inputor.trigger(i?t+"-"+i+".atwho":t+".atwho",e)},e.prototype.callbacks=function(t){return this.getOpt("callbacks")[t]||i[t]},e.prototype.getOpt=function(t,e){try{return this.setting[t]}catch(t){return null}},e.prototype.insertContentFor=function(t){var e=this.getOpt("insertTpl"),t=a.extend({},t.data("item-data"),{"atwho-at":this.at});return this.callbacks("tplEval").call(this,e,t,"onInsert")},e.prototype.renderView=function(t){var e=this.getOpt("searchKey");return t=this.callbacks("sorter").call(this,this.query.text,t.slice(0,1001),e),this.view.render(t.slice(0,this.getOpt("limit")))},e.arrayToDefaultHash=function(t){var e,i,r,n;if(!Array.isArray(t))return t;for(n=[],e=0,r=t.length;e<r;e++)i=t[e],a.isPlainObject(i)?n.push(i):n.push({name:i});return n},e.prototype.lookUp=function(t){var e;if((!t||"click"!==t.type||this.getOpt("lookUpOnClick"))&&(!this.getOpt("suspendOnComposing")||!this.app.isComposing))return(t=this.catchQuery(t))?(this.app.setContextFor(this.at),(e=this.getOpt("delay"))?this._delayLookUp(t,e):this._lookUp(t)):this.expectedQueryCBId=null,t},e.prototype._delayLookUp=function(t,e){var i,r,n=Date.now?Date.now():(new Date).getTime();return this.previousCallTime||(this.previousCallTime=n),0<(i=e-(n-this.previousCallTime))&&i<e?(this.previousCallTime=n,this._stopDelayedCall(),this.delayedCallTimeout=setTimeout((r=this,function(){return r.previousCallTime=0,r.delayedCallTimeout=null,r._lookUp(t)}),e)):(this._stopDelayedCall(),this.previousCallTime!==n&&(this.previousCallTime=0),this._lookUp(t))},e.prototype._stopDelayedCall=function(){if(this.delayedCallTimeout)return clearTimeout(this.delayedCallTimeout),this.delayedCallTimeout=null},e.prototype._generateQueryCBId=function(){return{}},e.prototype._lookUp=function(t){var e=function(t,e){if(t===this.expectedQueryCBId)return e&&0<e.length?this.renderView(this.constructor.arrayToDefaultHash(e)):this.view.hide()};return this.expectedQueryCBId=this._generateQueryCBId(),this.model.query(t.text,a.proxy(e,this,this.expectedQueryCBId))};var n=e,l={}.hasOwnProperty;function h(){return h.__super__.constructor.apply(this,arguments)}(function(t,e){for(var i in e)l.call(e,i)&&(t[i]=e[i]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype})(h,n),h.prototype.catchQuery=function(){var t=this.$inputor.val(),e=this.$inputor.caret("pos",{iframe:this.app.iframe}),t=t.slice(0,e),t=this.callbacks("matcher").call(this,this.at,t,this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),i="string"==typeof t;if(!(i&&t.length<this.getOpt("minLen",0)))return i&&t.length<=this.getOpt("maxLen",20)?(e=(i=e-t.length)+t.length,this.pos=i,this.trigger("matched",[this.at,(t={text:t,headPos:i,endPos:e}).text])):(t=null,this.view.hide()),this.query=t},h.prototype.rect=function(){var t,e;if(t=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeAsRoot&&(e=a(this.app.iframe).offset(),t.left+=e.left,t.top+=e.top),e=this.app.document.selection?0:2,{left:t.left,top:t.top,bottom:t.top+t.height+e}},h.prototype.insert=function(t,e){var i=this.$inputor,r=i.val(),n=r.slice(0,Math.max(this.query.headPos-this.at.length,0)),o=""===(o=this.getOpt("suffix"))?o:o||" ",o=""+n+(t+=o)+r.slice(this.query.endPos||0);return i.val(o),i.caret("pos",n.length+t.length,{iframe:this.app.iframe}),i.is(":focus")||i.trigger("focus"),i.trigger("change")};var u,c,p,f,d=h,l={}.hasOwnProperty;function g(){return g.__super__.constructor.apply(this,arguments)}function y(t){this.context=t,this.at=this.context.at,this.storage=this.context.$inputor}function v(t){this.context=t,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.$elUl=this.$el.children(),this.timeoutID=null,this.context.$el.append(this.$el),this.bindEvent()}(function(t,e){for(var i in e)l.call(e,i)&&(t[i]=e[i]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype})(g,n),g.prototype._getRange=function(){var t=this.app.window.getSelection();if(0<t.rangeCount)return t.getRangeAt(0)},g.prototype._setRange=function(t,e,i){if((i=null==i?this._getRange():i)&&e)return e=a(e)[0],"after"===t?(i.setEndAfter(e),i.setStartAfter(e)):(i.setEndBefore(e),i.setStartBefore(e)),i.collapse(!1),this._clearRange(i)},g.prototype._clearRange=function(t){var e;if(null==t&&(t=this._getRange()),e=this.app.window.getSelection(),null==this.ctrl_a_pressed)return e.removeAllRanges(),e.addRange(t)},g.prototype._movingEvent=function(t){return"click"===t.type||(t=t.which)===s.RIGHT||t===s.LEFT||t===s.UP||t===s.DOWN},g.prototype._unwrap=function(t){var e;return(e=(t=a(t).unwrap().get(0)).nextSibling)&&e.nodeValue&&(t.nodeValue+=e.nodeValue,a(e).remove()),t},g.prototype.catchQuery=function(t){var e,i,r,n,o;if((o=this._getRange())&&o.collapsed)if(t.which===s.ENTER)(e=a(o.startContainer).closest(".atwho-query")).contents().unwrap(),e.is(":empty")&&e.remove(),(e=a(".atwho-query",this.app.document)).text(e.text()).contents().last().unwrap(),this._clearRange();else{if(/firefox/i.test(navigator.userAgent)){if(a(o.startContainer).is(this.$inputor))return void this._clearRange();t.which===s.BACKSPACE&&o.startContainer.nodeType===document.ELEMENT_NODE&&0<=(n=o.startOffset-1)?((i=o.cloneRange()).setStart(o.startContainer,n),a(i.cloneContents()).contents().last().is(".atwho-inserted")&&(n=a(o.startContainer).contents().get(n),this._setRange("after",a(n).contents().last()))):t.which===s.LEFT&&o.startContainer.nodeType===document.TEXT_NODE&&(n=a(o.startContainer.previousSibling)).is(".atwho-inserted")&&0===o.startOffset&&this._setRange("after",n.contents().last())}if(a(o.startContainer).closest(".atwho-inserted").addClass("atwho-query").siblings().removeClass("atwho-query"),0<(e=a(".atwho-query",this.app.document)).length&&e.is(":empty")&&0===e.text().length&&e.remove(),this._movingEvent(t)||e.removeClass("atwho-inserted"),0<e.length)switch(t.which){case s.LEFT:return this._setRange("before",e.get(0),o),void e.removeClass("atwho-query");case s.RIGHT:return this._setRange("after",e.get(0).nextSibling,o),void e.removeClass("atwho-query")}if(0<e.length&&(n=e.attr("data-atwho-at-query"))&&(e.empty().html(n).attr("data-atwho-at-query",null),this._setRange("after",e.get(0),o)),(i=o.cloneRange()).setStart(o.startContainer,0),i="string"==typeof(n=this.callbacks("matcher").call(this,this.at,i.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar"))),0===e.length&&i&&0<=(r=o.startOffset-this.at.length-n.length)&&(o.setStart(o.startContainer,r),e=a("<span/>",this.app.document).attr(this.getOpt("editableAtwhoQueryAttrs")).addClass("atwho-query"),o.surroundContents(e.get(0)),(r=e.contents().last().get(0))&&(/firefox/i.test(navigator.userAgent)?(o.setStart(r,r.length),o.setEnd(r,r.length),this._clearRange(o)):this._setRange("after",r,o))),!(i&&n.length<this.getOpt("minLen",0)))return i&&n.length<=this.getOpt("maxLen",20)?(this.trigger("matched",[this.at,(r={text:n,el:e}).text]),this.query=r):(this.view.hide(),this.query={el:e},0<=e.text().indexOf(this.at)&&(this._movingEvent(t)&&e.hasClass("atwho-inserted")?e.removeClass("atwho-query"):!1!==this.callbacks("afterMatchFailed").call(this,this.at,e)&&this._setRange("after",this._unwrap(e.text(e.text()).contents().first()))),null)}},g.prototype.rect=function(){var t,e=this.query.el.offset();if(e&&this.query.el[0].getClientRects().length)return this.app.iframe&&!this.app.iframeAsRoot&&(t=a(this.app.iframe).offset(),e.left+=t.left-this.$inputor.scrollLeft(),e.top+=t.top-this.$inputor.scrollTop()),e.bottom=e.top+this.query.el.height(),e},g.prototype.insert=function(t,e){var i;return this.$inputor.is(":focus")||this.$inputor.focus(),(i=this.getOpt("functionOverrides")).insert?i.insert.call(this,t,e):(i=""===(i=this.getOpt("suffix"))?i:i||" ",e=e.data("item-data"),this.query.el.removeClass("atwho-query").addClass("atwho-inserted").html(t).attr("data-atwho-at-query",""+e["atwho-at"]+this.query.text).attr("contenteditable","false"),(t=this._getRange())&&(this.query.el.length&&t.setEndAfter(this.query.el[0]),t.collapse(!1),t.insertNode(e=this.app.document.createTextNode(""+i)),this._setRange("after",e,t)),this.$inputor.is(":focus")||this.$inputor.focus(),this.$inputor.change())},u=g,y.prototype.destroy=function(){return this.storage.data(this.at,null)},y.prototype.saved=function(){return 0<this.fetch()},y.prototype.query=function(t,e){var i=this.fetch(),r=this.context.getOpt("searchKey");return i=this.context.callbacks("filter").call(this.context,t,i,r)||[],r=this.context.callbacks("remoteFilter"),0<i.length||!r&&0===i.length?e(i):r.call(this.context,t,e)},y.prototype.fetch=function(){return this.storage.data(this.at)||[]},y.prototype.save=function(t){return this.storage.data(this.at,this.context.callbacks("beforeSave").call(this.context,t||[]))},y.prototype.load=function(t){if(!this.saved()&&t)return this._load(t)},y.prototype.reload=function(t){return this._load(t)},y.prototype._load=function(t){return"string"==typeof t?a.ajax(t,{dataType:"json"}).done((e=this,function(t){return e.save(t)})):this.save(t);var e},c=y,v.prototype.init=function(){var t=this.context.getOpt("alias")||this.context.at.charCodeAt(0),e=this.context.getOpt("headerTpl");return e&&1===this.$el.children().length&&this.$el.prepend(e),this.$el.attr({id:"at-view-"+t})},v.prototype.destroy=function(){return this.$el.remove()},v.prototype.bindEvent=function(){var e,i=this.$el.find("ul"),r=0,n=0;return i.on("mousemove.atwho-view","li",function(t){if((r!==t.clientX||n!==t.clientY)&&(r=t.clientX,n=t.clientY,!(t=a(t.currentTarget)).hasClass("cur")))return i.find(".cur").removeClass("cur"),t.addClass("cur")}).on("click.atwho-view","li",(e=this,function(t){return i.find(".cur").removeClass("cur"),a(t.currentTarget).addClass("cur"),e.choose(t),t.preventDefault()}))},v.prototype.visible=function(){return a.expr.pseudos.visible(this.$el[0])},v.prototype.highlighted=function(){return 0<this.$el.find(".cur").length},v.prototype.choose=function(t){var e,i;if((e=this.$el.find(".cur")).length&&(i=this.context.insertContentFor(e),this.context._stopDelayedCall(),this.context.insert(this.context.callbacks("beforeInsert").call(this.context,i,e,t),e),this.context.trigger("inserted",[e,t]),this.hide(t)),this.context.getOpt("hideWithoutSuffix"))return this.stopShowing=!0},v.prototype.reposition=function(t){var e=this.context.app.iframeAsRoot?this.context.app.window:window;return t.bottom+this.$el.height()-a(e).scrollTop()>a(e).height()&&(t.bottom=t.top-this.$el.height()),t.left>(e=a(e).width()-this.$el.width()-5)&&(t.left=e),e={left:t.left,top:t.bottom},null!=(t=this.context.callbacks("beforeReposition"))&&t.call(this.context,e),this.$el.offset(e),this.context.trigger("reposition",[e])},v.prototype.next=function(){var t=this.$el.find(".cur").removeClass("cur").next();return(t=t.length?t:this.$el.find("li:first")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.prev=function(){var t=this.$el.find(".cur").removeClass("cur").prev();return(t=t.length?t:this.$el.find("li:last")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.scrollTop=function(t){var e=this.context.getOpt("scrollDuration");return e?this.$elUl.animate({scrollTop:t},e):this.$elUl.scrollTop(t)},v.prototype.show=function(){var t;if(!this.stopShowing)return this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(t=this.context.rect())?this.reposition(t):void 0;this.stopShowing=!1},v.prototype.hide=function(t,e){var i;if(this.visible())return isNaN(e)?(this.$el.hide(),this.context.trigger("hidden",[t])):(i=this,t=function(){return i.hide()},clearTimeout(this.timeoutID),this.timeoutID=setTimeout(t,e))},v.prototype.render=function(t){var e,i,r,n,o,s;if(Array.isArray(t)&&0<t.length){for(this.$el.find("ul").empty(),e=this.$el.find("ul"),s=this.context.getOpt("displayTpl"),i=0,n=t.length;i<n;i++)r=t[i],r=a.extend({},r,{"atwho-at":this.context.at}),o=this.context.callbacks("tplEval").call(this.context,s,r,"onDisplay"),(o=a(this.context.callbacks("highlighter").call(this.context,o,this.context.query.text))).data("item-data",r),e.append(o);return this.show(),this.context.getOpt("highlightFirst")?e.find("li:first").addClass("cur"):void 0}this.hide()},p=v,f={load:function(t,e){if(t=this.controller(t))return t.model.load(e)},isSelecting:function(){var t;return!(null==(t=this.controller())||!t.view.visible())},hide:function(){var t;return null!=(t=this.controller())?t.view.hide():void 0},reposition:function(){var t;if(t=this.controller())return t.view.reposition(t.rect())},setIframe:function(t,e){return this.setupRootElement(t,e),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(i){var r=arguments,n=null;return this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var t,e;return(e=(t=a(this)).data("atwho"))||t.data("atwho",e=new o(this)),"object"!=typeof i&&i?f[i]&&e?n=f[i].apply(e,Array.prototype.slice.call(r,1)):a.error("Method "+i+" does not exist on jQuery.atwho"):e.reg(i.at,i)}),null!=n?n:this},a.fn.atwho.default={at:void 0,alias:void 0,data:null,displayTpl:"<li>${name}</li>",insertTpl:"${atwho-at}${name}",headerTpl:null,callbacks:i,functionOverrides:{},searchKey:"name",suffix:void 0,hideWithoutSuffix:!1,startWithSpace:!0,acceptSpaceBar:!1,highlightFirst:!0,limit:5,maxLen:20,minLen:0,displayTimeout:300,delay:null,spaceSelectsMatch:!1,tabSelectsMatch:!0,editableAtwhoQueryAttrs:{},scrollDuration:150,suspendOnComposing:!0,lookUpOnClick:!0},a.fn.atwho.debug=!1});
bp-core/js/vendor/moment-js/moment.min.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var H;function c(){return H.apply(null,arguments)}function h(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function G(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function V(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return kt(e,t,n,s,!0).utc()}function _(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function j(e){if(null==e._isValid){var t=_(e),n=A.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function E(e){var t=l(NaN);return null!=e?m(_(t),e):_(t).userInvalidated=!0,t}function r(e){return void 0===e}var A=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},I=c.momentProperties=[];function N(e,t){var n,s,i;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=_(t)),r(t._locale)||(e._locale=t._locale),0<I.length)for(n in I)r(i=t[s=I[n]])||(e[s]=i);return e}var z=!1;function Z(e){N(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===z&&(z=!0,c.updateOffset(this),z=!1)}function y(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function o(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function u(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?o(e):t}function q(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&u(e[a])!==u(t[a]))&&r++;return r+i}function $(e){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,r){var a=!0;return m(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,i),a){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var s in e+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}$(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var B={};function J(e,t){null!=c.deprecationHandler&&c.deprecationHandler(e,t),B[e]||($(t),B[e]=!0)}function a(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,s=m({},e);for(n in t)f(t,n)&&(L(e[n])&&L(t[n])?(s[n]={},m(s[n],e[n]),m(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)f(e,n)&&!f(t,n)&&L(e[n])&&(s[n]=m({},s[n]));return s}function X(e){null!=e&&this.set(e)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null;var K=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};var ee={};function t(e,t){var n=e.toLowerCase();ee[n]=ee[n+"s"]=ee[t]=e}function d(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function te(e){var t,n,s={};for(n in e)f(e,n)&&(t=d(n))&&(s[t]=e[n]);return s}var ne={};function n(e,t){ne[e]=t}function se(t,n){return function(e){return null!=e?(re(this,t,e),c.updateOffset(this,n),this):ie(this,t)}}function ie(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function re(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function g(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ue={},le={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(le[e]=i),t&&(le[t[0]]=function(){return g(i.apply(this,arguments),t[1],t[2])}),n&&(le[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function de(e,t){return e.isValid()?(t=he(t,e.localeData()),ue[t]=ue[t]||function(s){for(var e,i=s.match(ae),t=0,r=i.length;t<r;t++)le[i[t]]?i[t]=le[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=i[n]instanceof Function?i[n].call(e,s):i[n];return t}}(t),ue[t](e)):e.localeData().invalidDate()}function he(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(oe.lastIndex=0;0<=n&&oe.test(e);)e=e.replace(oe,s),oe.lastIndex=0,--n;return e}var i=/\d/,p=/\d\d/,ce=/\d{3}/,fe=/\d{4}/,me=/[+-]?\d{6}/,w=/\d\d?/,_e=/\d\d\d\d?/,ye=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,pe=/\d{1,4}/,v=/[+-]?\d{1,6}/,we=/\d+/,ve=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,S=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ke={};function M(e,n,s){ke[e]=a(n)?n:function(e,t){return e&&s?s:n}}function De(e,t){return f(ke,e)?ke[e](t._strict,t._locale):new RegExp(Ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function Ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var xe={};function k(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),"number"==typeof n&&(s=function(e,t){t[n]=u(e)}),t=0;t<e.length;t++)xe[e[t]]=s}function Oe(e,i){k(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var D,Y=0,x=1,O=2,b=3,T=4,P=5,be=6,Te=7,Pe=8;function We(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}D=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),M("M",w),M("MM",w,p),M("MMM",function(e,t){return t.monthsShortRegex(e)}),M("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[x]=u(e)-1}),k(["MMM","MMMM"],function(e,t,n,s){s=n._locale.monthsParse(e,s,n._strict);null!=s?t[x]=s:_(n).invalidMonth=e});var Re=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Ue="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Fe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=u(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Fe(this,e),c.updateOffset(this,!0),this):ie(this,"Month")}var Le=S;var Ge=S;function Ve(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=Ye(n[r]),s[r]=Ye(s[r]);for(r=0;r<24;r++)i[r]=Ye(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function je(e){return Ee(e)?366:365}function Ee(e){return e%4==0&&e%100!=0||e%400==0}s("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),M("Y",ve),M("YY",w,p),M("YYYY",pe,fe),M("YYYYY",v,me),M("YYYYYY",v,me),k(["YYYYY","YYYYYY"],Y),k("YYYY",function(e,t){t[Y]=2===e.length?c.parseTwoDigitYear(e):u(e)}),k("YY",function(e,t){t[Y]=c.parseTwoDigitYear(e)}),k("Y",function(e,t){t[Y]=parseInt(e,10)}),c.parseTwoDigitYear=function(e){return u(e)+(68<u(e)?1900:2e3)};var Ae=se("FullYear",!0);function Ie(e,t,n,s,i,r,a){t=new Date(e,t,n,s,i,r,a);return e<100&&0<=e&&isFinite(t.getFullYear())&&t.setFullYear(e),t}function Ne(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ze(e,t,n){n=7+t-n;return n-(7+Ne(e,0,n).getUTCDay()-t)%7-1}function Ze(e,t,n,s,i){var r,t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i),n=t<=0?je(r=e-1)+t:t>je(e)?(r=e+1,t-je(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+$e(i=e.year()-1,t,n):r>$e(e.year(),t,n)?(s=r-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function $e(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(je(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),M("w",w),M("ww",w,p),M("W",w),M("WW",w,p),Oe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=u(e)});s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),M("d",w),M("e",w),M("E",w),M("dd",function(e,t){return t.weekdaysMinRegex(e)}),M("ddd",function(e,t){return t.weekdaysShortRegex(e)}),M("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:_(n).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,n,s){t[s]=u(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Xe=S;var Ke=S;var et=S;function tt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=this.weekdaysMin(s,""),n=this.weekdaysShort(s,""),s=this.weekdays(s,""),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);for(i.sort(e),r.sort(e),a.sort(e),o.sort(e),u=0;u<7;u++)r[u]=Ye(r[u]),a[u]=Ye(a[u]),o[u]=Ye(o[u]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,nt),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+nt.apply(this)+g(this.minutes(),2)}),s("hmmss",0,0,function(){return""+nt.apply(this)+g(this.minutes(),2)+g(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+g(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+g(this.minutes(),2)+g(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),n("hour",13),M("a",it),M("A",it),M("H",w),M("h",w),M("HH",w,p),M("hh",w,p),M("hmm",_e),M("hmmss",ye),M("Hmm",_e),M("Hmmss",ye),k(["H","HH"],b),k(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),k(["h","hh"],function(e,t,n){t[b]=u(e),_(n).bigHour=!0}),k("hmm",function(e,t,n){var s=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s)),_(n).bigHour=!0}),k("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s,2)),t[P]=u(e.substr(i)),_(n).bigHour=!0}),k("Hmm",function(e,t,n){var s=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s))}),k("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s,2)),t[P]=u(e.substr(i))});var rt,S=se("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ue,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},W={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){var t;if(!W[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=rt._abbr,require("./locale/"+e),lt(t)}catch(e){}return W[e]}function lt(e,t){return(rt=e&&(e=r(t)?R(e):dt(e,t))?e:rt)._abbr}function dt(e,t){var n;return null!==t?(n=at,t.abbr=e,null!=W[e]?(J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=W[e]._config):null!=t.parentLocale&&(null!=W[t.parentLocale]?n=W[t.parentLocale]._config:J("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),W[e]=new X(Q(n,t)),lt(e),W[e]):(delete W[e],null)}function R(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!h(e)){if(t=ut(e))return t;e=[e]}for(var n,s,i,r,a=e,o=0;o<a.length;){for(n=(r=ot(a[o]).split("-")).length,s=(s=ot(a[o+1]))?s.split("-"):null;0<n;){if(i=ut(r.slice(0,n).join("-")))return i;if(s&&s.length>=n&&q(r,s,!0)>=n-1)break;n--}o++}return null}function ht(e){var t=e._a;return t&&-2===_(e).overflow&&(t=t[x]<0||11<t[x]?x:t[O]<1||t[O]>We(t[Y],t[x])?O:t[b]<0||24<t[b]||24===t[b]&&(0!==t[T]||0!==t[P]||0!==t[be])?b:t[T]<0||59<t[T]?T:t[P]<0||59<t[P]?P:t[be]<0||999<t[be]?be:-1,_(e)._overflowDayOfYear&&(t<Y||O<t)&&(t=O),_(e)._overflowWeeks&&-1===t&&(t=Te),_(e)._overflowWeekday&&-1===t&&(t=Pe),_(e).overflow=t),e}var ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,mt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((\-?\d+)/i;function pt(e){var t,n,s,i,r,a,o=e._i,u=ct.exec(o)||ft.exec(o);if(u){for(_(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[1])){i=_t[t][0],s=!1!==_t[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[3])){r=(u[2]||" ")+yt[t][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(u[4]){if(!mt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),St(e)}else e._isValid=!1}}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,n,s,i,r,a,o,u,l,d,h=[];if(!e._d){for(s=e,l=new Date(c.now()),n=s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],e._w&&null==e._a[O]&&null==e._a[x]&&(null!=(l=(s=e)._w).GG||null!=l.W||null!=l.E?(o=1,u=4,i=wt(l.GG,s._a[Y],qe(U(),1,4).year),r=wt(l.W,1),((a=wt(l.E,1))<1||7<a)&&(d=!0)):(o=s._locale._week.dow,u=s._locale._week.doy,i=wt(l.gg,s._a[Y],qe(U(),o,u).year),r=wt(l.w,1),null!=l.d?((a=l.d)<0||6<a)&&(d=!0):null!=l.e?(a=l.e+o,(l.e<0||6<l.e)&&(d=!0)):a=o),r<1||r>$e(i,o,u)?_(s)._overflowWeeks=!0:null!=d?_(s)._overflowWeekday=!0:(l=Ze(i,r,a,o,u),s._a[Y]=l.year,s._dayOfYear=l.dayOfYear)),e._dayOfYear&&(d=wt(e._a[Y],n[Y]),e._dayOfYear>je(d)&&(_(e)._overflowDayOfYear=!0),i=Ne(d,0,e._dayOfYear),e._a[x]=i.getUTCMonth(),e._a[O]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[b]&&0===e._a[T]&&0===e._a[P]&&0===e._a[be]&&(e._nextDay=!0,e._a[b]=0),e._d=(e._useUTC?Ne:Ie).apply(null,h),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[b]=24)}}function St(e){if(e._f===c.ISO_8601)pt(e);else{e._a=[],_(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=he(e._f,e._locale).match(ae)||[],d=0;d<l.length;d++)n=l[d],(t=(a.match(De(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&_(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),le[n]?(t?_(e).empty=!1:_(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&f(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&_(e).unusedTokens.push(n);_(e).charsLeftOver=o-u,0<a.length&&_(e).unusedInput.push(a),e._a[b]<=12&&!0===_(e).bigHour&&0<e._a[b]&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[b]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[b],e._meridiem),vt(e),ht(e)}}function Mt(e){var t,n,s=e._i,i=e._f;if(e._locale=e._locale||R(e._l),null===s||void 0===i&&""===s)return E({nullInput:!0});if("string"==typeof s&&(e._i=s=e._locale.preparse(s)),y(s))return new Z(ht(s));if(h(i)){var r,a,o,u,l,d=e;if(0===d._f.length)_(d).invalidFormat=!0,d._d=new Date(NaN);else{for(u=0;u<d._f.length;u++)l=0,r=N({},d),null!=d._useUTC&&(r._useUTC=d._useUTC),r._f=d._f[u],St(r),j(r)&&(l=(l+=_(r).charsLeftOver)+10*_(r).unusedTokens.length,_(r).score=l,null==o||l<o)&&(o=l,a=r);m(d,a||r)}}else if(G(s))e._d=s;else if(i)St(e);else if(void 0===(i=(s=e)._i))s._d=new Date(c.now());else G(i)?s._d=new Date(i.valueOf()):"string"==typeof i?(n=s,null!==(t=gt.exec(n._i))?n._d=new Date(+t[1]):(pt(n),!1===n._isValid&&(delete n._isValid,c.createFromInputFallback(n)))):h(i)?(s._a=V(i.slice(0),function(e){return parseInt(e,10)}),vt(s)):"object"==typeof i?(t=s)._d||(n=te(t._i),t._a=V([n.year,n.month,n.day||n.date,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),vt(t)):"number"==typeof i?s._d=new Date(i):c.createFromInputFallback(s);return j(e)||(e._d=null),e}function kt(e,t,n,s,i){var r={};return"boolean"==typeof n&&(s=n,n=void 0),(L(e)&&function(e){for(var t in e)return;return 1}(e)||h(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new Z(ht(Mt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function U(e,t,n,s){return kt(e,t,n,s,!1)}c.createFromInputFallback=e("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),c.ISO_8601=function(){};_e=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:E()}),ye=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:E()});function Dt(e,t){var n,s;if(!(t=1===t.length&&h(t[0])?t[0]:t).length)return U();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function Yt(e){var e=te(e),t=e.year||0,n=e.quarter||0,s=e.month||0,i=e.week||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,e=e.millisecond||0;this._milliseconds=+e+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=R(),this._bubble()}function xt(e){return e instanceof Yt}function Ot(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function bt(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+g(~~(e/60),2)+n+g(~~e%60,2)})}bt("Z",":"),bt("ZZ",""),M("Z",Me),M("ZZ",Me),k(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Pt(Me,e)});var Tt=/([\+\-]|\d\d)/gi;function Pt(e,t){t=(t||"").match(e)||[],e=((t[t.length-1]||[])+"").match(Tt)||["-",0,0],t=60*e[1]+u(e[2]);return"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(t=t.clone(),n=(y(e)||G(e)?e:U(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),c.updateOffset(t,!1),t):U(e).local()}function Rt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}c.updateOffset=function(){};var Ct=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ft=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,s=e;return xt(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(t=Ct.exec(e))?(n="-"===t[1]?-1:1,s={y:0,d:u(t[O])*n,h:u(t[b])*n,m:u(t[T])*n,s:u(t[P])*n,ms:u(Ot(1e3*t[be]))*n}):(t=Ft.exec(e))?(n="-"===t[1]?-1:1,s={y:Lt(t[2],n),M:Lt(t[3],n),w:Lt(t[4],n),d:Lt(t[5],n),h:Lt(t[6],n),m:Lt(t[7],n),s:Lt(t[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Wt(t,e),e.isBefore(t)?n=Gt(e,t):((n=Gt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(U(s.from),U(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),n=new Yt(s),xt(e)&&f(e,"_locale")&&(n._locale=e._locale),n}function Lt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),jt(this,Ht(e="string"==typeof e?+e:e,t),s),this}}function jt(e,t,n,s){var i=t._milliseconds,r=Ot(t._days),t=Ot(t._months);e.isValid()&&(s=null==s||s,i&&e._d.setTime(e._d.valueOf()+i*n),r&&re(e,"Date",ie(e,"Date")+r*n),t&&Fe(e,ie(e,"Month")+t*n),s)&&c.updateOffset(e,r||t)}Ht.fn=Yt.prototype;Ue=Vt(1,"add"),Ce=Vt(-1,"subtract");function Et(e){return void 0===e?this._locale._abbr:(null!=(e=R(e))&&(this._locale=e),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Be=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function At(){return this._locale}function It(e,t){s(0,[e,e.length],0,t)}function Nt(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=$e(e,s,i),function(e,t,n,s,i){e=Ze(e,t,n,s,i),t=Ne(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),It("gggg","weekYear"),It("ggggg","weekYear"),It("GGGG","isoWeekYear"),It("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),M("G",ve),M("g",ve),M("GG",w,p),M("gg",w,p),M("GGGG",pe,fe),M("gggg",pe,fe),M("GGGGG",v,me),M("ggggg",v,me),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=u(e)}),Oe(["gg","GG"],function(e,t,n,s){t[s]=c.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),M("Q",i),k("Q",function(e,t){t[x]=3*(u(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),M("D",w),M("DD",w,p),M("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),k(["D","DD"],O),k("Do",function(e,t){t[O]=u(e.match(w)[0])});Qe=se("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),M("DDD",ge),M("DDDD",ce),k(["DDD","DDDD"],function(e,t,n){n._dayOfYear=u(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),M("m",w),M("mm",w,p),k(["m","mm"],T);var zt,Je=se("Minutes",!1),pe=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),M("s",w),M("ss",w,p),k(["s","ss"],P),se("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),M("S",ge,i),M("SS",ge,p),M("SSS",ge,ce),zt="SSSS";zt.length<=9;zt+="S")M(zt,we);function Zt(e,t){t[be]=u(1e3*("0."+e))}for(zt="S";zt.length<=9;zt+="S")k(zt,Zt);fe=se("Milliseconds",!1);s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");v=Z.prototype,v.add=Ue,v.calendar=function(e,t){var n=Wt(e=e||U(),this).startOf("day"),n=c.calendarFormat(this,n)||"sameElse",t=t&&(a(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,U(e)))},v.clone=function(){return new Z(this)},v.diff=function(e,t,n){var s,i;return this.isValid()&&(e=Wt(e,this)).isValid()?(s=6e4*(e.utcOffset()-this.utcOffset()),"year"===(t=d(t))||"month"===t||"quarter"===t?(i=function(e,t){var n,s=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(s,"months");e=t-i<0?(n=e.clone().add(s-1,"months"),(t-i)/(i-n)):(n=e.clone().add(1+s,"months"),(t-i)/(n-i));return-(s+e)||0}(this,e),"quarter"===t?i/=3:"year"===t&&(i/=12)):(e=this-e,i="second"===t?e/1e3:"minute"===t?e/6e4:"hour"===t?e/36e5:"day"===t?(e-s)/864e5:"week"===t?(e-s)/6048e5:e),n?i:o(i)):NaN},v.endOf=function(e){return void 0===(e=d(e))||"millisecond"===e?this:this.startOf(e="date"===e?"day":e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},v.format=function(e){return e=e||(this.isUtc()?c.defaultFormatUtc:c.defaultFormat),e=de(this,e),this.localeData().postformat(e)},v.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||U(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},v.fromNow=function(e){return this.from(U(),e)},v.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||U(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},v.toNow=function(e){return this.to(U(),e)},v.get=function(e){return a(this[e=d(e)])?this[e]():this},v.invalidAt=function(){return _(this).overflow},v.isAfter=function(e,t){return e=y(e)?e:U(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(r(t)?"millisecond":t))?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},v.isBefore=function(e,t){return e=y(e)?e:U(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(r(t)?"millisecond":t))?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},v.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},v.isSame=function(e,t){var e=y(e)?e:U(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t||"millisecond"))?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},v.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},v.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},v.isValid=function(){return j(this)},v.lang=Be,v.locale=Et,v.localeData=At,v.max=ye,v.min=_e,v.parsingFlags=function(){return m({},_(this))},v.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)n.push({unit:t,priority:ne[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=te(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(a(this[e=d(e)]))return this[e](t);return this},v.startOf=function(e){switch(e=d(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},v.subtract=Ce,v.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},v.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},v.toDate=function(){return new Date(this.valueOf())},v.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?a(Date.prototype.toISOString)?this.toDate().toISOString():de(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):de(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},v.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},v.year=Ae,v.isLeapYear=function(){return Ee(this.year())},v.weekYear=function(e){return Nt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},v.isoWeekYear=function(e){return Nt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},v.quarter=v.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},v.month=He,v.daysInMonth=function(){return We(this.year(),this.month())},v.week=v.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},v.isoWeek=v.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},v.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},v.isoWeeksInYear=function(){return $e(this.year(),1,4)},v.date=Qe,v.day=v.days=function(e){var t,n,s;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,s=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=s.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},v.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},v.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},v.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},v.hour=v.hours=S,v.minute=v.minutes=Je,v.second=v.seconds=pe,v.millisecond=v.milliseconds=fe,v.utcOffset=function(e,t){var n,s=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Pt(Me,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=Rt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?jt(this,Ht(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?s:Rt(this):null!=e?this:NaN},v.utc=function(e){return this.utcOffset(0,e)},v.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Rt(this),"m"),this},v.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&(0===Pt(Se,this._i)?this.utcOffset(0,!0):this.utcOffset(Pt(Se,this._i))),this},v.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60==0)},v.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},v.isLocal=function(){return!!this.isValid()&&!this._isUTC},v.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},v.isUtc=Ut,v.isUTC=Ut,v.zoneAbbr=function(){return this._isUTC?"UTC":""},v.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},v.dates=e("dates accessor is deprecated. Use date instead.",Qe),v.months=e("months accessor is deprecated. Use month instead",He),v.years=e("years accessor is deprecated. Use year instead",Ae),v.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),v.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return r(this._isDSTShifted)&&(N(e={},this),(e=Mt(e))._a?(t=(e._isUTC?l:U)(e._a),this._isDSTShifted=this.isValid()&&0<q(e._a,t.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),me=v;function qt(e){return e}i=X.prototype;function $t(e,t,n,s){var i=R(),s=l().set(s,t);return i[n](s,e)}function Bt(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return $t(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=$t(e,i,n,"month");return s}function Jt(e,t,n,s){t=("boolean"==typeof e?"number"==typeof t&&(n=t,t=void 0):(t=e,e=!1,"number"==typeof(n=t)&&(n=t,t=void 0)),t||"");var i=R(),r=e?i._week.dow:0;if(null!=n)return $t(t,(n+r)%7,s,"day");for(var a=[],o=0;o<7;o++)a[o]=$t(t,(o+r)%7,s,"day");return a}i.calendar=function(e,t,n){return a(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},i.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},i.invalidDate=function(){return this._invalidDate},i.ordinal=function(e){return this._ordinal.replace("%d",e)},i.preparse=qt,i.postformat=qt,i.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return a(i)?i(e,t,n,s):i.replace(/%d/i,e)},i.pastFuture=function(e,t){return a(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},i.set=function(e){var t,n;for(n in e)a(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},i.months=function(e,t){return e?(h(this._months)?this._months:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"])[e.month()]:this._months},i.monthsShort=function(e,t){return e?(h(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(t)?"format":"standalone"])[e.month()]:this._monthsShort},i.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=D.call(this._shortMonthsParse,e))?i:null:-1!==(i=D.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=D.call(this._shortMonthsParse,e))||-1!==(i=D.call(this._longMonthsParse,e))?i:null:-1!==(i=D.call(this._longMonthsParse,e))||-1!==(i=D.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},i.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},i.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},i.week=function(e){return qe(e,this._week.dow,this._week.doy).week},i.firstDayOfYear=function(){return this._week.doy},i.firstDayOfWeek=function(){return this._week.dow},i.weekdays=function(e,t){return e?(h(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"])[e.day()]:this._weekdays},i.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},i.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},i.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=D.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=D.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._shortWeekdaysParse,e))||-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=D.call(this._shortWeekdaysParse,e))||-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:-1!==(i=D.call(this._minWeekdaysParse,e))||-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},i.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},i.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},i.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},i.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},i.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===u(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),c.lang=e("moment.lang is deprecated. Use moment.locale instead.",lt),c.langData=e("moment.langData is deprecated. Use moment.localeData instead.",R);var C=Math.abs;function Qt(e,t,n,s){t=Ht(t,n);return e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function Xt(e){return e<0?Math.floor(e):Math.ceil(e)}function Kt(e){return 4800*e/146097}function en(e){return 146097*e/4800}function tn(e){return function(){return this.as(e)}}p=tn("ms"),ge=tn("s"),ce=tn("m"),Ue=tn("h"),ye=tn("d"),_e=tn("w"),Ce=tn("M"),S=tn("y");function nn(e){return function(){return this._data[e]}}Je=nn("milliseconds"),pe=nn("seconds"),fe=nn("minutes"),Qe=nn("hours"),Ae=nn("days"),v=nn("months"),i=nn("years");var sn=Math.round,rn={s:45,m:45,h:22,d:26,M:11};function an(e,t,n){var s=Ht(e).abs(),i=sn(s.as("s")),r=sn(s.as("m")),a=sn(s.as("h")),o=sn(s.as("d")),u=sn(s.as("M")),s=sn(s.as("y")),i=(i<rn.s?["s",i]:r<=1&&["m"])||(r<rn.m?["mm",r]:a<=1&&["h"])||(a<rn.h?["hh",a]:o<=1&&["d"])||(o<rn.d?["dd",o]:u<=1&&["M"])||(u<rn.M?["MM",u]:s<=1&&["y"])||["yy",s];return i[2]=t,i[3]=0<+e,i[4]=n,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,i)}var on=Math.abs;function un(){var e=on(this._milliseconds)/1e3,t=on(this._days),n=on(this._months),s=o(e/60),i=o(s/60),r=(e%=60,s%=60,o(n/12)),n=n%=12,a=this.asSeconds();return a?(a<0?"-":"")+"P"+(r?r+"Y":"")+(n?n+"M":"")+(t?t+"D":"")+(i||s||e?"T":"")+(i?i+"H":"")+(s?s+"M":"")+(e?e+"S":""):"P0D"}var F=Yt.prototype;return F.abs=function(){var e=this._data;return this._milliseconds=C(this._milliseconds),this._days=C(this._days),this._months=C(this._months),e.milliseconds=C(e.milliseconds),e.seconds=C(e.seconds),e.minutes=C(e.minutes),e.hours=C(e.hours),e.months=C(e.months),e.years=C(e.years),this},F.add=function(e,t){return Qt(this,e,t,1)},F.subtract=function(e,t){return Qt(this,e,t,-1)},F.as=function(e){var t,n,s=this._milliseconds;if("month"===(e=d(e))||"year"===e)return t=this._days+s/864e5,n=this._months+Kt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(en(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},F.asMilliseconds=p,F.asSeconds=ge,F.asMinutes=ce,F.asHours=Ue,F.asDays=ye,F.asWeeks=_e,F.asMonths=Ce,F.asYears=S,F.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12)},F._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*Xt(en(n)+t),n=t=0),s.milliseconds=e%1e3,e=o(e/1e3),s.seconds=e%60,e=o(e/60),s.minutes=e%60,e=o(e/60),s.hours=e%24,t+=o(e/24),n+=e=o(Kt(t)),t-=Xt(en(e)),e=o(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},F.get=function(e){return this[(e=d(e))+"s"]()},F.milliseconds=Je,F.seconds=pe,F.minutes=fe,F.hours=Qe,F.days=Ae,F.weeks=function(){return o(this.days()/7)},F.months=v,F.years=i,F.humanize=function(e){var t=this.localeData(),n=an(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},F.toISOString=un,F.toString=un,F.toJSON=un,F.locale=Et,F.localeData=At,F.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",un),F.lang=Be,s("X",0,0,"unix"),s("x",0,0,"valueOf"),M("x",ve),M("X",/[+-]?\d+(\.\d{1,3})?/),k("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),k("x",function(e,t,n){n._d=new Date(u(e))}),c.version="2.15.1",H=U,c.fn=me,c.min=function(){return Dt("isBefore",[].slice.call(arguments,0))},c.max=function(){return Dt("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=l,c.unix=function(e){return U(1e3*e)},c.months=function(e,t){return Bt(e,t,"months")},c.isDate=G,c.locale=lt,c.invalid=E,c.duration=Ht,c.isMoment=y,c.weekdays=function(e,t,n){return Jt(e,t,n,"weekdays")},c.parseZone=function(){return U.apply(null,arguments).parseZone()},c.localeData=R,c.isDuration=xt,c.monthsShort=function(e,t){return Bt(e,t,"monthsShort")},c.weekdaysMin=function(e,t,n){return Jt(e,t,n,"weekdaysMin")},c.defineLocale=dt,c.updateLocale=function(e,t){var n;return null!=t?(n=at,(n=new X(t=Q(n=null!=W[e]?W[e]._config:n,t))).parentLocale=W[e],W[e]=n,lt(e)):null!=W[e]&&(null!=W[e].parentLocale?W[e]=W[e].parentLocale:null!=W[e]&&delete W[e]),W[e]},c.locales=function(){return K(W)},c.weekdaysShort=function(e,t,n){return Jt(e,t,n,"weekdaysShort")},c.normalizeUnits=d,c.relativeTimeRounding=function(e){return void 0===e?sn:"function"==typeof e&&(sn=e,!0)},c.relativeTimeThreshold=function(e,t){return void 0!==rn[e]&&(void 0===t?rn[e]:(rn[e]=t,!0))},c.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},c.prototype=me,c});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var H;function c(){return H.apply(null,arguments)}function h(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function L(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function G(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function V(e,t){for(var n=[],s=0;s<e.length;++s)n.push(t(e[s],s));return n}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,s){return kt(e,t,n,s,!0).utc()}function _(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function j(e){if(null==e._isValid){var t=_(e),n=A.call(t.parsedDateParts,function(e){return null!=e}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return n;e._isValid=n}return e._isValid}function E(e){var t=l(NaN);return null!=e?m(_(t),e):_(t).userInvalidated=!0,t}function r(e){return void 0===e}var A=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1},I=c.momentProperties=[];function N(e,t){var n,s,i;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=_(t)),r(t._locale)||(e._locale=t._locale),0<I.length)for(n in I)r(i=t[s=I[n]])||(e[s]=i);return e}var z=!1;function Z(e){N(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===z&&(z=!0,c.updateOffset(this),z=!1)}function y(e){return e instanceof Z||null!=e&&null!=e._isAMomentObject}function o(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function u(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?o(e):t}function q(e,t,n){for(var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&u(e[a])!==u(t[a]))&&r++;return r+i}function $(e){!1===c.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(i,r){var a=!0;return m(function(){if(null!=c.deprecationHandler&&c.deprecationHandler(null,i),a){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var s in e+="\n["+n+"] ",arguments[0])e+=s+": "+arguments[0][s]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}$(i+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),a=!1}return r.apply(this,arguments)},r)}var B={};function J(e,t){null!=c.deprecationHandler&&c.deprecationHandler(e,t),B[e]||($(t),B[e]=!0)}function a(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var n,s=m({},e);for(n in t)f(t,n)&&(L(e[n])&&L(t[n])?(s[n]={},m(s[n],e[n]),m(s[n],t[n])):null!=t[n]?s[n]=t[n]:delete s[n]);for(n in e)f(e,n)&&!f(t,n)&&L(e[n])&&(s[n]=m({},s[n]));return s}function X(e){null!=e&&this.set(e)}c.suppressDeprecationWarnings=!1,c.deprecationHandler=null;var K=Object.keys||function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};var ee={};function t(e,t){var n=e.toLowerCase();ee[n]=ee[n+"s"]=ee[t]=e}function d(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function te(e){var t,n,s={};for(n in e)f(e,n)&&(t=d(n))&&(s[t]=e[n]);return s}var ne={};function n(e,t){ne[e]=t}function se(t,n){return function(e){return null!=e?(re(this,t,e),c.updateOffset(this,n),this):ie(this,t)}}function ie(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function re(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function g(e,t,n){var s=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-s.length)).toString().substr(1)+s}var ae=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,oe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ue={},le={};function s(e,t,n,s){var i="string"==typeof s?function(){return this[s]()}:s;e&&(le[e]=i),t&&(le[t[0]]=function(){return g(i.apply(this,arguments),t[1],t[2])}),n&&(le[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function de(e,t){return e.isValid()?(t=he(t,e.localeData()),ue[t]=ue[t]||function(s){for(var e,i=s.match(ae),t=0,r=i.length;t<r;t++)le[i[t]]?i[t]=le[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<r;n++)t+=i[n]instanceof Function?i[n].call(e,s):i[n];return t}}(t),ue[t](e)):e.localeData().invalidDate()}function he(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(oe.lastIndex=0;0<=n&&oe.test(e);)e=e.replace(oe,s),oe.lastIndex=0,--n;return e}var i=/\d/,p=/\d\d/,ce=/\d{3}/,fe=/\d{4}/,me=/[+-]?\d{6}/,w=/\d\d?/,_e=/\d\d\d\d?/,ye=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,pe=/\d{1,4}/,v=/[+-]?\d{1,6}/,we=/\d+/,ve=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,S=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ke={};function M(e,n,s){ke[e]=a(n)?n:function(e,t){return e&&s?s:n}}function De(e,t){return f(ke,e)?ke[e](t._strict,t._locale):new RegExp(Ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function Ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var xe={};function k(e,n){var t,s=n;for("string"==typeof e&&(e=[e]),"number"==typeof n&&(s=function(e,t){t[n]=u(e)}),t=0;t<e.length;t++)xe[e[t]]=s}function Oe(e,i){k(e,function(e,t,n,s){n._w=n._w||{},i(e,n._w,n,s)})}var D,Y=0,x=1,O=2,b=3,T=4,P=5,be=6,Te=7,Pe=8;function We(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}D=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},s("M",["MM",2],"Mo",function(){return this.month()+1}),s("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),s("MMMM",0,0,function(e){return this.localeData().months(this,e)}),t("month","M"),n("month",8),M("M",w),M("MM",w,p),M("MMM",function(e,t){return t.monthsShortRegex(e)}),M("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[x]=u(e)-1}),k(["MMM","MMMM"],function(e,t,n,s){s=n._locale.monthsParse(e,s,n._strict);null!=s?t[x]=s:_(n).invalidMonth=e});var Re=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Ue="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Fe(e,t){var n;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=u(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return;n=Math.min(e.date(),We(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n)}}function He(e){return null!=e?(Fe(this,e),c.updateOffset(this,!0),this):ie(this,"Month")}var Le=S;var Ge=S;function Ve(){function e(e,t){return t.length-e.length}for(var t,n=[],s=[],i=[],r=0;r<12;r++)t=l([2e3,r]),n.push(this.monthsShort(t,"")),s.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(n.sort(e),s.sort(e),i.sort(e),r=0;r<12;r++)n[r]=Ye(n[r]),s[r]=Ye(s[r]);for(r=0;r<24;r++)i[r]=Ye(i[r]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function je(e){return Ee(e)?366:365}function Ee(e){return e%4==0&&e%100!=0||e%400==0}s("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),s(0,["YY",2],0,function(){return this.year()%100}),s(0,["YYYY",4],0,"year"),s(0,["YYYYY",5],0,"year"),s(0,["YYYYYY",6,!0],0,"year"),t("year","y"),n("year",1),M("Y",ve),M("YY",w,p),M("YYYY",pe,fe),M("YYYYY",v,me),M("YYYYYY",v,me),k(["YYYYY","YYYYYY"],Y),k("YYYY",function(e,t){t[Y]=2===e.length?c.parseTwoDigitYear(e):u(e)}),k("YY",function(e,t){t[Y]=c.parseTwoDigitYear(e)}),k("Y",function(e,t){t[Y]=parseInt(e,10)}),c.parseTwoDigitYear=function(e){return u(e)+(68<u(e)?1900:2e3)};var Ae=se("FullYear",!0);function Ie(e,t,n,s,i,r,a){t=new Date(e,t,n,s,i,r,a);return e<100&&0<=e&&isFinite(t.getFullYear())&&t.setFullYear(e),t}function Ne(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ze(e,t,n){n=7+t-n;return n-(7+Ne(e,0,n).getUTCDay()-t)%7-1}function Ze(e,t,n,s,i){var r,t=1+7*(t-1)+(7+n-s)%7+ze(e,s,i),n=t<=0?je(r=e-1)+t:t>je(e)?(r=e+1,t-je(e)):(r=e,t);return{year:r,dayOfYear:n}}function qe(e,t,n){var s,i,r=ze(e.year(),t,n),r=Math.floor((e.dayOfYear()-r-1)/7)+1;return r<1?s=r+$e(i=e.year()-1,t,n):r>$e(e.year(),t,n)?(s=r-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),s=r),{week:s,year:i}}function $e(e,t,n){var s=ze(e,t,n),t=ze(e+1,t,n);return(je(e)-s+t)/7}s("w",["ww",2],"wo","week"),s("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),n("week",5),n("isoWeek",5),M("w",w),M("ww",w,p),M("W",w),M("WW",w,p),Oe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=u(e)});s("d",0,"do","day"),s("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),s("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),s("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),s("e",0,0,"weekday"),s("E",0,0,"isoWeekday"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),M("d",w),M("e",w),M("E",w),M("dd",function(e,t){return t.weekdaysMinRegex(e)}),M("ddd",function(e,t){return t.weekdaysShortRegex(e)}),M("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,n,s){s=n._locale.weekdaysParse(e,s,n._strict);null!=s?t.d=s:_(n).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,n,s){t[s]=u(e)});var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Xe=S;var Ke=S;var et=S;function tt(){function e(e,t){return t.length-e.length}for(var t,n,s,i=[],r=[],a=[],o=[],u=0;u<7;u++)s=l([2e3,1]).day(u),t=this.weekdaysMin(s,""),n=this.weekdaysShort(s,""),s=this.weekdays(s,""),i.push(t),r.push(n),a.push(s),o.push(t),o.push(n),o.push(s);for(i.sort(e),r.sort(e),a.sort(e),o.sort(e),u=0;u<7;u++)r[u]=Ye(r[u]),a[u]=Ye(a[u]),o[u]=Ye(o[u]);this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function nt(){return this.hours()%12||12}function st(e,t){s(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function it(e,t){return t._meridiemParse}s("H",["HH",2],0,"hour"),s("h",["hh",2],0,nt),s("k",["kk",2],0,function(){return this.hours()||24}),s("hmm",0,0,function(){return""+nt.apply(this)+g(this.minutes(),2)}),s("hmmss",0,0,function(){return""+nt.apply(this)+g(this.minutes(),2)+g(this.seconds(),2)}),s("Hmm",0,0,function(){return""+this.hours()+g(this.minutes(),2)}),s("Hmmss",0,0,function(){return""+this.hours()+g(this.minutes(),2)+g(this.seconds(),2)}),st("a",!0),st("A",!1),t("hour","h"),n("hour",13),M("a",it),M("A",it),M("H",w),M("h",w),M("HH",w,p),M("hh",w,p),M("hmm",_e),M("hmmss",ye),M("Hmm",_e),M("Hmmss",ye),k(["H","HH"],b),k(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),k(["h","hh"],function(e,t,n){t[b]=u(e),_(n).bigHour=!0}),k("hmm",function(e,t,n){var s=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s)),_(n).bigHour=!0}),k("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s,2)),t[P]=u(e.substr(i)),_(n).bigHour=!0}),k("Hmm",function(e,t,n){var s=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s))}),k("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[b]=u(e.substr(0,s)),t[T]=u(e.substr(s,2)),t[P]=u(e.substr(i))});var rt,S=se("Hours",!0),at={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ue,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},W={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function ut(e){var t;if(!W[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=rt._abbr,require("./locale/"+e),lt(t)}catch(e){}return W[e]}function lt(e,t){return(rt=e&&(e=r(t)?R(e):dt(e,t))?e:rt)._abbr}function dt(e,t){var n;return null!==t?(n=at,t.abbr=e,null!=W[e]?(J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=W[e]._config):null!=t.parentLocale&&(null!=W[t.parentLocale]?n=W[t.parentLocale]._config:J("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),W[e]=new X(Q(n,t)),lt(e),W[e]):(delete W[e],null)}function R(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return rt;if(!h(e)){if(t=ut(e))return t;e=[e]}for(var n,s,i,r,a=e,o=0;o<a.length;){for(n=(r=ot(a[o]).split("-")).length,s=(s=ot(a[o+1]))?s.split("-"):null;0<n;){if(i=ut(r.slice(0,n).join("-")))return i;if(s&&s.length>=n&&q(r,s,!0)>=n-1)break;n--}o++}return null}function ht(e){var t=e._a;return t&&-2===_(e).overflow&&(t=t[x]<0||11<t[x]?x:t[O]<1||t[O]>We(t[Y],t[x])?O:t[b]<0||24<t[b]||24===t[b]&&(0!==t[T]||0!==t[P]||0!==t[be])?b:t[T]<0||59<t[T]?T:t[P]<0||59<t[P]?P:t[be]<0||999<t[be]?be:-1,_(e)._overflowDayOfYear&&(t<Y||O<t)&&(t=O),_(e)._overflowWeeks&&-1===t&&(t=Te),_(e)._overflowWeekday&&-1===t&&(t=Pe),_(e).overflow=t),e}var ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ft=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,mt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((\-?\d+)/i;function pt(e){var t,n,s,i,r,a,o=e._i,u=ct.exec(o)||ft.exec(o);if(u){for(_(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(u[1])){i=_t[t][0],s=!1!==_t[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(u[3])){r=(u[2]||" ")+yt[t][0];break}if(null==r)return void(e._isValid=!1)}if(s||null==r){if(u[4]){if(!mt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(r||"")+(a||""),St(e)}else e._isValid=!1}}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,n,s,i,r,a,o,u,l,d,h=[];if(!e._d){for(s=e,l=new Date(c.now()),n=s._useUTC?[l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()]:[l.getFullYear(),l.getMonth(),l.getDate()],e._w&&null==e._a[O]&&null==e._a[x]&&(null!=(l=(s=e)._w).GG||null!=l.W||null!=l.E?(o=1,u=4,i=wt(l.GG,s._a[Y],qe(U(),1,4).year),r=wt(l.W,1),((a=wt(l.E,1))<1||7<a)&&(d=!0)):(o=s._locale._week.dow,u=s._locale._week.doy,i=wt(l.gg,s._a[Y],qe(U(),o,u).year),r=wt(l.w,1),null!=l.d?((a=l.d)<0||6<a)&&(d=!0):null!=l.e?(a=l.e+o,(l.e<0||6<l.e)&&(d=!0)):a=o),r<1||r>$e(i,o,u)?_(s)._overflowWeeks=!0:null!=d?_(s)._overflowWeekday=!0:(l=Ze(i,r,a,o,u),s._a[Y]=l.year,s._dayOfYear=l.dayOfYear)),e._dayOfYear&&(d=wt(e._a[Y],n[Y]),e._dayOfYear>je(d)&&(_(e)._overflowDayOfYear=!0),i=Ne(d,0,e._dayOfYear),e._a[x]=i.getUTCMonth(),e._a[O]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=h[t]=n[t];for(;t<7;t++)e._a[t]=h[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[b]&&0===e._a[T]&&0===e._a[P]&&0===e._a[be]&&(e._nextDay=!0,e._a[b]=0),e._d=(e._useUTC?Ne:Ie).apply(null,h),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[b]=24)}}function St(e){if(e._f===c.ISO_8601)pt(e);else{e._a=[],_(e).empty=!0;for(var t,n,s,i,r,a=""+e._i,o=a.length,u=0,l=he(e._f,e._locale).match(ae)||[],d=0;d<l.length;d++)n=l[d],(t=(a.match(De(n,e))||[])[0])&&(0<(s=a.substr(0,a.indexOf(t))).length&&_(e).unusedInput.push(s),a=a.slice(a.indexOf(t)+t.length),u+=t.length),le[n]?(t?_(e).empty=!1:_(e).unusedTokens.push(n),s=n,r=e,null!=(i=t)&&f(xe,s)&&xe[s](i,r._a,r,s)):e._strict&&!t&&_(e).unusedTokens.push(n);_(e).charsLeftOver=o-u,0<a.length&&_(e).unusedInput.push(a),e._a[b]<=12&&!0===_(e).bigHour&&0<e._a[b]&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[b]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[b],e._meridiem),vt(e),ht(e)}}function Mt(e){var t,n,s=e._i,i=e._f;if(e._locale=e._locale||R(e._l),null===s||void 0===i&&""===s)return E({nullInput:!0});if("string"==typeof s&&(e._i=s=e._locale.preparse(s)),y(s))return new Z(ht(s));if(h(i)){var r,a,o,u,l,d=e;if(0===d._f.length)_(d).invalidFormat=!0,d._d=new Date(NaN);else{for(u=0;u<d._f.length;u++)l=0,r=N({},d),null!=d._useUTC&&(r._useUTC=d._useUTC),r._f=d._f[u],St(r),j(r)&&(l=(l+=_(r).charsLeftOver)+10*_(r).unusedTokens.length,_(r).score=l,(null==o||l<o)&&(o=l,a=r));m(d,a||r)}}else if(G(s))e._d=s;else if(i)St(e);else if(void 0===(i=(s=e)._i))s._d=new Date(c.now());else G(i)?s._d=new Date(i.valueOf()):"string"==typeof i?(n=s,null!==(t=gt.exec(n._i))?n._d=new Date(+t[1]):(pt(n),!1===n._isValid&&(delete n._isValid,c.createFromInputFallback(n)))):h(i)?(s._a=V(i.slice(0),function(e){return parseInt(e,10)}),vt(s)):"object"==typeof i?(t=s)._d||(n=te(t._i),t._a=V([n.year,n.month,n.day||n.date,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),vt(t)):"number"==typeof i?s._d=new Date(i):c.createFromInputFallback(s);return j(e)||(e._d=null),e}function kt(e,t,n,s,i){var r={};return"boolean"==typeof n&&(s=n,n=void 0),(L(e)&&function(e){for(var t in e)return;return 1}(e)||h(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,(i=new Z(ht(Mt(i=r))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function U(e,t,n,s){return kt(e,t,n,s,!1)}c.createFromInputFallback=e("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),c.ISO_8601=function(){};_e=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:E()}),ye=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:E()});function Dt(e,t){var n,s;if(!(t=1===t.length&&h(t[0])?t[0]:t).length)return U();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function Yt(e){var e=te(e),t=e.year||0,n=e.quarter||0,s=e.month||0,i=e.week||0,r=e.day||0,a=e.hour||0,o=e.minute||0,u=e.second||0,e=e.millisecond||0;this._milliseconds=+e+1e3*u+6e4*o+1e3*a*60*60,this._days=+r+7*i,this._months=+s+3*n+12*t,this._data={},this._locale=R(),this._bubble()}function xt(e){return e instanceof Yt}function Ot(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function bt(e,n){s(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+g(~~(e/60),2)+n+g(~~e%60,2)})}bt("Z",":"),bt("ZZ",""),M("Z",Me),M("ZZ",Me),k(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Pt(Me,e)});var Tt=/([\+\-]|\d\d)/gi;function Pt(e,t){t=(t||"").match(e)||[],e=((t[t.length-1]||[])+"").match(Tt)||["-",0,0],t=60*e[1]+u(e[2]);return"+"===e[0]?t:-t}function Wt(e,t){var n;return t._isUTC?(t=t.clone(),n=(y(e)||G(e)?e:U(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),c.updateOffset(t,!1),t):U(e).local()}function Rt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}c.updateOffset=function(){};var Ct=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ft=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,s=e,i=null;return xt(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(s={},t?s[t]=e:s.milliseconds=e):(i=Ct.exec(e))?(n="-"===i[1]?-1:1,s={y:0,d:u(i[O])*n,h:u(i[b])*n,m:u(i[T])*n,s:u(i[P])*n,ms:u(Ot(1e3*i[be]))*n}):(i=Ft.exec(e))?(n="-"===i[1]?-1:1,s={y:Lt(i[2],n),M:Lt(i[3],n),w:Lt(i[4],n),d:Lt(i[5],n),h:Lt(i[6],n),m:Lt(i[7],n),s:Lt(i[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Wt(t,e),e.isBefore(t)?n=Gt(e,t):((n=Gt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(U(s.from),U(s.to)),(s={}).ms=t.milliseconds,s.M=t.months),i=new Yt(s),xt(e)&&f(e,"_locale")&&(i._locale=e._locale),i}function Lt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Gt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(s,i){return function(e,t){var n;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),jt(this,Ht(e="string"==typeof e?+e:e,t),s),this}}function jt(e,t,n,s){var i=t._milliseconds,r=Ot(t._days),t=Ot(t._months);e.isValid()&&(s=null==s||s,i&&e._d.setTime(e._d.valueOf()+i*n),r&&re(e,"Date",ie(e,"Date")+r*n),t&&Fe(e,ie(e,"Month")+t*n),s&&c.updateOffset(e,r||t))}Ht.fn=Yt.prototype;Ue=Vt(1,"add"),Ce=Vt(-1,"subtract");function Et(e){return void 0===e?this._locale._abbr:(null!=(e=R(e))&&(this._locale=e),this)}c.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",c.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Be=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function At(){return this._locale}function It(e,t){s(0,[e,e.length],0,t)}function Nt(e,t,n,s,i){var r;return null==e?qe(this,s,i).year:(r=$e(e,s,i),function(e,t,n,s,i){e=Ze(e,t,n,s,i),t=Ne(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=r<t?r:t,n,s,i))}s(0,["gg",2],0,function(){return this.weekYear()%100}),s(0,["GG",2],0,function(){return this.isoWeekYear()%100}),It("gggg","weekYear"),It("ggggg","weekYear"),It("GGGG","isoWeekYear"),It("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),M("G",ve),M("g",ve),M("GG",w,p),M("gg",w,p),M("GGGG",pe,fe),M("gggg",pe,fe),M("GGGGG",v,me),M("ggggg",v,me),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=u(e)}),Oe(["gg","GG"],function(e,t,n,s){t[s]=c.parseTwoDigitYear(e)}),s("Q",0,"Qo","quarter"),t("quarter","Q"),n("quarter",7),M("Q",i),k("Q",function(e,t){t[x]=3*(u(e)-1)}),s("D",["DD",2],"Do","date"),t("date","D"),n("date",9),M("D",w),M("DD",w,p),M("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),k(["D","DD"],O),k("Do",function(e,t){t[O]=u(e.match(w)[0])});Qe=se("Date",!0);s("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),n("dayOfYear",4),M("DDD",ge),M("DDDD",ce),k(["DDD","DDDD"],function(e,t,n){n._dayOfYear=u(e)}),s("m",["mm",2],0,"minute"),t("minute","m"),n("minute",14),M("m",w),M("mm",w,p),k(["m","mm"],T);var zt,Je=se("Minutes",!1),pe=(s("s",["ss",2],0,"second"),t("second","s"),n("second",15),M("s",w),M("ss",w,p),k(["s","ss"],P),se("Seconds",!1));for(s("S",0,0,function(){return~~(this.millisecond()/100)}),s(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),s(0,["SSS",3],0,"millisecond"),s(0,["SSSS",4],0,function(){return 10*this.millisecond()}),s(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),s(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),s(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),s(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),s(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),t("millisecond","ms"),n("millisecond",16),M("S",ge,i),M("SS",ge,p),M("SSS",ge,ce),zt="SSSS";zt.length<=9;zt+="S")M(zt,we);function Zt(e,t){t[be]=u(1e3*("0."+e))}for(zt="S";zt.length<=9;zt+="S")k(zt,Zt);fe=se("Milliseconds",!1);s("z",0,0,"zoneAbbr"),s("zz",0,0,"zoneName");v=Z.prototype,v.add=Ue,v.calendar=function(e,t){var n=Wt(e=e||U(),this).startOf("day"),n=c.calendarFormat(this,n)||"sameElse",t=t&&(a(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,U(e)))},v.clone=function(){return new Z(this)},v.diff=function(e,t,n){var s,i;return this.isValid()&&(e=Wt(e,this)).isValid()?(s=6e4*(e.utcOffset()-this.utcOffset()),"year"===(t=d(t))||"month"===t||"quarter"===t?(i=function(e,t){var n,s=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(s,"months");e=t-i<0?(n=e.clone().add(s-1,"months"),(t-i)/(i-n)):(n=e.clone().add(1+s,"months"),(t-i)/(n-i));return-(s+e)||0}(this,e),"quarter"===t?i/=3:"year"===t&&(i/=12)):(e=this-e,i="second"===t?e/1e3:"minute"===t?e/6e4:"hour"===t?e/36e5:"day"===t?(e-s)/864e5:"week"===t?(e-s)/6048e5:e),n?i:o(i)):NaN},v.endOf=function(e){return void 0===(e=d(e))||"millisecond"===e?this:this.startOf(e="date"===e?"day":e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")},v.format=function(e){return e=e||(this.isUtc()?c.defaultFormatUtc:c.defaultFormat),e=de(this,e),this.localeData().postformat(e)},v.from=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||U(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},v.fromNow=function(e){return this.from(U(),e)},v.to=function(e,t){return this.isValid()&&(y(e)&&e.isValid()||U(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},v.toNow=function(e){return this.to(U(),e)},v.get=function(e){return a(this[e=d(e)])?this[e]():this},v.invalidAt=function(){return _(this).overflow},v.isAfter=function(e,t){return e=y(e)?e:U(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(r(t)?"millisecond":t))?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},v.isBefore=function(e,t){return e=y(e)?e:U(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(r(t)?"millisecond":t))?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},v.isBetween=function(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))},v.isSame=function(e,t){var e=y(e)?e:U(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=d(t||"millisecond"))?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},v.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},v.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},v.isValid=function(){return j(this)},v.lang=Be,v.locale=Et,v.localeData=At,v.max=ye,v.min=_e,v.parsingFlags=function(){return m({},_(this))},v.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)n.push({unit:t,priority:ne[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=te(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(a(this[e=d(e)]))return this[e](t);return this},v.startOf=function(e){switch(e=d(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},v.subtract=Ce,v.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},v.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},v.toDate=function(){return new Date(this.valueOf())},v.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?a(Date.prototype.toISOString)?this.toDate().toISOString():de(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):de(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},v.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},v.year=Ae,v.isLeapYear=function(){return Ee(this.year())},v.weekYear=function(e){return Nt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},v.isoWeekYear=function(e){return Nt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},v.quarter=v.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},v.month=He,v.daysInMonth=function(){return We(this.year(),this.month())},v.week=v.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},v.isoWeek=v.isoWeeks=function(e){var t=qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},v.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},v.isoWeeksInYear=function(){return $e(this.year(),1,4)},v.date=Qe,v.day=v.days=function(e){var t,n,s;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(n=e,s=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=s.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},v.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},v.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},v.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},v.hour=v.hours=S,v.minute=v.minutes=Je,v.second=v.seconds=pe,v.millisecond=v.milliseconds=fe,v.utcOffset=function(e,t){var n,s=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Pt(Me,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=Rt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?jt(this,Ht(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,c.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?s:Rt(this):null!=e?this:NaN},v.utc=function(e){return this.utcOffset(0,e)},v.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},v.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&(0===Pt(Se,this._i)?this.utcOffset(0,!0):this.utcOffset(Pt(Se,this._i))),this},v.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60==0)},v.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},v.isLocal=function(){return!!this.isValid()&&!this._isUTC},v.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},v.isUtc=Ut,v.isUTC=Ut,v.zoneAbbr=function(){return this._isUTC?"UTC":""},v.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},v.dates=e("dates accessor is deprecated. Use date instead.",Qe),v.months=e("months accessor is deprecated. Use month instead",He),v.years=e("years accessor is deprecated. Use year instead",Ae),v.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),v.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return r(this._isDSTShifted)&&(N(e={},this),(e=Mt(e))._a?(t=(e._isUTC?l:U)(e._a),this._isDSTShifted=this.isValid()&&0<q(e._a,t.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),me=v;function qt(e){return e}i=X.prototype;function $t(e,t,n,s){var i=R(),s=l().set(s,t);return i[n](s,e)}function Bt(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return $t(e,t,n,"month");for(var s=[],i=0;i<12;i++)s[i]=$t(e,i,n,"month");return s}function Jt(e,t,n,s){t=("boolean"==typeof e?"number"==typeof t&&(n=t,t=void 0):(t=e,e=!1,"number"==typeof(n=t)&&(n=t,t=void 0)),t||"");var i=R(),r=e?i._week.dow:0;if(null!=n)return $t(t,(n+r)%7,s,"day");for(var a=[],o=0;o<7;o++)a[o]=$t(t,(o+r)%7,s,"day");return a}i.calendar=function(e,t,n){return a(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},i.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},i.invalidDate=function(){return this._invalidDate},i.ordinal=function(e){return this._ordinal.replace("%d",e)},i.preparse=qt,i.postformat=qt,i.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return a(i)?i(e,t,n,s):i.replace(/%d/i,e)},i.pastFuture=function(e,t){return a(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},i.set=function(e){var t,n;for(n in e)a(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},i.months=function(e,t){return e?(h(this._months)?this._months:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"])[e.month()]:this._months},i.monthsShort=function(e,t){return e?(h(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(t)?"format":"standalone"])[e.month()]:this._monthsShort},i.monthsParse=function(e,t,n){var s,i;if(this._monthsParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=l([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=D.call(this._shortMonthsParse,e))?i:null:-1!==(i=D.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=D.call(this._shortMonthsParse,e))||-1!==(i=D.call(this._longMonthsParse,e))?i:null:-1!==(i=D.call(this._longMonthsParse,e))||-1!==(i=D.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=l([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},i.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},i.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},i.week=function(e){return qe(e,this._week.dow,this._week.doy).week},i.firstDayOfYear=function(){return this._week.doy},i.firstDayOfWeek=function(){return this._week.dow},i.weekdays=function(e,t){return e?(h(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"])[e.day()]:this._weekdays},i.weekdaysMin=function(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin},i.weekdaysShort=function(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort},i.weekdaysParse=function(e,t,n){var s,i;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=l([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=D.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=D.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._shortWeekdaysParse,e))||-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=D.call(this._shortWeekdaysParse,e))||-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._minWeekdaysParse,e))?i:null:-1!==(i=D.call(this._minWeekdaysParse,e))||-1!==(i=D.call(this._weekdaysParse,e))||-1!==(i=D.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=l([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},i.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},i.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ke),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},i.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},i.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},i.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===u(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),c.lang=e("moment.lang is deprecated. Use moment.locale instead.",lt),c.langData=e("moment.langData is deprecated. Use moment.localeData instead.",R);var C=Math.abs;function Qt(e,t,n,s){t=Ht(t,n);return e._milliseconds+=s*t._milliseconds,e._days+=s*t._days,e._months+=s*t._months,e._bubble()}function Xt(e){return e<0?Math.floor(e):Math.ceil(e)}function Kt(e){return 4800*e/146097}function en(e){return 146097*e/4800}function tn(e){return function(){return this.as(e)}}p=tn("ms"),ge=tn("s"),ce=tn("m"),Ue=tn("h"),ye=tn("d"),_e=tn("w"),Ce=tn("M"),S=tn("y");function nn(e){return function(){return this._data[e]}}Je=nn("milliseconds"),pe=nn("seconds"),fe=nn("minutes"),Qe=nn("hours"),Ae=nn("days"),v=nn("months"),i=nn("years");var sn=Math.round,rn={s:45,m:45,h:22,d:26,M:11};function an(e,t,n){var s=Ht(e).abs(),i=sn(s.as("s")),r=sn(s.as("m")),a=sn(s.as("h")),o=sn(s.as("d")),u=sn(s.as("M")),s=sn(s.as("y")),i=(i<rn.s?["s",i]:r<=1&&["m"])||r<rn.m&&["mm",r]||a<=1&&["h"]||a<rn.h&&["hh",a]||o<=1&&["d"]||o<rn.d&&["dd",o]||u<=1&&["M"]||u<rn.M&&["MM",u]||s<=1&&["y"]||["yy",s];return i[2]=t,i[3]=0<+e,i[4]=n,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,i)}var on=Math.abs;function un(){var e=on(this._milliseconds)/1e3,t=on(this._days),n=on(this._months),s=o(e/60),i=o(s/60),r=(e%=60,s%=60,o(n/12)),n=n%=12,a=this.asSeconds();return a?(a<0?"-":"")+"P"+(r?r+"Y":"")+(n?n+"M":"")+(t?t+"D":"")+(i||s||e?"T":"")+(i?i+"H":"")+(s?s+"M":"")+(e?e+"S":""):"P0D"}var F=Yt.prototype;return F.abs=function(){var e=this._data;return this._milliseconds=C(this._milliseconds),this._days=C(this._days),this._months=C(this._months),e.milliseconds=C(e.milliseconds),e.seconds=C(e.seconds),e.minutes=C(e.minutes),e.hours=C(e.hours),e.months=C(e.months),e.years=C(e.years),this},F.add=function(e,t){return Qt(this,e,t,1)},F.subtract=function(e,t){return Qt(this,e,t,-1)},F.as=function(e){var t,n,s=this._milliseconds;if("month"===(e=d(e))||"year"===e)return t=this._days+s/864e5,n=this._months+Kt(t),"month"===e?n:n/12;switch(t=this._days+Math.round(en(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},F.asMilliseconds=p,F.asSeconds=ge,F.asMinutes=ce,F.asHours=Ue,F.asDays=ye,F.asWeeks=_e,F.asMonths=Ce,F.asYears=S,F.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*u(this._months/12)},F._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*Xt(en(n)+t),n=t=0),s.milliseconds=e%1e3,e=o(e/1e3),s.seconds=e%60,e=o(e/60),s.minutes=e%60,e=o(e/60),s.hours=e%24,t+=o(e/24),n+=e=o(Kt(t)),t-=Xt(en(e)),e=o(n/12),n%=12,s.days=t,s.months=n,s.years=e,this},F.get=function(e){return this[(e=d(e))+"s"]()},F.milliseconds=Je,F.seconds=pe,F.minutes=fe,F.hours=Qe,F.days=Ae,F.weeks=function(){return o(this.days()/7)},F.months=v,F.years=i,F.humanize=function(e){var t=this.localeData(),n=an(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},F.toISOString=un,F.toString=un,F.toJSON=un,F.locale=Et,F.localeData=At,F.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",un),F.lang=Be,s("X",0,0,"unix"),s("x",0,0,"valueOf"),M("x",ve),M("X",/[+-]?\d+(\.\d{1,3})?/),k("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),k("x",function(e,t,n){n._d=new Date(u(e))}),c.version="2.15.1",H=U,c.fn=me,c.min=function(){return Dt("isBefore",[].slice.call(arguments,0))},c.max=function(){return Dt("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=l,c.unix=function(e){return U(1e3*e)},c.months=function(e,t){return Bt(e,t,"months")},c.isDate=G,c.locale=lt,c.invalid=E,c.duration=Ht,c.isMoment=y,c.weekdays=function(e,t,n){return Jt(e,t,n,"weekdays")},c.parseZone=function(){return U.apply(null,arguments).parseZone()},c.localeData=R,c.isDuration=xt,c.monthsShort=function(e,t){return Bt(e,t,"monthsShort")},c.weekdaysMin=function(e,t,n){return Jt(e,t,n,"weekdaysMin")},c.defineLocale=dt,c.updateLocale=function(e,t){var n;return null!=t?(n=at,(n=new X(t=Q(n=null!=W[e]?W[e]._config:n,t))).parentLocale=W[e],W[e]=n,lt(e)):null!=W[e]&&(null!=W[e].parentLocale?W[e]=W[e].parentLocale:null!=W[e]&&delete W[e]),W[e]},c.locales=function(){return K(W)},c.weekdaysShort=function(e,t,n){return Jt(e,t,n,"weekdaysShort")},c.normalizeUnits=d,c.relativeTimeRounding=function(e){return void 0===e?sn:"function"==typeof e&&(sn=e,!0)},c.relativeTimeThreshold=function(e,t){return void 0!==rn[e]&&(void 0===t?rn[e]:(rn[e]=t,!0))},c.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},c.prototype=me,c});
bp-friends/bp-friends-blocks.php CHANGED
@@ -233,7 +233,7 @@ function bp_friends_render_friends_block( $attributes = array() ) {
233
  );
234
 
235
  // Only enqueue common/specific scripts and data once per page load.
236
- if ( ! has_action( 'wp_footer', 'bp_friends_blocks_add_script_data', 1 ) ) {
237
  wp_set_script_translations( 'bp-friends-script', 'buddypress' );
238
  wp_enqueue_script( 'bp-friends-script' );
239
 
233
  );
234
 
235
  // Only enqueue common/specific scripts and data once per page load.
236
+ if ( ! has_action( 'wp_footer', 'bp_friends_blocks_add_script_data' ) ) {
237
  wp_set_script_translations( 'bp-friends-script', 'buddypress' );
238
  wp_enqueue_script( 'bp-friends-script' );
239
 
bp-friends/bp-friends-template.php CHANGED
@@ -360,31 +360,31 @@ function bp_is_friend( $user_id = 0 ) {
360
  function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
361
  echo bp_get_add_friend_button( $potential_friend_id, $friend_status );
362
  }
 
363
  /**
364
- * Create the Add Friend button.
365
  *
366
- * @since 1.1.0
367
  *
368
- * @param int $potential_friend_id ID of the user to whom the button
369
- * applies. Default: value of {@link bp_get_potential_friend_id()}.
370
- * @param bool $friend_status Not currently used.
371
- * @return bool|string HTML for the Add Friend button. False if already friends.
372
  */
373
- function bp_get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
 
374
 
375
  if ( empty( $potential_friend_id ) ) {
376
  $potential_friend_id = bp_get_potential_friend_id( $potential_friend_id );
377
  }
378
 
379
- $is_friend = bp_is_friend( $potential_friend_id );
380
 
381
- if ( empty( $is_friend ) ) {
382
- return false;
383
  }
384
 
385
- switch ( $is_friend ) {
386
  case 'pending':
387
- $button = array(
388
  'id' => 'pending',
389
  'component' => 'friends',
390
  'must_be_logged_in' => true,
@@ -393,6 +393,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
393
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
394
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ),
395
  'link_text' => __( 'Cancel Friendship Request', 'buddypress' ),
 
396
  'link_id' => 'friend-' . $potential_friend_id,
397
  'link_rel' => 'remove',
398
  'link_class' => 'friendship-button pending_friend requested',
@@ -400,7 +401,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
400
  break;
401
 
402
  case 'awaiting_response':
403
- $button = array(
404
  'id' => 'awaiting_response',
405
  'component' => 'friends',
406
  'must_be_logged_in' => true,
@@ -409,6 +410,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
409
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
410
  'link_href' => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/',
411
  'link_text' => __( 'Friendship Requested', 'buddypress' ),
 
412
  'link_id' => 'friend-' . $potential_friend_id,
413
  'link_rel' => 'remove',
414
  'link_class' => 'friendship-button awaiting_response_friend requested',
@@ -416,7 +418,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
416
  break;
417
 
418
  case 'is_friend':
419
- $button = array(
420
  'id' => 'is_friend',
421
  'component' => 'friends',
422
  'must_be_logged_in' => true,
@@ -425,6 +427,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
425
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
426
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ),
427
  'link_text' => __( 'Cancel Friendship', 'buddypress' ),
 
428
  'link_id' => 'friend-' . $potential_friend_id,
429
  'link_rel' => 'remove',
430
  'link_class' => 'friendship-button is_friend remove',
@@ -432,7 +435,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
432
  break;
433
 
434
  default:
435
- $button = array(
436
  'id' => 'not_friends',
437
  'component' => 'friends',
438
  'must_be_logged_in' => true,
@@ -441,6 +444,7 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
441
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
442
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ),
443
  'link_text' => __( 'Add Friend', 'buddypress' ),
 
444
  'link_id' => 'friend-' . $potential_friend_id,
445
  'link_rel' => 'add',
446
  'link_class' => 'friendship-button not_friends add',
@@ -453,9 +457,30 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false
453
  *
454
  * @since 1.1.0
455
  *
456
- * @param string $button HTML markup for add friend button.
457
  */
458
- return bp_get_button( apply_filters( 'bp_get_add_friend_button', $button ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
  }
460
 
461
  /**
@@ -544,7 +569,7 @@ function bp_friend_friendship_id() {
544
  function bp_get_friend_friendship_id() {
545
  global $members_template;
546
 
547
- if ( !$friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id() ) ) {
548
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
549
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
550
  }
@@ -579,7 +604,7 @@ function bp_friend_accept_request_link() {
579
  function bp_get_friend_accept_request_link() {
580
  global $members_template;
581
 
582
- if ( !$friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id() ) ) {
583
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
584
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
585
  }
@@ -616,7 +641,7 @@ function bp_friend_reject_request_link() {
616
  function bp_get_friend_reject_request_link() {
617
  global $members_template;
618
 
619
- if ( !$friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id() ) ) {
620
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
621
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
622
  }
360
  function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
361
  echo bp_get_add_friend_button( $potential_friend_id, $friend_status );
362
  }
363
+
364
  /**
365
+ * Build friend button arguments.
366
  *
367
+ * @since 11.0.0
368
  *
369
+ * @param int $potential_friend_id The user ID of the potential friend.
370
+ * @return array The friend button arguments.
 
 
371
  */
372
+ function bp_get_add_friend_button_args( $potential_friend_id = 0 ) {
373
+ $button_args = array();
374
 
375
  if ( empty( $potential_friend_id ) ) {
376
  $potential_friend_id = bp_get_potential_friend_id( $potential_friend_id );
377
  }
378
 
379
+ $friendship_status = bp_is_friend( $potential_friend_id );
380
 
381
+ if ( empty( $friendship_status ) ) {
382
+ return $button_args;
383
  }
384
 
385
+ switch ( $friendship_status ) {
386
  case 'pending':
387
+ $button_args = array(
388
  'id' => 'pending',
389
  'component' => 'friends',
390
  'must_be_logged_in' => true,
393
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
394
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ),
395
  'link_text' => __( 'Cancel Friendship Request', 'buddypress' ),
396
+ 'link_title' => __( 'Cancel Friendship Requested', 'buddypress' ),
397
  'link_id' => 'friend-' . $potential_friend_id,
398
  'link_rel' => 'remove',
399
  'link_class' => 'friendship-button pending_friend requested',
401
  break;
402
 
403
  case 'awaiting_response':
404
+ $button_args = array(
405
  'id' => 'awaiting_response',
406
  'component' => 'friends',
407
  'must_be_logged_in' => true,
410
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
411
  'link_href' => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/',
412
  'link_text' => __( 'Friendship Requested', 'buddypress' ),
413
+ 'link_title' => __( 'Friendship Requested', 'buddypress' ),
414
  'link_id' => 'friend-' . $potential_friend_id,
415
  'link_rel' => 'remove',
416
  'link_class' => 'friendship-button awaiting_response_friend requested',
418
  break;
419
 
420
  case 'is_friend':
421
+ $button_args = array(
422
  'id' => 'is_friend',
423
  'component' => 'friends',
424
  'must_be_logged_in' => true,
427
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
428
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ),
429
  'link_text' => __( 'Cancel Friendship', 'buddypress' ),
430
+ 'link_title' => __( 'Cancel Friendship', 'buddypress' ),
431
  'link_id' => 'friend-' . $potential_friend_id,
432
  'link_rel' => 'remove',
433
  'link_class' => 'friendship-button is_friend remove',
435
  break;
436
 
437
  default:
438
+ $button_args = array(
439
  'id' => 'not_friends',
440
  'component' => 'friends',
441
  'must_be_logged_in' => true,
444
  'wrapper_id' => 'friendship-button-' . $potential_friend_id,
445
  'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ),
446
  'link_text' => __( 'Add Friend', 'buddypress' ),
447
+ 'link_title' => __( 'Add Friend', 'buddypress' ),
448
  'link_id' => 'friend-' . $potential_friend_id,
449
  'link_rel' => 'add',
450
  'link_class' => 'friendship-button not_friends add',
457
  *
458
  * @since 1.1.0
459
  *
460
+ * @param string $button_args Button arguments for add friend button.
461
  */
462
+ return apply_filters( 'bp_get_add_friend_button', $button_args );
463
+ }
464
+
465
+ /**
466
+ * Create the Add Friend button.
467
+ *
468
+ * @since 1.1.0
469
+ * @since 11.0.0 uses `bp_get_add_friend_button_args()`.
470
+ *
471
+ * @param int $potential_friend_id ID of the user to whom the button
472
+ * applies. Default: value of {@link bp_get_potential_friend_id()}.
473
+ * @param bool $friend_status Not currently used.
474
+ * @return bool|string HTML for the Add Friend button. False if already friends.
475
+ */
476
+ function bp_get_add_friend_button( $potential_friend_id = 0, $friend_status = false ) {
477
+ $button_args = bp_get_add_friend_button_args( $potential_friend_id );
478
+
479
+ if ( ! array_filter( $button_args ) ) {
480
+ return false;
481
+ }
482
+
483
+ return bp_get_button( $button_args );
484
  }
485
 
486
  /**
569
  function bp_get_friend_friendship_id() {
570
  global $members_template;
571
 
572
+ if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) {
573
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
574
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
575
  }
604
  function bp_get_friend_accept_request_link() {
605
  global $members_template;
606
 
607
+ if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) {
608
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
609
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
610
  }
641
  function bp_get_friend_reject_request_link() {
642
  global $members_template;
643
 
644
+ if ( ! $friendship_id = wp_cache_get( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), 'bp' ) ) {
645
  $friendship_id = friends_get_friendship_id( $members_template->member->id, bp_loggedin_user_id() );
646
  wp_cache_set( 'friendship_id_' . $members_template->member->id . '_' . bp_loggedin_user_id(), $friendship_id, 'bp' );
647
  }
bp-friends/classes/class-bp-rest-friends-endpoint.php CHANGED
@@ -670,8 +670,8 @@ class BP_REST_Friends_Endpoint extends WP_REST_Controller {
670
  *
671
  * @since 6.0.0
672
  *
673
- * @param BP_Friends_Friendship $friendship Friendship item.
674
- * @return array Links for the given plugin.
675
  */
676
  protected function prepare_links( $friendship ) {
677
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
670
  *
671
  * @since 6.0.0
672
  *
673
+ * @param BP_Friends_Friendship $friendship Friendship object.
674
+ * @return array
675
  */
676
  protected function prepare_links( $friendship ) {
677
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
bp-groups/bp-groups-activity.php CHANGED
@@ -889,7 +889,7 @@ function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
889
  $membership = new BP_Groups_Member( $user_id, $group_id );
890
 
891
  // Check the time period, and maybe delete their recent group activity.
892
- if ( time() <= strtotime( '+5 minutes', (int) strtotime( $membership->date_modified ) ) ) {
893
  bp_activity_delete( array(
894
  'component' => buddypress()->groups->id,
895
  'type' => 'joined_group',
889
  $membership = new BP_Groups_Member( $user_id, $group_id );
890
 
891
  // Check the time period, and maybe delete their recent group activity.
892
+ if ( $membership->date_modified && time() <= strtotime( '+5 minutes', (int) strtotime( $membership->date_modified ) ) ) {
893
  bp_activity_delete( array(
894
  'component' => buddypress()->groups->id,
895
  'type' => 'joined_group',
bp-groups/bp-groups-blocks.php CHANGED
@@ -509,7 +509,7 @@ function bp_groups_render_dynamic_groups_block( $attributes = array() ) {
509
  );
510
 
511
  // Only enqueue common/specific scripts and data once per page load.
512
- if ( ! has_action( 'wp_footer', 'bp_groups_blocks_add_script_data', 1 ) ) {
513
  wp_set_script_translations( 'bp-dynamic-groups-script', 'buddypress' );
514
  wp_enqueue_script( 'bp-dynamic-groups-script' );
515
 
509
  );
510
 
511
  // Only enqueue common/specific scripts and data once per page load.
512
+ if ( ! has_action( 'wp_footer', 'bp_groups_blocks_add_script_data' ) ) {
513
  wp_set_script_translations( 'bp-dynamic-groups-script', 'buddypress' );
514
  wp_enqueue_script( 'bp-dynamic-groups-script' );
515
 
bp-groups/bp-groups-cache.php CHANGED
@@ -249,7 +249,10 @@ add_action( 'groups_delete_group', 'groups_clear_group_type_cache' );
249
  */
250
  function bp_groups_clear_user_group_cache_on_membership_save( BP_Groups_Member $member ) {
251
  wp_cache_delete( $member->user_id, 'bp_groups_memberships_for_user' );
252
- wp_cache_delete( $member->id, 'bp_groups_memberships' );
 
 
 
253
  }
254
  add_action( 'groups_member_before_save', 'bp_groups_clear_user_group_cache_on_membership_save' );
255
  add_action( 'groups_member_before_remove', 'bp_groups_clear_user_group_cache_on_membership_save' );
249
  */
250
  function bp_groups_clear_user_group_cache_on_membership_save( BP_Groups_Member $member ) {
251
  wp_cache_delete( $member->user_id, 'bp_groups_memberships_for_user' );
252
+
253
+ if ( ! is_null( $member->id ) ) {
254
+ wp_cache_delete( $member->id, 'bp_groups_memberships' );
255
+ }
256
  }
257
  add_action( 'groups_member_before_save', 'bp_groups_clear_user_group_cache_on_membership_save' );
258
  add_action( 'groups_member_before_remove', 'bp_groups_clear_user_group_cache_on_membership_save' );
bp-groups/bp-groups-functions.php CHANGED
@@ -2969,7 +2969,7 @@ function bp_groups_get_group_types( $args = array(), $output = 'names', $operato
2969
  $types = bp_get_taxonomy_types( bp_get_group_type_tax_name(), $types );
2970
  }
2971
 
2972
- $types = wp_filter_object_list( $types, $args, $operator );
2973
 
2974
  /**
2975
  * Filters the array of group type objects.
@@ -2983,9 +2983,9 @@ function bp_groups_get_group_types( $args = array(), $output = 'names', $operato
2983
  * @param array $args Array of key=>value arguments for filtering.
2984
  * @param string $operator 'or' to match any of $args, 'and' to require all.
2985
  */
2986
- $types = apply_filters( 'bp_groups_get_group_types', $types, $args, $operator );
2987
 
2988
- if ( 'names' === $output ) {
2989
  $types = wp_list_pluck( $types, 'name' );
2990
  }
2991
 
@@ -3247,6 +3247,11 @@ function bp_groups_has_group_type( $group_id, $group_type ) {
3247
  return false;
3248
  }
3249
 
 
 
 
 
 
3250
  // Get all group's group types.
3251
  $types = bp_groups_get_group_type( $group_id, false );
3252
 
2969
  $types = bp_get_taxonomy_types( bp_get_group_type_tax_name(), $types );
2970
  }
2971
 
2972
+ $types = array_filter( wp_filter_object_list( $types, $args, $operator ) );
2973
 
2974
  /**
2975
  * Filters the array of group type objects.
2983
  * @param array $args Array of key=>value arguments for filtering.
2984
  * @param string $operator 'or' to match any of $args, 'and' to require all.
2985
  */
2986
+ $types = (array) apply_filters( 'bp_groups_get_group_types', $types, $args, $operator );
2987
 
2988
+ if ( $types && 'names' === $output ) {
2989
  $types = wp_list_pluck( $types, 'name' );
2990
  }
2991
 
3247
  return false;
3248
  }
3249
 
3250
+ $group_id = (int) $group_id;
3251
+ if ( ! $group_id ) {
3252
+ return false;
3253
+ }
3254
+
3255
  // Get all group's group types.
3256
  $types = bp_groups_get_group_type( $group_id, false );
3257
 
bp-groups/bp-groups-notifications.php CHANGED
@@ -358,7 +358,7 @@ function groups_notification_group_invites( &$group, &$member, $inviter_user_id
358
  'group' => $group,
359
  'group.url' => bp_get_group_permalink( $group ),
360
  'group.name' => $group->name,
361
- 'inviter.name' => bp_core_get_userlink( $inviter_user_id, true, false, true ),
362
  'inviter.url' => bp_core_get_user_domain( $inviter_user_id ),
363
  'inviter.id' => $inviter_user_id,
364
  'invites.url' => esc_url( $invited_link . '/invites/' ),
@@ -1222,3 +1222,46 @@ function groups_screen_notification_settings() {
1222
  <?php
1223
  }
1224
  add_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  'group' => $group,
359
  'group.url' => bp_get_group_permalink( $group ),
360
  'group.name' => $group->name,
361
+ 'inviter.name' => bp_core_get_userlink( $inviter_user_id, true, false ),
362
  'inviter.url' => bp_core_get_user_domain( $inviter_user_id ),
363
  'inviter.id' => $inviter_user_id,
364
  'invites.url' => esc_url( $invited_link . '/invites/' ),
1222
  <?php
1223
  }
1224
  add_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
1225
+
1226
+ /**
1227
+ * Notify member about their group membership request accepted/rejected by admin.
1228
+ *
1229
+ * @since 11.0.0
1230
+ *
1231
+ * @param int $user_id ID of the user requesting group membership.
1232
+ * @param int $group_id ID of the group.
1233
+ */
1234
+ function groups_email_notification_membership_request_completed_by_admin( $user_id, $group_id ) {
1235
+ if ( (int) $user_id === bp_loggedin_user_id() ) {
1236
+ return;
1237
+ }
1238
+
1239
+ if ( false === bp_current_user_can( 'bp_moderate' ) ) {
1240
+ return;
1241
+ }
1242
+
1243
+ $group = groups_get_group( $group_id );
1244
+ if ( true === empty( $group->id ) ) {
1245
+ return;
1246
+ }
1247
+
1248
+ $args = array(
1249
+ 'tokens' => array(
1250
+ 'group' => $group,
1251
+ 'group.id' => $group_id,
1252
+ 'group.name' => $group->name,
1253
+ 'group.url' => esc_url( bp_get_group_permalink( $group ) ),
1254
+ 'leave-group.url' => esc_url( bp_core_get_user_domain( $user_id ) . bp_get_groups_slug() ),
1255
+ ),
1256
+ );
1257
+
1258
+ $email_type = 'groups-membership-request-accepted-by-admin';
1259
+ if ( true === doing_action( 'groups_reject_invite' ) ) {
1260
+ unset( $args['tokens']['leave-group.url'] );
1261
+ $email_type = 'groups-membership-request-rejected-by-admin';
1262
+ }
1263
+
1264
+ bp_send_email( $email_type, (int) $user_id, $args );
1265
+ }
1266
+ add_action( 'groups_accept_invite', 'groups_email_notification_membership_request_completed_by_admin', 10, 2 );
1267
+ add_action( 'groups_reject_invite', 'groups_email_notification_membership_request_completed_by_admin', 10, 2 );
bp-groups/bp-groups-template.php CHANGED
@@ -3360,7 +3360,10 @@ function bp_group_accept_invite_link() {
3360
  $group =& $groups_template->group;
3361
  }
3362
 
3363
- $bp = buddypress();
 
 
 
3364
 
3365
  /**
3366
  * Filters the URL for accepting an invitation to a group.
@@ -3371,7 +3374,7 @@ function bp_group_accept_invite_link() {
3371
  * @param string $value URL for accepting an invitation to a group.
3372
  * @param object $group Group object.
3373
  */
3374
- return apply_filters( 'bp_get_group_accept_invite_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/invites/accept/' . $group->id ), 'groups_accept_invite' ), $group );
3375
  }
3376
 
3377
  /**
@@ -3398,7 +3401,10 @@ function bp_group_reject_invite_link() {
3398
  $group =& $groups_template->group;
3399
  }
3400
 
3401
- $bp = buddypress();
 
 
 
3402
 
3403
  /**
3404
  * Filters the URL for rejecting an invitation to a group.
@@ -3409,7 +3415,7 @@ function bp_group_reject_invite_link() {
3409
  * @param string $value URL for rejecting an invitation to a group.
3410
  * @param object $group Group object.
3411
  */
3412
- return apply_filters( 'bp_get_group_reject_invite_link', wp_nonce_url( trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/invites/reject/' . $group->id ), 'groups_reject_invite' ), $group );
3413
  }
3414
 
3415
  /**
@@ -3557,30 +3563,30 @@ function bp_has_friends_to_invite( $group = false ) {
3557
  function bp_group_join_button( $group = false ) {
3558
  echo bp_get_group_join_button( $group );
3559
  }
 
3560
  /**
3561
- * Return button to join a group.
3562
  *
3563
- * @since 1.0.0
3564
  *
3565
- * @param object|bool $group Single group object.
3566
- * @return false|string
3567
  */
3568
- function bp_get_group_join_button( $group = false ) {
3569
- global $groups_template;
3570
 
3571
- // Set group to current loop group if none passed.
3572
- if ( empty( $group ) ) {
3573
- $group =& $groups_template->group;
3574
  }
3575
 
3576
  // Don't show button if not logged in or previously banned.
3577
  if ( ! is_user_logged_in() || bp_group_is_user_banned( $group ) ) {
3578
- return false;
3579
  }
3580
 
3581
  // Group creation was not completed or status is unknown.
3582
  if ( empty( $group->status ) ) {
3583
- return false;
3584
  }
3585
 
3586
  // Already a member.
@@ -3589,11 +3595,11 @@ function bp_group_join_button( $group = false ) {
3589
  // Stop sole admins from abandoning their group.
3590
  $group_admins = groups_get_group_admins( $group->id );
3591
  if ( ( 1 == count( $group_admins ) ) && ( bp_loggedin_user_id() === (int) $group_admins[0]->user_id ) ) {
3592
- return false;
3593
  }
3594
 
3595
  // Setup button attributes.
3596
- $button = array(
3597
  'id' => 'leave_group',
3598
  'component' => 'groups',
3599
  'must_be_logged_in' => true,
@@ -3602,6 +3608,7 @@ function bp_group_join_button( $group = false ) {
3602
  'wrapper_id' => 'groupbutton-' . $group->id,
3603
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'leave-group' ), 'groups_leave_group' ),
3604
  'link_text' => __( 'Leave Group', 'buddypress' ),
 
3605
  'link_class' => 'group-button leave-group',
3606
  );
3607
 
@@ -3611,10 +3618,10 @@ function bp_group_join_button( $group = false ) {
3611
  // Show different buttons based on group status.
3612
  switch ( $group->status ) {
3613
  case 'hidden' :
3614
- return false;
3615
 
3616
  case 'public':
3617
- $button = array(
3618
  'id' => 'join_group',
3619
  'component' => 'groups',
3620
  'must_be_logged_in' => true,
@@ -3623,6 +3630,7 @@ function bp_group_join_button( $group = false ) {
3623
  'wrapper_id' => 'groupbutton-' . $group->id,
3624
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'join' ), 'groups_join_group' ),
3625
  'link_text' => __( 'Join Group', 'buddypress' ),
 
3626
  'link_class' => 'group-button join-group',
3627
  );
3628
  break;
@@ -3632,7 +3640,7 @@ function bp_group_join_button( $group = false ) {
3632
  // Member has outstanding invitation -
3633
  // show an "Accept Invitation" button.
3634
  if ( $group->is_invited ) {
3635
- $button = array(
3636
  'id' => 'accept_invite',
3637
  'component' => 'groups',
3638
  'must_be_logged_in' => true,
@@ -3641,13 +3649,14 @@ function bp_group_join_button( $group = false ) {
3641
  'wrapper_id' => 'groupbutton-' . $group->id,
3642
  'link_href' => add_query_arg( 'redirect_to', bp_get_group_permalink( $group ), bp_get_group_accept_invite_link( $group ) ),
3643
  'link_text' => __( 'Accept Invitation', 'buddypress' ),
 
3644
  'link_class' => 'group-button accept-invite',
3645
  );
3646
 
3647
  // Member has requested membership but request is pending -
3648
  // show a "Request Sent" button.
3649
  } elseif ( $group->is_pending ) {
3650
- $button = array(
3651
  'id' => 'membership_requested',
3652
  'component' => 'groups',
3653
  'must_be_logged_in' => true,
@@ -3656,13 +3665,14 @@ function bp_group_join_button( $group = false ) {
3656
  'wrapper_id' => 'groupbutton-' . $group->id,
3657
  'link_href' => bp_get_group_permalink( $group ),
3658
  'link_text' => __( 'Request Sent', 'buddypress' ),
 
3659
  'link_class' => 'group-button pending membership-requested',
3660
  );
3661
 
3662
  // Member has not requested membership yet -
3663
  // show a "Request Membership" button.
3664
  } else {
3665
- $button = array(
3666
  'id' => 'request_membership',
3667
  'component' => 'groups',
3668
  'must_be_logged_in' => true,
@@ -3671,6 +3681,7 @@ function bp_group_join_button( $group = false ) {
3671
  'wrapper_id' => 'groupbutton-' . $group->id,
3672
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'request-membership' ), 'groups_request_membership' ),
3673
  'link_text' => __( 'Request Membership', 'buddypress' ),
 
3674
  'link_class' => 'group-button request-membership',
3675
  );
3676
  }
@@ -3680,15 +3691,40 @@ function bp_group_join_button( $group = false ) {
3680
  }
3681
 
3682
  /**
3683
- * Filters the HTML button for joining a group.
3684
  *
3685
  * @since 1.2.6
3686
  * @since 2.4.0 Added $group parameter to filter args.
3687
  *
3688
- * @param string $button HTML button for joining a group.
3689
- * @param object $group BuddyPress group object
3690
  */
3691
- return bp_get_button( apply_filters( 'bp_get_group_join_button', $button, $group ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3692
  }
3693
 
3694
  /**
@@ -3783,7 +3819,7 @@ function bp_group_create_nav_item() {
3783
  */
3784
  function bp_group_backcompat_create_nav_item() {
3785
  // Bail if the Groups nav item is already used by bp-legacy.
3786
- if ( has_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 ) ) {
3787
  return;
3788
  }
3789
 
3360
  $group =& $groups_template->group;
3361
  }
3362
 
3363
+ $user_domain = bp_loggedin_user_domain();
3364
+ if ( bp_is_user() ) {
3365
+ $user_domain = bp_displayed_user_domain();
3366
+ }
3367
 
3368
  /**
3369
  * Filters the URL for accepting an invitation to a group.
3374
  * @param string $value URL for accepting an invitation to a group.
3375
  * @param object $group Group object.
3376
  */
3377
+ return apply_filters( 'bp_get_group_accept_invite_link', wp_nonce_url( trailingslashit( $user_domain . bp_get_groups_slug() . '/invites/accept/' . $group->id ), 'groups_accept_invite' ), $group );
3378
  }
3379
 
3380
  /**
3401
  $group =& $groups_template->group;
3402
  }
3403
 
3404
+ $user_domain = bp_loggedin_user_domain();
3405
+ if ( bp_is_user() ) {
3406
+ $user_domain = bp_displayed_user_domain();
3407
+ }
3408
 
3409
  /**
3410
  * Filters the URL for rejecting an invitation to a group.
3415
  * @param string $value URL for rejecting an invitation to a group.
3416
  * @param object $group Group object.
3417
  */
3418
+ return apply_filters( 'bp_get_group_reject_invite_link', wp_nonce_url( trailingslashit( $user_domain . bp_get_groups_slug() . '/invites/reject/' . $group->id ), 'groups_reject_invite' ), $group );
3419
  }
3420
 
3421
  /**
3563
  function bp_group_join_button( $group = false ) {
3564
  echo bp_get_group_join_button( $group );
3565
  }
3566
+
3567
  /**
3568
+ * Get the arguments for the Join button group
3569
  *
3570
+ * @since 11.0.0
3571
  *
3572
+ * @param BP_Groups_Group $group The group object.
3573
+ * @return Array The arguments for the Join button group
3574
  */
3575
+ function bp_groups_get_group_join_button_args( $group = null ) {
3576
+ $button_args = array();
3577
 
3578
+ if ( empty( $group->id ) ) {
3579
+ return $button_args;
 
3580
  }
3581
 
3582
  // Don't show button if not logged in or previously banned.
3583
  if ( ! is_user_logged_in() || bp_group_is_user_banned( $group ) ) {
3584
+ return $button_args;
3585
  }
3586
 
3587
  // Group creation was not completed or status is unknown.
3588
  if ( empty( $group->status ) ) {
3589
+ return $button_args;
3590
  }
3591
 
3592
  // Already a member.
3595
  // Stop sole admins from abandoning their group.
3596
  $group_admins = groups_get_group_admins( $group->id );
3597
  if ( ( 1 == count( $group_admins ) ) && ( bp_loggedin_user_id() === (int) $group_admins[0]->user_id ) ) {
3598
+ return $button_args;
3599
  }
3600
 
3601
  // Setup button attributes.
3602
+ $button_args = array(
3603
  'id' => 'leave_group',
3604
  'component' => 'groups',
3605
  'must_be_logged_in' => true,
3608
  'wrapper_id' => 'groupbutton-' . $group->id,
3609
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'leave-group' ), 'groups_leave_group' ),
3610
  'link_text' => __( 'Leave Group', 'buddypress' ),
3611
+ 'link_title' => __( 'Leave Group', 'buddypress' ),
3612
  'link_class' => 'group-button leave-group',
3613
  );
3614
 
3618
  // Show different buttons based on group status.
3619
  switch ( $group->status ) {
3620
  case 'hidden' :
3621
+ return $button_args;
3622
 
3623
  case 'public':
3624
+ $button_args = array(
3625
  'id' => 'join_group',
3626
  'component' => 'groups',
3627
  'must_be_logged_in' => true,
3630
  'wrapper_id' => 'groupbutton-' . $group->id,
3631
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'join' ), 'groups_join_group' ),
3632
  'link_text' => __( 'Join Group', 'buddypress' ),
3633
+ 'link_title' => __( 'Join Group', 'buddypress' ),
3634
  'link_class' => 'group-button join-group',
3635
  );
3636
  break;
3640
  // Member has outstanding invitation -
3641
  // show an "Accept Invitation" button.
3642
  if ( $group->is_invited ) {
3643
+ $button_args = array(
3644
  'id' => 'accept_invite',
3645
  'component' => 'groups',
3646
  'must_be_logged_in' => true,
3649
  'wrapper_id' => 'groupbutton-' . $group->id,
3650
  'link_href' => add_query_arg( 'redirect_to', bp_get_group_permalink( $group ), bp_get_group_accept_invite_link( $group ) ),
3651
  'link_text' => __( 'Accept Invitation', 'buddypress' ),
3652
+ 'link_title' => __( 'Accept Invitation', 'buddypress' ),
3653
  'link_class' => 'group-button accept-invite',
3654
  );
3655
 
3656
  // Member has requested membership but request is pending -
3657
  // show a "Request Sent" button.
3658
  } elseif ( $group->is_pending ) {
3659
+ $button_args = array(
3660
  'id' => 'membership_requested',
3661
  'component' => 'groups',
3662
  'must_be_logged_in' => true,
3665
  'wrapper_id' => 'groupbutton-' . $group->id,
3666
  'link_href' => bp_get_group_permalink( $group ),
3667
  'link_text' => __( 'Request Sent', 'buddypress' ),
3668
+ 'link_title' => __( 'Request Sent', 'buddypress' ),
3669
  'link_class' => 'group-button pending membership-requested',
3670
  );
3671
 
3672
  // Member has not requested membership yet -
3673
  // show a "Request Membership" button.
3674
  } else {
3675
+ $button_args = array(
3676
  'id' => 'request_membership',
3677
  'component' => 'groups',
3678
  'must_be_logged_in' => true,
3681
  'wrapper_id' => 'groupbutton-' . $group->id,
3682
  'link_href' => wp_nonce_url( trailingslashit( bp_get_group_permalink( $group ) . 'request-membership' ), 'groups_request_membership' ),
3683
  'link_text' => __( 'Request Membership', 'buddypress' ),
3684
+ 'link_title' => __( 'Request Membership', 'buddypress' ),
3685
  'link_class' => 'group-button request-membership',
3686
  );
3687
  }
3691
  }
3692
 
3693
  /**
3694
+ * Filters the arguments of the button for joining a group.
3695
  *
3696
  * @since 1.2.6
3697
  * @since 2.4.0 Added $group parameter to filter args.
3698
  *
3699
+ * @param array $button_args The arguments for the button.
3700
+ * @param object $group BuddyPress group object
3701
  */
3702
+ return apply_filters( 'bp_get_group_join_button', $button_args, $group );
3703
+ }
3704
+ /**
3705
+ * Return button to join a group.
3706
+ *
3707
+ * @since 1.0.0
3708
+ * @since 11.0.0 uses `bp_groups_get_group_join_button_args()`.
3709
+ *
3710
+ * @param object|bool $group Single group object.
3711
+ * @return false|string
3712
+ */
3713
+ function bp_get_group_join_button( $group = false ) {
3714
+ global $groups_template;
3715
+
3716
+ // Set group to current loop group if none passed.
3717
+ if ( empty( $group ) ) {
3718
+ $group =& $groups_template->group;
3719
+ }
3720
+
3721
+ $button_args = bp_groups_get_group_join_button_args( $group );
3722
+
3723
+ if ( ! array_filter( $button_args ) ) {
3724
+ return false;
3725
+ }
3726
+
3727
+ return bp_get_button( $button_args );
3728
  }
3729
 
3730
  /**
3819
  */
3820
  function bp_group_backcompat_create_nav_item() {
3821
  // Bail if the Groups nav item is already used by bp-legacy.
3822
+ if ( has_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav' ) ) {
3823
  return;
3824
  }
3825
 
bp-groups/classes/class-bp-group-member-query.php CHANGED
@@ -547,6 +547,7 @@ class BP_Group_Member_Query extends BP_User_Query {
547
  * If a `count` query is performed, the function is used to validate active users.
548
  *
549
  * @since 10.3.0
 
550
  */
551
  public function populate_extras() {
552
  if ( ! $this->query_vars_raw['count'] ) {
@@ -554,9 +555,13 @@ class BP_Group_Member_Query extends BP_User_Query {
554
  }
555
 
556
  // Validate active users.
557
- $active_users = array_filter( BP_Core_User::get_last_activity( $this->user_ids ) );
558
- $active_user_ids = array_keys( $active_users );
559
- $this->results = array_intersect( $this->user_ids, $active_user_ids );
 
 
 
 
560
 
561
  // Set the total active users.
562
  $this->total_users = count( $this->results );
547
  * If a `count` query is performed, the function is used to validate active users.
548
  *
549
  * @since 10.3.0
550
+ * @since 11.0.0 Include inactive users added by a community administrators to the group members count.
551
  */
552
  public function populate_extras() {
553
  if ( ! $this->query_vars_raw['count'] ) {
555
  }
556
 
557
  // Validate active users.
558
+ if ( ! bp_current_user_can( 'bp_moderate' ) ) {
559
+ $active_users = array_filter( BP_Core_User::get_last_activity( $this->user_ids ) );
560
+ $active_user_ids = array_keys( $active_users );
561
+ $this->results = array_intersect( $this->user_ids, $active_user_ids );
562
+ } else {
563
+ $this->results = $this->user_ids;
564
+ }
565
 
566
  // Set the total active users.
567
  $this->total_users = count( $this->results );
bp-groups/classes/class-bp-groups-component.php CHANGED
@@ -962,14 +962,19 @@ class BP_Groups_Component extends BP_Component {
962
  public function setup_cache_groups() {
963
 
964
  // Global groups.
965
- wp_cache_add_global_groups( array(
966
- 'bp_groups',
967
- 'bp_group_admins',
968
- 'bp_group_invite_count',
969
- 'group_meta',
970
- 'bp_groups_memberships',
971
- 'bp_groups_memberships_for_user',
972
- ) );
 
 
 
 
 
973
 
974
  parent::setup_cache_groups();
975
  }
962
  public function setup_cache_groups() {
963
 
964
  // Global groups.
965
+ wp_cache_add_global_groups(
966
+ array(
967
+ 'bp_groups',
968
+ 'bp_group_admins',
969
+ 'bp_group_invite_count',
970
+ 'group_meta',
971
+ 'bp_groups_memberships',
972
+ 'bp_groups_memberships_for_user',
973
+ 'bp_group_mods',
974
+ 'bp_groups_invitations_as_memberships',
975
+ 'bp_groups_group_type',
976
+ )
977
+ );
978
 
979
  parent::setup_cache_groups();
980
  }
bp-groups/classes/class-bp-groups-group.php CHANGED
@@ -394,11 +394,14 @@ class BP_Groups_Group {
394
  groups_delete_groupmeta( $this->id );
395
 
396
  // Fetch the user IDs of all the members of the group.
397
- $user_ids = BP_Groups_Member::get_group_member_ids( $this->id );
398
- $user_id_str = esc_sql( implode( ',', wp_parse_id_list( $user_ids ) ) );
399
 
400
- // Modify group count usermeta for members.
401
- $wpdb->query( "UPDATE {$wpdb->usermeta} SET meta_value = meta_value - 1 WHERE meta_key = 'total_group_count' AND user_id IN ( {$user_id_str} )" );
 
 
 
 
402
 
403
  // Now delete all group member entries.
404
  BP_Groups_Member::delete_all( $this->id );
@@ -418,8 +421,9 @@ class BP_Groups_Group {
418
  $bp = buddypress();
419
 
420
  // Finally remove the group entry from the DB.
421
- if ( !$wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->groups->table_name} WHERE id = %d", $this->id ) ) )
422
  return false;
 
423
 
424
  return true;
425
  }
394
  groups_delete_groupmeta( $this->id );
395
 
396
  // Fetch the user IDs of all the members of the group.
397
+ $user_ids = BP_Groups_Member::get_group_member_ids( $this->id );
 
398
 
399
+ if ( $user_ids ) {
400
+ $user_id_str = esc_sql( implode( ',', wp_parse_id_list( $user_ids ) ) );
401
+
402
+ // Modify group count usermeta for members.
403
+ $wpdb->query( "UPDATE {$wpdb->usermeta} SET meta_value = meta_value - 1 WHERE meta_key = 'total_group_count' AND user_id IN ( {$user_id_str} )" );
404
+ }
405
 
406
  // Now delete all group member entries.
407
  BP_Groups_Member::delete_all( $this->id );
421
  $bp = buddypress();
422
 
423
  // Finally remove the group entry from the DB.
424
+ if ( ! $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->groups->table_name} WHERE id = %d", $this->id ) ) ) {
425
  return false;
426
+ }
427
 
428
  return true;
429
  }
bp-groups/classes/class-bp-rest-group-invites-endpoint.php CHANGED
@@ -12,7 +12,7 @@ defined( 'ABSPATH' ) || exit;
12
  * Group Invites endpoints.
13
  *
14
  * Use /groups/{group_id}/invites
15
- * Use /groups/{group_id}/invites/{user_id}
16
  *
17
  * @since 5.0.0
18
  */
@@ -81,11 +81,7 @@ class BP_REST_Group_Invites_Endpoint extends WP_REST_Controller {
81
  'callback' => array( $this, 'get_item' ),
82
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
83
  'args' => array(
84
- 'context' => $this->get_context_param(
85
- array(
86
- 'default' => 'view',
87
- )
88
- ),
89
  ),
90
  ),
91
  array(
@@ -825,7 +821,7 @@ class BP_REST_Group_Invites_Endpoint extends WP_REST_Controller {
825
  * @since 5.0.0
826
  *
827
  * @param BP_Invitation $invite Invite object.
828
- * @return array Links for the given plugin.
829
  */
830
  protected function prepare_links( $invite ) {
831
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
12
  * Group Invites endpoints.
13
  *
14
  * Use /groups/{group_id}/invites
15
+ * Use /groups/{group_id}/invites/{invite_id}
16
  *
17
  * @since 5.0.0
18
  */
81
  'callback' => array( $this, 'get_item' ),
82
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
83
  'args' => array(
84
+ 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
 
 
 
 
85
  ),
86
  ),
87
  array(
821
  * @since 5.0.0
822
  *
823
  * @param BP_Invitation $invite Invite object.
824
+ * @return array
825
  */
826
  protected function prepare_links( $invite ) {
827
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
bp-groups/classes/class-bp-rest-group-membership-request-endpoint.php CHANGED
@@ -13,7 +13,6 @@ defined( 'ABSPATH' ) || exit;
13
  *
14
  * Use /groups/{group_id}/membership-request
15
  * Use /groups/membership-request/{request_id}
16
- * Use /groups/{group_id}/membership-request/{user_id}
17
  *
18
  * @since 5.0.0
19
  */
@@ -91,11 +90,7 @@ class BP_REST_Group_Membership_Request_Endpoint extends WP_REST_Controller {
91
  'callback' => array( $this, 'get_item' ),
92
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
93
  'args' => array(
94
- 'context' => $this->get_context_param(
95
- array(
96
- 'default' => 'view',
97
- )
98
- ),
99
  ),
100
  ),
101
  array(
@@ -760,7 +755,7 @@ class BP_REST_Group_Membership_Request_Endpoint extends WP_REST_Controller {
760
  * @since 5.0.0
761
  *
762
  * @param BP_Invitation $invite Invite object.
763
- * @return array Links for the given plugin.
764
  */
765
  protected function prepare_links( $invite ) {
766
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
13
  *
14
  * Use /groups/{group_id}/membership-request
15
  * Use /groups/membership-request/{request_id}
 
16
  *
17
  * @since 5.0.0
18
  */
90
  'callback' => array( $this, 'get_item' ),
91
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
92
  'args' => array(
93
+ 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
 
 
 
 
94
  ),
95
  ),
96
  array(
755
  * @since 5.0.0
756
  *
757
  * @param BP_Invitation $invite Invite object.
758
+ * @return array
759
  */
760
  protected function prepare_links( $invite ) {
761
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
bp-groups/classes/class-bp-rest-groups-endpoint.php CHANGED
@@ -66,11 +66,7 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
66
  'callback' => array( $this, 'get_item' ),
67
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
68
  'args' => array(
69
- 'context' => $this->get_context_param(
70
- array(
71
- 'default' => 'view',
72
- )
73
- ),
74
  'populate_extras' => array(
75
  'description' => __( 'Whether to fetch extra BP data about the returned group.', 'buddypress' ),
76
  'context' => array( 'view', 'edit' ),
@@ -737,7 +733,7 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
737
  'types' => bp_groups_get_group_type( $item->id, false ),
738
  'admins' => array(),
739
  'mods' => array(),
740
- 'total_member_count' => null,
741
  'last_activity' => null,
742
  'last_activity_diff' => null,
743
  );
@@ -951,9 +947,7 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
951
  * @return array
952
  */
953
  protected function prepare_links( $group ) {
954
- $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
955
-
956
- // Entity meta.
957
  $links = array(
958
  'self' => array(
959
  'href' => rest_url( $base . $group->id ),
@@ -979,13 +973,74 @@ class BP_REST_Groups_Endpoint extends WP_REST_Controller {
979
  );
980
  }
981
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
982
  /**
983
  * Filter links prepared for the REST response.
984
  *
985
  * @since 5.0.0
986
  *
987
- * @param array $links The prepared links of the REST response.
988
- * @param BP_Groups_Group $group Group object.
989
  */
990
  return apply_filters( 'bp_rest_groups_prepare_links', $links, $group );
991
  }
66
  'callback' => array( $this, 'get_item' ),
67
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
68
  'args' => array(
69
+ 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
 
 
 
 
70
  'populate_extras' => array(
71
  'description' => __( 'Whether to fetch extra BP data about the returned group.', 'buddypress' ),
72
  'context' => array( 'view', 'edit' ),
733
  'types' => bp_groups_get_group_type( $item->id, false ),
734
  'admins' => array(),
735
  'mods' => array(),
736
+ 'total_member_count' => 0,
737
  'last_activity' => null,
738
  'last_activity_diff' => null,
739
  );
947
  * @return array
948
  */
949
  protected function prepare_links( $group ) {
950
+ $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
 
 
951
  $links = array(
952
  'self' => array(
953
  'href' => rest_url( $base . $group->id ),
973
  );
974
  }
975
 
976
+ // Actions.
977
+
978
+ $user_id = bp_loggedin_user_id();
979
+
980
+ if ( is_user_logged_in() && false === bp_group_is_user_banned( $group->id, $user_id ) ) {
981
+ $membership_namespace = "{$this->rest_base}/membership-requests";
982
+ $request_id = groups_check_for_membership_request( $user_id, $group->id );
983
+ $is_group_member = wp_validate_boolean( $group->is_member );
984
+
985
+ switch ( true ) {
986
+ // The logged in user is not a member of a private group, action to: request a membership.
987
+ case 'private' === $group->status && false === $is_group_member:
988
+ $links['bp-action-group-membership-request-membership'] = array(
989
+ 'href' => rest_url( sprintf( '/%1$s/%2$s/', $this->namespace, $membership_namespace ) ),
990
+ 'group_id' => $group->id,
991
+ 'user_id' => $user_id,
992
+ );
993
+ break;
994
+
995
+ // The logged in user already requested a membership to the group, action to: withdraw the request.
996
+ case is_numeric( $request_id ):
997
+ $links['bp-action-group-membership-withdraw-request'] = array(
998
+ 'href' => bp_rest_get_object_url( $request_id, $membership_namespace ),
999
+ );
1000
+ break;
1001
+
1002
+ // The logged in user is a member of the group, action to: leave.
1003
+ case true === $is_group_member:
1004
+ $links['bp-action-group-leave'] = array(
1005
+ 'href' => bp_rest_get_object_url( $user_id, "{$this->rest_base}/{$group->id}/members" ),
1006
+ );
1007
+ break;
1008
+
1009
+ // The logged in user is not a member of a public group, action to: join.
1010
+ case 'public' === $group->status && false === $is_group_member:
1011
+ $links['bp-action-group-join'] = array(
1012
+ 'href' => rest_url( sprintf( '/%1$s/%2$s/', $this->namespace, "{$this->rest_base}/{$group->id}/members" ) ),
1013
+ 'group_id' => $group->id,
1014
+ 'user_id' => $user_id,
1015
+ );
1016
+ break;
1017
+
1018
+ // The logged in user is invited to join the group, actions to: accept and reject invite.
1019
+ case true === $group->is_invited:
1020
+ $invites_class = new BP_Groups_Invitation_Manager();
1021
+ $ids = $invites_class->get_invitations(
1022
+ array(
1023
+ 'user_id' => $user_id,
1024
+ 'item_id' => $group->id,
1025
+ 'fields' => 'ids',
1026
+ )
1027
+ );
1028
+
1029
+ $invite_action = array( 'href' => bp_rest_get_object_url( $ids[0], "{$this->rest_base}/{$group->id}/invites" ) );
1030
+
1031
+ $links['bp-action-group-accept-invite'] = $invite_action;
1032
+ $links['bp-action-group-reject-invite'] = $invite_action;
1033
+ break;
1034
+ }
1035
+ }
1036
+
1037
  /**
1038
  * Filter links prepared for the REST response.
1039
  *
1040
  * @since 5.0.0
1041
  *
1042
+ * @param array $links The prepared links of the REST response.
1043
+ * @param BP_Groups_Group $group Group object.
1044
  */
1045
  return apply_filters( 'bp_rest_groups_prepare_links', $links, $group );
1046
  }
bp-groups/screens/user/invites.php CHANGED
@@ -13,7 +13,7 @@
13
  * @since 1.0.0
14
  */
15
  function groups_screen_group_invites() {
16
- $group_id = (int)bp_action_variable( 1 );
17
 
18
  if ( bp_is_action_variable( 'accept' ) && is_numeric( $group_id ) ) {
19
  // Check the nonce.
@@ -21,7 +21,7 @@ function groups_screen_group_invites() {
21
  return false;
22
  }
23
 
24
- if ( !groups_accept_invite( bp_loggedin_user_id(), $group_id ) ) {
25
  bp_core_add_message( __('Group invite could not be accepted', 'buddypress'), 'error' );
26
  } else {
27
  // Record this in activity streams.
@@ -41,7 +41,7 @@ function groups_screen_group_invites() {
41
  if ( isset( $_GET['redirect_to'] ) ) {
42
  $redirect_to = urldecode( $_GET['redirect_to'] );
43
  } else {
44
- $redirect_to = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() );
45
  }
46
 
47
  bp_core_redirect( $redirect_to );
@@ -51,7 +51,7 @@ function groups_screen_group_invites() {
51
  if ( !check_admin_referer( 'groups_reject_invite' ) )
52
  return false;
53
 
54
- if ( !groups_reject_invite( bp_loggedin_user_id(), $group_id ) ) {
55
  bp_core_add_message( __( 'Group invite could not be rejected', 'buddypress' ), 'error' );
56
  } else {
57
  bp_core_add_message( __( 'Group invite rejected', 'buddypress' ) );
@@ -60,7 +60,7 @@ function groups_screen_group_invites() {
60
  if ( isset( $_GET['redirect_to'] ) ) {
61
  $redirect_to = urldecode( $_GET['redirect_to'] );
62
  } else {
63
- $redirect_to = trailingslashit( bp_loggedin_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() );
64
  }
65
 
66
  bp_core_redirect( $redirect_to );
13
  * @since 1.0.0
14
  */
15
  function groups_screen_group_invites() {
16
+ $group_id = (int) bp_action_variable( 1 );
17
 
18
  if ( bp_is_action_variable( 'accept' ) && is_numeric( $group_id ) ) {
19
  // Check the nonce.
21
  return false;
22
  }
23
 
24
+ if ( ! groups_accept_invite( bp_displayed_user_id(), $group_id ) ) {
25
  bp_core_add_message( __('Group invite could not be accepted', 'buddypress'), 'error' );
26
  } else {
27
  // Record this in activity streams.
41
  if ( isset( $_GET['redirect_to'] ) ) {
42
  $redirect_to = urldecode( $_GET['redirect_to'] );
43
  } else {
44
+ $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() );
45
  }
46
 
47
  bp_core_redirect( $redirect_to );
51
  if ( !check_admin_referer( 'groups_reject_invite' ) )
52
  return false;
53
 
54
+ if ( ! groups_reject_invite( bp_displayed_user_id(), $group_id ) ) {
55
  bp_core_add_message( __( 'Group invite could not be rejected', 'buddypress' ), 'error' );
56
  } else {
57
  bp_core_add_message( __( 'Group invite rejected', 'buddypress' ) );
60
  if ( isset( $_GET['redirect_to'] ) ) {
61
  $redirect_to = urldecode( $_GET['redirect_to'] );
62
  } else {
63
+ $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_groups_slug() . '/' . bp_current_action() );
64
  }
65
 
66
  bp_core_redirect( $redirect_to );
bp-loader.php CHANGED
@@ -10,15 +10,18 @@
10
  */
11
 
12
  /**
13
- * Plugin Name: BuddyPress
14
- * Plugin URI: https://buddypress.org/
15
- * Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
- * Author: The BuddyPress Community
17
- * Author URI: https://buddypress.org/
18
- * Version: 10.6.0
19
- * Text Domain: buddypress
20
- * Domain Path: /bp-languages/
21
- * License: GPLv2 or later (license.txt)
 
 
 
22
  */
23
 
24
  /**
10
  */
11
 
12
  /**
13
+ * Plugin Name: BuddyPress
14
+ * Plugin URI: https://buddypress.org
15
+ * Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
+ * Author: The BuddyPress Community
17
+ * Author URI: https://buddypress.org
18
+ * License: GNU General Public License v2 or later
19
+ * License URI: https://www.gnu.org/licenses/gpl-2.0.html
20
+ * Text Domain: buddypress
21
+ * Domain Path: /bp-languages/
22
+ * Requires PHP: 5.6
23
+ * Requires at least: 5.7
24
+ * Version: 11.0.0-beta1
25
  */
26
 
27
  /**
bp-members/bp-members-blocks.php CHANGED
@@ -526,7 +526,7 @@ function bp_members_render_dynamic_members_block( $attributes = array() ) {
526
  );
527
 
528
  // Only enqueue common/specific scripts and data once per page load.
529
- if ( ! has_action( 'wp_footer', 'bp_members_blocks_add_script_data', 1 ) ) {
530
  wp_set_script_translations( 'bp-dynamic-members-script', 'buddypress' );
531
  wp_enqueue_script( 'bp-dynamic-members-script' );
532
 
526
  );
527
 
528
  // Only enqueue common/specific scripts and data once per page load.
529
+ if ( ! has_action( 'wp_footer', 'bp_members_blocks_add_script_data' ) ) {
530
  wp_set_script_translations( 'bp-dynamic-members-script', 'buddypress' );
531
  wp_enqueue_script( 'bp-dynamic-members-script' );
532
 
bp-members/bp-members-functions.php CHANGED
@@ -537,7 +537,7 @@ function bp_core_get_userlink_by_email( $email ) {
537
  *
538
  * @param string|bool $value URL for the user if found, otherwise false.
539
  */
540
- return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false, true ) );
541
  }
542
 
543
  /**
@@ -564,7 +564,7 @@ function bp_core_get_userlink_by_username( $username ) {
564
  *
565
  * @param string|bool $value URL for the user if found, otherwise false.
566
  */
567
- return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false, true ) );
568
  }
569
 
570
  /**
@@ -3009,7 +3009,7 @@ function bp_get_member_types( $args = array(), $output = 'names', $operator = 'a
3009
  $types = bp_get_taxonomy_types( bp_get_member_type_tax_name(), $types );
3010
  }
3011
 
3012
- $types = wp_filter_object_list( $types, $args, $operator );
3013
 
3014
  /**
3015
  * Filters the array of member type objects.
@@ -3023,9 +3023,9 @@ function bp_get_member_types( $args = array(), $output = 'names', $operator = 'a
3023
  * @param array $args Array of key=>value arguments for filtering.
3024
  * @param string $operator 'or' to match any of $args, 'and' to require all.
3025
  */
3026
- $types = apply_filters( 'bp_get_member_types', $types, $args, $operator );
3027
 
3028
- if ( 'names' === $output ) {
3029
  $types = wp_list_pluck( $types, 'name' );
3030
  }
3031
 
@@ -3268,6 +3268,11 @@ function bp_has_member_type( $user_id, $member_type ) {
3268
  return false;
3269
  }
3270
 
 
 
 
 
 
3271
  // Get all user's member types.
3272
  $types = bp_get_member_type( $user_id, false );
3273
 
537
  *
538
  * @param string|bool $value URL for the user if found, otherwise false.
539
  */
540
+ return apply_filters( 'bp_core_get_userlink_by_email', bp_core_get_userlink( $user->ID, false, false ) );
541
  }
542
 
543
  /**
564
  *
565
  * @param string|bool $value URL for the user if found, otherwise false.
566
  */
567
+ return apply_filters( 'bp_core_get_userlink_by_username', bp_core_get_userlink( $user_id, false, false ) );
568
  }
569
 
570
  /**
3009
  $types = bp_get_taxonomy_types( bp_get_member_type_tax_name(), $types );
3010
  }
3011
 
3012
+ $types = array_filter( wp_filter_object_list( $types, $args, $operator ) );
3013
 
3014
  /**
3015
  * Filters the array of member type objects.
3023
  * @param array $args Array of key=>value arguments for filtering.
3024
  * @param string $operator 'or' to match any of $args, 'and' to require all.
3025
  */
3026
+ $types = (array) apply_filters( 'bp_get_member_types', $types, $args, $operator );
3027
 
3028
+ if ( $types && 'names' === $output ) {
3029
  $types = wp_list_pluck( $types, 'name' );
3030
  }
3031
 
3268
  return false;
3269
  }
3270
 
3271
+ $user_id = (int) $user_id;
3272
+ if ( ! $user_id ) {
3273
+ return false;
3274
+ }
3275
+
3276
  // Get all user's member types.
3277
  $types = bp_get_member_type( $user_id, false );
3278
 
bp-members/bp-members-invitations.php CHANGED
@@ -105,25 +105,19 @@ add_filter( 'bp_core_signup_send_activation_key', 'bp_members_invitations_cancel
105
  function bp_members_invitations_complete_signup( $user_id ) {
106
  $bp = buddypress();
107
 
108
- if ( ! $user_id ) {
109
- return;
110
- }
111
-
112
  // Check to see if this signup is the result of a valid invitation.
113
  $invite = bp_get_members_invitation_from_request();
114
  if ( ! $invite->id ) {
115
  return;
116
  }
117
 
118
- // Accept the invitation.
119
- $invites_class = new BP_Members_Invitation_Manager();
120
- $args = array(
121
- 'id' => $invite->id,
122
- );
123
- $invites_class->accept_invitation( $args );
124
-
125
  // User has already verified their email by responding to the invitation, so we can activate.
126
- $key = bp_get_user_meta( $user_id, 'activation_key', true );
 
 
 
 
 
127
  if ( $key ) {
128
  $redirect = bp_get_activation_page();
129
 
@@ -137,6 +131,13 @@ function bp_members_invitations_complete_signup( $user_id ) {
137
  */
138
  $user = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $key ) );
139
 
 
 
 
 
 
 
 
140
  // If there were errors, add a message and redirect.
141
  if ( ! empty( $user->errors ) ) {
142
  /**
105
  function bp_members_invitations_complete_signup( $user_id ) {
106
  $bp = buddypress();
107
 
 
 
 
 
108
  // Check to see if this signup is the result of a valid invitation.
109
  $invite = bp_get_members_invitation_from_request();
110
  if ( ! $invite->id ) {
111
  return;
112
  }
113
 
 
 
 
 
 
 
 
114
  // User has already verified their email by responding to the invitation, so we can activate.
115
+ $signup = bp_members_get_signup_by( 'user_email', $invite->invitee_email );
116
+ $key = false;
117
+ if ( ! empty( $signup->activation_key ) ) {
118
+ $key = $signup->activation_key;
119
+ }
120
+
121
  if ( $key ) {
122
  $redirect = bp_get_activation_page();
123
 
131
  */
132
  $user = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $key ) );
133
 
134
+ // Accept the invitation now that the user has been created.
135
+ $invites_class = new BP_Members_Invitation_Manager();
136
+ $args = array(
137
+ 'id' => $invite->id,
138
+ );
139
+ $invites_class->accept_invitation( $args );
140
+
141
  // If there were errors, add a message and redirect.
142
  if ( ! empty( $user->errors ) ) {
143
  /**
bp-members/classes/class-bp-members-component.php CHANGED
@@ -724,7 +724,7 @@ class BP_Members_Component extends BP_Component {
724
  // Global groups.
725
  wp_cache_add_global_groups( array(
726
  'bp_last_activity',
727
- 'bp_member_type'
728
  ) );
729
 
730
  parent::setup_cache_groups();
724
  // Global groups.
725
  wp_cache_add_global_groups( array(
726
  'bp_last_activity',
727
+ 'bp_member_member_type',
728
  ) );
729
 
730
  parent::setup_cache_groups();
bp-members/classes/class-bp-members-invitation-manager.php CHANGED
@@ -72,7 +72,7 @@ class BP_Members_Invitation_Manager extends BP_Invitation_Manager {
72
 
73
  $args = array(
74
  'tokens' => array(
75
- 'inviter.name' => bp_core_get_userlink( $invitation->inviter_id, true, false, true ),
76
  'inviter.url' => bp_core_get_user_domain( $invitation->inviter_id ),
77
  'inviter.id' => $invitation->inviter_id,
78
  'invite.accept_url' => esc_url( $invite_url ),
72
 
73
  $args = array(
74
  'tokens' => array(
75
+ 'inviter.name' => bp_core_get_userlink( $invitation->inviter_id, true, false ),
76
  'inviter.url' => bp_core_get_user_domain( $invitation->inviter_id ),
77
  'inviter.id' => $invitation->inviter_id,
78
  'invite.accept_url' => esc_url( $invite_url ),
bp-members/classes/class-bp-rest-members-endpoint.php CHANGED
@@ -11,6 +11,9 @@ defined( 'ABSPATH' ) || exit;
11
  /**
12
  * BuddyPress Members endpoints.
13
  *
 
 
 
14
  * @since 5.0.0
15
  */
16
  class BP_REST_Members_Endpoint extends WP_REST_Users_Controller {
@@ -460,7 +463,7 @@ class BP_REST_Members_Endpoint extends WP_REST_Users_Controller {
460
  $data = $this->filter_response_by_context( $data, $context );
461
  $response = rest_ensure_response( $data );
462
 
463
- $response->add_links( $this->prepare_links( $user ) );
464
 
465
  // Update current user's last activity.
466
  if ( strpos( $request->get_route(), 'members/me' ) !== false && get_current_user_id() === $user->ID ) {
@@ -479,13 +482,89 @@ class BP_REST_Members_Endpoint extends WP_REST_Users_Controller {
479
  return apply_filters( 'bp_rest_members_prepare_value', $response, $request, $user );
480
  }
481
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
482
  /**
483
  * Method to facilitate fetching of user data.
484
  *
485
  * This was abstracted to be used in other BuddyPress endpoints.
486
  *
487
  * @since 5.0.0
488
- * @since 7.0.0 Add the $request parameter.
489
  *
490
  * @param WP_User $user User object.
491
  * @param string $context The context of the request. Defaults to 'view'.
@@ -864,7 +943,7 @@ class BP_REST_Members_Endpoint extends WP_REST_Users_Controller {
864
  'name' => array(
865
  'description' => __( 'Display name for the member.', 'buddypress' ),
866
  'type' => 'string',
867
- 'context' => array( 'view', 'edit' ),
868
  'arg_options' => array(
869
  'sanitize_callback' => 'sanitize_text_field',
870
  ),
11
  /**
12
  * BuddyPress Members endpoints.
13
  *
14
+ * /members/
15
+ * /members/{id}
16
+ *
17
  * @since 5.0.0
18
  */
19
  class BP_REST_Members_Endpoint extends WP_REST_Users_Controller {
463
  $data = $this->filter_response_by_context( $data, $context );
464
  $response = rest_ensure_response( $data );
465
 
466
+ $response->add_links( $this->prepare_links( $user, $data ) );
467
 
468
  // Update current user's last activity.
469
  if ( strpos( $request->get_route(), 'members/me' ) !== false && get_current_user_id() === $user->ID ) {
482
  return apply_filters( 'bp_rest_members_prepare_value', $response, $request, $user );
483
  }
484
 
485
+ /**
486
+ * Prepares links for the user request.
487
+ *
488
+ * @since 11.0.0
489
+ *
490
+ * @param WP_User $user User object.
491
+ * @param array $user_data User data.
492
+ * @return array
493
+ */
494
+ protected function prepare_links( $user, $user_data = array() ) {
495
+ $base = sprintf( '/%1$s/%2$s/', $this->namespace, $this->rest_base );
496
+ $links = array(
497
+ 'self' => array(
498
+ 'href' => rest_url( $base . $user->ID ),
499
+ ),
500
+ 'collection' => array(
501
+ 'href' => rest_url( $base ),
502
+ ),
503
+ );
504
+
505
+ // Actions.
506
+
507
+ if ( is_user_logged_in() ) {
508
+ if ( bp_is_active( 'friends' ) ) {
509
+ $friends_component = buddypress()->friends->id;
510
+ $friends_action = array( 'href' => bp_rest_get_object_url( $user->ID, $friends_component ) );
511
+
512
+ switch ( $user_data['friendship_status_slug'] ) {
513
+ case 'not_friends':
514
+ $links['bp-action-add-friendship'] = array(
515
+ 'href' => rest_url( sprintf( '/%1$s/%2$s/', $this->namespace, $friends_component ) ),
516
+ 'initiator_id' => bp_loggedin_user_id(),
517
+ 'friend_id' => $user->ID,
518
+ );
519
+ break;
520
+
521
+ case 'is_friend':
522
+ $links['bp-action-delete-friendship'] = $friends_action;
523
+ break;
524
+
525
+ case 'pending':
526
+ $links['bp-action-cancel-friendship-request'] = $friends_action;
527
+ break;
528
+
529
+ case 'awaiting_response':
530
+ $links['bp-action-accept-friendship-request'] = $friends_action;
531
+ $links['bp-action-reject-friendship-request'] = $friends_action;
532
+ break;
533
+ }
534
+ }
535
+
536
+ if (
537
+ bp_is_active( 'messages' )
538
+ && (
539
+ true === wp_validate_boolean( $user_data['friendship_status'] )
540
+ || buddypress()->messages->autocomplete_all === true
541
+ )
542
+ ) {
543
+ $links['bp-action-create-thread'] = array(
544
+ 'href' => rest_url( sprintf( '/%1$s/%2$s/', $this->namespace, buddypress()->messages->id ) ),
545
+ 'user_id' => $user->ID,
546
+ );
547
+ }
548
+ }
549
+
550
+ /**
551
+ * Filter links prepared for the REST response.
552
+ *
553
+ * @since 11.0.0
554
+ *
555
+ * @param array $links The prepared links of the REST response.
556
+ * @param WP_User $user The User object.
557
+ */
558
+ return apply_filters( 'bp_rest_member_prepare_links', $links, $user );
559
+ }
560
+
561
  /**
562
  * Method to facilitate fetching of user data.
563
  *
564
  * This was abstracted to be used in other BuddyPress endpoints.
565
  *
566
  * @since 5.0.0
567
+ * @since 7.0.0 Add the `$request` parameter.
568
  *
569
  * @param WP_User $user User object.
570
  * @param string $context The context of the request. Defaults to 'view'.
943
  'name' => array(
944
  'description' => __( 'Display name for the member.', 'buddypress' ),
945
  'type' => 'string',
946
+ 'context' => array( 'view', 'edit', 'embed' ),
947
  'arg_options' => array(
948
  'sanitize_callback' => 'sanitize_text_field',
949
  ),
bp-members/classes/class-bp-rest-signup-endpoint.php CHANGED
@@ -70,11 +70,7 @@ class BP_REST_Signup_Endpoint extends WP_REST_Controller {
70
  'callback' => array( $this, 'get_item' ),
71
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
72
  'args' => array(
73
- 'context' => $this->get_context_param(
74
- array(
75
- 'default' => 'view',
76
- )
77
- ),
78
  ),
79
  ),
80
  array(
70
  'callback' => array( $this, 'get_item' ),
71
  'permission_callback' => array( $this, 'get_item_permissions_check' ),
72
  'args' => array(
73
+ 'context' => $this->get_context_param( array( 'default' => 'view' ) ),
 
 
 
 
74
  ),
75
  ),
76
  array(
bp-messages/bp-messages-template.php CHANGED
@@ -669,7 +669,7 @@ function bp_message_thread_total_and_unread_count( $thread_id = false ) {
669
  }
670
 
671
  $total = bp_get_message_thread_total_count( $thread_id );
672
- $unread = bp_get_message_thread_unread_count( $thread_id );
673
 
674
  return sprintf(
675
  /* translators: 1: total number, 2: accessibility text: number of unread messages */
@@ -1504,35 +1504,37 @@ function bp_send_private_message_button() {
1504
  * @since 1.2.0
1505
  * @since 3.0.0 Added `$args` parameter.
1506
  *
1507
- * @param array|string $args See {@link bp_get_send_message_button()}.
 
 
1508
  */
1509
  function bp_send_message_button( $args = '' ) {
1510
  echo bp_get_send_message_button( $args );
1511
  }
 
1512
  /**
1513
- * Generate the 'Private Message' button for member profile headers.
1514
  *
1515
- * @since 1.2.0
1516
- * @since 3.0.0 Added `$args` parameter.
1517
  *
1518
  * @param array|string $args {
1519
- * All arguments are optional. See {@link BP_Button} for complete
1520
- * descriptions.
1521
- * @type string $id Default: 'private_message'.
1522
- * @type string $component Default: 'messages'.
1523
- * @type bool $must_be_logged_in Default: true.
1524
- * @type bool $block_self Default: true.
1525
- * @type string $wrapper_id Default: 'send-private-message'.
1526
- * @type string $link_href Default: the private message link for
1527
- * the current member in the loop.
1528
- * @type string $link_text Default: 'Private Message'.
1529
- * @type string $link_class Default: 'send-message'.
 
1530
  * }
1531
- * @return string
1532
  */
1533
- function bp_get_send_message_button( $args = '' ) {
1534
-
1535
- $r = bp_parse_args(
1536
  $args,
1537
  array(
1538
  'id' => 'private_message',
@@ -1542,23 +1544,49 @@ function bp_send_message_button( $args = '' ) {
1542
  'wrapper_id' => 'send-private-message',
1543
  'link_href' => bp_get_send_private_message_link(),
1544
  'link_text' => __( 'Private Message', 'buddypress' ),
 
1545
  'link_class' => 'send-message',
1546
  )
1547
  );
1548
 
1549
- // Note: 'bp_get_send_message_button' is a legacy filter. Use
1550
- // 'bp_get_send_message_button_args' instead. See #4536.
1551
- return apply_filters( 'bp_get_send_message_button',
 
 
 
 
 
 
1552
 
1553
- /**
1554
- * Filters the "Private Message" button for member profile headers.
1555
- *
1556
- * @since 1.8.0
1557
- *
1558
- * @param array $value See {@link BP_Button}.
1559
- */
1560
- bp_get_button( apply_filters( 'bp_get_send_message_button_args', $r ) )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1561
  );
 
 
1562
  }
1563
 
1564
  /**
669
  }
670
 
671
  $total = bp_get_message_thread_total_count( $thread_id );
672
+ $unread = bp_get_message_thread_unread_count();
673
 
674
  return sprintf(
675
  /* translators: 1: total number, 2: accessibility text: number of unread messages */
1504
  * @since 1.2.0
1505
  * @since 3.0.0 Added `$args` parameter.
1506
  *
1507
+ * @see bp_get_send_message_button_args() for description of parameters.
1508
+ *
1509
+ * @param array|string $args See {@link bp_get_send_message_button_args()}.
1510
  */
1511
  function bp_send_message_button( $args = '' ) {
1512
  echo bp_get_send_message_button( $args );
1513
  }
1514
+
1515
  /**
1516
+ * Get the arguments for the private message button.
1517
  *
1518
+ * @since 11.0.0
 
1519
  *
1520
  * @param array|string $args {
1521
+ * All arguments are optional. See {@link BP_Button} for complete
1522
+ * descriptions.
1523
+ * @type string $id Default: 'private_message'.
1524
+ * @type string $component Default: 'messages'.
1525
+ * @type bool $must_be_logged_in Default: true.
1526
+ * @type bool $block_self Default: true.
1527
+ * @type string $wrapper_id Default: 'send-private-message'.
1528
+ * @type string $link_href Default: the private message link for
1529
+ * the current member in the loop.
1530
+ * @type string $link_title Default: 'Send a private message to this member.'.
1531
+ * @type string $link_text Default: 'Private Message'.
1532
+ * @type string $link_class Default: 'send-message'.
1533
  * }
1534
+ * @return array The arguments for the public message button.
1535
  */
1536
+ function bp_get_send_message_button_args( $args = '' ) {
1537
+ $button_args = bp_parse_args(
 
1538
  $args,
1539
  array(
1540
  'id' => 'private_message',
1544
  'wrapper_id' => 'send-private-message',
1545
  'link_href' => bp_get_send_private_message_link(),
1546
  'link_text' => __( 'Private Message', 'buddypress' ),
1547
+ 'link_title' => __( 'Send a private message to this member.', 'buddypress' ),
1548
  'link_class' => 'send-message',
1549
  )
1550
  );
1551
 
1552
+ /**
1553
+ * Filters the "Private Message" button for member profile headers.
1554
+ *
1555
+ * @since 1.8.0
1556
+ *
1557
+ * @param array $button_args See {@link BP_Button}.
1558
+ */
1559
+ return apply_filters( 'bp_get_send_message_button_args', $button_args );
1560
+ }
1561
 
1562
+ /**
1563
+ * Generate the 'Private Message' button for member profile headers.
1564
+ *
1565
+ * @since 1.2.0
1566
+ * @since 3.0.0 Added `$args` parameter.
1567
+ * @since 11.0.0 uses `bp_get_send_message_button_args()`.
1568
+ *
1569
+ * @see bp_get_send_message_button_args() for description of parameters.
1570
+ *
1571
+ * @param array|string $args See {@link bp_get_send_message_button_args()}.
1572
+ * @return string
1573
+ */
1574
+ function bp_get_send_message_button( $args = '' ) {
1575
+ $button_args = bp_get_send_message_button_args( $args );
1576
+
1577
+ if ( ! array_filter( $button_args ) ) {
1578
+ return '';
1579
+ }
1580
+
1581
+ /** This filter is documented in wp-includes/deprecated.php */
1582
+ $button = apply_filters_deprecated(
1583
+ 'bp_get_send_message_button',
1584
+ array( bp_get_button( $button_args ) ),
1585
+ '1.8.0',
1586
+ 'bp_get_send_message_button_args'
1587
  );
1588
+
1589
+ return $button;
1590
  }
1591
 
1592
  /**
bp-messages/classes/class-bp-messages-message.php CHANGED
@@ -60,9 +60,9 @@ class BP_Messages_Message {
60
  /**
61
  * Message recipients.
62
  *
63
- * @var bool|array
64
  */
65
- public $recipients = false;
66
 
67
  /**
68
  * Constructor.
60
  /**
61
  * Message recipients.
62
  *
63
+ * @var array
64
  */
65
+ public $recipients = array();
66
 
67
  /**
68
  * Constructor.
bp-messages/classes/class-bp-rest-messages-endpoint.php CHANGED
@@ -11,6 +11,10 @@ defined( 'ABSPATH' ) || exit;
11
  /**
12
  * Messages endpoints.
13
  *
 
 
 
 
14
  * @since 5.0.0
15
  */
16
  class BP_REST_Messages_Endpoint extends WP_REST_Controller {
@@ -868,10 +872,16 @@ class BP_REST_Messages_Endpoint extends WP_REST_Controller {
868
  * @return array The recipient data for the REST response.
869
  */
870
  public function prepare_recipient_for_response( $recipient, $request ) {
871
- $data = array(
872
- 'id' => (int) $recipient->id,
873
- 'user_id' => (int) $recipient->user_id,
874
- 'user_link' => esc_url( bp_core_get_user_domain( $recipient->user_id ) ),
 
 
 
 
 
 
875
  );
876
 
877
  // Fetch the user avatar urls (Full & thumb).
@@ -887,16 +897,6 @@ class BP_REST_Messages_Endpoint extends WP_REST_Controller {
887
  }
888
  }
889
 
890
- $data = array_merge(
891
- $data,
892
- array(
893
- 'thread_id' => (int) $recipient->thread_id,
894
- 'unread_count' => (int) $recipient->unread_count,
895
- 'sender_only' => (int) $recipient->sender_only,
896
- 'is_deleted' => (int) $recipient->is_deleted,
897
- )
898
- );
899
-
900
  /**
901
  * Filter a recipient value returned from the API.
902
  *
@@ -955,7 +955,7 @@ class BP_REST_Messages_Endpoint extends WP_REST_Controller {
955
 
956
  // Loop through recipients to prepare them for the response.
957
  foreach ( $thread->recipients as $recipient ) {
958
- $data['recipients'][ $recipient->user_id ] = $this->prepare_recipient_for_response( $recipient, $request );
959
  }
960
 
961
  // Pluck starred message ids.
@@ -987,7 +987,7 @@ class BP_REST_Messages_Endpoint extends WP_REST_Controller {
987
  * @since 5.0.0
988
  *
989
  * @param BP_Messages_Thread $thread Thread object.
990
- * @return array Links for the given thread.
991
  */
992
  protected function prepare_links( $thread ) {
993
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
@@ -1003,7 +1003,7 @@ class BP_REST_Messages_Endpoint extends WP_REST_Controller {
1003
  );
1004
 
1005
  // Add star links for each message of the thread.
1006
- if ( bp_is_active( 'messages', 'star' ) ) {
1007
  $starred_base = $base . bp_get_messages_starred_slug() . '/';
1008
 
1009
  foreach ( $thread->messages as $message ) {
11
  /**
12
  * Messages endpoints.
13
  *
14
+ * /messages/
15
+ * /messages/{id}
16
+ * /messages/{thread_id}
17
+ *
18
  * @since 5.0.0
19
  */
20
  class BP_REST_Messages_Endpoint extends WP_REST_Controller {
872
  * @return array The recipient data for the REST response.
873
  */
874
  public function prepare_recipient_for_response( $recipient, $request ) {
875
+ $user_info = get_userdata( (int) $recipient->user_id );
876
+ $data = array(
877
+ 'id' => (int) $recipient->id,
878
+ 'is_deleted' => (int) $recipient->is_deleted,
879
+ 'name' => (string) $user_info->display_name,
880
+ 'sender_only' => (int) $recipient->sender_only,
881
+ 'thread_id' => (int) $recipient->thread_id,
882
+ 'unread_count' => (int) $recipient->unread_count,
883
+ 'user_id' => (int) $recipient->user_id,
884
+ 'user_link' => esc_url( bp_core_get_user_domain( $recipient->user_id ) ),
885
  );
886
 
887
  // Fetch the user avatar urls (Full & thumb).
897
  }
898
  }
899
 
 
 
 
 
 
 
 
 
 
 
900
  /**
901
  * Filter a recipient value returned from the API.
902
  *
955
 
956
  // Loop through recipients to prepare them for the response.
957
  foreach ( $thread->recipients as $recipient ) {
958
+ $data['recipients'][] = $this->prepare_recipient_for_response( $recipient, $request );
959
  }
960
 
961
  // Pluck starred message ids.
987
  * @since 5.0.0
988
  *
989
  * @param BP_Messages_Thread $thread Thread object.
990
+ * @return array
991
  */
992
  protected function prepare_links( $thread ) {
993
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
1003
  );
1004
 
1005
  // Add star links for each message of the thread.
1006
+ if ( is_user_logged_in() && bp_is_active( 'messages', 'star' ) ) {
1007
  $starred_base = $base . bp_get_messages_starred_slug() . '/';
1008
 
1009
  foreach ( $thread->messages as $message ) {
bp-messages/classes/class-bp-rest-sitewide-notices-endpoint.php CHANGED
@@ -651,8 +651,8 @@ class BP_REST_Sitewide_Notices_Endpoint extends WP_REST_Controller {
651
  *
652
  * @since 9.0.0
653
  *
654
- * @param BP_Messages_Notice $notice Notice object.
655
- * @return array Links for the given notice.
656
  */
657
  protected function prepare_links( $notice ) {
658
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
651
  *
652
  * @since 9.0.0
653
  *
654
+ * @param BP_Messages_Notice $notice Notice object.
655
+ * @return array
656
  */
657
  protected function prepare_links( $notice ) {
658
  $base = sprintf( '/%s/%s/', $this->namespace, $this->rest_base );
bp-messages/js/autocomplete/jquery.autocomplete.min.js CHANGED
@@ -1 +1 @@
1
- !function(H){H.fn.extend({autocompletebp:function(e,t){var n="string"==typeof e;return(t=H.extend({},H.Autocompleter.defaults,{url:n?e:null,data:n?null:e,delay:n?H.Autocompleter.defaults.delay:10,max:t&&!t.scroll?10:150},t)).highlight=t.highlight||function(e){return e},this.each(function(){new H.Autocompleter(this,t)})},result:function(e){return this.bind("result",e)},search:function(e){return this.trigger("search",[e])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(e){return this.trigger("setOptions",[e])},unautocomplete:function(){return this.trigger("unautocomplete")}}),H.Autocompleter=function(i,l){var t,a,n=38,o=40,r=46,s=9,u=13,c=27,f=188,h=33,d=34,p=H(i).attr("autocomplete","off").addClass(l.inputClass),m="",g=H.Autocompleter.Cache(l),v=0,e={mouseDownOnSelect:!1},C=H.Autocompleter.Select(l,i,b,e);function b(){var e,t,n=C.selected();return!!n&&(e=n.result,m=e,l.multiple&&(1<(t=x(p.val())).length&&(e=t.slice(0,t.length-1).join(l.multipleSeparator)+l.multipleSeparator+e),e+=l.multipleSeparator),p.val(e),S(),p.trigger("result",[n.data,n.value]),!0)}function w(e,t){var n;a==r?C.hide():(n=p.val(),!t&&n==m||((n=y(m=n)).length>=l.minChars?(p.addClass(l.loadingClass),jQuery("#send-to-input").addClass("loading"),k(n=l.matchCase?n:n.toLowerCase(),T,S)):(L(),C.hide())))}function x(e){var n;return e?(e=e.split(H.trim(l.multipleSeparator)),n=[],H.each(e,function(e,t){H.trim(t)&&(n[e]=H.trim(t))}),n):[""]}function y(e){var t;return l.multiple?(t=x(e))[t.length-1]:e}function S(){C.hide(),clearTimeout(t),L(),l.mustMatch&&p.search(function(e){e||p.val("")})}function T(e,t){var n;t&&t.length&&v?(L(),C.display(t,e),n=t[0].value.split(";"),t.value=n[0],n=e,e=t.value,l.autoFill&&y(p.val()).toLowerCase()==n.toLowerCase()&&8!=a&&(p.val(p.val()+e.substring(y(m).length)),H.Autocompleter.Selection(i,m.length,m.length+e.length)),C.show()):S()}function k(t,n,e){l.matchCase||(t=t.toLowerCase());var a,o=g.load(t);o&&o.length?n(t,o):"string"==typeof l.url&&0<l.url.length?(a={},H.each(l.extraParams,function(e,t){a[e]="function"==typeof t?t():t}),H.ajax({mode:"abort",port:"autocomplete"+i.name,dataType:l.dataType,url:l.url,data:H.extend({q:y(t),limit:l.max,action:"messages_autocomplete_results",cookie:function(){var e,t,n,a,o=document.cookie.split(";"),i={};for(e=0;e<o.length;e++)a=o[e],t=a.indexOf("="),n=jq.trim(unescape(a.slice(0,t))),a=unescape(a.slice(t+1)),0===n.indexOf("bp-")&&(i[n]=a);return encodeURIComponent(jq.param(i))}()},a),success:function(e){e=l.parse&&l.parse(e)||function(e){for(var t=[],n=e.split("\n"),a=0;a<n.length;a++){var o=H.trim(n[a]);o&&(o=o.split("|"),t[t.length]={data:o,value:o[0],result:l.formatResult&&l.formatResult(o,o[0])||o[0]})}return t}(e);g.add(t,e),n(t,e)}})):e(t)}function L(){p.removeClass(l.loadingClass),jQuery("#send-to-input").removeClass("loading")}p.keydown(function(e){switch(a=e.keyCode,e.keyCode){case n:e.preventDefault(),C.visible()?C.prev():w(0,!0);break;case o:e.preventDefault(),C.visible()?C.next():w(0,!0);break;case h:e.preventDefault(),C.visible()?C.pageUp():w(0,!0);break;case d:e.preventDefault(),C.visible()?C.pageDown():w(0,!0);break;case l.multiple&&","==H.trim(l.multipleSeparator)&&f:case s:case u:b()&&(l.multiple||p.blur(),e.preventDefault(),p.focus());break;case c:C.hide();break;default:clearTimeout(t),t=setTimeout(w,l.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,e.mouseDownOnSelect||(clearTimeout(t),t=setTimeout(S,200))}).click(function(){1<v++&&!C.visible()&&w(0,!0)}).bind("search",function(){var o=1<arguments.length?arguments[1]:null;function n(e,t){var n;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a].result.toLowerCase()==e.toLowerCase()){n=t[a];break}"function"==typeof o?o(n):p.trigger("result",n&&[n.data,n.value])}H.each(x(p.val()),function(e,t){k(t,n,n)})}).bind("flushCache",function(){g.flush()}).bind("setOptions",function(){H.extend(l,arguments[1]),"data"in arguments[1]&&g.populate()}).bind("unautocomplete",function(){C.unbind(),p.unbind()})},H.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(e){return e[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(e,t){return e.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+t.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},H.Autocompleter.Cache=function(r){var i={},l=0;function s(e,t){e=(e=r.matchCase?e:e.toLowerCase()).indexOf(t);return-1!=e&&(0==e||r.matchContains)}function u(e,t){l>r.cacheLength&&n(),i[e]||l++,i[e]=t}function e(){if(!r.data)return!1;var e={},t=0;r.url||(r.cacheLength=1),e[""]=[];for(var n=0,a=r.data.length;n<a;n++){var o,i=r.data[n],l=r.formatItem(i="string"==typeof i?[i]:i,n+1,r.data.length);!1!==l&&(e[o=l.charAt(0).toLowerCase()]||(e[o]=[]),i={value:l,data:i,result:r.formatResult&&r.formatResult(i)||l},e[o].push(i),t++<r.max)&&e[""].push(i)}H.each(e,function(e,t){r.cacheLength++,u(e,t)})}function n(){i={},l=0}return setTimeout(e,25),{flush:n,add:u,populate:e,load:function(n){if(r.cacheLength&&l){if(!r.url&&r.matchContains){var e,a=[];for(e in i)0<e.length&&(t=i[e],H.each(t,function(e,t){s(t.value,n)&&a.push(t)}));return a}if(i[n])return i[n];if(r.matchSubset)for(var t,o=n.length-1;o>=r.minChars;o--)if(t=i[n.substr(0,o)])return a=[],H.each(t,function(e,t){s(t.value,n)&&(a[a.length]=t)}),a}return null}}},H.Autocompleter.Select=function(o,n,a,i){var l,r,s,u,c,f="ac_over",h=-1,d=!0;function p(e){for(var t=e.target;t&&"LI"!=t.tagName;)t=t.parentNode;return t||[]}function e(e){l.slice(h,h+1).removeClass(),(h+=e)<0?h=l.size()-1:h>=l.size()&&(h=0);var t,e=l.slice(h,h+1).addClass(f);o.scroll&&(t=0,l.slice(0,h).each(function(){t+=this.offsetHeight}),t+e[0].offsetHeight-c.scrollTop()>c[0].clientHeight?c.scrollTop(t+e[0].offsetHeight-c.innerHeight()):t<c.scrollTop()&&c.scrollTop(t))}function m(){c.empty();e=r.length;for(var e,t,n=o.max&&o.max<e?o.max:e,a=0;a<n;a++)r[a]&&!1!==(t=o.formatItem(r[a].data,a+1,n,r[a].value,s))&&(t=H("<li>").html(o.highlight(t,s)).addClass(a%2==0?"ac_event":"ac_odd").appendTo(c)[0],H.data(t,"ac_data",r[a]));l=c.find("li"),o.selectFirst&&(l.slice(0,1).addClass(f),h=0),c.bgiframe()}return{display:function(e,t){d&&(u=H("<div/>").hide().addClass(o.resultsClass).css("position","absolute").appendTo(o.attachTo),c=H("<ul>").appendTo(u).mouseover(function(e){p(e).nodeName&&"LI"==p(e).nodeName.toUpperCase()&&(h=H("li",c).removeClass(f).index(p(e)),H(p(e)).addClass(f))}).click(function(e){return H(p(e)).addClass(f),a(),n.focus(),!1}).mousedown(function(){i.mouseDownOnSelect=!0}).mouseup(function(){i.mouseDownOnSelect=!1}),0<o.width&&u.css("width",o.width),d=!1),r=e,s=t,m()},next:function(){e(1)},prev:function(){e(-1)},pageUp:function(){e(0!=h&&h-8<0?-h:-8)},pageDown:function(){h!=l.size()-1&&h+8>l.size()?e(l.size()-1-h):e(8)},hide:function(){u&&u.hide(),h=-1},visible:function(){return u&&u.is(":visible")},current:function(){return this.visible()&&(l.filter("."+f)[0]||o.selectFirst&&l[0])},show:function(){var e,t=H(n).offset();u.css({width:"string"==typeof o.width||0<o.width?o.width:H(n).width(),top:t.top+n.offsetHeight,left:t.left}).show(),o.scroll&&(c.scrollTop(0),c.css({maxHeight:o.scrollHeight,overflow:"auto"}),H.browser.msie)&&void 0===document.body.style.maxHeight&&(e=0,l.each(function(){e+=this.offsetHeight}),t=e>o.scrollHeight,c.css("height",t?o.scrollHeight:e),t||l.width(c.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right"))))},selected:function(){var e=l&&l.filter("."+f).removeClass(f);return e&&e.length&&H.data(e[0],"ac_data")},unbind:function(){u&&u.remove()}}},H.Autocompleter.Selection=function(e,t,n){var a;e.createTextRange?((a=e.createTextRange()).collapse(!0),a.moveStart("character",t),a.moveEnd("character",n),a.select()):e.setSelectionRange?e.setSelectionRange(t,n):e.selectionStart&&(e.selectionStart=t,e.selectionEnd=n),e.focus()}}(jQuery);
1
+ !function(H){H.fn.extend({autocompletebp:function(e,t){var n="string"==typeof e;return(t=H.extend({},H.Autocompleter.defaults,{url:n?e:null,data:n?null:e,delay:n?H.Autocompleter.defaults.delay:10,max:t&&!t.scroll?10:150},t)).highlight=t.highlight||function(e){return e},this.each(function(){new H.Autocompleter(this,t)})},result:function(e){return this.bind("result",e)},search:function(e){return this.trigger("search",[e])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(e){return this.trigger("setOptions",[e])},unautocomplete:function(){return this.trigger("unautocomplete")}}),H.Autocompleter=function(i,l){var t,a,n=38,o=40,r=46,s=9,u=13,c=27,f=188,h=33,d=34,p=H(i).attr("autocomplete","off").addClass(l.inputClass),m="",g=H.Autocompleter.Cache(l),v=0,e={mouseDownOnSelect:!1},C=H.Autocompleter.Select(l,i,b,e);function b(){var e,t,n=C.selected();return!!n&&(e=n.result,m=e,l.multiple&&(1<(t=x(p.val())).length&&(e=t.slice(0,t.length-1).join(l.multipleSeparator)+l.multipleSeparator+e),e+=l.multipleSeparator),p.val(e),S(),p.trigger("result",[n.data,n.value]),!0)}function w(e,t){var n;a==r?C.hide():(n=p.val(),!t&&n==m||((n=y(m=n)).length>=l.minChars?(p.addClass(l.loadingClass),jQuery("#send-to-input").addClass("loading"),k(n=l.matchCase?n:n.toLowerCase(),T,S)):(L(),C.hide())))}function x(e){var n;return e?(e=e.split(H.trim(l.multipleSeparator)),n=[],H.each(e,function(e,t){H.trim(t)&&(n[e]=H.trim(t))}),n):[""]}function y(e){var t;return l.multiple?(t=x(e))[t.length-1]:e}function S(){C.hide(),clearTimeout(t),L(),l.mustMatch&&p.search(function(e){e||p.val("")})}function T(e,t){var n;t&&t.length&&v?(L(),C.display(t,e),n=t[0].value.split(";"),t.value=n[0],n=e,e=t.value,l.autoFill&&y(p.val()).toLowerCase()==n.toLowerCase()&&8!=a&&(p.val(p.val()+e.substring(y(m).length)),H.Autocompleter.Selection(i,m.length,m.length+e.length)),C.show()):S()}function k(t,n,e){l.matchCase||(t=t.toLowerCase());var a,o=g.load(t);o&&o.length?n(t,o):"string"==typeof l.url&&0<l.url.length?(a={},H.each(l.extraParams,function(e,t){a[e]="function"==typeof t?t():t}),H.ajax({mode:"abort",port:"autocomplete"+i.name,dataType:l.dataType,url:l.url,data:H.extend({q:y(t),limit:l.max,action:"messages_autocomplete_results",cookie:function(){var e,t,n,a,o=document.cookie.split(";"),i={};for(e=0;e<o.length;e++)a=o[e],t=a.indexOf("="),n=jq.trim(unescape(a.slice(0,t))),a=unescape(a.slice(t+1)),0===n.indexOf("bp-")&&(i[n]=a);return encodeURIComponent(jq.param(i))}()},a),success:function(e){e=l.parse&&l.parse(e)||function(e){for(var t=[],n=e.split("\n"),a=0;a<n.length;a++){var o=H.trim(n[a]);o&&(o=o.split("|"),t[t.length]={data:o,value:o[0],result:l.formatResult&&l.formatResult(o,o[0])||o[0]})}return t}(e);g.add(t,e),n(t,e)}})):e(t)}function L(){p.removeClass(l.loadingClass),jQuery("#send-to-input").removeClass("loading")}p.keydown(function(e){switch(a=e.keyCode,e.keyCode){case n:e.preventDefault(),C.visible()?C.prev():w(0,!0);break;case o:e.preventDefault(),C.visible()?C.next():w(0,!0);break;case h:e.preventDefault(),C.visible()?C.pageUp():w(0,!0);break;case d:e.preventDefault(),C.visible()?C.pageDown():w(0,!0);break;case l.multiple&&","==H.trim(l.multipleSeparator)&&f:case s:case u:b()&&(l.multiple||p.blur(),e.preventDefault(),p.focus());break;case c:C.hide();break;default:clearTimeout(t),t=setTimeout(w,l.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,e.mouseDownOnSelect||(clearTimeout(t),t=setTimeout(S,200))}).click(function(){1<v++&&!C.visible()&&w(0,!0)}).bind("search",function(){var o=1<arguments.length?arguments[1]:null;function n(e,t){var n;if(t&&t.length)for(var a=0;a<t.length;a++)if(t[a].result.toLowerCase()==e.toLowerCase()){n=t[a];break}"function"==typeof o?o(n):p.trigger("result",n&&[n.data,n.value])}H.each(x(p.val()),function(e,t){k(t,n,n)})}).bind("flushCache",function(){g.flush()}).bind("setOptions",function(){H.extend(l,arguments[1]),"data"in arguments[1]&&g.populate()}).bind("unautocomplete",function(){C.unbind(),p.unbind()})},H.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(e){return e[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(e,t){return e.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+t.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},H.Autocompleter.Cache=function(r){var i={},l=0;function s(e,t){e=(e=r.matchCase?e:e.toLowerCase()).indexOf(t);return-1!=e&&(0==e||r.matchContains)}function u(e,t){l>r.cacheLength&&n(),i[e]||l++,i[e]=t}function e(){if(!r.data)return!1;var e={},t=0;r.url||(r.cacheLength=1),e[""]=[];for(var n=0,a=r.data.length;n<a;n++){var o,i="string"==typeof(i=r.data[n])?[i]:i,l=r.formatItem(i,n+1,r.data.length);!1!==l&&(e[o=l.charAt(0).toLowerCase()]||(e[o]=[]),i={value:l,data:i,result:r.formatResult&&r.formatResult(i)||l},e[o].push(i),t++<r.max&&e[""].push(i))}H.each(e,function(e,t){r.cacheLength++,u(e,t)})}function n(){i={},l=0}return setTimeout(e,25),{flush:n,add:u,populate:e,load:function(n){if(r.cacheLength&&l){if(!r.url&&r.matchContains){var e,a=[];for(e in i)0<e.length&&(t=i[e],H.each(t,function(e,t){s(t.value,n)&&a.push(t)}));return a}if(i[n])return i[n];if(r.matchSubset)for(var t,o=n.length-1;o>=r.minChars;o--)if(t=i[n.substr(0,o)])return a=[],H.each(t,function(e,t){s(t.value,n)&&(a[a.length]=t)}),a}return null}}},H.Autocompleter.Select=function(o,n,a,i){var l,r,s,u,c,f="ac_over",h=-1,d=!0;function p(e){for(var t=e.target;t&&"LI"!=t.tagName;)t=t.parentNode;return t||[]}function e(e){l.slice(h,h+1).removeClass(),(h+=e)<0?h=l.size()-1:h>=l.size()&&(h=0);var t,e=l.slice(h,h+1).addClass(f);o.scroll&&(t=0,l.slice(0,h).each(function(){t+=this.offsetHeight}),t+e[0].offsetHeight-c.scrollTop()>c[0].clientHeight?c.scrollTop(t+e[0].offsetHeight-c.innerHeight()):t<c.scrollTop()&&c.scrollTop(t))}function m(){c.empty();e=r.length;for(var e,t,n=o.max&&o.max<e?o.max:e,a=0;a<n;a++)!r[a]||!1!==(t=o.formatItem(r[a].data,a+1,n,r[a].value,s))&&(t=H("<li>").html(o.highlight(t,s)).addClass(a%2==0?"ac_event":"ac_odd").appendTo(c)[0],H.data(t,"ac_data",r[a]));l=c.find("li"),o.selectFirst&&(l.slice(0,1).addClass(f),h=0),c.bgiframe()}return{display:function(e,t){d&&(u=H("<div/>").hide().addClass(o.resultsClass).css("position","absolute").appendTo(o.attachTo),c=H("<ul>").appendTo(u).mouseover(function(e){p(e).nodeName&&"LI"==p(e).nodeName.toUpperCase()&&(h=H("li",c).removeClass(f).index(p(e)),H(p(e)).addClass(f))}).click(function(e){return H(p(e)).addClass(f),a(),n.focus(),!1}).mousedown(function(){i.mouseDownOnSelect=!0}).mouseup(function(){i.mouseDownOnSelect=!1}),0<o.width&&u.css("width",o.width),d=!1),r=e,s=t,m()},next:function(){e(1)},prev:function(){e(-1)},pageUp:function(){e(0!=h&&h-8<0?-h:-8)},pageDown:function(){h!=l.size()-1&&h+8>l.size()?e(l.size()-1-h):e(8)},hide:function(){u&&u.hide(),h=-1},visible:function(){return u&&u.is(":visible")},current:function(){return this.visible()&&(l.filter("."+f)[0]||o.selectFirst&&l[0])},show:function(){var e,t=H(n).offset();u.css({width:"string"==typeof o.width||0<o.width?o.width:H(n).width(),top:t.top+n.offsetHeight,left:t.left}).show(),o.scroll&&(c.scrollTop(0),c.css({maxHeight:o.scrollHeight,overflow:"auto"}),H.browser.msie&&void 0===document.body.style.maxHeight&&(e=0,l.each(function(){e+=this.offsetHeight}),t=e>o.scrollHeight,c.css("height",t?o.scrollHeight:e),t||l.width(c.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))))},selected:function(){var e=l&&l.filter("."+f).removeClass(f);return e&&e.length&&H.data(e[0],"ac_data")},unbind:function(){u&&u.remove()}}},H.Autocompleter.Selection=function(e,t,n){var a;e.createTextRange?((a=e.createTextRange()).collapse(!0),a.moveStart("character",t),a.moveEnd("character",n),a.select()):e.setSelectionRange?e.setSelectionRange(t,n):e.selectionStart&&(e.selectionStart=t,e.selectionEnd=n),e.focus()}}(jQuery);
bp-messages/js/autocomplete/jquery.bgiframe.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(a){function r(t){return t&&t.constructor===Number?t+"px":t}a.fn.bgiframe=function(o){o=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;",conditional:/MSIE 6\.0/.test(navigator.userAgent)},o),a.isFunction(o.conditional)||(t=o.conditional,o.conditional=function(){return t});var t,n=a('<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+o.src+'"style="display:block;position:absolute;z-index:-1;"/>');return this.each(function(){var t,e,i=a(this);!1!==o.conditional(this)&&((e=0===(t=i.children("iframe.bgiframe")).length?n.clone():t).css({top:"auto"==o.top?-1*(parseInt(i.css("borderTopWidth"),10)||0)+"px":r(o.top),left:"auto"==o.left?-1*(parseInt(i.css("borderLeftWidth"),10)||0)+"px":r(o.left),width:"auto"==o.width?this.offsetWidth+"px":r(o.width),height:"auto"==o.height?this.offsetHeight+"px":r(o.height),opacity:!0===o.opacity?0:void 0}),0===t.length)&&i.prepend(e)})},a.fn.bgIframe=a.fn.bgiframe});
1
+ !function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(a){function r(t){return t&&t.constructor===Number?t+"px":t}a.fn.bgiframe=function(o){o=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;",conditional:/MSIE 6\.0/.test(navigator.userAgent)},o),a.isFunction(o.conditional)||(t=o.conditional,o.conditional=function(){return t});var t,n=a('<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+o.src+'"style="display:block;position:absolute;z-index:-1;"/>');return this.each(function(){var t,e,i=a(this);!1!==o.conditional(this)&&((e=0===(t=i.children("iframe.bgiframe")).length?n.clone():t).css({top:"auto"==o.top?-1*(parseInt(i.css("borderTopWidth"),10)||0)+"px":r(o.top),left:"auto"==o.left?-1*(parseInt(i.css("borderLeftWidth"),10)||0)+"px":r(o.left),width:"auto"==o.width?this.offsetWidth+"px":r(o.width),height:"auto"==o.height?this.offsetHeight+"px":r(o.height),opacity:!0===o.opacity?0:void 0}),0===t.length&&i.prepend(e))})},a.fn.bgIframe=a.fn.bgiframe});
bp-notifications/classes/class-bp-notifications-component.php CHANGED
@@ -311,7 +311,9 @@ class BP_Notifications_Component extends BP_Component {
311
  // Global groups.
312
  wp_cache_add_global_groups( array(
313
  'bp_notifications',
314
- 'notification_meta'
 
 
315
  ) );
316
 
317
  parent::setup_cache_groups();
311
  // Global groups.
312
  wp_cache_add_global_groups( array(
313
  'bp_notifications',
314
+ 'notification_meta',
315
+ 'bp_notifications_unread_count',
316
+ 'bp_notifications_grouped_notifications',
317
  ) );
318
 
319
  parent::setup_cache_groups();
bp-notifications/classes/class-bp-rest-notifications-endpoint.php CHANGED
@@ -638,7 +638,7 @@ class BP_REST_Notifications_Endpoint extends WP_REST_Controller {
638
  * @since 5.0.0
639
  *
640
  * @param BP_Notifications_Notification $notification Notification item.
641
- * @return array Links for the given plugin.
642
  */
643
  protected function prepare_links( $notification ) {
644
  $base = sprintf( '/%1$s/%2$s/', $this->namespace, $this->rest_base );
638
  * @since 5.0.0
639
  *
640
  * @param BP_Notifications_Notification $notification Notification item.
641
+ * @return array
642
  */
643
  protected function prepare_links( $notification ) {
644
  $base = sprintf( '/%1$s/%2$s/', $this->namespace, $this->rest_base );
bp-settings/actions/general.php CHANGED
@@ -44,22 +44,23 @@ function bp_settings_action_general() {
44
  }
45
 
46
  // Define local defaults
47
- $bp = buddypress(); // The instance
48
- $email_error = false; // invalid|blocked|taken|empty|nochange
49
- $pass_error = false; // invalid|mismatch|empty|nochange
50
- $pass_changed = false; // true if the user changes their password
51
- $email_changed = false; // true if the user changes their email
52
- $feedback_type = 'error'; // success|error
53
- $feedback = array(); // array of strings for feedback.
 
54
 
55
  // Nonce check.
56
- check_admin_referer('bp_settings_general');
57
 
58
  // Validate the user again for the current password when making a big change.
59
- if ( ( is_super_admin() ) || ( !empty( $_POST['pwd'] ) && wp_check_password( $_POST['pwd'], $bp->displayed_user->userdata->user_pass, bp_displayed_user_id() ) ) ) {
60
 
61
  $update_user = array(
62
- 'ID' => (int) bp_displayed_user_id(),
63
  );
64
 
65
  /* Email Change Attempt ******************************************/
@@ -99,13 +100,13 @@ function bp_settings_action_general() {
99
  'newemail' => $user_email,
100
  );
101
 
102
- bp_update_user_meta( bp_displayed_user_id(), 'pending_email_change', $pending_email );
103
  $verify_link = bp_displayed_user_domain() . bp_get_settings_slug() . '/?verify_email_change=' . $hash;
104
 
105
  // Send the verification email.
106
  $args = array(
107
  'tokens' => array(
108
- 'displayname' => bp_core_get_user_displayname( bp_displayed_user_id() ),
109
  'old-user.email' => $old_user_email,
110
  'user.email' => $user_email,
111
  'verify.url' => esc_url( $verify_link ),
@@ -181,7 +182,7 @@ function bp_settings_action_general() {
181
  // Clear cached data, so that the changed settings take effect
182
  // on the current page load.
183
  if ( ( false === $email_error ) && ( false === $pass_error ) && ( wp_update_user( $update_user ) ) ) {
184
- $bp->displayed_user->userdata = bp_core_get_core_userdata( bp_displayed_user_id() );
185
  }
186
 
187
  // Password Error.
@@ -226,18 +227,25 @@ function bp_settings_action_general() {
226
  }
227
  }
228
 
229
- // Set the feedback.
230
- bp_core_add_message( implode( "\n", $feedback ), $feedback_type );
231
 
232
  /**
233
  * Fires after the general settings have been saved, and before redirect.
234
  *
235
  * @since 1.5.0
 
 
 
 
236
  */
237
- do_action( 'bp_core_general_settings_after_save' );
 
 
 
238
 
239
  // Redirect to prevent issues with browser back button.
240
- bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/general' ) );
241
  }
242
  add_action( 'bp_actions', 'bp_settings_action_general' );
243
 
44
  }
45
 
46
  // Define local defaults
47
+ $bp = buddypress(); // The instance
48
+ $email_error = false; // invalid|blocked|taken|empty|nochange
49
+ $pass_error = false; // invalid|mismatch|empty|nochange
50
+ $pass_changed = false; // true if the user changes their password
51
+ $email_changed = false; // true if the user changes their email
52
+ $feedback_type = 'error'; // success|error
53
+ $feedback = array(); // array of strings for feedback.
54
+ $user_id = bp_displayed_user_id(); // The ID of the user being displayed.
55
 
56
  // Nonce check.
57
+ check_admin_referer( 'bp_settings_general' );
58
 
59
  // Validate the user again for the current password when making a big change.
60
+ if ( ( is_super_admin() ) || ( ! empty( $_POST['pwd'] ) && wp_check_password( $_POST['pwd'], $bp->displayed_user->userdata->user_pass, $user_id ) ) ) {
61
 
62
  $update_user = array(
63
+ 'ID' => (int) $user_id,
64
  );
65
 
66
  /* Email Change Attempt ******************************************/
100
  'newemail' => $user_email,
101
  );
102
 
103
+ bp_update_user_meta( $user_id, 'pending_email_change', $pending_email );
104
  $verify_link = bp_displayed_user_domain() . bp_get_settings_slug() . '/?verify_email_change=' . $hash;
105
 
106
  // Send the verification email.
107
  $args = array(
108
  'tokens' => array(
109
+ 'displayname' => bp_core_get_user_displayname( $user_id ),
110
  'old-user.email' => $old_user_email,
111
  'user.email' => $user_email,
112
  'verify.url' => esc_url( $verify_link ),
182
  // Clear cached data, so that the changed settings take effect
183
  // on the current page load.
184
  if ( ( false === $email_error ) && ( false === $pass_error ) && ( wp_update_user( $update_user ) ) ) {
185
+ $bp->displayed_user->userdata = bp_core_get_core_userdata( $user_id );
186
  }
187
 
188
  // Password Error.
227
  }
228
  }
229
 
230
+ // Set the URL to redirect the user to.
231
+ $redirect_to = trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/general' );
232
 
233
  /**
234
  * Fires after the general settings have been saved, and before redirect.
235
  *
236
  * @since 1.5.0
237
+ * @since 11.0.0 Add the `$user_id` & `$redirect_to` parameters.
238
+ *
239
+ * @param int $user_id The ID of the user being displayed.
240
+ * @param string $redirect_to The Default Front-end General Settings Screen URL.
241
  */
242
+ do_action( 'bp_core_general_settings_after_save', $user_id, $redirect_to );
243
+
244
+ // Set the feedback.
245
+ bp_core_add_message( implode( "\n", $feedback ), $feedback_type );
246
 
247
  // Redirect to prevent issues with browser back button.
248
+ bp_core_redirect( $redirect_to );
249
  }
250
  add_action( 'bp_actions', 'bp_settings_action_general' );
251
 
bp-settings/classes/class-bp-settings-component.php CHANGED
@@ -220,7 +220,7 @@ class BP_Settings_Component extends BP_Component {
220
  'parent_slug' => $slug,
221
  'screen_function' => 'bp_settings_screen_delete_account',
222
  'position' => 90,
223
- 'user_has_access' => ! is_super_admin( bp_displayed_user_id() )
224
  );
225
  }
226
 
220
  'parent_slug' => $slug,
221
  'screen_function' => 'bp_settings_screen_delete_account',
222
  'position' => 90,
223
+ 'user_has_access' => ! user_can( bp_displayed_user_id(), 'delete_users' ),
224
  );
225
  }
226
 
bp-templates/bp-legacy/buddypress-functions.php CHANGED
@@ -80,9 +80,9 @@ class BP_Legacy extends BP_Theme_Compat {
80
 
81
  /** Scripts ***********************************************************/
82
 
83
- add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS
84
- add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); // Enqueue theme JS
85
- add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization
86
 
87
  /** Body no-js Class **************************************************/
88
 
@@ -124,7 +124,7 @@ class BP_Legacy extends BP_Theme_Compat {
124
 
125
  // Only hook the 'sitewide_notices' overlay if the Sitewide
126
  // Notices widget is not in use (to avoid duplicate content).
127
- if ( bp_is_active( 'messages' ) && ! bp_is_widget_block_active( 'bp/sitewide-notices', 'bp_messages_sitewide_notices_widget', true ) ) {
128
  add_action( 'wp_footer', array( $this, 'sitewide_notices' ), 9999 );
129
  }
130
 
@@ -765,6 +765,10 @@ function bp_legacy_theme_ajax_querystring( $query_string, $object ) {
765
  $qs[] = 'offset=' . intval( $_POST['offset'] );
766
  }
767
 
 
 
 
 
768
  $object_search_text = bp_get_search_default_text( $object );
769
  if ( ! empty( $_POST['search_terms'] ) && is_string( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] )
770
  $qs[] = 'search_terms=' . urlencode( $_POST['search_terms'] );
80
 
81
  /** Scripts ***********************************************************/
82
 
83
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_styles' ) ); // Enqueue theme CSS
84
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_scripts' ) ); // Enqueue theme JS
85
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'localize_scripts' ) ); // Enqueue theme script localization
86
 
87
  /** Body no-js Class **************************************************/
88
 
124
 
125
  // Only hook the 'sitewide_notices' overlay if the Sitewide
126
  // Notices widget is not in use (to avoid duplicate content).
127
+ if ( bp_is_active( 'messages' ) && ! bp_is_widget_block_active( 'bp/sitewide-notices', 'bp_messages_sitewide_notices_widget' ) ) {
128
  add_action( 'wp_footer', array( $this, 'sitewide_notices' ), 9999 );
129
  }
130
 
765
  $qs[] = 'offset=' . intval( $_POST['offset'] );
766
  }
767
 
768
+ if ( ! empty( $_POST['offset_lower'] ) ) {
769
+ $qs[] = 'offset_lower=' . intval( $_POST['offset_lower'] );
770
+ }
771
+
772
  $object_search_text = bp_get_search_default_text( $object );
773
  if ( ! empty( $_POST['search_terms'] ) && is_string( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] )
774
  $qs[] = 'search_terms=' . urlencode( $_POST['search_terms'] );
bp-templates/bp-legacy/buddypress/members/single/groups.php CHANGED
@@ -4,25 +4,24 @@
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
- * @version 3.0.0
8
  */
9
-
10
  ?>
11
 
12
  <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
13
  <ul>
14
- <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
15
 
16
- <?php if ( !bp_is_current_action( 'invites' ) ) : ?>
17
 
18
  <li id="groups-order-select" class="last filter">
19
 
20
- <label for="groups-order-by"><?php _e( 'Order By:', 'buddypress' ); ?></label>
21
  <select id="groups-order-by">
22
- <option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>
23
- <option value="popular"><?php _e( 'Most Members', 'buddypress' ); ?></option>
24
- <option value="newest"><?php _e( 'Newly Created', 'buddypress' ); ?></option>
25
- <option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
26
 
27
  <?php
28
 
@@ -58,12 +57,12 @@ switch ( bp_current_action() ) :
58
  <?php if ( is_user_logged_in() ) : ?>
59
  <h2 class="bp-screen-reader-text"><?php
60
  /* translators: accessibility text */
61
- _e( 'My groups', 'buddypress' );
62
  ?></h2>
63
  <?php else : ?>
64
  <h2 class="bp-screen-reader-text"><?php
65
  /* translators: accessibility text */
66
- _e( 'Member\'s groups', 'buddypress' );
67
  ?></h2>
68
  <?php endif; ?>
69
 
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
+ * @version 11.0.0
8
  */
 
9
  ?>
10
 
11
  <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
12
  <ul>
13
+ <?php bp_get_options_nav(); ?>
14
 
15
+ <?php if ( ! bp_is_current_action( 'invites' ) ) : ?>
16
 
17
  <li id="groups-order-select" class="last filter">
18
 
19
+ <label for="groups-order-by"><?php esc_html_e( 'Order By:', 'buddypress' ); ?></label>
20
  <select id="groups-order-by">
21
+ <option value="active"><?php esc_html_e( 'Last Active', 'buddypress' ); ?></option>
22
+ <option value="popular"><?php esc_html_e( 'Most Members', 'buddypress' ); ?></option>
23
+ <option value="newest"><?php esc_html_e( 'Newly Created', 'buddypress' ); ?></option>
24
+ <option value="alphabetical"><?php esc_html_e( 'Alphabetical', 'buddypress' ); ?></option>
25
 
26
  <?php
27
 
57
  <?php if ( is_user_logged_in() ) : ?>
58
  <h2 class="bp-screen-reader-text"><?php
59
  /* translators: accessibility text */
60
+ esc_html_e( 'My groups', 'buddypress' );
61
  ?></h2>
62
  <?php else : ?>
63
  <h2 class="bp-screen-reader-text"><?php
64
  /* translators: accessibility text */
65
+ esc_html_e( 'Member\'s groups', 'buddypress' );
66
  ?></h2>
67
  <?php endif; ?>
68
 
bp-templates/bp-legacy/buddypress/members/single/groups/invites.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
- * @version 3.0.0
8
  */
9
 
10
  /**
@@ -14,11 +14,11 @@
14
  */
15
  do_action( 'bp_before_group_invites_content' ); ?>
16
 
17
- <?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
18
 
19
  <h2 class="bp-screen-reader-text"><?php
20
  /* translators: accessibility text */
21
- _e( 'Group invitations', 'buddypress' );
22
  ?></h2>
23
 
24
  <ul id="group-list" class="invites item-list">
@@ -78,7 +78,7 @@ do_action( 'bp_before_group_invites_content' ); ?>
78
  <?php else: ?>
79
 
80
  <div id="message" class="info">
81
- <p><?php _e( 'You have no outstanding group invites.', 'buddypress' ); ?></p>
82
  </div>
83
 
84
  <?php endif;?>
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
+ * @version 11.0.0
8
  */
9
 
10
  /**
14
  */
15
  do_action( 'bp_before_group_invites_content' ); ?>
16
 
17
+ <?php if ( bp_has_groups( 'type=invites&user_id=' . bp_displayed_user_id() ) ) : ?>
18
 
19
  <h2 class="bp-screen-reader-text"><?php
20
  /* translators: accessibility text */
21
+ esc_html_e( 'Group invitations', 'buddypress' );
22
  ?></h2>
23
 
24
  <ul id="group-list" class="invites item-list">
78
  <?php else: ?>
79
 
80
  <div id="message" class="info">
81
+ <p><?php esc_html_e( 'You have no outstanding group invites.', 'buddypress' ); ?></p>
82
  </div>
83
 
84
  <?php endif;?>
bp-templates/bp-legacy/buddypress/members/single/messages/compose.php CHANGED
@@ -13,7 +13,7 @@
13
  _e( 'Compose Message', 'buddypress' );
14
  ?></h2>
15
 
16
- <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data">
17
 
18
  <?php
19
 
13
  _e( 'Compose Message', 'buddypress' );
14
  ?></h2>
15
 
16
+ <form action="<?php bp_messages_form_action(); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data">
17
 
18
  <?php
19
 
bp-templates/bp-legacy/buddypress/members/single/settings/data.php CHANGED
@@ -4,13 +4,13 @@
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
- * @version 4.0.0
8
  */
9
 
10
  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
11
  do_action( 'bp_before_member_settings_template' ); ?>
12
 
13
- <h2><?php _e( 'Data Export', 'buddypress' );?></h2>
14
 
15
  <?php $request = bp_settings_get_personal_data_request(); ?>
16
 
@@ -68,22 +68,31 @@ do_action( 'bp_before_member_settings_template' ); ?>
68
 
69
  <?php endif; ?>
70
 
71
- <!--
72
- <h2 class="bp-screen-reader-text"><?php
73
- /* translators: accessibility text */
74
- _e( 'Data Erase', 'buddypress' );
75
- ?></h2>
76
-
77
- <p>You can make a request to erase the following type of data from the site:</p>
78
-
79
- <p>If you want to make a request, please click on the button below:</p>
80
-
81
- <form id="bp-data-erase" method="post">
82
- <button type="submit" name="bp-data-erase-nonce" value="<?php echo wp_create_nonce( 'bp-data-erase' ); ?>">Request data erasure</button>
83
- </form>
84
- -->
85
-
 
 
 
 
 
 
 
 
86
  <?php
 
87
 
88
  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
89
  do_action( 'bp_after_member_settings_template' );
4
  *
5
  * @package BuddyPress
6
  * @subpackage bp-legacy
7
+ * @version 11.0.0
8
  */
9
 
10
  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
11
  do_action( 'bp_before_member_settings_template' ); ?>
12
 
13
+ <h2><?php esc_html_e( 'Data Export', 'buddypress' );?></h2>
14
 
15
  <?php $request = bp_settings_get_personal_data_request(); ?>
16
 
68
 
69
  <?php endif; ?>
70
 
71
+ <?php if ( ! user_can( bp_displayed_user_id(), 'delete_users' ) ) : ?>
72
+ <h2><?php esc_html_e( 'Data Erase', 'buddypress' ); ?></h2>
73
+ <p>
74
+ <?php
75
+ esc_html_e( 'To erase all data associated with your account, your user account must be completely deleted.', 'buddypress' );
76
+
77
+ if ( bp_disable_account_deletion() ) {
78
+ esc_html_e( 'Please contact the site administrator to request account deletion.', 'buddypress' );
79
+ } else {
80
+ echo '&nbsp;';
81
+
82
+ printf(
83
+ /* translators: %s the link to Delete Account Settings page */
84
+ esc_html__( 'You may delete your account by visiting the %s page.', 'buddypress' ),
85
+ sprintf(
86
+ '<a href="%1$s">%2$s</a>',
87
+ esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/delete-account/' ),
88
+ esc_html__( 'Delete Account', 'buddypress' )
89
+ )
90
+ );
91
+ }
92
+ ?>
93
+ </p>
94
  <?php
95
+ endif;
96
 
97
  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
98
  do_action( 'bp_after_member_settings_template' );
bp-templates/bp-legacy/css/buddypress-rtl.css CHANGED
@@ -326,6 +326,17 @@ body.activity-permalink #buddypress .activity-list li .activity-header > p {
326
  padding-right: 10px;
327
  }
328
 
 
 
 
 
 
 
 
 
 
 
 
329
  body.activity-permalink #buddypress .activity-content .activity-inner,
330
  body.activity-permalink #buddypress .activity-content blockquote {
331
  margin-right: 0;
326
  padding-right: 10px;
327
  }
328
 
329
+ #buddypress .activity-list li.new_blog_post .activity-content .activity-inner strong {
330
+ display: block;
331
+ margin-bottom: 0.8em;
332
+ }
333
+
334
+ #buddypress .activity-list li.new_blog_post .activity-content .activity-inner img {
335
+ max-width: 100%;
336
+ float: right;
337
+ margin-left: 0.8em;
338
+ }
339
+
340
  body.activity-permalink #buddypress .activity-content .activity-inner,
341
  body.activity-permalink #buddypress .activity-content blockquote {
342
  margin-right: 0;
bp-templates/bp-legacy/css/buddypress-rtl.min.css CHANGED
@@ -1 +1 @@
1
- #buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:1.5;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:2.2}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #eaeaea;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner{margin:0}#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4d4d4d}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p,#sitewide-notice strong:first-child{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}body.create-blog #buddypress .error{background-color:#fdc;border:1px solid #a00;color:#800;padding:10px 15px}body.create-blog #buddypress .success{background-color:#efc;border:1px solid #591;color:#250;padding:10px 15px}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress label.xprofile-field-label{display:inline}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-left:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-left:3em}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.bp-screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#sitewide-notice,.bp-site-wide-message{position:relative}#buddypress div#message p,#sitewide-notice #message{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.admin-bar-on #message p,.bp-site-wide-message #message p{padding-left:25px}.admin-bar-on #message a.button,.admin-bar-on #message button,.bp-site-wide-message #message a.button,.bp-site-wide-message #message button{font-size:.8em;padding:2px 4px;position:absolute;left:0;top:0}.admin-bar-on #message a.button,.admin-bar-on #message button{left:10px;top:7px}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:1.2;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header div#item-actions a{display:inline-block}#buddypress div#item-header ul{margin-bottom:15px}#buddypress div#item-header ul:after{clear:both;content:"";display:table}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header div#message.info{line-height:.8}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata:after{clear:both;content:"";display:table}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5;color:#707070}#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress div.avatar-block:after{clear:both;content:"";display:table}.widget.buddypress .item-avatar a{float:right;margin-bottom:15px;margin-left:10px}.widget.buddypress div.item-avatar img{display:inline-block;height:40px;margin:1px;width:40px}.widget.buddypress .item-avatar a,.widget.buddypress .item-avatar a img,.widget.buddypress .item-avatar a:active,.widget.buddypress .item-avatar a:focus,.widget.buddypress .item-avatar a:hover{box-shadow:none}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px}.widget.buddypress .bp-login-widget-user-links>div{margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}.buddypress .bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:-1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;left:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;transform:translateX(-50%);transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}#group-admins .bp-tooltip:after,#group-mods .bp-tooltip:after,.message-metadata .bp-tooltip:after{left:0;text-align:left;transform:translateX(0)}.feed .bp-tooltip:after,.item-list .bp-tooltip:after,.messages-notices .bp-tooltip:after{right:0;left:auto;text-align:right;transform:translateX(0)}.admin-bar-on .bp-tooltip:after,.bp-site-wide-message .bp-tooltip:after{left:50px}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:right;float:right;margin-top:0;text-align:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{clear:right;float:right;margin-top:0;margin-right:70px;position:relative;top:0;left:0;text-align:right}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center;margin-bottom:10px}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto;overflow:hidden}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);margin-right:20px;height:80px;width:80px}#buddypress ul.item-list li .bp-group-avatar-content img.avatar,#buddypress ul.item-list li .bp-member-avatar-content img.avatar{float:none;margin:auto}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:left}}
1
+ #buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:1.5;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:2.2}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #eaeaea;margin-right:5px;padding-right:10px}#buddypress .activity-list li.new_blog_post .activity-content .activity-inner strong{display:block;margin-bottom:.8em}#buddypress .activity-list li.new_blog_post .activity-content .activity-inner img{max-width:100%;float:right;margin-left:.8em}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner{margin:0}#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4d4d4d}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p,#sitewide-notice strong:first-child{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}body.create-blog #buddypress .error{background-color:#fdc;border:1px solid #a00;color:#800;padding:10px 15px}body.create-blog #buddypress .success{background-color:#efc;border:1px solid #591;color:#250;padding:10px 15px}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress label.xprofile-field-label{display:inline}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-left:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-left:3em}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.bp-screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#sitewide-notice,.bp-site-wide-message{position:relative}#buddypress div#message p,#sitewide-notice #message{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.admin-bar-on #message p,.bp-site-wide-message #message p{padding-left:25px}.admin-bar-on #message a.button,.admin-bar-on #message button,.bp-site-wide-message #message a.button,.bp-site-wide-message #message button{font-size:.8em;padding:2px 4px;position:absolute;left:0;top:0}.admin-bar-on #message a.button,.admin-bar-on #message button{left:10px;top:7px}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:1.2;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header div#item-actions a{display:inline-block}#buddypress div#item-header ul{margin-bottom:15px}#buddypress div#item-header ul:after{clear:both;content:"";display:table}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header div#message.info{line-height:.8}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata:after{clear:both;content:"";display:table}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5;color:#707070}#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress div.avatar-block:after{clear:both;content:"";display:table}.widget.buddypress .item-avatar a{float:right;margin-bottom:15px;margin-left:10px}.widget.buddypress div.item-avatar img{display:inline-block;height:40px;margin:1px;width:40px}.widget.buddypress .item-avatar a,.widget.buddypress .item-avatar a img,.widget.buddypress .item-avatar a:active,.widget.buddypress .item-avatar a:focus,.widget.buddypress .item-avatar a:hover{box-shadow:none}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px}.widget.buddypress .bp-login-widget-user-links>div{margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}.buddypress .bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:-1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;left:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;transform:translateX(-50%);transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}#group-admins .bp-tooltip:after,#group-mods .bp-tooltip:after,.message-metadata .bp-tooltip:after{left:0;text-align:left;transform:translateX(0)}.feed .bp-tooltip:after,.item-list .bp-tooltip:after,.messages-notices .bp-tooltip:after{right:0;left:auto;text-align:right;transform:translateX(0)}.admin-bar-on .bp-tooltip:after,.bp-site-wide-message .bp-tooltip:after{left:50px}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:right;float:right;margin-top:0;text-align:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{clear:right;float:right;margin-top:0;margin-right:70px;position:relative;top:0;left:0;text-align:right}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center;margin-bottom:10px}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto;overflow:hidden}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);margin-right:20px;height:80px;width:80px}#buddypress ul.item-list li .bp-group-avatar-content img.avatar,#buddypress ul.item-list li .bp-member-avatar-content img.avatar{float:none;margin:auto}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:left}}
bp-templates/bp-legacy/css/buddypress.css CHANGED
@@ -326,6 +326,17 @@ body.activity-permalink #buddypress .activity-list li .activity-header > p {
326
  padding-left: 10px;
327
  }
328
 
 
 
 
 
 
 
 
 
 
 
 
329
  body.activity-permalink #buddypress .activity-content .activity-inner,
330
  body.activity-permalink #buddypress .activity-content blockquote {
331
  margin-left: 0;
326
  padding-left: 10px;
327
  }
328
 
329
+ #buddypress .activity-list li.new_blog_post .activity-content .activity-inner strong {
330
+ display: block;
331
+ margin-bottom: 0.8em;
332
+ }
333
+
334
+ #buddypress .activity-list li.new_blog_post .activity-content .activity-inner img {
335
+ max-width: 100%;
336
+ float: left;
337
+ margin-right: 0.8em;
338
+ }
339
+
340
  body.activity-permalink #buddypress .activity-content .activity-inner,
341
  body.activity-permalink #buddypress .activity-content blockquote {
342
  margin-left: 0;
bp-templates/bp-legacy/css/buddypress.min.css CHANGED
@@ -1 +1 @@
1
- #buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:1.5;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:2.2}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #eaeaea;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner{margin:0}#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4d4d4d}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p,#sitewide-notice strong:first-child{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}body.create-blog #buddypress .error{background-color:#fdc;border:1px solid #a00;color:#800;padding:10px 15px}body.create-blog #buddypress .success{background-color:#efc;border:1px solid #591;color:#250;padding:10px 15px}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress label.xprofile-field-label{display:inline}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-right:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-right:3em}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.bp-screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#sitewide-notice,.bp-site-wide-message{position:relative}#buddypress div#message p,#sitewide-notice #message{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.admin-bar-on #message p,.bp-site-wide-message #message p{padding-right:25px}.admin-bar-on #message a.button,.admin-bar-on #message button,.bp-site-wide-message #message a.button,.bp-site-wide-message #message button{font-size:.8em;padding:2px 4px;position:absolute;right:0;top:0}.admin-bar-on #message a.button,.admin-bar-on #message button{right:10px;top:7px}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:1.2;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header div#item-actions a{display:inline-block}#buddypress div#item-header ul{margin-bottom:15px}#buddypress div#item-header ul:after{clear:both;content:"";display:table}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header div#message.info{line-height:.8}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata:after{clear:both;content:"";display:table}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5;color:#707070}#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress div.avatar-block:after{clear:both;content:"";display:table}.widget.buddypress .item-avatar a{float:left;margin-bottom:15px;margin-right:10px}.widget.buddypress div.item-avatar img{display:inline-block;height:40px;margin:1px;width:40px}.widget.buddypress .item-avatar a,.widget.buddypress .item-avatar a img,.widget.buddypress .item-avatar a:active,.widget.buddypress .item-avatar a:focus,.widget.buddypress .item-avatar a:hover{box-shadow:none}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px}.widget.buddypress .bp-login-widget-user-links>div{margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}.buddypress .bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;right:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;transform:translateX(50%);transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}#group-admins .bp-tooltip:after,#group-mods .bp-tooltip:after,.message-metadata .bp-tooltip:after{right:0;text-align:right;transform:translateX(0)}.feed .bp-tooltip:after,.item-list .bp-tooltip:after,.messages-notices .bp-tooltip:after{left:0;right:auto;text-align:left;transform:translateX(0)}.admin-bar-on .bp-tooltip:after,.bp-site-wide-message .bp-tooltip:after{right:50px}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:left;float:left;margin-top:0;text-align:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{clear:left;float:left;margin-top:0;margin-left:70px;position:relative;top:0;right:0;text-align:left}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center;margin-bottom:10px}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto;overflow:hidden}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);margin-left:20px;height:80px;width:80px}#buddypress ul.item-list li .bp-group-avatar-content img.avatar,#buddypress ul.item-list li .bp-member-avatar-content img.avatar{float:none;margin:auto}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:right}}
1
+ #buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress div.pagination .pagination-links a:hover{font-weight:700}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:1.5;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:2.2}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #eaeaea;margin-left:5px;padding-left:10px}#buddypress .activity-list li.new_blog_post .activity-content .activity-inner strong{display:block;margin-bottom:.8em}#buddypress .activity-list li.new_blog_post .activity-content .activity-inner img{max-width:100%;float:left;margin-right:.8em}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner{margin:0}#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4d4d4d}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p,#sitewide-notice strong:first-child{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#buddypress ul.button-nav li.current a{font-weight:700}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}body.create-blog #buddypress .error{background-color:#fdc;border:1px solid #a00;color:#800;padding:10px 15px}body.create-blog #buddypress .success{background-color:#efc;border:1px solid #591;color:#250;padding:10px 15px}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress label.xprofile-field-label{display:inline}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-right:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-right:3em}.bp-screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.bp-screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled]{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p{margin:0}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon{display:none}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#sitewide-notice,.bp-site-wide-message{position:relative}#buddypress div#message p,#sitewide-notice #message{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.admin-bar-on #message p,.bp-site-wide-message #message p{padding-right:25px}.admin-bar-on #message a.button,.admin-bar-on #message button,.bp-site-wide-message #message a.button,.bp-site-wide-message #message button{font-size:.8em;padding:2px 4px;position:absolute;right:0;top:0}.admin-bar-on #message a.button,.admin-bar-on #message button{right:10px;top:7px}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:1.2;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle;display:inline-block}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header div#item-actions a{display:inline-block}#buddypress div#item-header ul{margin-bottom:15px}#buddypress div#item-header ul:after{clear:both;content:"";display:table}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span{display:none}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header div#message.info{line-height:.8}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-metadata:after{clear:both;content:"";display:table}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5;color:#707070}#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress div.avatar-block:after{clear:both;content:"";display:table}.widget.buddypress .item-avatar a{float:left;margin-bottom:15px;margin-right:10px}.widget.buddypress div.item-avatar img{display:inline-block;height:40px;margin:1px;width:40px}.widget.buddypress .item-avatar a,.widget.buddypress .item-avatar a img,.widget.buddypress .item-avatar a:active,.widget.buddypress .item-avatar a:focus,.widget.buddypress .item-avatar a:hover{box-shadow:none}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px}.widget.buddypress .bp-login-widget-user-links>div{margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}.buddypress .bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;right:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;transform:translateX(50%);transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}#group-admins .bp-tooltip:after,#group-mods .bp-tooltip:after,.message-metadata .bp-tooltip:after{right:0;text-align:right;transform:translateX(0)}.feed .bp-tooltip:after,.item-list .bp-tooltip:after,.messages-notices .bp-tooltip:after{left:0;right:auto;text-align:left;transform:translateX(0)}.admin-bar-on .bp-tooltip:after,.bp-site-wide-message .bp-tooltip:after{right:50px}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search{clear:left;float:left;margin-top:0;text-align:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{clear:left;float:left;margin-top:0;margin-left:70px;position:relative;top:0;right:0;text-align:left}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center;margin-bottom:10px}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto;overflow:hidden}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);margin-left:20px;height:80px;width:80px}#buddypress ul.item-list li .bp-group-avatar-content img.avatar,#buddypress ul.item-list li .bp-member-avatar-content img.avatar{float:none;margin:auto}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:right}}
bp-templates/bp-legacy/js/buddypress.js CHANGED
@@ -431,6 +431,9 @@ jq( function() {
431
 
432
  /* Load more updates at the end of the page */
433
  if ( target.parent().hasClass('load-more') ) {
 
 
 
434
  if ( bp_ajax_request ) {
435
  bp_ajax_request.abort();
436
  }
@@ -448,6 +451,7 @@ jq( function() {
448
  action: 'activity_get_older_updates',
449
  'cookie': bp_get_cookies(),
450
  'page': oldest_page,
 
451
  'exclude_just_posted': just_posted.join(',')
452
  };
453
 
431
 
432
  /* Load more updates at the end of the page */
433
  if ( target.parent().hasClass('load-more') ) {
434
+ var loadMoreLink = new URL( jq( target ).prop( 'href' ) ),
435
+ offsetLower = parseInt( loadMoreLink.searchParams.get( 'offset_lower' ), 10 ) || 0;
436
+
437
  if ( bp_ajax_request ) {
438
  bp_ajax_request.abort();
439
  }
451
  action: 'activity_get_older_updates',
452
  'cookie': bp_get_cookies(),
453
  'page': oldest_page,
454
+ 'offset_lower': offsetLower,
455
  'exclude_just_posted': just_posted.join(',')
456
  };
457
 
bp-templates/bp-legacy/js/buddypress.min.js CHANGED
@@ -1 +1 @@
1
- var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0,directoryPreferences={};function bp_get_directory_preference(e,t){var i={filter:"",scope:"",extras:""};if(!directoryPreferences.hasOwnProperty(e)){var a,s={};for(a in i)i.hasOwnProperty(a)&&(s[a]=i[a]);directoryPreferences[e]=s}return BP_DTheme.store_filter_settings&&(directoryPreferences[e][t]=jq.cookie("bp-"+e+"-"+t)),directoryPreferences[e][t]}function bp_set_directory_preference(e,t,i){var a={filter:"",scope:"",extras:""};if(!directoryPreferences.hasOwnProperty(e)){var s,n={};for(s in a)a.hasOwnProperty(s)&&(n[s]=a[s]);directoryPreferences[e]=n}BP_DTheme.store_filter_settings&&jq.cookie("bp-"+e+"-"+t,i,{path:"/",secure:"https:"===window.location.protocol}),directoryPreferences[e][t]=i}function bp_init_activity(){var e=bp_get_directory_preference("activity","scope"),t=bp_get_directory_preference("activity","filter");void 0!==t&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+t+'"]').prop("selected",!0),void 0!==e&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+e+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(e){var t=bp_get_directory_preference(a[e],"scope"),i=bp_get_directory_preference(a[e],"filter");void 0!==i&&jq("#"+a[e]+"-order-select select").length&&jq("#"+a[e]+'-order-select select option[value="'+i+'"]').prop("selected",!0),void 0!==t&&jq("div."+a[e]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[e]+"-"+t+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(e,t,i,a,s,n,r,o,c){if("activity"===e)return!1;bp_set_directory_preference(e,"scope",i=null===i?"all":i),bp_set_directory_preference(e,"filter",t),bp_set_directory_preference(e,"extras",r),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+e+"-"+i+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+t+'"]').prop("selected",!0),"friends"!==e&&"group_members"!==e||(e="members"),bp_ajax_request&&bp_ajax_request.abort();var l={},l=(l["bp-"+e+"-filter"]=bp_get_directory_preference(e,"filter"),l["bp-"+e+"-scope"]=bp_get_directory_preference(e,"scope"),encodeURIComponent(jq.param(l)));bp_ajax_request=jq.post(ajaxurl,{action:e+"_filter",cookie:l,object:e,filter:t,search_terms:s,scope:i,page:n,extras:r,template:c},function(e){var t;"pag-bottom"===o&&jq("#subnav").length?(t=jq("#subnav").parent(),jq("html,body").animate({scrollTop:t.offset().top},"slow",function(){jq(a).fadeOut(100,function(){jq(this).html(e),jq(this).fadeIn(100)})})):jq(a).fadeOut(100,function(){jq(this).html(e),jq(this).fadeIn(100)}),jq(".item-list-tabs li.selected").removeClass("loading")})}function bp_activity_request(e,t){bp_set_directory_preference("activity","scope",e),bp_set_directory_preference("activity","filter",t),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+e+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+t+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort();var i={"bp-activity-filter":bp_get_directory_preference("activity","filter"),"bp-activity-scope":bp_get_directory_preference("activity","scope")},i=encodeURIComponent(jq.param(i));bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:i,_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:e,filter:t},function(e){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(e.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==e.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",e.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var t,i,a,e=jq("div.activity-comments");if(!e.length)return!1;e.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),t=comments_div.parents("#activity-stream > li"),i=jq(this).children("ul").children("li"),a=" ",jq("#"+t.attr("id")+' li[id*="acomment-"]').length&&(a=jq("#"+t.attr("id")+' li[id*="acomment-"]').length),i.each(function(e){e<i.length-5&&(jq(this).hide(),e||jq(this).before('<li class="show-all"><a href="#'+t.attr("id")+'/show-all/">'+BP_DTheme.show_x_comments.replace("%d",a)+"</a></li>"))}))})}function checkAll(){for(var e=document.getElementsByTagName("input"),t=0;t<e.length;t++)"checkbox"===e[t].type&&(""===$("check_all").checked?e[t].checked="":e[t].checked="checked")}function clear(e){if(e=document.getElementById(e)){var t=e.getElementsByTagName("INPUT"),i=e.getElementsByTagName("OPTION"),a=0;if(t)for(a=0;a<t.length;a++)t[a].checked="";if(i)for(a=0;a<i.length;a++)i[a].selected=!1}}function bp_get_cookies(){for(var e,t,i,a=document.cookie.split(";"),s={},n=0;n<a.length;n++)e=(i=a[n]).indexOf("="),t=jq.trim(unescape(i.slice(0,e))),i=unescape(i.slice(e+1)),0===t.indexOf("bp-")&&(s[t]=i);return encodeURIComponent(jq.param(s))}function bp_get_query_var(e,t){var i={};return(t=(void 0===t?location.search.substr(1):t.split("?")[1]).split("&")).forEach(function(e){i[e.split("=")[0]]=e.split("=")[1]&&decodeURIComponent(e.split("=")[1])}),!(!i.hasOwnProperty(e)||null==i[e])&&i[e]}jq(function(){var e,l=1,i=(bp_init_activity(),jq("#whats-new")),a=(bp_init_objects(["members","groups","blogs","group_members"]),i.length&&bp_get_querystring("r")?(e=i.val(),jq("#whats-new-options").slideDown(),i.animate({height:"3.8em"}),jq.scrollTo(i,500,{offset:-125,easing:"swing"}),i.val("").trigger("focus").val(e)):jq("#whats-new-options").hide(),i.on("focus",function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var e=jq("form#whats-new-form"),t=jq("#activity-all");e.hasClass("submitted")&&e.removeClass("submitted"),t.length&&(t.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),t.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(e){var t=jq(this);setTimeout(function(){t.find(":hover").length||""===i.val()&&(i.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),i.parent().removeClass("active"))},0)}),jq("#aw-whats-new-submit").on("click",function(){var a=0,e=jq(this),s=e.closest("form#whats-new-form"),i={};return jq.each(s.serializeArray(),function(e,t){"_"!==t.name.substr(0,1)&&"whats-new"!==t.name.substr(0,9)&&(i[t.name]?Array.isArray(i[t.name])?i[t.name].push(t.value):i[t.name]=new Array(i[t.name],t.value):i[t.name]=t.value)}),s.find("*").each(function(e,t){"textarea"!==t.nodeName.toLowerCase()&&"input"!==t.nodeName.toLowerCase()||jq(t).prop("disabled",!0)}),jq("div.error").remove(),e.addClass("loading"),e.prop("disabled",!0),s.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(a=timestamp[1]),0<item_id&&(object=jq("#whats-new-post-object").val()),e=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:a,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},i),jq.post(ajaxurl,e,function(e){var t,i;s.find("*").each(function(e,t){"textarea"!==t.nodeName.toLowerCase()&&"input"!==t.nodeName.toLowerCase()||jq(t).prop("disabled",!1)}),e[0]+e[1]==="-1"?(s.prepend(e.substr(2,e.length)),jq("#"+s.attr("id")+" div.error").hide().fadeIn(200)):(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(e),a||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length&&(e=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),t=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),i=""!==jq("#activity-stream li.new-update .activity-content .activity-inner p").text()?e+" ":"",i+='<a href="'+t+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(i),jq("#latest-update").slideDown(300)})),jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),s.get(0).reset(),newest_activities="",activity_last_recorded=0),jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(e){var t,i=jq(e.target).parent();if("STRONG"===e.target.nodeName||"SPAN"===e.target.nodeName)i=i.parent();else if("A"!==e.target.nodeName)return!1;return e=i.attr("id").substr(9,i.attr("id").length),t=jq("#activity-filter-select select").val(),"mentions"===e&&jq("#"+i.attr("id")+" a strong").remove(),bp_activity_request(e,t),!1}),jq("#activity-filter-select select").on("change",function(){var e=jq("div.activity-type-tabs li.selected"),t=jq(this).val(),e=e.length?e.attr("id").substr(9,e.attr("id").length):null;return bp_activity_request(e,t),!1}),jq("div.activity").on("click",function(e){var t,i,a,s,n,r,o,c=jq(e.target);return c.hasClass("fav")||c.hasClass("unfav")?(c.hasClass("loading")||(t=c.hasClass("fav")?"fav":"unfav",a=(a=c.closest(".activity-item")).attr("id").substr(9,a.attr("id").length),s=bp_get_query_var("_wpnonce",c.attr("href")),c.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+t,cookie:bp_get_cookies(),id:a,nonce:s},function(e){c.removeClass("loading"),c.fadeOut(200,function(){jq(this).html(e),jq(this).attr("title","fav"==t?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"==t?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),c.removeClass("fav"),c.addClass("unfav")):(c.removeClass("unfav"),c.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&c.closest(".activity-item").slideUp(100)})),!1):c.hasClass("delete-activity")?(a=(i=c.parents("div.activity ul li")).attr("id").substr(9,i.attr("id").length),s=c.attr("href").split("_wpnonce="),n=i.prop("class").match(/date-recorded-([0-9]+)/),s=s[1],c.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:a,_wpnonce:s},function(e){e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(300)):(i.slideUp(300),n&&activity_last_recorded===n[1]&&(newest_activities="",activity_last_recorded=0))}),!1):c.hasClass("spam-activity")?(i=c.parents("div.activity ul li"),n=i.prop("class").match(/date-recorded-([0-9]+)/),c.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:i.attr("id").substr(9,i.attr("id").length),_wpnonce:c.attr("href").split("_wpnonce=")[1]},function(e){e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(300)):(i.slideUp(300),n&&activity_last_recorded===n[1]&&(newest_activities="",activity_last_recorded=0))}),!1):c.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),r=l+1,o=[],jq(".activity-list li.just-posted").each(function(){o.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:r,exclude_just_posted:o.join(",")},(load_more_search=bp_get_querystring("s"))&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(e){jq("#buddypress li.load-more").removeClass("loading"),l=r,jq("#buddypress ul.activity-list").append(e.contents),c.parent().hide()},"json"),!1):void(c.parent().hasClass("load-newest")&&(e.preventDefault(),c.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(e,t){"LI"===t.nodeName&&jq(t).hasClass("just-posted")&&jq("#"+jq(t).attr("id")).length&&jq("#"+jq(t).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(e){var e=jq(e.target),t=e.parent().attr("id").split("-"),i=t[3],t=t[0],a=jq("#"+t+"-"+i+" ."+("acomment"===t?"acomment-content":"activity-inner")+":first");return jq(e).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:i},function(e){jq(a).slideUp(300).html(e).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(e){var a,s,t,n,r,i,o,c,l,d=jq(e.target);return d.hasClass("acomment-reply")||d.parent().hasClass("acomment-reply")?(c=(e=(d=d.parent().hasClass("acomment-reply")?d.parent():d).attr("id").split("-"))[2],l=d.attr("href").substr(10,d.attr("href").length),(a=jq("#ac-form-"+c)).length?(a.css("display","none"),a.removeClass("root"),jq(".ac-form").hide(),a.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),("comment"!==e[1]?jq("#acomment-"+l):jq("#activity-"+c+" .activity-comments")).append(a),a.parent().hasClass("activity-comments")&&a.addClass("root"),a.slideDown(200),jq.scrollTo(a,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+e[2]+" textarea").trigger("focus")):(l=d.closest("li.activity").find(".activity-meta a.view").prop("href"))&&(window.location.href=l),!1):"ac_form_submit"===d.attr("name")?(c=(a=d.parents("form")).parent(),s=a.attr("id").split("-"),t=c.hasClass("activity-comments")?s[2]:c.attr("id").split("-")[1],content=jq("#"+a.attr("id")+" textarea"),jq("#"+a.attr("id")+" div.error").hide(),d.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),e={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment_"+s[2]).val(),comment_id:t,form_id:s[2],content:content.val()},(l=jq("#_bp_as_nonce_"+t).val())&&(e["_bp_as_nonce_"+t]=l),jq.post(ajaxurl,e,function(t){var i;d.removeClass("loading"),content.removeClass("loading"),t[0]+t[1]==="-1"?a.append(jq(t.substr(2,t.length)).hide().fadeIn(200)):(i=a.parent(),a.fadeOut(200,function(){0===i.children("ul").length&&(i.hasClass("activity-comments")?i.prepend("<ul></ul>"):i.append("<ul></ul>"));var e=jq.trim(t);i.children("ul").append(jq(e).hide().fadeIn(200)),a.children("textarea").val(""),i.parent().addClass("has-comments")}),jq("#"+a.attr("id")+" textarea").val(""),r=Number(jq("#activity-"+s[2]+" a.acomment-reply span").html())+1,jq("#activity-"+s[2]+" a.acomment-reply span").html(r),(n=i.parents(".activity-comments").find(".show-all a"))&&n.html(BP_DTheme.show_x_comments.replace("%d",r))),jq(d).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):d.hasClass("acomment-delete")?(i=d.attr("href"),o=d.closest("li"),a=o.find("form.ac-form"),c=i.split("_wpnonce=")[1],t=(t=(t=i.split("cid="))[1].split("&"))[0],d.addClass("loading"),jq(".activity-comments ul .error").remove(),a&&a.length&&o.closest(".activity-comments").append(a),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:c,id:t},function(e){var t,i;e[0]+e[1]==="-1"?o.prepend(jq(e.substr(2,e.length)).hide().fadeIn(200)):(e=jq("#"+o.attr("id")+" ul").children("li"),t=0,jq(e).each(function(){jq(this).is(":hidden")||t++}),o.fadeOut(200,function(){o.remove()}),i=(e=jq("#"+o.parents("#activity-stream > li").attr("id")+" a.acomment-reply span")).html()-(1+t),e.html(i),(e=o.parents(".activity-comments").find(".show-all a"))&&e.html(BP_DTheme.show_x_comments.replace("%d",i)),0==i&&jq(o.parents("#activity-stream > li")).removeClass("has-comments"))}),!1):d.hasClass("spam-activity-comment")?(i=d.attr("href"),o=d.parent().parent(),d.addClass("loading"),jq(".activity-comments ul div.error").remove(),o.parents(".activity-comments").append(o.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:i.split("_wpnonce=")[1],id:i.split("cid=")[1].split("&")[0]},function(e){var t;e[0]+e[1]==="-1"?o.prepend(jq(e.substr(2,e.length)).hide().fadeIn(200)):(e=jq("#"+o.attr("id")+" ul").children("li"),t=0,jq(e).each(function(){jq(this).is(":hidden")||t++}),o.fadeOut(200),e=o.parents("#activity-stream > li"),jq("#"+e.attr("id")+" a.acomment-reply span").html(jq("#"+e.attr("id")+" a.acomment-reply span").html()-(1+t)))}),!1):d.parent().hasClass("show-all")?(d.parent().addClass("loading"),setTimeout(function(){d.parent().parent().children("li").fadeIn(200,function(){d.parent().remove()})},600),!1):d.hasClass("ac-reply-cancel")?(jq(d).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).on("keydown",function(e){(e=e||window.event).target?element=e.target:e.srcElement&&(element=e.srcElement),3===element.nodeType&&(element=element.parentNode),!0!==e.ctrlKey&&!0!==e.altKey&&!0!==e.metaKey&&27===(e.keyCode||e.which)&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}),jq(".dir-search, .groups-members-search").on("click",function(e){var t,i,a;return!jq(this).hasClass("no-ajax")&&"submit"===(a=jq(e.target)).attr("type")?(t=jq(".item-list-tabs li.selected").attr("id").split("-")[0],i=null,a=a.parent().find("#"+t+"_search").val(),"groups-members-search"===e.currentTarget.className&&(t="group_members",i="groups/single/members"),e=bp_get_directory_preference(t,"scope"),bp_filter_request(t,bp_get_directory_preference(t,"filter"),e,"div."+t,a,1,bp_get_directory_preference(t,"extras"),null,i),!1):void 0}),jq("div.item-list-tabs").on("click",function(e){var t;if(jq("body").hasClass("type")&&jq("body").hasClass("directory")&&jq(this).addClass("no-ajax"),!jq(this).hasClass("no-ajax")&&!jq(e.target).hasClass("no-ajax"))return e="SPAN"===e.target.nodeName?e.target.parentNode:e.target,"LI"!==(e=jq(e).parent())[0].nodeName||e.hasClass("last")?void 0:("activity"!==(t=(e=e.attr("id").split("-"))[0])&&(e=e[1],bp_filter_request(t,jq("#"+t+"-order-select select").val(),e,"div."+t,jq("#"+t+"_search").val(),1,bp_get_directory_preference(t,"extras"))),!1)}),jq("li.filter select").on("change",function(){var e,t=jq(".item-list-tabs li.selected").length?jq(".item-list-tabs li.selected"):jq(this),t=t.attr("id").split("-"),i=t[0],t=t[1],a=jq(this).val(),s=!1,n=null;return jq(".dir-search input").length&&(s=jq(".dir-search input").val()),(e=jq(".groups-members-search input")).length&&(s=e.val(),i="members",t="groups"),"members"===i&&"groups"===t&&(i="group_members",n="groups/single/members"),bp_filter_request(i="friends"===i?"members":i,a,t,"div."+i,s,1,bp_get_directory_preference(i,"extras"),null,n),!1}),jq("#buddypress").on("click",function(e){var t,i,a,s,n,r,e=jq(e.target);return!!e.hasClass("button")||(e.parent().parent().hasClass("pagination")&&!e.parent().parent().hasClass("no-ajax")?(e.hasClass("dots")||e.hasClass("current")||(t=(r=(jq(".item-list-tabs li.selected").length?jq(".item-list-tabs li.selected"):jq("li.filter select")).attr("id").split("-"))[0],i=!1,a=jq(e).closest(".pagination-links").attr("id"),s=null,jq("div.dir-search input").length&&(i=!(i=jq(".dir-search input")).val()&&bp_get_querystring(i.attr("name"))?jq(".dir-search input").prop("placeholder"):i.val()),n=(jq(e).hasClass("next")||jq(e).hasClass("prev")?jq(".pagination span.current"):jq(e)).html(),n=Number(n.replace(/\D/g,"")),jq(e).hasClass("next")?n++:jq(e).hasClass("prev")&&n--,(e=jq(".groups-members-search input")).length&&(i=e.val(),t="members"),"members"===t&&"groups"===r[1]&&(t="group_members",s="groups/single/members"),"admin"===t&&jq("body").hasClass("membership-requests")&&(t="requests"),e=-1!==a.indexOf("pag-bottom")?"pag-bottom":null,r=bp_get_directory_preference(t,"scope"),bp_filter_request(t,bp_get_directory_preference(t,"filter"),r,"div."+t,i,n,bp_get_directory_preference(t,"extras"),e,s)),!1):void 0)}),jq("#send-invite-form").on("click","#invite-list input",function(){var t,i,a=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),a&&jq(this).parents("ul").find("input").prop("disabled",!0),t=jq(this).val(),i=!0===jq(this).prop("checked")?"invite":"uninvite",a||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:i,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:t,group_id:jq("#group_id").val()},function(e){jq("#message")&&jq("#message").hide(),a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===i?jq("#friend-list").append(e):"uninvite"===i&&jq("#friend-list li#uid-"+t).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var e=jq("#send-invite-form > .invite").length,t=jq(this).attr("id");return jq(".ajax-loader").toggle(),t=(t=t.split("-"))[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:t,group_id:jq("#group_id").val()},function(){e?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+t).remove(),jq("#invite-list #f-"+t).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(e){e.preventDefault(),jq(this).attr("aria-expanded","true").parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(e){e.preventDefault(),jq(".visibility-toggle-link").attr("aria-expanded","false");var e=jq(this).parent(),t=e.find("input:checked").parent().text();e.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").find(".current-visibility-level").text(t).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").on("change",function(){var t=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){t=!1}),window.onbeforeunload=function(e){if(t)return BP_DTheme.unsaved_changes}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var e,t=jq(this),i=jq(this).parents("#friend-list li"),a=jq(this).parents("li div.action"),s=i.attr("id").substr(11,i.attr("id").length),n=t.attr("href").split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")||((jq(this).hasClass("accept")?(e="accept_friendship",a.children("a.reject")):(e="reject_friendship",a.children("a.accept"))).css("visibility","hidden"),t.addClass("loading"),jq.post(ajaxurl,{action:e,cookie:bp_get_cookies(),id:s,_wpnonce:n},function(e){t.removeClass("loading"),e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(200)):t.fadeOut(100,function(){(jq(this).hasClass("accept")?(a.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted)):(a.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected))).contents().unwrap()})})),!1}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var e=jq(this).attr("id"),t=jq(this).attr("href"),i=jq(this);return e=(e=e.split("-"))[1],t=(t=(t=t.split("?_wpnonce="))[1].split("&"))[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:e,_wpnonce:t},function(e){var t=i.attr("rel");parentdiv=i.parent(),"add"===t?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(e)}):"remove"===t&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(e)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){if(!1===confirm(BP_DTheme.leave_group_confirm))return!1}),jq("#groups-dir-list").on("click",".group-button a",function(){var e=jq(this).parent().attr("id"),t=jq(this).attr("href"),s=jq(this);return e=(e=e.split("-"))[1],t=(t=(t=t.split("?_wpnonce="))[1].split("&"))[0],s.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)||jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:e,_wpnonce:t},function(i){var a=s.parent();jq("body.directory").length?jq(a).fadeOut(200,function(){a.fadeIn(200).html(i);var e=jq("#groups-personal span"),t=1;s.hasClass("leave-group")?(a.hasClass("hidden")&&a.closest("li").slideUp(200),t=0):s.hasClass("request-membership")&&(t=!1),e.length&&!1!==t&&(t?e.text(1+(e.text()>>0)):e.text((e.text()>>0)-1))}):window.location.reload()}),!1}),jq("#groups-list li.hidden").each(function(){"none"===jq(this).css("display")&&jq(this).css("cssText","display: list-item !important")}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")&&((e=jq("#signup_with_blog")).prop("checked")||jq("#blog-details").toggle(),e.on("change",function(){jq("#blog-details").toggle()})),jq(".message-search").on("click",function(e){var t,i,a;return!jq(this).hasClass("no-ajax")&&("submit"===(e=jq(e.target)).attr("type")||"button"===e.attr("type"))?(t=bp_get_directory_preference(e="messages","scope"),i=bp_get_directory_preference(e,"filter"),a=bp_get_directory_preference(e,"extras"),bp_filter_request(e,i,t,"div."+e,jq("#messages_search").val(),1,a),!1):void 0}),jq("#send_reply_button").on("click",function(){var t=jq("#messages_order").val()||"ASC",i=jq("#message-recipients").offset(),a=jq("#send_reply_button");return jq(a).addClass("loading").prop("disabled",!0),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(e){e[0]+e[1]==="-1"?jq("#send-reply").prepend(e.substr(2,e.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===t?jq("#send-reply").before(e):(jq("#message-recipients").after(e),jq(window).scrollTop(i.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(a).removeClass("loading").prop("disabled",!1)}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var e=this.value,t=jq('td input[type="checkbox"]'),i="checked";switch(t.each(function(e){t[e].checked=""}),e){case"unread":t=jq('tr.unread td input[type="checkbox"]');break;case"read":t=jq('tr.read td input[type="checkbox"]');break;case"":i=""}t.each(function(e){t[e].checked=i})}),jq("#select-all-messages").on("click",function(){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var t=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:t.data("message-id"),star_status:t.data("star-status"),nonce:t.data("star-nonce"),bulk:t.data("star-bulk")},function(e){1===parseInt(e,10)&&("unstar"===t.data("star-status")?(t.data("star-status","star"),t.removeClass("message-action-unstar").addClass("message-action-star"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?t.attr("data-bp-tooltip",BP_PM_Star.strings.title_star):t.attr("data-bp-tooltip",BP_PM_Star.strings.title_star_thread)):(t.data("star-status","unstar"),t.removeClass("message-action-star").addClass("message-action-unstar"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?t.attr("data-bp-tooltip",BP_PM_Star.strings.title_unstar):t.attr("data-bp-tooltip",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var e=jq(this),t=e.closest("tr").find(".thread-star a");e.prop("checked")?"unstar"===t.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===t.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--,0<BP_PM_Star.star_counter&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),0<BP_PM_Star.unstar_counter&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").on("click",function(){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#select-all-invitations").on("click",function(){this.checked?jq(".invitation-check").each(function(){this.checked=!0}):jq(".invitation-check").each(function(){this.checked=!1})}),jq("#invitation-bulk-manage").attr("disabled","disabled"),jq("#invitation-select").on("change",function(){jq("#invitation-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length),nonce:jq("#close-notice-nonce").val()},function(e){jq("#close-notice").removeClass("loading"),e[0]+e[1]==="-1"?(jq(".notice").prepend(e.substr(2,e.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").on("mouseover",function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").on("mouseout",function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-oldestpage",{path:"/",secure:"https:"===window.location.protocol});var t=["members","groups","blogs","forums"];jq(t).each(function(e){jq.removeCookie("bp-"+t[e]+"-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-extras",{path:"/",secure:"https:"===window.location.protocol})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&void 0!==wp.heartbeat&&void 0!==BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}})),0);jq(document).on("heartbeat-send.buddypress",function(e,t){a=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/))&&(a=timestamp[1]),(0===activity_last_recorded||Number(a)>activity_last_recorded)&&(activity_last_recorded=Number(a)),t.bp_activity_last_recorded=activity_last_recorded,(last_recorded_search=bp_get_querystring("s"))&&(t.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(e,t){t.bp_activity_newest_activities&&(newest_activities=t.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(t.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))})});
1
+ var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0,directoryPreferences={};function bp_get_directory_preference(e,t){var i={filter:"",scope:"",extras:""};if(!directoryPreferences.hasOwnProperty(e)){var a,s={};for(a in i)i.hasOwnProperty(a)&&(s[a]=i[a]);directoryPreferences[e]=s}return BP_DTheme.store_filter_settings&&(directoryPreferences[e][t]=jq.cookie("bp-"+e+"-"+t)),directoryPreferences[e][t]}function bp_set_directory_preference(e,t,i){var a={filter:"",scope:"",extras:""};if(!directoryPreferences.hasOwnProperty(e)){var s,n={};for(s in a)a.hasOwnProperty(s)&&(n[s]=a[s]);directoryPreferences[e]=n}BP_DTheme.store_filter_settings&&jq.cookie("bp-"+e+"-"+t,i,{path:"/",secure:"https:"===window.location.protocol}),directoryPreferences[e][t]=i}function bp_init_activity(){var e=bp_get_directory_preference("activity","scope"),t=bp_get_directory_preference("activity","filter");void 0!==t&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+t+'"]').prop("selected",!0),void 0!==e&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+e+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(e){var t=bp_get_directory_preference(a[e],"scope"),i=bp_get_directory_preference(a[e],"filter");void 0!==i&&jq("#"+a[e]+"-order-select select").length&&jq("#"+a[e]+'-order-select select option[value="'+i+'"]').prop("selected",!0),void 0!==t&&jq("div."+a[e]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[e]+"-"+t+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(e,t,i,a,s,n,r,o,c){if("activity"===e)return!1;bp_set_directory_preference(e,"scope",i=null===i?"all":i),bp_set_directory_preference(e,"filter",t),bp_set_directory_preference(e,"extras",r),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+e+"-"+i+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+t+'"]').prop("selected",!0),"friends"!==e&&"group_members"!==e||(e="members"),bp_ajax_request&&bp_ajax_request.abort();var l={},l=(l["bp-"+e+"-filter"]=bp_get_directory_preference(e,"filter"),l["bp-"+e+"-scope"]=bp_get_directory_preference(e,"scope"),encodeURIComponent(jq.param(l)));bp_ajax_request=jq.post(ajaxurl,{action:e+"_filter",cookie:l,object:e,filter:t,search_terms:s,scope:i,page:n,extras:r,template:c},function(e){var t;"pag-bottom"===o&&jq("#subnav").length?(t=jq("#subnav").parent(),jq("html,body").animate({scrollTop:t.offset().top},"slow",function(){jq(a).fadeOut(100,function(){jq(this).html(e),jq(this).fadeIn(100)})})):jq(a).fadeOut(100,function(){jq(this).html(e),jq(this).fadeIn(100)}),jq(".item-list-tabs li.selected").removeClass("loading")})}function bp_activity_request(e,t){bp_set_directory_preference("activity","scope",e),bp_set_directory_preference("activity","filter",t),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+e+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+t+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort();var i={"bp-activity-filter":bp_get_directory_preference("activity","filter"),"bp-activity-scope":bp_get_directory_preference("activity","scope")},i=encodeURIComponent(jq.param(i));bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:i,_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:e,filter:t},function(e){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(e.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==e.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",e.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var t,i,a,e=jq("div.activity-comments");if(!e.length)return!1;e.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),t=comments_div.parents("#activity-stream > li"),i=jq(this).children("ul").children("li"),a=" ",jq("#"+t.attr("id")+' li[id*="acomment-"]').length&&(a=jq("#"+t.attr("id")+' li[id*="acomment-"]').length),i.each(function(e){e<i.length-5&&(jq(this).hide(),e||jq(this).before('<li class="show-all"><a href="#'+t.attr("id")+'/show-all/">'+BP_DTheme.show_x_comments.replace("%d",a)+"</a></li>"))}))})}function checkAll(){for(var e=document.getElementsByTagName("input"),t=0;t<e.length;t++)"checkbox"===e[t].type&&(""===$("check_all").checked?e[t].checked="":e[t].checked="checked")}function clear(e){if(e=document.getElementById(e)){var t=e.getElementsByTagName("INPUT"),i=e.getElementsByTagName("OPTION"),a=0;if(t)for(a=0;a<t.length;a++)t[a].checked="";if(i)for(a=0;a<i.length;a++)i[a].selected=!1}}function bp_get_cookies(){for(var e,t,i,a=document.cookie.split(";"),s={},n=0;n<a.length;n++)e=(i=a[n]).indexOf("="),t=jq.trim(unescape(i.slice(0,e))),i=unescape(i.slice(e+1)),0===t.indexOf("bp-")&&(s[t]=i);return encodeURIComponent(jq.param(s))}function bp_get_query_var(e,t){var i={};return(t=(void 0===t?location.search.substr(1):t.split("?")[1]).split("&")).forEach(function(e){i[e.split("=")[0]]=e.split("=")[1]&&decodeURIComponent(e.split("=")[1])}),!(!i.hasOwnProperty(e)||null==i[e])&&i[e]}jq(function(){var e,l=1,i=(bp_init_activity(),jq("#whats-new")),a=(bp_init_objects(["members","groups","blogs","group_members"]),i.length&&bp_get_querystring("r")?(e=i.val(),jq("#whats-new-options").slideDown(),i.animate({height:"3.8em"}),jq.scrollTo(i,500,{offset:-125,easing:"swing"}),i.val("").trigger("focus").val(e)):jq("#whats-new-options").hide(),i.on("focus",function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var e=jq("form#whats-new-form"),t=jq("#activity-all");e.hasClass("submitted")&&e.removeClass("submitted"),t.length&&(t.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),t.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(e){var t=jq(this);setTimeout(function(){t.find(":hover").length||""===i.val()&&(i.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),i.parent().removeClass("active"))},0)}),jq("#aw-whats-new-submit").on("click",function(){var a=0,e=jq(this),s=e.closest("form#whats-new-form"),i={};return jq.each(s.serializeArray(),function(e,t){"_"!==t.name.substr(0,1)&&"whats-new"!==t.name.substr(0,9)&&(i[t.name]?Array.isArray(i[t.name])?i[t.name].push(t.value):i[t.name]=new Array(i[t.name],t.value):i[t.name]=t.value)}),s.find("*").each(function(e,t){"textarea"!==t.nodeName.toLowerCase()&&"input"!==t.nodeName.toLowerCase()||jq(t).prop("disabled",!0)}),jq("div.error").remove(),e.addClass("loading"),e.prop("disabled",!0),s.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(a=timestamp[1]),0<item_id&&(object=jq("#whats-new-post-object").val()),e=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:a,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},i),jq.post(ajaxurl,e,function(e){var t,i;s.find("*").each(function(e,t){"textarea"!==t.nodeName.toLowerCase()&&"input"!==t.nodeName.toLowerCase()||jq(t).prop("disabled",!1)}),e[0]+e[1]==="-1"?(s.prepend(e.substr(2,e.length)),jq("#"+s.attr("id")+" div.error").hide().fadeIn(200)):(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(e),a||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length&&(e=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),t=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),i=""!==jq("#activity-stream li.new-update .activity-content .activity-inner p").text()?e+" ":"",i+='<a href="'+t+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(i),jq("#latest-update").slideDown(300)})),jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),s.get(0).reset(),newest_activities="",activity_last_recorded=0),jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(e){var t,i=jq(e.target).parent();if("STRONG"===e.target.nodeName||"SPAN"===e.target.nodeName)i=i.parent();else if("A"!==e.target.nodeName)return!1;return e=i.attr("id").substr(9,i.attr("id").length),t=jq("#activity-filter-select select").val(),"mentions"===e&&jq("#"+i.attr("id")+" a strong").remove(),bp_activity_request(e,t),!1}),jq("#activity-filter-select select").on("change",function(){var e=jq("div.activity-type-tabs li.selected"),t=jq(this).val(),e=e.length?e.attr("id").substr(9,e.attr("id").length):null;return bp_activity_request(e,t),!1}),jq("div.activity").on("click",function(e){var t,i,a,s,n,r,o,c=jq(e.target);return c.hasClass("fav")||c.hasClass("unfav")?(c.hasClass("loading")||(t=c.hasClass("fav")?"fav":"unfav",r=(r=c.closest(".activity-item")).attr("id").substr(9,r.attr("id").length),o=bp_get_query_var("_wpnonce",c.attr("href")),c.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+t,cookie:bp_get_cookies(),id:r,nonce:o},function(e){c.removeClass("loading"),c.fadeOut(200,function(){jq(this).html(e),jq(this).attr("title","fav"==t?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"==t?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),c.removeClass("fav"),c.addClass("unfav")):(c.removeClass("unfav"),c.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&c.closest(".activity-item").slideUp(100)})),!1):c.hasClass("delete-activity")?(r=(i=c.parents("div.activity ul li")).attr("id").substr(9,i.attr("id").length),o=c.attr("href").split("_wpnonce="),a=i.prop("class").match(/date-recorded-([0-9]+)/),o=o[1],c.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:r,_wpnonce:o},function(e){e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(300)):(i.slideUp(300),a&&activity_last_recorded===a[1]&&(newest_activities="",activity_last_recorded=0))}),!1):c.hasClass("spam-activity")?(i=c.parents("div.activity ul li"),a=i.prop("class").match(/date-recorded-([0-9]+)/),c.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:i.attr("id").substr(9,i.attr("id").length),_wpnonce:c.attr("href").split("_wpnonce=")[1]},function(e){e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(300)):(i.slideUp(300),a&&activity_last_recorded===a[1]&&(newest_activities="",activity_last_recorded=0))}),!1):c.parent().hasClass("load-more")?(r=new URL(jq(c).prop("href")),o=parseInt(r.searchParams.get("offset_lower"),10)||0,bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),s=l+1,n=[],jq(".activity-list li.just-posted").each(function(){n.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:s,offset_lower:o,exclude_just_posted:n.join(",")},(load_more_search=bp_get_querystring("s"))&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(e){jq("#buddypress li.load-more").removeClass("loading"),l=s,jq("#buddypress ul.activity-list").append(e.contents),c.parent().hide()},"json"),!1):void(c.parent().hasClass("load-newest")&&(e.preventDefault(),c.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(e,t){"LI"===t.nodeName&&jq(t).hasClass("just-posted")&&jq("#"+jq(t).attr("id")).length&&jq("#"+jq(t).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(e){var e=jq(e.target),t=e.parent().attr("id").split("-"),i=t[3],t=t[0],a=jq("#"+t+"-"+i+" ."+("acomment"===t?"acomment-content":"activity-inner")+":first");return jq(e).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:i},function(e){jq(a).slideUp(300).html(e).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(e){var a,s,t,n,r,i,o,c,l,d=jq(e.target);return d.hasClass("acomment-reply")||d.parent().hasClass("acomment-reply")?(c=(e=(d=d.parent().hasClass("acomment-reply")?d.parent():d).attr("id").split("-"))[2],l=d.attr("href").substr(10,d.attr("href").length),(a=jq("#ac-form-"+c)).length?(a.css("display","none"),a.removeClass("root"),jq(".ac-form").hide(),a.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),("comment"!==e[1]?jq("#acomment-"+l):jq("#activity-"+c+" .activity-comments")).append(a),a.parent().hasClass("activity-comments")&&a.addClass("root"),a.slideDown(200),jq.scrollTo(a,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+e[2]+" textarea").trigger("focus")):(l=d.closest("li.activity").find(".activity-meta a.view").prop("href"))&&(window.location.href=l),!1):"ac_form_submit"===d.attr("name")?(c=(a=d.parents("form")).parent(),s=a.attr("id").split("-"),t=c.hasClass("activity-comments")?s[2]:c.attr("id").split("-")[1],content=jq("#"+a.attr("id")+" textarea"),jq("#"+a.attr("id")+" div.error").hide(),d.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),e={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment_"+s[2]).val(),comment_id:t,form_id:s[2],content:content.val()},(l=jq("#_bp_as_nonce_"+t).val())&&(e["_bp_as_nonce_"+t]=l),jq.post(ajaxurl,e,function(t){var i;d.removeClass("loading"),content.removeClass("loading"),t[0]+t[1]==="-1"?a.append(jq(t.substr(2,t.length)).hide().fadeIn(200)):(i=a.parent(),a.fadeOut(200,function(){0===i.children("ul").length&&(i.hasClass("activity-comments")?i.prepend("<ul></ul>"):i.append("<ul></ul>"));var e=jq.trim(t);i.children("ul").append(jq(e).hide().fadeIn(200)),a.children("textarea").val(""),i.parent().addClass("has-comments")}),jq("#"+a.attr("id")+" textarea").val(""),r=Number(jq("#activity-"+s[2]+" a.acomment-reply span").html())+1,jq("#activity-"+s[2]+" a.acomment-reply span").html(r),(n=i.parents(".activity-comments").find(".show-all a"))&&n.html(BP_DTheme.show_x_comments.replace("%d",r))),jq(d).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):d.hasClass("acomment-delete")?(i=d.attr("href"),o=d.closest("li"),a=o.find("form.ac-form"),c=i.split("_wpnonce=")[1],t=(t=(t=i.split("cid="))[1].split("&"))[0],d.addClass("loading"),jq(".activity-comments ul .error").remove(),a&&a.length&&o.closest(".activity-comments").append(a),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:c,id:t},function(e){var t,i;e[0]+e[1]==="-1"?o.prepend(jq(e.substr(2,e.length)).hide().fadeIn(200)):(e=jq("#"+o.attr("id")+" ul").children("li"),t=0,jq(e).each(function(){jq(this).is(":hidden")||t++}),o.fadeOut(200,function(){o.remove()}),i=(e=jq("#"+o.parents("#activity-stream > li").attr("id")+" a.acomment-reply span")).html()-(1+t),e.html(i),(e=o.parents(".activity-comments").find(".show-all a"))&&e.html(BP_DTheme.show_x_comments.replace("%d",i)),0==i&&jq(o.parents("#activity-stream > li")).removeClass("has-comments"))}),!1):d.hasClass("spam-activity-comment")?(i=d.attr("href"),o=d.parent().parent(),d.addClass("loading"),jq(".activity-comments ul div.error").remove(),o.parents(".activity-comments").append(o.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:i.split("_wpnonce=")[1],id:i.split("cid=")[1].split("&")[0]},function(e){var t;e[0]+e[1]==="-1"?o.prepend(jq(e.substr(2,e.length)).hide().fadeIn(200)):(e=jq("#"+o.attr("id")+" ul").children("li"),t=0,jq(e).each(function(){jq(this).is(":hidden")||t++}),o.fadeOut(200),e=o.parents("#activity-stream > li"),jq("#"+e.attr("id")+" a.acomment-reply span").html(jq("#"+e.attr("id")+" a.acomment-reply span").html()-(1+t)))}),!1):d.parent().hasClass("show-all")?(d.parent().addClass("loading"),setTimeout(function(){d.parent().parent().children("li").fadeIn(200,function(){d.parent().remove()})},600),!1):d.hasClass("ac-reply-cancel")?(jq(d).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).on("keydown",function(e){(e=e||window.event).target?element=e.target:e.srcElement&&(element=e.srcElement),3===element.nodeType&&(element=element.parentNode),!0!==e.ctrlKey&&!0!==e.altKey&&!0!==e.metaKey&&27===(e.keyCode||e.which)&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}),jq(".dir-search, .groups-members-search").on("click",function(e){var t,i,a;return!jq(this).hasClass("no-ajax")&&"submit"===(a=jq(e.target)).attr("type")?(t=jq(".item-list-tabs li.selected").attr("id").split("-")[0],i=null,a=a.parent().find("#"+t+"_search").val(),"groups-members-search"===e.currentTarget.className&&(t="group_members",i="groups/single/members"),e=bp_get_directory_preference(t,"scope"),bp_filter_request(t,bp_get_directory_preference(t,"filter"),e,"div."+t,a,1,bp_get_directory_preference(t,"extras"),null,i),!1):void 0}),jq("div.item-list-tabs").on("click",function(e){var t;if(jq("body").hasClass("type")&&jq("body").hasClass("directory")&&jq(this).addClass("no-ajax"),!jq(this).hasClass("no-ajax")&&!jq(e.target).hasClass("no-ajax"))return e="SPAN"===e.target.nodeName?e.target.parentNode:e.target,"LI"!==(e=jq(e).parent())[0].nodeName||e.hasClass("last")?void 0:("activity"!==(t=(e=e.attr("id").split("-"))[0])&&(e=e[1],bp_filter_request(t,jq("#"+t+"-order-select select").val(),e,"div."+t,jq("#"+t+"_search").val(),1,bp_get_directory_preference(t,"extras"))),!1)}),jq("li.filter select").on("change",function(){var e,t=jq(".item-list-tabs li.selected").length?jq(".item-list-tabs li.selected"):jq(this),t=t.attr("id").split("-"),i=t[0],t=t[1],a=jq(this).val(),s=!1,n=null;return jq(".dir-search input").length&&(s=jq(".dir-search input").val()),(e=jq(".groups-members-search input")).length&&(s=e.val(),i="members",t="groups"),"members"===i&&"groups"===t&&(i="group_members",n="groups/single/members"),bp_filter_request(i="friends"===i?"members":i,a,t,"div."+i,s,1,bp_get_directory_preference(i,"extras"),null,n),!1}),jq("#buddypress").on("click",function(e){var t,i,a,s,n,r,e=jq(e.target);return!!e.hasClass("button")||(e.parent().parent().hasClass("pagination")&&!e.parent().parent().hasClass("no-ajax")?(e.hasClass("dots")||e.hasClass("current")||(t=(r=(jq(".item-list-tabs li.selected").length?jq(".item-list-tabs li.selected"):jq("li.filter select")).attr("id").split("-"))[0],i=!1,a=jq(e).closest(".pagination-links").attr("id"),s=null,jq("div.dir-search input").length&&(i=!(i=jq(".dir-search input")).val()&&bp_get_querystring(i.attr("name"))?jq(".dir-search input").prop("placeholder"):i.val()),n=(jq(e).hasClass("next")||jq(e).hasClass("prev")?jq(".pagination span.current"):jq(e)).html(),n=Number(n.replace(/\D/g,"")),jq(e).hasClass("next")?n++:jq(e).hasClass("prev")&&n--,(e=jq(".groups-members-search input")).length&&(i=e.val(),t="members"),"members"===t&&"groups"===r[1]&&(t="group_members",s="groups/single/members"),"admin"===t&&jq("body").hasClass("membership-requests")&&(t="requests"),e=-1!==a.indexOf("pag-bottom")?"pag-bottom":null,r=bp_get_directory_preference(t,"scope"),bp_filter_request(t,bp_get_directory_preference(t,"filter"),r,"div."+t,i,n,bp_get_directory_preference(t,"extras"),e,s)),!1):void 0)}),jq("#send-invite-form").on("click","#invite-list input",function(){var t,i,a=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),a&&jq(this).parents("ul").find("input").prop("disabled",!0),t=jq(this).val(),i=!0===jq(this).prop("checked")?"invite":"uninvite",a||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:i,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:t,group_id:jq("#group_id").val()},function(e){jq("#message")&&jq("#message").hide(),a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===i?jq("#friend-list").append(e):"uninvite"===i&&jq("#friend-list li#uid-"+t).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var e=jq("#send-invite-form > .invite").length,t=jq(this).attr("id");return jq(".ajax-loader").toggle(),t=(t=t.split("-"))[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:t,group_id:jq("#group_id").val()},function(){e?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+t).remove(),jq("#invite-list #f-"+t).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(e){e.preventDefault(),jq(this).attr("aria-expanded","true").parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(e){e.preventDefault(),jq(".visibility-toggle-link").attr("aria-expanded","false");var e=jq(this).parent(),t=e.find("input:checked").parent().text();e.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").find(".current-visibility-level").text(t).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").on("change",function(){var t=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){t=!1}),window.onbeforeunload=function(e){if(t)return BP_DTheme.unsaved_changes}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var e,t=jq(this),i=jq(this).parents("#friend-list li"),a=jq(this).parents("li div.action"),s=i.attr("id").substr(11,i.attr("id").length),n=t.attr("href").split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")||((jq(this).hasClass("accept")?(e="accept_friendship",a.children("a.reject")):(e="reject_friendship",a.children("a.accept"))).css("visibility","hidden"),t.addClass("loading"),jq.post(ajaxurl,{action:e,cookie:bp_get_cookies(),id:s,_wpnonce:n},function(e){t.removeClass("loading"),e[0]+e[1]==="-1"?(i.prepend(e.substr(2,e.length)),i.children("#message").hide().fadeIn(200)):t.fadeOut(100,function(){(jq(this).hasClass("accept")?(a.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted)):(a.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected))).contents().unwrap()})})),!1}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var e=jq(this).attr("id"),t=jq(this).attr("href"),i=jq(this);return e=(e=e.split("-"))[1],t=(t=(t=t.split("?_wpnonce="))[1].split("&"))[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:e,_wpnonce:t},function(e){var t=i.attr("rel");parentdiv=i.parent(),"add"===t?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(e)}):"remove"===t&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(e)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){if(!1===confirm(BP_DTheme.leave_group_confirm))return!1}),jq("#groups-dir-list").on("click",".group-button a",function(){var e=jq(this).parent().attr("id"),t=jq(this).attr("href"),s=jq(this);return e=(e=e.split("-"))[1],t=(t=(t=t.split("?_wpnonce="))[1].split("&"))[0],s.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)||jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:e,_wpnonce:t},function(i){var a=s.parent();jq("body.directory").length?jq(a).fadeOut(200,function(){a.fadeIn(200).html(i);var e=jq("#groups-personal span"),t=1;s.hasClass("leave-group")?(a.hasClass("hidden")&&a.closest("li").slideUp(200),t=0):s.hasClass("request-membership")&&(t=!1),e.length&&!1!==t&&(t?e.text(1+(e.text()>>0)):e.text((e.text()>>0)-1))}):window.location.reload()}),!1}),jq("#groups-list li.hidden").each(function(){"none"===jq(this).css("display")&&jq(this).css("cssText","display: list-item !important")}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")&&((e=jq("#signup_with_blog")).prop("checked")||jq("#blog-details").toggle(),e.on("change",function(){jq("#blog-details").toggle()})),jq(".message-search").on("click",function(e){var t,i,a;return!jq(this).hasClass("no-ajax")&&("submit"===(e=jq(e.target)).attr("type")||"button"===e.attr("type"))?(t=bp_get_directory_preference(e="messages","scope"),i=bp_get_directory_preference(e,"filter"),a=bp_get_directory_preference(e,"extras"),bp_filter_request(e,i,t,"div."+e,jq("#messages_search").val(),1,a),!1):void 0}),jq("#send_reply_button").on("click",function(){var t=jq("#messages_order").val()||"ASC",i=jq("#message-recipients").offset(),a=jq("#send_reply_button");return jq(a).addClass("loading").prop("disabled",!0),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(e){e[0]+e[1]==="-1"?jq("#send-reply").prepend(e.substr(2,e.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===t?jq("#send-reply").before(e):(jq("#message-recipients").after(e),jq(window).scrollTop(i.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(a).removeClass("loading").prop("disabled",!1)}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var e=this.value,t=jq('td input[type="checkbox"]'),i="checked";switch(t.each(function(e){t[e].checked=""}),e){case"unread":t=jq('tr.unread td input[type="checkbox"]');break;case"read":t=jq('tr.read td input[type="checkbox"]');break;case"":i=""}t.each(function(e){t[e].checked=i})}),jq("#select-all-messages").on("click",function(){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var t=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:t.data("message-id"),star_status:t.data("star-status"),nonce:t.data("star-nonce"),bulk:t.data("star-bulk")},function(e){1===parseInt(e,10)&&("unstar"===t.data("star-status")?(t.data("star-status","star"),t.removeClass("message-action-unstar").addClass("message-action-star"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?t.attr("data-bp-tooltip",BP_PM_Star.strings.title_star):t.attr("data-bp-tooltip",BP_PM_Star.strings.title_star_thread)):(t.data("star-status","unstar"),t.removeClass("message-action-star").addClass("message-action-unstar"),t.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?t.attr("data-bp-tooltip",BP_PM_Star.strings.title_unstar):t.attr("data-bp-tooltip",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var e=jq(this),t=e.closest("tr").find(".thread-star a");e.prop("checked")?"unstar"===t.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===t.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--,0<BP_PM_Star.star_counter&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),0<BP_PM_Star.unstar_counter&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").on("click",function(){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#select-all-invitations").on("click",function(){this.checked?jq(".invitation-check").each(function(){this.checked=!0}):jq(".invitation-check").each(function(){this.checked=!1})}),jq("#invitation-bulk-manage").attr("disabled","disabled"),jq("#invitation-select").on("change",function(){jq("#invitation-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length),nonce:jq("#close-notice-nonce").val()},function(e){jq("#close-notice").removeClass("loading"),e[0]+e[1]==="-1"?(jq(".notice").prepend(e.substr(2,e.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").on("mouseover",function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").on("mouseout",function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-oldestpage",{path:"/",secure:"https:"===window.location.protocol});var t=["members","groups","blogs","forums"];jq(t).each(function(e){jq.removeCookie("bp-"+t[e]+"-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+t[e]+"-extras",{path:"/",secure:"https:"===window.location.protocol})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&void 0!==wp.heartbeat&&void 0!==BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}})),0);jq(document).on("heartbeat-send.buddypress",function(e,t){a=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/))&&(a=timestamp[1]),(0===activity_last_recorded||Number(a)>activity_last_recorded)&&(activity_last_recorded=Number(a)),t.bp_activity_last_recorded=activity_last_recorded,(last_recorded_search=bp_get_querystring("s"))&&(t.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(e,t){t.bp_activity_newest_activities&&(newest_activities=t.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(t.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))})});
bp-templates/bp-nouveau/buddypress-functions.php CHANGED
@@ -178,7 +178,7 @@ class BP_Nouveau extends BP_Theme_Compat {
178
 
179
  // Scripts & Styles.
180
  $registration_params = array(
181
- 'hook' => 'bp_enqueue_scripts',
182
  'priority' => 2,
183
  );
184
 
@@ -195,14 +195,14 @@ class BP_Nouveau extends BP_Theme_Compat {
195
  add_action( $registration_params['hook'], array( $this, 'register_scripts' ), $registration_params['priority'] );
196
 
197
  // Enqueue theme CSS.
198
- add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
199
 
200
  // Enqueue theme JS.
201
- add_action( 'bp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
202
 
203
  // Enqueue theme script localization.
204
- add_filter( 'bp_enqueue_scripts', array( $this, 'localize_scripts' ) );
205
- remove_action( 'bp_enqueue_scripts', 'bp_core_confirmation_js' );
206
 
207
  // Body no-js class.
208
  add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 );
178
 
179
  // Scripts & Styles.
180
  $registration_params = array(
181
+ 'hook' => 'bp_enqueue_community_scripts',
182
  'priority' => 2,
183
  );
184
 
195
  add_action( $registration_params['hook'], array( $this, 'register_scripts' ), $registration_params['priority'] );
196
 
197
  // Enqueue theme CSS.
198
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_styles' ) );
199
 
200
  // Enqueue theme JS.
201
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'enqueue_scripts' ) );
202
 
203
  // Enqueue theme script localization.
204
+ add_action( 'bp_enqueue_community_scripts', array( $this, 'localize_scripts' ) );
205
+ remove_action( 'bp_enqueue_community_scripts', 'bp_core_confirmation_js' );
206
 
207
  // Body no-js class.
208
  add_filter( 'body_class', array( $this, 'add_nojs_body_class' ), 20, 1 );
bp-templates/bp-nouveau/buddypress/members/single/groups.php CHANGED
@@ -3,25 +3,20 @@
3
  * BuddyPress - Users Groups
4
  *
5
  * @since 3.0.0
6
- * @version 3.0.0
7
  */
8
  ?>
9
 
10
  <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Groups menu', 'buddypress' ); ?>">
11
  <ul class="subnav">
12
 
13
- <?php if ( bp_is_my_profile() ) : ?>
14
-
15
- <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
16
-
17
- <?php endif; ?>
18
 
19
  </ul>
20
  </nav><!-- .bp-navs -->
21
 
22
  <?php if ( ! bp_is_current_action( 'invites' ) ) : ?>
23
 
24
-
25
  <?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
26
 
27
  <?php endif; ?>
3
  * BuddyPress - Users Groups
4
  *
5
  * @since 3.0.0
6
+ * @version 11.0.0
7
  */
8
  ?>
9
 
10
  <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Groups menu', 'buddypress' ); ?>">
11
  <ul class="subnav">
12
 
13
+ <?php bp_get_template_part( 'members/single/parts/item-subnav' ); ?>
 
 
 
 
14
 
15
  </ul>
16
  </nav><!-- .bp-navs -->
17
 
18
  <?php if ( ! bp_is_current_action( 'invites' ) ) : ?>
19
 
 
20
  <?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
21
 
22
  <?php endif; ?>
bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php CHANGED
@@ -3,7 +3,7 @@
3
  * BuddyPress - Members Single Group Invites
4
  *
5
  * @since 3.0.0
6
- * @version 3.1.0
7
  */
8
  ?>
9
 
@@ -11,7 +11,7 @@
11
 
12
  <?php bp_nouveau_group_hook( 'before', 'invites_content' ); ?>
13
 
14
- <?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
15
 
16
  <ul id="group-list" class="invites item-list bp-list" data-bp-list="groups_invites">
17
 
3
  * BuddyPress - Members Single Group Invites
4
  *
5
  * @since 3.0.0
6
+ * @version 11.0.0
7
  */
8
  ?>
9
 
11
 
12
  <?php bp_nouveau_group_hook( 'before', 'invites_content' ); ?>
13
 
14
+ <?php if ( bp_has_groups( 'type=invites&user_id=' . bp_displayed_user_id() ) ) : ?>
15
 
16
  <ul id="group-list" class="invites item-list bp-list" data-bp-list="groups_invites">
17
 
bp-templates/bp-nouveau/buddypress/members/single/settings/data.php CHANGED
@@ -3,7 +3,7 @@
3
  * BuddyPress - Members Settings (Export Data)
4
  *
5
  * @since 3.1.0
6
- * @version 8.0.0
7
  */
8
 
9
  bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
@@ -58,12 +58,33 @@ bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
58
 
59
  <?php endif; ?>
60
 
61
- <h2 class="screen-heading data-settings-screen">
62
- <?php esc_html_e( 'Data Erase', 'buddypress' ); ?>
63
- </h2>
64
-
65
- <?php /* translators: Link to Delete Account Settings page */ ?>
66
- <p><?php esc_html_e( 'To erase all data associated with your account, your user account must be completely deleted.', 'buddypress' ); ?> <?php if ( bp_disable_account_deletion() ) : ?><?php esc_html_e( 'Please contact the site administrator to request account deletion.', 'buddypress' ); ?><?php else : ?><?php printf( esc_html__( 'You may delete your account by visiting the %s page.', 'buddypress' ), sprintf( '<a href="%s">%s</a>', bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'settings' ) . '/delete-account/', esc_html__( 'Delete Account', 'buddypress' ) ) ); ?><?php endif; ?></p>
67
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  <?php
 
 
69
  bp_nouveau_member_hook( 'after', 'settings_template' );
3
  * BuddyPress - Members Settings (Export Data)
4
  *
5
  * @since 3.1.0
6
+ * @version 11.0.0
7
  */
8
 
9
  bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
58
 
59
  <?php endif; ?>
60
 
61
+ <?php if ( ! user_can( bp_displayed_user_id(), 'delete_users' ) ) : ?>
62
+ <h2 class="screen-heading data-settings-screen">
63
+ <?php esc_html_e( 'Data Erase', 'buddypress' ); ?>
64
+ </h2>
65
+
66
+ <p>
67
+ <?php
68
+ esc_html_e( 'To erase all data associated with your account, your user account must be completely deleted.', 'buddypress' );
69
+
70
+ if ( bp_disable_account_deletion() ) {
71
+ esc_html_e( 'Please contact the site administrator to request account deletion.', 'buddypress' );
72
+ } else {
73
+ echo '&nbsp;';
74
+
75
+ printf(
76
+ /* translators: %s the link to Delete Account Settings page */
77
+ esc_html__( 'You may delete your account by visiting the %s page.', 'buddypress' ),
78
+ sprintf(
79
+ '<a href="%1$s">%2$s</a>',
80
+ esc_url( bp_displayed_user_domain() . bp_nouveau_get_component_slug( 'settings' ) . '/delete-account/' ),
81
+ esc_html__( 'Delete Account', 'buddypress' )
82
+ )
83
+ );
84
+ }
85
+ ?>
86
+ </p>
87
  <?php
88
+ endif;
89
+
90
  bp_nouveau_member_hook( 'after', 'settings_template' );
bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss CHANGED
@@ -90,6 +90,23 @@
90
  }
91
  } // close li forum elements
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
  &.newest_mentions_activity,
95
  &.newest_friends_activity,
90
  }
91
  } // close li forum elements
92
 
93
+ &.new_blog_post {
94
+
95
+ .activity-inner {
96
+
97
+ strong {
98
+ display: block;
99
+ margin-bottom: 0.8em;
100
+ }
101
+
102
+ img {
103
+ max-width: 100%;
104
+ float: left;
105
+ margin-right: 0.8em;
106
+ }
107
+ }
108
+ } // close li blog post elements
109
+
110
 
111
  &.newest_mentions_activity,
112
  &.newest_friends_activity,
bp-templates/bp-nouveau/css/buddypress-rtl.css CHANGED
@@ -1306,6 +1306,17 @@ body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en
1306
  padding-right: 1em;
1307
  }
1308
 
 
 
 
 
 
 
 
 
 
 
 
1309
  .activity-list .activity-item.newest_mentions_activity, .activity-list .activity-item.newest_friends_activity, .activity-list .activity-item.newest_groups_activity, .activity-list .activity-item.newest_blogs_activity {
1310
  background: rgba(31, 179, 221, 0.1);
1311
  }
1306
  padding-right: 1em;
1307
  }
1308
 
1309
+ .activity-list .activity-item.new_blog_post .activity-inner strong {
1310
+ display: block;
1311
+ margin-bottom: 0.8em;
1312
+ }
1313
+
1314
+ .activity-list .activity-item.new_blog_post .activity-inner img {
1315
+ max-width: 100%;
1316
+ float: right;
1317
+ margin-left: 0.8em;
1318
+ }
1319
+
1320
  .activity-list .activity-item.newest_mentions_activity, .activity-list .activity-item.newest_friends_activity, .activity-list .activity-item.newest_groups_activity, .activity-list .activity-item.newest_blogs_activity {
1321
  background: rgba(31, 179, 221, 0.1);
1322
  }
bp-templates/bp-nouveau/css/buddypress-rtl.min.css CHANGED
@@ -1 +1 @@
1
- body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress div,body #buddypress dl,body #buddypress input[type=reset],body #buddypress input[type=search],body #buddypress input[type=submit],body #buddypress li,body #buddypress select,body #buddypress textarea{border-radius:2px;background-clip:padding-box}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-right:0}body #buddypress .bp-list .action{box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content:not(.alignwide):not(.alignfull),body.buddypress .entry-header:not(.alignwide):not(.alignfull),body.buddypress .site-content .entry-header:not(.alignwide):not(.alignfull){max-width:none}body.buddypress .entry-header{float:none}body.buddypress .entry-content{float:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}body.buddypress .buddypress-wrap h2:before{display:none}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:right}.buddypress-wrap .subnav{float:right}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:right}.buddypress-wrap #subsubnav .filter{float:left}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:left}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:left}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:right;list-style:none;margin:0 0 0 10px}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-right-radius:4px;border-top-left-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-left:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:left;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:right;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-left:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:right}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-left:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:0;font-weight:400;line-height:1.8;margin:0 10px 0 0;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:right}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:left;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:left}}.buddypress-wrap .invitations-options-nav input#invitation-bulk-manage,.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:right;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:right}.buddypress-wrap .bp-pagination .bp-pagination-links{float:left;margin-left:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline-block;width:auto;height:auto}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 0 0 10px}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:right;margin-left:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:right;margin-left:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:right;text-align:right}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:right}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:right;padding:0;text-align:right}.bp-list li .action li.generic-button{margin-left:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-moz-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:left}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:right}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-left:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block;height:auto;width:auto}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0;padding-right:0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items button.bp-remove-item{margin-right:10px;height:auto}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em;width:100%}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:flex;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px;height:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-right:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-left:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:right;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-right:55px}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-left:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 0 0 2%;text-align:right;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-right:0;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-right:15px;text-align:right;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-right:2px solid #eaeaea;margin-right:10px;padding-right:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:text-top;width:20px;height:20px}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-right:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-right:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:right}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0;color:#555}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 0 0 15px;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%;background-color:#eaeaea}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-right:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{right:-20px;margin-left:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-avatar img{box-shadow:0 0 0 8px #fff}body.activity-permalink .activity-list .activity-content{margin-left:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:right}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);height:80px;width:80px}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:left}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-right:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-right:2%}.buddypress-wrap .activity-comments .acomment-content{border-right:1px solid #ccc;margin:15px 10% 0 0;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:right;margin:10px 20px 10px 0}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-right:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 1em 0 .5em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:right}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-right:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-left:15px}.activity-comments form.root{margin-right:0}.buddypress-wrap .blogs-list li .item-avatar img.avatar-150{max-width:150px;max-height:150px}.buddypress-wrap .blogs-list li .item-avatar img.avatar-50{max-width:50px;max-height:50px}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:right;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:right}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-left:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:right;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:right;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-right:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-left:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .item-extra-content{clear:both;font-size:14px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-right:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:right;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:right;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 0 10px 15px}.register-page .signup-form .wp-pwd button{vertical-align:middle}.register-page .signup-form #pass-strength-result,.register-page .signup-form #pass1,.register-page .signup-form #pass1-text{width:10em}.register-page .signup-form #pass1{display:inline-block;margin-bottom:inherit}.register-page .signup-form #pass1-text,.register-page .signup-form .pw-weak{display:none}.register-page .signup-form .show-password #pass1-text{display:inline-block;margin-bottom:inherit}.register-page .signup-form .show-password #pass1{display:none}.register-page .signup-form .description.indicator-hint{font-size:14px}.register-page .signup-form #submit:disabled{color:#767676;opacity:.4}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}body.buddypress.register.js .user-pass2-wrap{display:none}body.buddypress.register.no-js .wp-hide-pw{display:none}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-left:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-right:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{min-width:14em;flex:1;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body img.avatar{width:auto;height:auto}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none;width:auto;height:auto}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:right}.single-headers #item-header-avatar a img{float:right}.single-headers #item-header-content{padding-right:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-left:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:right;margin:0 0 19px 15px}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:left;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:right}}.single-headers a.button,.single-headers div.generic-button{margin:10px 0 0 10px}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-right:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{font-size:18px;margin:0;color:#333;display:flex}.groups-header .bp-group-type-list strong{padding-left:1em;white-space:nowrap}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:right;margin:0 15px 15px 0;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-right:4px;padding:4px}.groups-header .moderators-lists img.avatar{box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:right;margin-right:10%;text-align:right;padding-top:15px;width:42%}.groups-header .group-item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:right}.groups-header .desc-wrap .group-description p{margin:0;padding:0}body.buddypress.bp-user .buddypress-wrap .users-header h2.user-nicename{margin-top:0;margin-bottom:5px}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list{padding-bottom:.5em;font-size:18px;margin:0;color:#333;display:flex}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list strong{padding-left:1em;white-space:nowrap}body.buddypress.bp-user .buddypress-wrap .member-header-actions{overflow:hidden;padding-right:0}body.buddypress.bp-user .buddypress-wrap .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px;list-style:none}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-right:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 20px 20px 0}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-right:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(2n){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:right}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:right}.groups-manage-members-list ul li .avatar{margin-left:15px}.groups-manage-members-list ul li .action{clear:both;float:right}}#group-manage-members-ui #group-members-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;text-align:center;text-transform:none}#group-manage-members-ui #group-members-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}#group-manage-members-ui #group-members-pagination button:last-child{margin-left:2em}#group-manage-members-ui #bp-no-group-members td{border:none}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-right:5px;padding-left:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;left:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:right;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:right;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{box-sizing:border-box;border:1px solid #eaeaea;float:right;padding-right:.5em;padding-left:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-left:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(2n){margin-right:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:right;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:grid;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit ul.button-nav{list-style:none;margin:30px 0 10px;padding-right:0}.buddypress-wrap .profile.edit ul.button-nav li{display:inline-block;margin-left:10px}.buddypress-wrap .profile.edit ul.button-nav li a{padding:.5em}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-exit:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-exit:before{content:"\f14a"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-right:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:flex;align-items:center;-moz-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-moz-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:right;margin:0 0 0 10px}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-moz-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-moz-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-left:5px;text-align:left}.bp-messages-content .actions{float:left;max-width:30%;line-height:1}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;box-shadow:2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:right}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:right;margin:0 0 0 10px}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-right:2em}.bp-messages-content .thread-participants{float:right;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:right;margin-right:5px}.bp-messages-content .thread-participants img{width:30px;height:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-right:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-left:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}body.buddypress.settings .wp-pwd button{vertical-align:middle}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1,body.buddypress.settings #pass1-text{width:16em}body.buddypress.settings #pass1{display:inline-block;margin-bottom:inherit}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1-text,body.buddypress.settings .pw-weak{display:none}body.buddypress.settings .show-password #pass1-text{display:inline-block;margin-bottom:inherit}body.buddypress.settings .show-password #pass1{display:none}body.buddypress.settings #your-profile #submit:disabled{color:#767676;opacity:.4}body.buddypress.settings.js .user-pass2-wrap,body.buddypress.settings.js .wp-pwd{display:none}body.buddypress.settings.no-js .wp-cancel-pw,body.buddypress.settings.no-js .wp-generate-pw,body.buddypress.settings.no-js .wp-hide-pw{display:none}body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a{text-decoration:underline}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #invitation-bulk-manage[disabled],.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background-color:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-left:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background-color:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-left:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:right}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 1% 0 0}.buddypress-wrap .standard-form .main-column{margin-right:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:right}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-left:-25px;padding:6px 10px 6px 25px;position:relative;text-indent:-2px;z-index:1;width:auto}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .invitations-options-nav .select-wrap,.buddypress-wrap .notifications-options-nav .select-wrap{float:right}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form#group-members-search,.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-messages-search-form,.buddypress-wrap form[data-bp-search].bp-invites-search-form{border:1px solid #eee;width:100%}.buddypress-wrap form#group-members-search label,.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-messages-search-form label,.buddypress-wrap form[data-bp-search].bp-invites-search-form label{margin:0}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{background:0 0;border:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{float:right;line-height:2;padding:3px 10px;width:78%}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form#group-members-search button[type=submit] span,.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form#group-members-search button[type=submit].bp-show,.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit].bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-button,.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap form#group-members-search:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-group-type,.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;right:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:right}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:flex;align-items:center}.bp-hide{display:none}.bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;border-radius:0;color:#555;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto;line-height:1}.buddypress .buddypress-wrap a.button.dashicons,.buddypress .buddypress-wrap button.dashicons{font-family:dashicons}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit]:disabled,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-left:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-right:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-left:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:left}}.buddypress #buddypress .create-button a{border:1px solid #ccc;border-radius:5px;background-clip:padding-box;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-left:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:right}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;align-items:stretch;align-items:center}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;right:0;margin-left:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;left:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;left:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.bp-sitewide-notice .bp-icon,.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:flex;align-items:center;align-self:stretch}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#333}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#333}.buddypress-wrap #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0;color:#333}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#333}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:right;margin-right:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;right:2%;position:absolute;padding:.5em 1em;left:2%;top:30px}body.create-blog #buddypress .error,body.create-blog #buddypress .success{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;padding:10px 15px;background-color:#fff}body.create-blog #buddypress .error{border-right:4px solid #d33}body.create-blog #buddypress .success{border-right:4px solid #8a2}.buddypress.widget .item-options{font-size:12px;margin:0 0 1em;padding:1em 0}.buddypress.widget .bp-login-widget-user-avatar{float:right}.buddypress.widget .bp-login-widget-user-links{margin-right:70px}.buddypress.widget ul.item-list{list-style:none;margin:10px 0}.buddypress.widget ul.activity-list{padding:0}.buddypress.widget ul.activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 .75em .75em 0}.buddypress.widget ul.activity-list img{margin-bottom:.5em}.buddypress.widget ul.activity-list li{border-bottom:1px solid #ccc;margin-bottom:1em}.buddypress.widget ul.activity-list li .activity-header p{margin-bottom:.5em}.buddypress.widget ul.activity-list li:last-child{border-bottom:0}.buddypress.widget div.activity-list blockquote{padding:0;border:none}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini){position:relative;box-shadow:-1px 0 4px rgba(0,0,0,.15);padding:0 1em}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after,.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{position:absolute;right:15px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{bottom:-18px;border-top-color:rgba(0,0,0,.15);border-width:9px;right:14px}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after{bottom:-16px;border-top-color:#fff;border-width:8px}.buddypress.widget div.activity-list blockquote .activity-item.mini .avatar{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-left:2px}.buddypress.widget div.activity-list footer{display:flex;align-items:center}.buddypress.widget div.activity-list footer img.avatar{display:inline-block;border:none;margin-left:.5em}.buddypress.widget div.activity-list footer .activity-time-since{font-size:90%}.buddypress.widget .avatar-block{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin:.5em}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#friends-list li:before,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#groups-list li:before,.buddypress.widget ul#members-list li:after,.buddypress.widget ul#members-list li:before{content:" ";display:table}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#members-list li:after{clear:both}.buddypress.widget ul#friends-list li,.buddypress.widget ul#groups-list li,.buddypress.widget ul#members-list li{margin-bottom:1em}.buddypress.widget ul#friends-list li .item-avatar,.buddypress.widget ul#groups-list li .item-avatar,.buddypress.widget ul#members-list li .item-avatar{float:right;width:60px}.buddypress.widget ul#friends-list li .item,.buddypress.widget ul#groups-list li .item,.buddypress.widget ul#members-list li .item{margin-right:70px}.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:column nowrap;flex-flow:column nowrap}@media screen and (min-width:32em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{border:1px solid #eee;align-items:stretch;-moz-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#members-list li .item-avatar{padding:.5em;text-align:center}.buddypress-wrap .buddypress.widget ul#friends-list li .item,.buddypress-wrap .buddypress.widget ul#groups-list li .item,.buddypress-wrap .buddypress.widget ul#members-list li .item{padding:.5em}.buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{margin:10px -2%;width:100%}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}.buddypress-wrap .buddypress.widget blockquote{margin:0 0 1.5em;overflow:visible;padding:0 .75em .75em 0}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@keyframes loader-pulsate{from{border-color:#aaa;box-shadow:0 0 6px #ccc}to{border-color:#ccc;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:-4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{right:50%;margin-top:7px;top:110%;transform:translate(50%,0)}.user-list .bp-tooltip:after{right:0;transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{right:auto;left:0;transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.avatar-block .item-avatar .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{right:0;transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{right:auto;left:0;transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{right:0;left:auto}#item-body,.single-screen-navs{box-sizing:border-box}.grid>li,.grid>li .generic-button a{box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:right;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-left:10px}.grid.three>li:nth-child(2n),.grid.two>li:nth-child(2n){padding-right:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.three>li:nth-child(3n+3){padding-right:5px;padding-left:0}.grid.three>li:nth-child(3n+1){padding-right:0;padding-left:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.four>li:nth-child(4n+4){padding-right:5px;padding-left:0}.grid.four>li:nth-child(4n+1){padding-right:0;padding-left:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;right:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:right}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;right:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-left:1px solid #d6d6d6;border-bottom:0;float:right;margin-left:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-left:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:left;margin-left:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-right:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{right:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-right:1px solid #d6d6d6;float:left;margin:0;min-height:400px;padding:0 1em 0 0;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 -5px 0 0;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-left:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:right;right:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-right:1px solid #d6d6d6;margin-right:20%;overflow:hidden;padding:0 1em 2em 0}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-left-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
1
+ body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress div,body #buddypress dl,body #buddypress input[type=reset],body #buddypress input[type=search],body #buddypress input[type=submit],body #buddypress li,body #buddypress select,body #buddypress textarea{border-radius:2px;background-clip:padding-box}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-right:0}body #buddypress .bp-list .action{box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content:not(.alignwide):not(.alignfull),body.buddypress .entry-header:not(.alignwide):not(.alignfull),body.buddypress .site-content .entry-header:not(.alignwide):not(.alignfull){max-width:none}body.buddypress .entry-header{float:none}body.buddypress .entry-content{float:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}body.buddypress .buddypress-wrap h2:before{display:none}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:right}.buddypress-wrap .subnav{float:right}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:right}.buddypress-wrap #subsubnav .filter{float:left}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:left}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:left}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:right;list-style:none;margin:0 0 0 10px}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-right-radius:4px;border-top-left-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-left:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:left;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:right;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-left:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:right}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-left:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:0;font-weight:400;line-height:1.8;margin:0 10px 0 0;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:right}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:left;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:left}}.buddypress-wrap .invitations-options-nav input#invitation-bulk-manage,.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:right;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:right}.buddypress-wrap .bp-pagination .bp-pagination-links{float:left;margin-left:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline-block;width:auto;height:auto}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 0 0 10px}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:right;margin-left:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:right;margin-left:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:right;text-align:right}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:right}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:right;padding:0;text-align:right}.bp-list li .action li.generic-button{margin-left:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-moz-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:left}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:right}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-left:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block;height:auto;width:auto}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0;padding-right:0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items button.bp-remove-item{margin-right:10px;height:auto}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em;width:100%}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:flex;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px;height:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-right:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-left:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:right;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-right:55px}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-left:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 0 0 2%;text-align:right;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-right:0;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-right:15px;text-align:right;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-right:2px solid #eaeaea;margin-right:10px;padding-right:1em}.activity-list .activity-item.new_blog_post .activity-inner strong{display:block;margin-bottom:.8em}.activity-list .activity-item.new_blog_post .activity-inner img{max-width:100%;float:right;margin-left:.8em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:text-top;width:20px;height:20px}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-right:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-right:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:right}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0;color:#555}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 0 0 15px;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%;background-color:#eaeaea}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-right:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{right:-20px;margin-left:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-avatar img{box-shadow:0 0 0 8px #fff}body.activity-permalink .activity-list .activity-content{margin-left:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:right}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);height:80px;width:80px}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:left}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-right:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-right:2%}.buddypress-wrap .activity-comments .acomment-content{border-right:1px solid #ccc;margin:15px 10% 0 0;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:right;margin:10px 20px 10px 0}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-right:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 1em 0 .5em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:right}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-right:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-left:15px}.activity-comments form.root{margin-right:0}.buddypress-wrap .blogs-list li .item-avatar img.avatar-150{max-width:150px;max-height:150px}.buddypress-wrap .blogs-list li .item-avatar img.avatar-50{max-width:50px;max-height:50px}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:right;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:right}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-left:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:right;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:right;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-right:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-left:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .item-extra-content{clear:both;font-size:14px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-right:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:right;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:right;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 0 10px 15px}.register-page .signup-form .wp-pwd button{vertical-align:middle}.register-page .signup-form #pass-strength-result,.register-page .signup-form #pass1,.register-page .signup-form #pass1-text{width:10em}.register-page .signup-form #pass1{display:inline-block;margin-bottom:inherit}.register-page .signup-form #pass1-text,.register-page .signup-form .pw-weak{display:none}.register-page .signup-form .show-password #pass1-text{display:inline-block;margin-bottom:inherit}.register-page .signup-form .show-password #pass1{display:none}.register-page .signup-form .description.indicator-hint{font-size:14px}.register-page .signup-form #submit:disabled{color:#767676;opacity:.4}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}body.buddypress.register.js .user-pass2-wrap{display:none}body.buddypress.register.no-js .wp-hide-pw{display:none}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-left:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-right:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{min-width:14em;flex:1;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body img.avatar{width:auto;height:auto}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none;width:auto;height:auto}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:right}.single-headers #item-header-avatar a img{float:right}.single-headers #item-header-content{padding-right:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-left:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:right;margin:0 0 19px 15px}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:left;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:right}}.single-headers a.button,.single-headers div.generic-button{margin:10px 0 0 10px}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-right:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{font-size:18px;margin:0;color:#333;display:flex}.groups-header .bp-group-type-list strong{padding-left:1em;white-space:nowrap}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:right;margin:0 15px 15px 0;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-right:4px;padding:4px}.groups-header .moderators-lists img.avatar{box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:right;margin-right:10%;text-align:right;padding-top:15px;width:42%}.groups-header .group-item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:right}.groups-header .desc-wrap .group-description p{margin:0;padding:0}body.buddypress.bp-user .buddypress-wrap .users-header h2.user-nicename{margin-top:0;margin-bottom:5px}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list{padding-bottom:.5em;font-size:18px;margin:0;color:#333;display:flex}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list strong{padding-left:1em;white-space:nowrap}body.buddypress.bp-user .buddypress-wrap .member-header-actions{overflow:hidden;padding-right:0}body.buddypress.bp-user .buddypress-wrap .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px;list-style:none}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-right:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 20px 20px 0}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-right:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(2n){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:right}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:right}.groups-manage-members-list ul li .avatar{margin-left:15px}.groups-manage-members-list ul li .action{clear:both;float:right}}#group-manage-members-ui #group-members-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;text-align:center;text-transform:none}#group-manage-members-ui #group-members-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}#group-manage-members-ui #group-members-pagination button:last-child{margin-left:2em}#group-manage-members-ui #bp-no-group-members td{border:none}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-right:5px;padding-left:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;left:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:right;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:right;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{box-sizing:border-box;border:1px solid #eaeaea;float:right;padding-right:.5em;padding-left:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-left:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(2n){margin-right:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:right;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:grid;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit ul.button-nav{list-style:none;margin:30px 0 10px;padding-right:0}.buddypress-wrap .profile.edit ul.button-nav li{display:inline-block;margin-left:10px}.buddypress-wrap .profile.edit ul.button-nav li a{padding:.5em}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-exit:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-exit:before{content:"\f14a"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-right:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:flex;align-items:center;-moz-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-moz-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:right;margin:0 0 0 10px}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-moz-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-moz-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-left:5px;text-align:left}.bp-messages-content .actions{float:left;max-width:30%;line-height:1}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;box-shadow:2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:right}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:right;margin:0 0 0 10px}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-right:2em}.bp-messages-content .thread-participants{float:right;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:right;margin-right:5px}.bp-messages-content .thread-participants img{width:30px;height:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-right:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-left:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}body.buddypress.settings .wp-pwd button{vertical-align:middle}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1,body.buddypress.settings #pass1-text{width:16em}body.buddypress.settings #pass1{display:inline-block;margin-bottom:inherit}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1-text,body.buddypress.settings .pw-weak{display:none}body.buddypress.settings .show-password #pass1-text{display:inline-block;margin-bottom:inherit}body.buddypress.settings .show-password #pass1{display:none}body.buddypress.settings #your-profile #submit:disabled{color:#767676;opacity:.4}body.buddypress.settings.js .user-pass2-wrap,body.buddypress.settings.js .wp-pwd{display:none}body.buddypress.settings.no-js .wp-cancel-pw,body.buddypress.settings.no-js .wp-generate-pw,body.buddypress.settings.no-js .wp-hide-pw{display:none}body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a{text-decoration:underline}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #invitation-bulk-manage[disabled],.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background-color:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-left:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background-color:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-left:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:right}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 1% 0 0}.buddypress-wrap .standard-form .main-column{margin-right:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:right}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-left:-25px;padding:6px 10px 6px 25px;position:relative;text-indent:-2px;z-index:1;width:auto}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .invitations-options-nav .select-wrap,.buddypress-wrap .notifications-options-nav .select-wrap{float:right}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form#group-members-search,.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-messages-search-form,.buddypress-wrap form[data-bp-search].bp-invites-search-form{border:1px solid #eee;width:100%}.buddypress-wrap form#group-members-search label,.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-messages-search-form label,.buddypress-wrap form[data-bp-search].bp-invites-search-form label{margin:0}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{background:0 0;border:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{float:right;line-height:2;padding:3px 10px;width:78%}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form#group-members-search button[type=submit] span,.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form#group-members-search button[type=submit].bp-show,.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit].bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-button,.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap form#group-members-search:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-group-type,.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;right:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:right}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:flex;align-items:center}.bp-hide{display:none}.bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;border-radius:0;color:#555;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto;line-height:1}.buddypress .buddypress-wrap a.button.dashicons,.buddypress .buddypress-wrap button.dashicons{font-family:dashicons}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit]:disabled,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-left:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-right:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-left:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:left}}.buddypress #buddypress .create-button a{border:1px solid #ccc;border-radius:5px;background-clip:padding-box;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-left:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:right}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;align-items:stretch;align-items:center}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;right:0;margin-left:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;left:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;left:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.bp-sitewide-notice .bp-icon,.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:flex;align-items:center;align-self:stretch}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#333}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#333}.buddypress-wrap #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0;color:#333}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#333}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:right;margin-right:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;right:2%;position:absolute;padding:.5em 1em;left:2%;top:30px}body.create-blog #buddypress .error,body.create-blog #buddypress .success{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;padding:10px 15px;background-color:#fff}body.create-blog #buddypress .error{border-right:4px solid #d33}body.create-blog #buddypress .success{border-right:4px solid #8a2}.buddypress.widget .item-options{font-size:12px;margin:0 0 1em;padding:1em 0}.buddypress.widget .bp-login-widget-user-avatar{float:right}.buddypress.widget .bp-login-widget-user-links{margin-right:70px}.buddypress.widget ul.item-list{list-style:none;margin:10px 0}.buddypress.widget ul.activity-list{padding:0}.buddypress.widget ul.activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 .75em .75em 0}.buddypress.widget ul.activity-list img{margin-bottom:.5em}.buddypress.widget ul.activity-list li{border-bottom:1px solid #ccc;margin-bottom:1em}.buddypress.widget ul.activity-list li .activity-header p{margin-bottom:.5em}.buddypress.widget ul.activity-list li:last-child{border-bottom:0}.buddypress.widget div.activity-list blockquote{padding:0;border:none}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini){position:relative;box-shadow:-1px 0 4px rgba(0,0,0,.15);padding:0 1em}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after,.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{position:absolute;right:15px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{bottom:-18px;border-top-color:rgba(0,0,0,.15);border-width:9px;right:14px}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after{bottom:-16px;border-top-color:#fff;border-width:8px}.buddypress.widget div.activity-list blockquote .activity-item.mini .avatar{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-left:2px}.buddypress.widget div.activity-list footer{display:flex;align-items:center}.buddypress.widget div.activity-list footer img.avatar{display:inline-block;border:none;margin-left:.5em}.buddypress.widget div.activity-list footer .activity-time-since{font-size:90%}.buddypress.widget .avatar-block{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin:.5em}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#friends-list li:before,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#groups-list li:before,.buddypress.widget ul#members-list li:after,.buddypress.widget ul#members-list li:before{content:" ";display:table}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#members-list li:after{clear:both}.buddypress.widget ul#friends-list li,.buddypress.widget ul#groups-list li,.buddypress.widget ul#members-list li{margin-bottom:1em}.buddypress.widget ul#friends-list li .item-avatar,.buddypress.widget ul#groups-list li .item-avatar,.buddypress.widget ul#members-list li .item-avatar{float:right;width:60px}.buddypress.widget ul#friends-list li .item,.buddypress.widget ul#groups-list li .item,.buddypress.widget ul#members-list li .item{margin-right:70px}.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:column nowrap;flex-flow:column nowrap}@media screen and (min-width:32em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{border:1px solid #eee;align-items:stretch;-moz-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#members-list li .item-avatar{padding:.5em;text-align:center}.buddypress-wrap .buddypress.widget ul#friends-list li .item,.buddypress-wrap .buddypress.widget ul#groups-list li .item,.buddypress-wrap .buddypress.widget ul#members-list li .item{padding:.5em}.buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{margin:10px -2%;width:100%}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}.buddypress-wrap .buddypress.widget blockquote{margin:0 0 1.5em;overflow:visible;padding:0 .75em .75em 0}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@keyframes loader-pulsate{from{border-color:#aaa;box-shadow:0 0 6px #ccc}to{border-color:#ccc;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:-4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{right:50%;margin-top:7px;top:110%;transform:translate(50%,0)}.user-list .bp-tooltip:after{right:0;transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{right:auto;left:0;transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.avatar-block .item-avatar .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{right:0;transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{right:auto;left:0;transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{right:0;left:auto}#item-body,.single-screen-navs{box-sizing:border-box}.grid>li,.grid>li .generic-button a{box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:right;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-left:10px}.grid.three>li:nth-child(2n),.grid.two>li:nth-child(2n){padding-right:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.three>li:nth-child(3n+3){padding-right:5px;padding-left:0}.grid.three>li:nth-child(3n+1){padding-right:0;padding-left:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.four>li:nth-child(4n+4){padding-right:5px;padding-left:0}.grid.four>li:nth-child(4n+1){padding-right:0;padding-left:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;right:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:right}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;right:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-left:1px solid #d6d6d6;border-bottom:0;float:right;margin-left:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-left:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:left;margin-left:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-right:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{right:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-right:1px solid #d6d6d6;float:left;margin:0;min-height:400px;padding:0 1em 0 0;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 -5px 0 0;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-left:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:right;right:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-right:1px solid #d6d6d6;margin-right:20%;overflow:hidden;padding:0 1em 2em 0}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-left-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
bp-templates/bp-nouveau/css/buddypress.css CHANGED
@@ -1306,6 +1306,17 @@ body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en
1306
  padding-left: 1em;
1307
  }
1308
 
 
 
 
 
 
 
 
 
 
 
 
1309
  .activity-list .activity-item.newest_mentions_activity, .activity-list .activity-item.newest_friends_activity, .activity-list .activity-item.newest_groups_activity, .activity-list .activity-item.newest_blogs_activity {
1310
  background: rgba(31, 179, 221, 0.1);
1311
  }
1306
  padding-left: 1em;
1307
  }
1308
 
1309
+ .activity-list .activity-item.new_blog_post .activity-inner strong {
1310
+ display: block;
1311
+ margin-bottom: 0.8em;
1312
+ }
1313
+
1314
+ .activity-list .activity-item.new_blog_post .activity-inner img {
1315
+ max-width: 100%;
1316
+ float: left;
1317
+ margin-right: 0.8em;
1318
+ }
1319
+
1320
  .activity-list .activity-item.newest_mentions_activity, .activity-list .activity-item.newest_friends_activity, .activity-list .activity-item.newest_groups_activity, .activity-list .activity-item.newest_blogs_activity {
1321
  background: rgba(31, 179, 221, 0.1);
1322
  }
bp-templates/bp-nouveau/css/buddypress.min.css CHANGED
@@ -1 +1 @@
1
- body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress div,body #buddypress dl,body #buddypress input[type=reset],body #buddypress input[type=search],body #buddypress input[type=submit],body #buddypress li,body #buddypress select,body #buddypress textarea{border-radius:2px;background-clip:padding-box}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-left:0}body #buddypress .bp-list .action{box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content:not(.alignwide):not(.alignfull),body.buddypress .entry-header:not(.alignwide):not(.alignfull),body.buddypress .site-content .entry-header:not(.alignwide):not(.alignfull){max-width:none}body.buddypress .entry-header{float:none}body.buddypress .entry-content{float:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}body.buddypress .buddypress-wrap h2:before{display:none}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:left}.buddypress-wrap .subnav{float:left}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:left}.buddypress-wrap #subsubnav .filter{float:right}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:right}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:right}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:left;list-style:none;margin:0 10px 0 0}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-left-radius:4px;border-top-right-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-right:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:right;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:left;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-right:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:left}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-right:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:0;font-weight:400;line-height:1.8;margin:0 0 0 10px;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:left}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:right;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:right}}.buddypress-wrap .invitations-options-nav input#invitation-bulk-manage,.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:left;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:left}.buddypress-wrap .bp-pagination .bp-pagination-links{float:right;margin-right:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline-block;width:auto;height:auto}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 10px 0 0}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:left;margin-right:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:left;margin-right:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:left;text-align:left}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:left}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:left;padding:0;text-align:left}.bp-list li .action li.generic-button{margin-right:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-moz-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:right}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:left}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-right:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block;height:auto;width:auto}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0;padding-left:0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items button.bp-remove-item{margin-left:10px;height:auto}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em;width:100%}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:flex;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px;height:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-left:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-right:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:left;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-left:55px}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-right:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 2% 0 0;text-align:left;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-left:0;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-left:15px;text-align:left;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-left:2px solid #eaeaea;margin-left:10px;padding-left:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:text-top;width:20px;height:20px}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-left:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-left:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:left}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0;color:#555}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 15px 0 0;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%;background-color:#eaeaea}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-left:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{left:-20px;margin-right:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-avatar img{box-shadow:0 0 0 8px #fff}body.activity-permalink .activity-list .activity-content{margin-right:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:left}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);height:80px;width:80px}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:right}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-left:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-left:2%}.buddypress-wrap .activity-comments .acomment-content{border-left:1px solid #ccc;margin:15px 0 0 10%;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:left;margin:10px 0 10px 20px}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-left:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 .5em 0 1em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:left}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-left:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-right:15px}.activity-comments form.root{margin-left:0}.buddypress-wrap .blogs-list li .item-avatar img.avatar-150{max-width:150px;max-height:150px}.buddypress-wrap .blogs-list li .item-avatar img.avatar-50{max-width:50px;max-height:50px}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:left;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:left}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-right:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:left;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:left;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-left:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-right:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .item-extra-content{clear:both;font-size:14px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-left:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:left;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:left;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 15px 10px 0}.register-page .signup-form .wp-pwd button{vertical-align:middle}.register-page .signup-form #pass-strength-result,.register-page .signup-form #pass1,.register-page .signup-form #pass1-text{width:10em}.register-page .signup-form #pass1{display:inline-block;margin-bottom:inherit}.register-page .signup-form #pass1-text,.register-page .signup-form .pw-weak{display:none}.register-page .signup-form .show-password #pass1-text{display:inline-block;margin-bottom:inherit}.register-page .signup-form .show-password #pass1{display:none}.register-page .signup-form .description.indicator-hint{font-size:14px}.register-page .signup-form #submit:disabled{color:#767676;opacity:.4}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}body.buddypress.register.js .user-pass2-wrap{display:none}body.buddypress.register.no-js .wp-hide-pw{display:none}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-right:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-left:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{min-width:14em;flex:1;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body img.avatar{width:auto;height:auto}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none;width:auto;height:auto}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:left}.single-headers #item-header-avatar a img{float:left}.single-headers #item-header-content{padding-left:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-right:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:left;margin:0 15px 19px 0}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:right;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:left}}.single-headers a.button,.single-headers div.generic-button{margin:10px 10px 0 0}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-left:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{font-size:18px;margin:0;color:#333;display:flex}.groups-header .bp-group-type-list strong{padding-right:1em;white-space:nowrap}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:left;margin:0 0 15px 15px;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-left:4px;padding:4px}.groups-header .moderators-lists img.avatar{box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:left;margin-left:10%;text-align:left;padding-top:15px;width:42%}.groups-header .group-item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:left}.groups-header .desc-wrap .group-description p{margin:0;padding:0}body.buddypress.bp-user .buddypress-wrap .users-header h2.user-nicename{margin-top:0;margin-bottom:5px}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list{padding-bottom:.5em;font-size:18px;margin:0;color:#333;display:flex}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list strong{padding-right:1em;white-space:nowrap}body.buddypress.bp-user .buddypress-wrap .member-header-actions{overflow:hidden;padding-left:0}body.buddypress.bp-user .buddypress-wrap .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px;list-style:none}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-left:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 0 20px 20px}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-left:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(2n){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:left}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:left}.groups-manage-members-list ul li .avatar{margin-right:15px}.groups-manage-members-list ul li .action{clear:both;float:left}}#group-manage-members-ui #group-members-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;text-align:center;text-transform:none}#group-manage-members-ui #group-members-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}#group-manage-members-ui #group-members-pagination button:last-child{margin-right:2em}#group-manage-members-ui #bp-no-group-members td{border:none}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-left:5px;padding-right:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;right:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:left;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:left;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{box-sizing:border-box;border:1px solid #eaeaea;float:left;padding-left:.5em;padding-right:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-right:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(2n){margin-left:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:left;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:grid;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit ul.button-nav{list-style:none;margin:30px 0 10px;padding-left:0}.buddypress-wrap .profile.edit ul.button-nav li{display:inline-block;margin-right:10px}.buddypress-wrap .profile.edit ul.button-nav li a{padding:.5em}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-exit:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-exit:before{content:"\f14a"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-left:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:flex;align-items:center;-moz-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-moz-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:left;margin:0 10px 0 0}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-moz-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-moz-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-right:5px;text-align:right}.bp-messages-content .actions{float:right;max-width:30%;line-height:1}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;box-shadow:-2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:left}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:left;margin:0 10px 0 0}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-left:2em}.bp-messages-content .thread-participants{float:left;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:left;margin-left:5px}.bp-messages-content .thread-participants img{width:30px;height:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-left:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-right:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}body.buddypress.settings .wp-pwd button{vertical-align:middle}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1,body.buddypress.settings #pass1-text{width:16em}body.buddypress.settings #pass1{display:inline-block;margin-bottom:inherit}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1-text,body.buddypress.settings .pw-weak{display:none}body.buddypress.settings .show-password #pass1-text{display:inline-block;margin-bottom:inherit}body.buddypress.settings .show-password #pass1{display:none}body.buddypress.settings #your-profile #submit:disabled{color:#767676;opacity:.4}body.buddypress.settings.js .user-pass2-wrap,body.buddypress.settings.js .wp-pwd{display:none}body.buddypress.settings.no-js .wp-cancel-pw,body.buddypress.settings.no-js .wp-generate-pw,body.buddypress.settings.no-js .wp-hide-pw{display:none}body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a{text-decoration:underline}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #invitation-bulk-manage[disabled],.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background-color:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-right:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background-color:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-right:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:left}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 0 0 1%}.buddypress-wrap .standard-form .main-column{margin-left:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:left}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-right:-25px;padding:6px 25px 6px 10px;position:relative;text-indent:-2px;z-index:1;width:auto}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .invitations-options-nav .select-wrap,.buddypress-wrap .notifications-options-nav .select-wrap{float:left}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form#group-members-search,.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-messages-search-form,.buddypress-wrap form[data-bp-search].bp-invites-search-form{border:1px solid #eee;width:100%}.buddypress-wrap form#group-members-search label,.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-messages-search-form label,.buddypress-wrap form[data-bp-search].bp-invites-search-form label{margin:0}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{background:0 0;border:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{float:left;line-height:2;padding:3px 10px;width:78%}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form#group-members-search button[type=submit] span,.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form#group-members-search button[type=submit].bp-show,.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit].bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-button,.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap form#group-members-search:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-group-type,.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;left:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:left}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:flex;align-items:center}.bp-hide{display:none}.bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;border-radius:0;color:#555;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto;line-height:1}.buddypress .buddypress-wrap a.button.dashicons,.buddypress .buddypress-wrap button.dashicons{font-family:dashicons}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit]:disabled,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-right:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-left:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-right:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:right}}.buddypress #buddypress .create-button a{border:1px solid #ccc;border-radius:5px;background-clip:padding-box;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-right:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:left}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;align-items:stretch;align-items:center}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;left:0;margin-right:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;right:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;right:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.bp-sitewide-notice .bp-icon,.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:flex;align-items:center;align-self:stretch}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#333}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#333}.buddypress-wrap #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0;color:#333}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#333}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:left;margin-left:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;left:2%;position:absolute;padding:.5em 1em;right:2%;top:30px}body.create-blog #buddypress .error,body.create-blog #buddypress .success{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;padding:10px 15px;background-color:#fff}body.create-blog #buddypress .error{border-left:4px solid #d33}body.create-blog #buddypress .success{border-left:4px solid #8a2}.buddypress.widget .item-options{font-size:12px;margin:0 0 1em;padding:1em 0}.buddypress.widget .bp-login-widget-user-avatar{float:left}.buddypress.widget .bp-login-widget-user-links{margin-left:70px}.buddypress.widget ul.item-list{list-style:none;margin:10px 0}.buddypress.widget ul.activity-list{padding:0}.buddypress.widget ul.activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 0 .75em .75em}.buddypress.widget ul.activity-list img{margin-bottom:.5em}.buddypress.widget ul.activity-list li{border-bottom:1px solid #ccc;margin-bottom:1em}.buddypress.widget ul.activity-list li .activity-header p{margin-bottom:.5em}.buddypress.widget ul.activity-list li:last-child{border-bottom:0}.buddypress.widget div.activity-list blockquote{padding:0;border:none}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini){position:relative;box-shadow:1px 0 4px rgba(0,0,0,.15);padding:0 1em}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after,.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{position:absolute;left:15px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{bottom:-18px;border-top-color:rgba(0,0,0,.15);border-width:9px;left:14px}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after{bottom:-16px;border-top-color:#fff;border-width:8px}.buddypress.widget div.activity-list blockquote .activity-item.mini .avatar{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:2px}.buddypress.widget div.activity-list footer{display:flex;align-items:center}.buddypress.widget div.activity-list footer img.avatar{display:inline-block;border:none;margin-right:.5em}.buddypress.widget div.activity-list footer .activity-time-since{font-size:90%}.buddypress.widget .avatar-block{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin:.5em}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#friends-list li:before,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#groups-list li:before,.buddypress.widget ul#members-list li:after,.buddypress.widget ul#members-list li:before{content:" ";display:table}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#members-list li:after{clear:both}.buddypress.widget ul#friends-list li,.buddypress.widget ul#groups-list li,.buddypress.widget ul#members-list li{margin-bottom:1em}.buddypress.widget ul#friends-list li .item-avatar,.buddypress.widget ul#groups-list li .item-avatar,.buddypress.widget ul#members-list li .item-avatar{float:left;width:60px}.buddypress.widget ul#friends-list li .item,.buddypress.widget ul#groups-list li .item,.buddypress.widget ul#members-list li .item{margin-left:70px}.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:column nowrap;flex-flow:column nowrap}@media screen and (min-width:32em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{border:1px solid #eee;align-items:stretch;-moz-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#members-list li .item-avatar{padding:.5em;text-align:center}.buddypress-wrap .buddypress.widget ul#friends-list li .item,.buddypress-wrap .buddypress.widget ul#groups-list li .item,.buddypress-wrap .buddypress.widget ul#members-list li .item{padding:.5em}.buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{margin:10px -2%;width:100%}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}.buddypress-wrap .buddypress.widget blockquote{margin:0 0 1.5em;overflow:visible;padding:0 0 .75em .75em}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@keyframes loader-pulsate{from{border-color:#aaa;box-shadow:0 0 6px #ccc}to{border-color:#ccc;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{left:50%;margin-top:7px;top:110%;transform:translate(-50%,0)}.user-list .bp-tooltip:after{left:0;transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{left:auto;right:0;transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.avatar-block .item-avatar .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{left:0;transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{left:auto;right:0;transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{left:0;right:auto}#item-body,.single-screen-navs{box-sizing:border-box}.grid>li,.grid>li .generic-button a{box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:left;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-right:10px}.grid.three>li:nth-child(2n),.grid.two>li:nth-child(2n){padding-left:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.three>li:nth-child(3n+3){padding-left:5px;padding-right:0}.grid.three>li:nth-child(3n+1){padding-left:0;padding-right:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.four>li:nth-child(4n+4){padding-left:5px;padding-right:0}.grid.four>li:nth-child(4n+1){padding-left:0;padding-right:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;left:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:left}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;left:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-right:1px solid #d6d6d6;border-bottom:0;float:left;margin-right:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-right:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:right;margin-right:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-left:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{left:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-left:1px solid #d6d6d6;float:right;margin:0;min-height:400px;padding:0 0 0 1em;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 0 0 -5px;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-right:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:left;left:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-left:1px solid #d6d6d6;margin-left:20%;overflow:hidden;padding:0 0 2em 1em}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-right-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
1
+ body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress div,body #buddypress dl,body #buddypress input[type=reset],body #buddypress input[type=search],body #buddypress input[type=submit],body #buddypress li,body #buddypress select,body #buddypress textarea{border-radius:2px;background-clip:padding-box}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-left:0}body #buddypress .bp-list .action{box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content:not(.alignwide):not(.alignfull),body.buddypress .entry-header:not(.alignwide):not(.alignfull),body.buddypress .site-content .entry-header:not(.alignwide):not(.alignfull){max-width:none}body.buddypress .entry-header{float:none}body.buddypress .entry-content{float:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}body.buddypress .buddypress-wrap h2:before{display:none}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header:not(.alignwide):not(.alignfull) .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #invitation-select,.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:left}.buddypress-wrap .subnav{float:left}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:left}.buddypress-wrap #subsubnav .filter{float:right}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:right}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:right}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:left;list-style:none;margin:0 10px 0 0}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-left-radius:4px;border-top-right-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-right:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:right;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:left;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-right:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:left}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-right:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:0;font-weight:400;line-height:1.8;margin:0 0 0 10px;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:left}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:right;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:right}}.buddypress-wrap .invitations-options-nav input#invitation-bulk-manage,.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:left;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:left}.buddypress-wrap .bp-pagination .bp-pagination-links{float:right;margin-right:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline-block;width:auto;height:auto}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 10px 0 0}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:left;margin-right:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:left;margin-right:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:left;text-align:left}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:left}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:left;padding:0;text-align:left}.bp-list li .action li.generic-button{margin-right:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-moz-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:right}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:left}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-right:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block;height:auto;width:auto}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0;padding-left:0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items button.bp-remove-item{margin-left:10px;height:auto}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em;width:100%}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:flex;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px;height:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-left:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-right:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:left;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-left:55px}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-right:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 2% 0 0;text-align:left;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-left:0;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-left:15px;text-align:left;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-left:2px solid #eaeaea;margin-left:10px;padding-left:1em}.activity-list .activity-item.new_blog_post .activity-inner strong{display:block;margin-bottom:.8em}.activity-list .activity-item.new_blog_post .activity-inner img{max-width:100%;float:left;margin-right:.8em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:text-top;width:20px;height:20px}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-left:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-left:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:left}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0;color:#555}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 15px 0 0;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%;background-color:#eaeaea}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-left:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{left:-20px;margin-right:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-avatar img{box-shadow:0 0 0 8px #fff}body.activity-permalink .activity-list .activity-content{margin-right:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:left}}.bp-group-preview-cover,.bp-member-preview-cover{position:relative;min-height:150px;background:#c5c5c5}.bp-group-preview-cover img,.bp-member-preview-cover img{background:#c5c5c5;-o-object-fit:cover;object-fit:cover;border:0;display:block;margin:0;padding:0;width:100%;z-index:1;height:150px}.bp-group-short-description,.bp-member-short-description{position:relative;text-align:center}.bp-group-avatar-content,.bp-member-avatar-content{width:120px;position:relative;z-index:2;margin:auto}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{border:solid 2px #fff;background:rgba(255,255,255,.8);height:80px;width:80px}.bp-group-avatar-content.has-cover-image,.bp-member-avatar-content.has-cover-image{width:200px;margin-top:-75px}.bp-group-avatar-content.has-cover-image img.group-photo,.bp-group-avatar-content.has-cover-image img.profile-photo,.bp-member-avatar-content.has-cover-image img.group-photo,.bp-member-avatar-content.has-cover-image img.profile-photo{height:inherit;width:inherit}.bp-group-short-description-title a,.bp-member-short-description-title a{font-weight:600}@media screen and (max-width:46.8em){.bp-group-avatar-content,.bp-member-avatar-content{width:100%;margin-bottom:15px}.bp-group-avatar-content img.group-photo,.bp-group-avatar-content img.profile-photo,.bp-member-avatar-content img.group-photo,.bp-member-avatar-content img.profile-photo{margin:auto}.bp-profile-button{position:relative;margin-top:15px}}@media screen and (min-width:46.8em){.bp-profile-button{text-align:right}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-left:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-left:2%}.buddypress-wrap .activity-comments .acomment-content{border-left:1px solid #ccc;margin:15px 0 0 10%;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:left;margin:10px 0 10px 20px}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-left:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 .5em 0 1em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:left}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-left:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-right:15px}.activity-comments form.root{margin-left:0}.buddypress-wrap .blogs-list li .item-avatar img.avatar-150{max-width:150px;max-height:150px}.buddypress-wrap .blogs-list li .item-avatar img.avatar-50{max-width:50px;max-height:50px}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:left;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:left}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-right:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:left;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:left;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-left:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-right:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .item-extra-content{clear:both;font-size:14px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-left:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:left;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:left;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 15px 10px 0}.register-page .signup-form .wp-pwd button{vertical-align:middle}.register-page .signup-form #pass-strength-result,.register-page .signup-form #pass1,.register-page .signup-form #pass1-text{width:10em}.register-page .signup-form #pass1{display:inline-block;margin-bottom:inherit}.register-page .signup-form #pass1-text,.register-page .signup-form .pw-weak{display:none}.register-page .signup-form .show-password #pass1-text{display:inline-block;margin-bottom:inherit}.register-page .signup-form .show-password #pass1{display:none}.register-page .signup-form .description.indicator-hint{font-size:14px}.register-page .signup-form #submit:disabled{color:#767676;opacity:.4}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}body.buddypress.register.js .user-pass2-wrap{display:none}body.buddypress.register.no-js .wp-hide-pw{display:none}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-right:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-left:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{min-width:14em;flex:1;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body img.avatar{width:auto;height:auto}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none;width:auto;height:auto}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:left}.single-headers #item-header-avatar a img{float:left}.single-headers #item-header-content{padding-left:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-right:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:left;margin:0 15px 19px 0}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:right;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:left}}.single-headers a.button,.single-headers div.generic-button{margin:10px 10px 0 0}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-left:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{font-size:18px;margin:0;color:#333;display:flex}.groups-header .bp-group-type-list strong{padding-right:1em;white-space:nowrap}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:left;margin:0 0 15px 15px;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-left:4px;padding:4px}.groups-header .moderators-lists img.avatar{box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:left;margin-left:10%;text-align:left;padding-top:15px;width:42%}.groups-header .group-item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:left}.groups-header .desc-wrap .group-description p{margin:0;padding:0}body.buddypress.bp-user .buddypress-wrap .users-header h2.user-nicename{margin-top:0;margin-bottom:5px}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list{padding-bottom:.5em;font-size:18px;margin:0;color:#333;display:flex}body.buddypress.bp-user .buddypress-wrap .users-header .bp-member-type-list strong{padding-right:1em;white-space:nowrap}body.buddypress.bp-user .buddypress-wrap .member-header-actions{overflow:hidden;padding-left:0}body.buddypress.bp-user .buddypress-wrap .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px;list-style:none}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-left:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 0 20px 20px}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-left:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(2n){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:left}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:left}.groups-manage-members-list ul li .avatar{margin-right:15px}.groups-manage-members-list ul li .action{clear:both;float:left}}#group-manage-members-ui #group-members-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;text-align:center;text-transform:none}#group-manage-members-ui #group-members-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}#group-manage-members-ui #group-members-pagination button:last-child{margin-right:2em}#group-manage-members-ui #bp-no-group-members td{border:none}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-left:5px;padding-right:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;right:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:left;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:left;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{box-sizing:border-box;border:1px solid #eaeaea;float:left;padding-left:.5em;padding-right:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-right:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(2n){margin-left:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:left;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:grid;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit ul.button-nav{list-style:none;margin:30px 0 10px;padding-left:0}.buddypress-wrap .profile.edit ul.button-nav li{display:inline-block;margin-right:10px}.buddypress-wrap .profile.edit ul.button-nav li a{padding:.5em}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-exit:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-exit:before{content:"\f14a"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-left:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:flex;align-items:center;-moz-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-moz-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:left;margin:0 10px 0 0}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-moz-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-moz-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-right:5px;text-align:right}.bp-messages-content .actions{float:right;max-width:30%;line-height:1}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;box-shadow:-2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:left}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:left;margin:0 10px 0 0}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-left:2em}.bp-messages-content .thread-participants{float:left;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:left;margin-left:5px}.bp-messages-content .thread-participants img{width:30px;height:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-left:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-right:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}body.buddypress.settings .wp-pwd button{vertical-align:middle}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1,body.buddypress.settings #pass1-text{width:16em}body.buddypress.settings #pass1{display:inline-block;margin-bottom:inherit}body.buddypress.settings #pass-strength-result,body.buddypress.settings #pass1-text,body.buddypress.settings .pw-weak{display:none}body.buddypress.settings .show-password #pass1-text{display:inline-block;margin-bottom:inherit}body.buddypress.settings .show-password #pass1{display:none}body.buddypress.settings #your-profile #submit:disabled{color:#767676;opacity:.4}body.buddypress.settings.js .user-pass2-wrap,body.buddypress.settings.js .wp-pwd{display:none}body.buddypress.settings.no-js .wp-cancel-pw,body.buddypress.settings.no-js .wp-generate-pw,body.buddypress.settings.no-js .wp-hide-pw{display:none}body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a{text-decoration:underline}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #invitation-bulk-manage[disabled],.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background-color:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-right:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background-color:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-right:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:left}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 0 0 1%}.buddypress-wrap .standard-form .main-column{margin-left:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:left}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-right:-25px;padding:6px 25px 6px 10px;position:relative;text-indent:-2px;z-index:1;width:auto}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .invitations-options-nav .select-wrap,.buddypress-wrap .notifications-options-nav .select-wrap{float:left}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form#group-members-search,.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-messages-search-form,.buddypress-wrap form[data-bp-search].bp-invites-search-form{border:1px solid #eee;width:100%}.buddypress-wrap form#group-members-search label,.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-messages-search-form label,.buddypress-wrap form[data-bp-search].bp-invites-search-form label{margin:0}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{background:0 0;border:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form#group-members-search input[type=search],.buddypress-wrap form#group-members-search input[type=text],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search],.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=text]{float:left;line-height:2;padding:3px 10px;width:78%}.buddypress-wrap form#group-members-search button[type=submit],.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form#group-members-search button[type=submit] span,.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form#group-members-search button[type=submit].bp-show,.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show,.buddypress-wrap form[data-bp-search].bp-invites-search-form button[type=submit].bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-button,.buddypress-wrap form#group-members-search input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form[data-bp-search].bp-invites-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap form#group-members-search:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-group-type,.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;left:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:left}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:flex;align-items:center}.bp-hide{display:none}.bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;border-radius:0;color:#555;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto;line-height:1}.buddypress .buddypress-wrap a.button.dashicons,.buddypress .buddypress-wrap button.dashicons{font-family:dashicons}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit]:disabled,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-right:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-left:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-right:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:right}}.buddypress #buddypress .create-button a{border:1px solid #ccc;border-radius:5px;background-clip:padding-box;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-right:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:left}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row nowrap;flex-flow:row nowrap;align-items:stretch;align-items:center}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;left:0;margin-right:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;right:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;right:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.bp-sitewide-notice .bp-icon,.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:flex;align-items:center;align-self:stretch}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#333}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#333}.buddypress-wrap #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0;color:#333}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#333}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:left;margin-left:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;left:2%;position:absolute;padding:.5em 1em;right:2%;top:30px}body.create-blog #buddypress .error,body.create-blog #buddypress .success{background:#fff;color:#807f7f;box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;padding:10px 15px;background-color:#fff}body.create-blog #buddypress .error{border-left:4px solid #d33}body.create-blog #buddypress .success{border-left:4px solid #8a2}.buddypress.widget .item-options{font-size:12px;margin:0 0 1em;padding:1em 0}.buddypress.widget .bp-login-widget-user-avatar{float:left}.buddypress.widget .bp-login-widget-user-links{margin-left:70px}.buddypress.widget ul.item-list{list-style:none;margin:10px 0}.buddypress.widget ul.activity-list{padding:0}.buddypress.widget ul.activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 0 .75em .75em}.buddypress.widget ul.activity-list img{margin-bottom:.5em}.buddypress.widget ul.activity-list li{border-bottom:1px solid #ccc;margin-bottom:1em}.buddypress.widget ul.activity-list li .activity-header p{margin-bottom:.5em}.buddypress.widget ul.activity-list li:last-child{border-bottom:0}.buddypress.widget div.activity-list blockquote{padding:0;border:none}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini){position:relative;box-shadow:1px 0 4px rgba(0,0,0,.15);padding:0 1em}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after,.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{position:absolute;left:15px;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):before{bottom:-18px;border-top-color:rgba(0,0,0,.15);border-width:9px;left:14px}.buddypress.widget div.activity-list blockquote .activity-item:not(.mini):after{bottom:-16px;border-top-color:#fff;border-width:8px}.buddypress.widget div.activity-list blockquote .activity-item.mini .avatar{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:2px}.buddypress.widget div.activity-list footer{display:flex;align-items:center}.buddypress.widget div.activity-list footer img.avatar{display:inline-block;border:none;margin-right:.5em}.buddypress.widget div.activity-list footer .activity-time-since{font-size:90%}.buddypress.widget .avatar-block{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin:.5em}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#friends-list li:before,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#groups-list li:before,.buddypress.widget ul#members-list li:after,.buddypress.widget ul#members-list li:before{content:" ";display:table}.buddypress.widget ul#friends-list li:after,.buddypress.widget ul#groups-list li:after,.buddypress.widget ul#members-list li:after{clear:both}.buddypress.widget ul#friends-list li,.buddypress.widget ul#groups-list li,.buddypress.widget ul#members-list li{margin-bottom:1em}.buddypress.widget ul#friends-list li .item-avatar,.buddypress.widget ul#groups-list li .item-avatar,.buddypress.widget ul#members-list li .item-avatar{float:left;width:60px}.buddypress.widget ul#friends-list li .item,.buddypress.widget ul#groups-list li .item,.buddypress.widget ul#members-list li .item{margin-left:70px}.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:column nowrap;flex-flow:column nowrap}@media screen and (min-width:32em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{border:1px solid #eee;align-items:stretch;-moz-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress-wrap .buddypress.widget ul#friends-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#groups-list li .item-avatar,.buddypress-wrap .buddypress.widget ul#members-list li .item-avatar{padding:.5em;text-align:center}.buddypress-wrap .buddypress.widget ul#friends-list li .item,.buddypress-wrap .buddypress.widget ul#groups-list li .item,.buddypress-wrap .buddypress.widget ul#members-list li .item{padding:.5em}.buddypress-wrap .buddypress.widget ul#friends-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#groups-list li .item .item-meta,.buddypress-wrap .buddypress.widget ul#members-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}@media screen and (min-width:75em){.buddypress-wrap .buddypress.widget ul#friends-list,.buddypress-wrap .buddypress.widget ul#groups-list,.buddypress-wrap .buddypress.widget ul#members-list{margin:10px -2%;width:100%}.buddypress-wrap .buddypress.widget ul#friends-list li,.buddypress-wrap .buddypress.widget ul#groups-list li,.buddypress-wrap .buddypress.widget ul#members-list li{-moz-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}.buddypress-wrap .buddypress.widget blockquote{margin:0 0 1.5em;overflow:visible;padding:0 0 .75em .75em}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@keyframes loader-pulsate{from{border-color:#aaa;box-shadow:0 0 6px #ccc}to{border-color:#ccc;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{left:50%;margin-top:7px;top:110%;transform:translate(-50%,0)}.user-list .bp-tooltip:after{left:0;transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{left:auto;right:0;transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.avatar-block .item-avatar .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{left:0;transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{left:auto;right:0;transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{left:0;right:auto}#item-body,.single-screen-navs{box-sizing:border-box}.grid>li,.grid>li .generic-button a{box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:left;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-right:10px}.grid.three>li:nth-child(2n),.grid.two>li:nth-child(2n){padding-left:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.three>li:nth-child(3n+3){padding-left:5px;padding-right:0}.grid.three>li:nth-child(3n+1){padding-left:0;padding-right:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.four>li:nth-child(4n+4){padding-left:5px;padding-right:0}.grid.four>li:nth-child(4n+1){padding-left:0;padding-right:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;left:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:left}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;left:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-right:1px solid #d6d6d6;border-bottom:0;float:left;margin-right:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-right:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:right;margin-right:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-left:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{left:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-left:1px solid #d6d6d6;float:right;margin:0;min-height:400px;padding:0 0 0 1em;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 0 0 -5px;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-right:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:left;left:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-left:1px solid #d6d6d6;margin-left:20%;overflow:hidden;padding:0 0 2em 1em}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-right-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
bp-templates/bp-nouveau/css/twentytwentythree-rtl.css ADDED
@@ -0,0 +1,1790 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*--------------------------------------------------------------
2
+ Hello, this is the BP Nouveau's Twenty Twenty-Three companion stylesheet.
3
+
4
+ @since 10.5.0
5
+ @version 10.5.0
6
+
7
+ ----------------------------------------------------------------
8
+ >>> TABLE OF CONTENTS:
9
+ ----------------------------------------------------------------
10
+ 1.0 - BP Generic, Typography & Imagery
11
+
12
+ 2.0 - Navigation - General
13
+ 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs)
14
+ 2.2 - Pagination
15
+
16
+ 3.0 - BP Lists / Loops Generic & filters
17
+ 3.1 - Activity Loop
18
+ 3.1.1 Whats New Activity
19
+ 3.1.2 - Activity Entries
20
+ 3.1.3 - Activity Comments
21
+ 3.2 - Blogs Loop
22
+ 3.3 - Groups Loop
23
+ 3.4 - Members Loop
24
+
25
+ 4.0 - Directories - Members, Groups, Blogs, Register, Activation
26
+ 4.1 - Groups Creation Steps Screens
27
+ 5.0 - Single Item screens: User Account & Single Group Screens
28
+ 5.1 - Item Headers: Global
29
+ 5.1.1 - item-header: Groups
30
+ 5.1.2 - item-header: User Accounts
31
+ 5.2 - Item Body: Global
32
+ 5.2.1 - item-body: Groups
33
+ 5.2.1.1 - Management settings screens
34
+ 5.2.1.2 - Group Members list
35
+ 5.2.1.3 - Group Invite list
36
+ 5.2.1.4 - Group Activity
37
+ 5.2.2 - item-body: User Accounts
38
+ 5.2.2.1 - classes, pag, filters
39
+ 5.2.2.2 - Extended Profiles
40
+ 5.2.2.3 - Groups
41
+ 5.2.2.4 - friends
42
+ 5.2.2.5 - Private Messaging Threads
43
+ 5.2.2.6 - Settings
44
+ 5.2.2.7 - Notifications
45
+
46
+ 6.0 - Forms - General
47
+ 6.1 - Dir Search
48
+ 6.2 - Registration
49
+
50
+ 7.0 - Tables - General
51
+ 7.0.1 - Group - Manage Members
52
+
53
+ 8.0 - Classes - Messages, Ajax, Widgets, Buttons, Tooltips
54
+
55
+ 9.0 - Layout Classes.
56
+ --------------------------------------------------------------*/
57
+ /**
58
+ *-------------------------------------------------------------------------------
59
+ * @section 1.0 - BP Generic, Typography & Imagery
60
+ *-------------------------------------------------------------------------------
61
+ */
62
+ /**
63
+ *-------------------------------------------------------------------------------
64
+ * @section 2.0 - Navigation - General
65
+ *-------------------------------------------------------------------------------
66
+ */
67
+ /**
68
+ *----------------------------------------------------------
69
+ * @section 2.1 - Navs Object Nav / Sub Nav (bp-list)
70
+ *
71
+ * The main navigational elements for all BP screens
72
+ *----------------------------------------------------------
73
+ */
74
+ #buddypress.twentytwentythree.alignwide {
75
+ max-width: 46.8em;
76
+ }
77
+
78
+ @media screen and (max-width: 46.8em) {
79
+ #buddypress.twentytwentythree:not(.bp-single-vert-nav) .bp-navs li {
80
+ background: transparent;
81
+ }
82
+ }
83
+
84
+ #buddypress.twentytwentythree .bp-navs li .count {
85
+ background-color: var(--wp--preset--color--primary);
86
+ border: 1px solid var(--wp--preset--color--primary--wp--preset--color--secondary);
87
+ border-radius: 50%;
88
+ color: var(--wp--preset--color--secondary);
89
+ }
90
+
91
+ #buddypress.twentytwentythree .bp-navs:not(.tabbed-links) li.selected a .count,
92
+ #buddypress.twentytwentythree .bp-navs:not(.tabbed-links) li.current a .count,
93
+ #buddypress.twentytwentythree .bp-navs:not(.tabbed-links) li a:hover a .count {
94
+ background-color: var(--wp--preset--color--secondary);
95
+ border: 1px solid var(--wp--preset--color--secondary);
96
+ color: var(--wp--preset--color--primary);
97
+ }
98
+
99
+ #buddypress.twentytwentythree .bp-navs li:not(.current):not(.selected) a:focus,
100
+ #buddypress.twentytwentythree .bp-navs li:not(.current):not(.selected) a:hover {
101
+ background: var(--wp--preset--color--base);
102
+ color: var(--wp--preset--color--secondary);
103
+ outline-offset: -0.25ch;
104
+ outline: 2px dashed var(--wp--preset--color--primary);
105
+ }
106
+
107
+ #buddypress.twentytwentythree .bp-navs li.selected a,
108
+ #buddypress.twentytwentythree .bp-navs li.selected a:focus,
109
+ #buddypress.twentytwentythree .bp-navs li.selected a:hover,
110
+ #buddypress.twentytwentythree .bp-navs li.current a,
111
+ #buddypress.twentytwentythree .bp-navs li.current a:focus,
112
+ #buddypress.twentytwentythree .bp-navs li.current a:hover {
113
+ color: var(--wp--preset--color--secondary);
114
+ background-color: var(--wp--preset--color--primary);
115
+ }
116
+
117
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ul,
118
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ol {
119
+ border-bottom: 1px solid var(--wp--preset--color--primary);
120
+ }
121
+
122
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ul li.current,
123
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ol li.current {
124
+ border-color: var(--wp--preset--color--primary) var(--wp--preset--color--primary) var(--wp--preset--color--base);
125
+ border-style: solid;
126
+ border-top-right-radius: 4px;
127
+ border-top-left-radius: 4px;
128
+ }
129
+
130
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ul li.current a,
131
+ #buddypress.twentytwentythree .bp-navs.tabbed-links ol li.current a {
132
+ color: var(--wp--preset--color--primary);
133
+ background-color: var(--wp--preset--color--secondary);
134
+ }
135
+
136
+ #buddypress.twentytwentythree #group-invites-container .bp-invites-nav {
137
+ border-bottom: none;
138
+ }
139
+
140
+ #buddypress.twentytwentythree #group-invites-container .bp-invites-nav li .count {
141
+ margin-right: 10px;
142
+ border-radius: 10%;
143
+ vertical-align: 10%;
144
+ }
145
+
146
+ #buddypress.twentytwentythree #group-invites-container #send-invites-editor ul {
147
+ padding-right: 0;
148
+ }
149
+
150
+ #buddypress.twentytwentythree.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
151
+ border: none;
152
+ border-bottom: 1px solid var(--wp--preset--color--primary);
153
+ box-shadow: none;
154
+ }
155
+
156
+ #buddypress.twentytwentythree .subnav-filters > ul {
157
+ padding-right: 0;
158
+ }
159
+
160
+ /**
161
+ *----------------------------------------------------------
162
+ * @section 2.2 - Pagination
163
+ *----------------------------------------------------------
164
+ */
165
+ #buddypress.twentytwentythree .bp-pagination {
166
+ color: var(--wp--preset--color--secondary);
167
+ }
168
+
169
+ /**
170
+ *-------------------------------------------------------------------------------
171
+ * @section 3.0 - BP Lists / Loops Generic
172
+ *-------------------------------------------------------------------------------
173
+ */
174
+ #buddypress.twentytwentythree .bp-list {
175
+ border-top: 1px dotted var(--wp--preset--color--primary);
176
+ }
177
+
178
+ #buddypress.twentytwentythree .bp-list > li {
179
+ border-bottom: 1px dotted var(--wp--preset--color--primary);
180
+ }
181
+
182
+ #buddypress.twentytwentythree .bp-list > li a:not(.button) {
183
+ text-decoration: underline;
184
+ }
185
+
186
+ #buddypress.twentytwentythree .bp-list > li a:not(.button):hover {
187
+ -webkit-text-decoration: dashed;
188
+ text-decoration: dashed;
189
+ }
190
+
191
+ #buddypress.twentytwentythree .bp-list li:not(.mini) .item-avatar img.avatar {
192
+ display: block;
193
+ margin: 0 auto;
194
+ margin-bottom: 1em;
195
+ max-width: 80%;
196
+ }
197
+
198
+ @media screen and (min-width: 46.8em) {
199
+ #buddypress.twentytwentythree .bp-list li:not(.mini) .item-avatar {
200
+ max-width: 128px;
201
+ max-height: 128px;
202
+ margin: auto;
203
+ margin-left: 5%;
204
+ }
205
+ }
206
+
207
+ #buddypress.twentytwentythree .bp-list li.mini .item-avatar img.avatar {
208
+ display: block;
209
+ margin: 0 auto;
210
+ max-width: 50px;
211
+ max-height: 50px;
212
+ margin-bottom: 1em;
213
+ }
214
+
215
+ #buddypress.twentytwentythree .bp-list li.mini .activity-meta.action {
216
+ clear: none;
217
+ }
218
+
219
+ #buddypress.twentytwentythree .bp-list li .meta,
220
+ #buddypress.twentytwentythree .bp-list li .item-meta {
221
+ color: var(--wp--preset--color--secondary);
222
+ }
223
+
224
+ /**
225
+ *----------------------------------------------------------
226
+ * @section 3.1 - Activity Loop
227
+ *----------------------------------------------------------
228
+ */
229
+ #buddypress.twentytwentythree .activity-list.bp-list {
230
+ background: inherit;
231
+ border-right: none;
232
+ border-left: none;
233
+ border-top: none;
234
+ border-bottom: 1px dotted var(--wp--preset--color--primary);
235
+ padding: 0;
236
+ }
237
+
238
+ #buddypress.twentytwentythree .activity-list.bp-list .activity-item {
239
+ background: inherit;
240
+ border: none;
241
+ border-radius: 0;
242
+ border-top: 1px dotted var(--wp--preset--color--primary);
243
+ box-shadow: none;
244
+ }
245
+
246
+ #buddypress.twentytwentythree .activity-list.bp-list .activity-item:not(:first-child) {
247
+ margin-top: 1.5em;
248
+ }
249
+
250
+ #buddypress.twentytwentythree .activity-list.bp-list .activity-item .activity-header .time-since,
251
+ #buddypress.twentytwentythree .activity-list.bp-list .activity-item .activity-header .time-since:hover {
252
+ color: var(--wp--preset--color--secondary);
253
+ }
254
+
255
+ /**
256
+ *-----------------------------------------------------
257
+ * @section 3.1.1 - Activity Whats New
258
+ *-----------------------------------------------------
259
+ */
260
+ #buddypress.twentytwentythree .activity-update-form {
261
+ border: none;
262
+ box-shadow: none;
263
+ }
264
+
265
+ #buddypress.twentytwentythree .activity-update-form #whats-new-textarea textarea {
266
+ border: solid 1px var(--wp--preset--color--primary);
267
+ border-radius: 0;
268
+ }
269
+
270
+ #buddypress.twentytwentythree .activity-update-form #whats-new-textarea textarea:focus {
271
+ box-shadow: none;
272
+ }
273
+
274
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box select,
275
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #activity-autocomplete {
276
+ border: solid 1px var(--wp--preset--color--primary);
277
+ padding: 0.5em;
278
+ font-size: var(--wp--preset--font-size--medium);
279
+ }
280
+
281
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box select {
282
+ width: -moz-fit-content;
283
+ width: fit-content;
284
+ }
285
+
286
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li {
287
+ margin-bottom: 0;
288
+ }
289
+
290
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li #activity-autocomplete {
291
+ width: 98%;
292
+ }
293
+
294
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li.bp-activity-object {
295
+ padding: 0.5em;
296
+ border-radius: 0;
297
+ border-style: dotted;
298
+ border-width: 0;
299
+ border-right-width: 1px;
300
+ border-left-width: 1px;
301
+ }
302
+
303
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li.bp-activity-object:not(.selected) {
304
+ background: var(--wp--preset--color--base);
305
+ color: var(--wp--preset--color--contrast);
306
+ border-color: var(--wp--preset--color--primary);
307
+ }
308
+
309
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li.bp-activity-object:not(.selected):last-child {
310
+ border-bottom: dotted 1px;
311
+ }
312
+
313
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li.bp-activity-object:not(.selected):hover {
314
+ background: var(--wp--preset--color--primary);
315
+ }
316
+
317
+ #buddypress.twentytwentythree .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li.bp-activity-object.selected {
318
+ border: none;
319
+ background-color: transparent;
320
+ }
321
+
322
+ #buddypress.twentytwentythree .activity-update-form #whats-new-submit {
323
+ margin-bottom: calc(32px + var(--wp--style--block-gap));
324
+ }
325
+
326
+ #buddypress.twentytwentythree #activity-rss-feed {
327
+ line-height: 40px;
328
+ }
329
+
330
+ /**
331
+ *-----------------------------------------------------
332
+ * @section 3.1.2 - Activity Entries
333
+ *-----------------------------------------------------
334
+ */
335
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more,
336
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest {
337
+ background-color: var(--wp--preset--color--primary);
338
+ color: var(--wp--preset--color--contrast);
339
+ border: 1px solid var(--wp--preset--color--primary);
340
+ }
341
+
342
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more a,
343
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest a {
344
+ color: var(--wp--preset--color--contrast);
345
+ }
346
+
347
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more a:focus,
348
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest a:focus {
349
+ color: var(--wp--preset--color--contrast);
350
+ background: transparent;
351
+ outline-offset: -0.25ch;
352
+ outline: 2px dashed var(--wp--preset--color--primary);
353
+ }
354
+
355
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more:hover, body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more:focus,
356
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest:hover,
357
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest:focus {
358
+ color: var(--wp--preset--color--contrast);
359
+ background: transparent;
360
+ }
361
+
362
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more:hover a, body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-more:focus a,
363
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest:hover a,
364
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .load-newest:focus a {
365
+ color: var(--wp--preset--color--contrast);
366
+ background: transparent;
367
+ }
368
+
369
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-header,
370
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .comment-header {
371
+ color: var(--wp--preset--color--contrast);
372
+ }
373
+
374
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-header a,
375
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .comment-header a {
376
+ font-weight: 600;
377
+ }
378
+
379
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-inner,
380
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content blockquote {
381
+ background: inherit;
382
+ border: 1px dotted var(--wp--preset--color--primary);
383
+ }
384
+
385
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action {
386
+ background: inherit;
387
+ margin-right: 19.5%;
388
+ }
389
+
390
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .icons:before {
391
+ height: auto;
392
+ width: auto;
393
+ display: inline;
394
+ }
395
+
396
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button:before {
397
+ content: "";
398
+ }
399
+
400
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button {
401
+ background-color: var(--wp--preset--color--tertiary);
402
+ padding: 0.7em 0.7em 0.5em;
403
+ }
404
+
405
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button .bp-screen-reader-text {
406
+ border: 0;
407
+ clip: inherit;
408
+ height: auto;
409
+ margin: auto;
410
+ overflow: auto;
411
+ position: inherit;
412
+ width: auto;
413
+ font-size: var(--wp--preset--font-size--small);
414
+ font-weight: 600;
415
+ }
416
+
417
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button span:not(.bp-screen-reader-text) {
418
+ background-color: var(--wp--preset--color--primary);
419
+ color: var(--wp--preset--color--secondary);
420
+ padding: 0.1em 0.3em;
421
+ border-radius: none;
422
+ font-size: var(--wp--preset--font-size--small);
423
+ vertical-align: text-bottom;
424
+ }
425
+
426
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button:not(.delete-activity) {
427
+ color: var(--wp--preset--color--contrast);
428
+ }
429
+
430
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button:hover {
431
+ background-color: var(--wp--preset--color--primary);
432
+ color: var(--wp--preset--color--contrast);
433
+ }
434
+
435
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button:hover span {
436
+ color: var(--wp--preset--color--contrast);
437
+ }
438
+
439
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button:hover span:not(.bp-screen-reader-text) {
440
+ background-color: var(--wp--preset--color--secondary);
441
+ color: var(--wp--preset--color--primary);
442
+ }
443
+
444
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button.delete-activity {
445
+ color: var(--wp--preset--color--vivid-red);
446
+ border: solid 1px var(--wp--preset--color--vivid-red);
447
+ }
448
+
449
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button.delete-activity span.bp-screen-reader-text {
450
+ color: var(--wp--preset--color--vivid-red);
451
+ }
452
+
453
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button.delete-activity:hover {
454
+ background-color: var(--wp--preset--color--vivid-red);
455
+ color: var(--wp--preset--color--base);
456
+ }
457
+
458
+ body .wp-site-blocks #buddypress.twentytwentythree .activity-list .activity-content .activity-meta.action .button.delete-activity:hover span.bp-screen-reader-text {
459
+ color: var(--wp--preset--color--base);
460
+ }
461
+
462
+ body .wp-site-blocks #buddypress.twentytwentythree:not(.alignwide) .activity-list .activity-avatar {
463
+ margin-right: 0;
464
+ margin-left: 1em;
465
+ width: auto;
466
+ }
467
+
468
+ body .wp-site-blocks #buddypress.twentytwentythree:not(.alignwide) .activity-list .activity-avatar img.avatar {
469
+ max-width: 25px;
470
+ max-height: 25px;
471
+ margin-bottom: 0;
472
+ }
473
+
474
+ body .wp-site-blocks #buddypress.twentytwentythree:not(.alignwide) .activity-list .activity-content .activity-meta.action {
475
+ margin-right: 0;
476
+ }
477
+
478
+ body.activity-permalink #buddypress.twentytwentythree .activity-list {
479
+ border: none;
480
+ }
481
+
482
+ body.activity-permalink #buddypress.twentytwentythree .activity-list .activity-item {
483
+ border: none;
484
+ }
485
+
486
+ body.activity-permalink #buddypress.twentytwentythree .activity-list .activity-item .activity-avatar img.avatar {
487
+ background: var(--wp--preset--color--white);
488
+ }
489
+
490
+ body.activity-permalink #buddypress.twentytwentythree:not(.alignwide) .activity-list .activity-avatar {
491
+ right: 0;
492
+ top: 0;
493
+ }
494
+
495
+ body.activity-permalink #buddypress.twentytwentythree:not(.alignwide) .activity-list .activity-content .activity-header {
496
+ padding: 0;
497
+ }
498
+
499
+ /**
500
+ *-----------------------------------------------------
501
+ * @section 3.1.3 - Activity Comments
502
+ *-----------------------------------------------------
503
+ */
504
+ #buddypress.twentytwentythree .bp-list li .activity-comments {
505
+ margin: 5% 5% 0 0;
506
+ }
507
+
508
+ #buddypress.twentytwentythree .bp-list li .activity-comments .show-all button {
509
+ text-decoration: none;
510
+ }
511
+
512
+ #buddypress.twentytwentythree .bp-list li .activity-comments .show-all button .icon {
513
+ display: none;
514
+ }
515
+
516
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-avatar {
517
+ width: auto;
518
+ margin-left: 0;
519
+ }
520
+
521
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-avatar img.avatar {
522
+ max-width: none;
523
+ }
524
+
525
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-meta {
526
+ color: var(--wp--preset--color--contrast);
527
+ }
528
+
529
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-meta a {
530
+ font-weight: 600;
531
+ }
532
+
533
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-meta a:hover {
534
+ text-decoration: underline;
535
+ }
536
+
537
+ #buddypress.twentytwentythree .bp-list li .activity-comments .activity-meta.action {
538
+ margin: 10px 5% 0 0;
539
+ }
540
+
541
+ #buddypress.twentytwentythree .bp-list li .activity-comments .activity-meta.action .generic-button a {
542
+ border: none;
543
+ text-decoration: underline;
544
+ color: var(--wp--preset--color--secondary);
545
+ display: inline-block;
546
+ font-size: var(--wp--preset--font-size--small);
547
+ background-color: transparent;
548
+ }
549
+
550
+ #buddypress.twentytwentythree .bp-list li .activity-comments .activity-meta.action .generic-button a.acomment-delete {
551
+ color: var(--wp--preset--color--vivid-red);
552
+ }
553
+
554
+ #buddypress.twentytwentythree .bp-list li .activity-comments .acomment-content {
555
+ border-right: 1px solid var(--wp--preset--color--secondary);
556
+ margin: 15px 5% 0 0;
557
+ }
558
+
559
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-avatar .avatar {
560
+ border: none;
561
+ }
562
+
563
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content .ac-textarea textarea {
564
+ width: 95%;
565
+ border-radius: 0;
566
+ }
567
+
568
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content .ac-textarea textarea:focus {
569
+ box-shadow: none;
570
+ }
571
+
572
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="submit"],
573
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="button"] {
574
+ color: var(--wp--preset--color--contrast);
575
+ display: inline-block;
576
+ font-size: var(--wp--preset--font-size--small);
577
+ }
578
+
579
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="submit"] {
580
+ margin-right: calc(50px - 0.5em);
581
+ background-color: var(--wp--preset--color--primary);
582
+ }
583
+
584
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="submit"]:hover {
585
+ background-color: var(--wp--preset--color--tertiary);
586
+ }
587
+
588
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="button"] {
589
+ background-color: var(--wp--preset--color--tertiary);
590
+ }
591
+
592
+ #buddypress.twentytwentythree .bp-list li .activity-comments .ac-form .ac-reply-content [type="button"]:hover {
593
+ background-color: var(--wp--preset--color--primary);
594
+ }
595
+
596
+ /**
597
+ *----------------------------------------------------------
598
+ * @section 3.2 - Blogs Loop
599
+ *----------------------------------------------------------
600
+ */
601
+ /**
602
+ *----------------------------------------------------------
603
+ * @section 3.3 - Groups Loop
604
+ *----------------------------------------------------------
605
+ */
606
+ #buddypress.twentytwentythree .groups-list li .group-desc {
607
+ color: var(--wp--preset--color--contrast);
608
+ border: 1px dotted var(--wp--preset--color--primary);
609
+ }
610
+
611
+ #buddypress.twentytwentythree #groups-dir-list .current-group-type {
612
+ text-align: center;
613
+ }
614
+
615
+ /**
616
+ *----------------------------------------------------------
617
+ * @section 3.4 - Members Loop
618
+ *----------------------------------------------------------
619
+ */
620
+ body:not(.logged-in) #buddypress.twentytwentythree .members-list .user-update {
621
+ width: inherit;
622
+ }
623
+
624
+ #buddypress.twentytwentythree .members-list li .user-update {
625
+ border: 1px dotted var(--wp--preset--color--primary);
626
+ color: var(--wp--preset--color--contrast);
627
+ margin: 0 auto 15px;
628
+ }
629
+
630
+ #buddypress.twentytwentythree #members-dir-list .current-member-type {
631
+ text-align: center;
632
+ }
633
+
634
+ /**
635
+ *-------------------------------------------------------------------------------
636
+ * @section 4.0 - Directories
637
+ *-------------------------------------------------------------------------------
638
+ */
639
+ /**
640
+ *----------------------------------------------------------
641
+ * @section 4.1 - Groups Creation Steps
642
+ *----------------------------------------------------------
643
+ */
644
+ #buddypress.twentytwentythree #group-create-body nav.group-create-links:not(.tabbed-links) {
645
+ background: transparent;
646
+ clear: both;
647
+ overflow: hidden;
648
+ border: none;
649
+ border-bottom: 1px solid var(--wp--preset--color--primary);
650
+ box-shadow: none;
651
+ }
652
+
653
+ #buddypress.twentytwentythree #group-create-body nav.group-create-links:not(.tabbed-links) li a,
654
+ #buddypress.twentytwentythree #group-create-body nav.group-create-links:not(.tabbed-links) li span {
655
+ padding: 0.5em calc(0.5em + 2px);
656
+ display: block;
657
+ }
658
+
659
+ /**
660
+ *-------------------------------------------------------------------------------
661
+ * @section 5.0 - Single Item screens: Groups, Users
662
+ *-------------------------------------------------------------------------------
663
+ */
664
+ body.single-item #buddypress.twentytwentythree .item-body h2.bp-screen-title,
665
+ body.single-item #buddypress.twentytwentythree .item-body h2.screen-heading,
666
+ body.bp-user #buddypress.twentytwentythree .item-body h2.bp-screen-title,
667
+ body.bp-user #buddypress.twentytwentythree .item-body h2.screen-heading {
668
+ border: 0;
669
+ clip: rect(0 0 0 0);
670
+ height: 1px;
671
+ margin: -1px;
672
+ overflow: hidden;
673
+ padding: 0;
674
+ position: absolute;
675
+ width: 1px;
676
+ word-wrap: normal !important;
677
+ }
678
+
679
+ /**
680
+ *-----------------------------------------------------------
681
+ * @subsection 5.1 - Item Header Global
682
+ *-----------------------------------------------------------
683
+ */
684
+ #buddypress.twentytwentythree .single-headers #item-header-cover-image h2 {
685
+ font-weight: 900;
686
+ }
687
+
688
+ #buddypress.twentytwentythree .single-headers .group-status,
689
+ #buddypress.twentytwentythree .single-headers .item-meta,
690
+ #buddypress.twentytwentythree .single-headers .bp-group-type-list,
691
+ #buddypress.twentytwentythree .single-headers .bp-member-type-list {
692
+ color: var(--wp--preset--color--secondary);
693
+ }
694
+
695
+ #buddypress.twentytwentythree .single-headers a:hover {
696
+ text-decoration: underline;
697
+ }
698
+
699
+ /**
700
+ *-----------------------------------------------------
701
+ * @subsection 5.1.1 - item-header Groups
702
+ *
703
+ * Group Specific Item Header
704
+ *-----------------------------------------------------
705
+ */
706
+ #buddypress.twentytwentythree .groups-header .desc-wrap {
707
+ background: var(--wp--preset--color--base);
708
+ border: 1px solid var(--wp--preset--color--primary);
709
+ }
710
+
711
+ #buddypress.twentytwentythree .groups-header .desc-wrap .group-description {
712
+ background: none;
713
+ box-shadow: none;
714
+ }
715
+
716
+ /**
717
+ *-----------------------------------------------------
718
+ * @subsection 5.1.2 - Item Header User Accounts
719
+ *
720
+ * User Accounts Specific Item Header
721
+ *-----------------------------------------------------
722
+ */
723
+ /**
724
+ *-----------------------------------------------------------
725
+ * @subsection 5.2 - Item Body: Global
726
+ *-----------------------------------------------------------
727
+ */
728
+ #buddypress.twentytwentythree .item-body h2.screen-heading,
729
+ #buddypress.twentytwentythree .item-body h2.creation-step-name {
730
+ font-size: var(--wp--custom--typography--font-size--huge);
731
+ }
732
+
733
+ #buddypress.twentytwentythree .item-body h3.screen-heading,
734
+ #buddypress.twentytwentythree .item-body h3.creation-step-name {
735
+ font-size: var(--wp--preset--font-size--large);
736
+ }
737
+
738
+ #buddypress.twentytwentythree .item-body h4.screen-heading,
739
+ #buddypress.twentytwentythree .item-body h4.creation-step-name {
740
+ font-size: var(--wp--preset--font-size--medium);
741
+ }
742
+
743
+ #buddypress.twentytwentythree .item-body .bp-avatar #avatar-crop-pane {
744
+ margin-bottom: 1em;
745
+ }
746
+
747
+ #buddypress.twentytwentythree .item-body .bp-avatar-nav ul.avatar-nav-items {
748
+ border-bottom: 1px solid var(--wp--preset--color--primary);
749
+ }
750
+
751
+ #buddypress.twentytwentythree .item-body .bp-avatar-nav ul.avatar-nav-items li.current {
752
+ border: 1px solid var(--wp--preset--color--primary);
753
+ border-bottom: 1px solid var(--wp--preset--color--base);
754
+ }
755
+
756
+ #buddypress.twentytwentythree .item-body #drag-drop-area {
757
+ border: 4px dashed var(--wp--preset--color--secondary);
758
+ }
759
+
760
+ #buddypress.twentytwentythree .item-body #drag-drop-area .drag-drop-info {
761
+ color: var(--wp--preset--color--contrast);
762
+ }
763
+
764
+ #buddypress.twentytwentythree .item-body #drag-drop-area #bp-browse-button {
765
+ margin: 50px auto 0;
766
+ color: var(--wp--preset--color--secondary);
767
+ font-weight: 600;
768
+ }
769
+
770
+ #buddypress.twentytwentythree .item-body .drag-over #drag-drop-area {
771
+ border: 4px dashed var(--wp--preset--color--primary);
772
+ }
773
+
774
+ #buddypress.twentytwentythree .item-body .bp-avatar-status .warning,
775
+ #buddypress.twentytwentythree .item-body .bp-avatar-status .success,
776
+ #buddypress.twentytwentythree .item-body .bp-cover-image-status .warning,
777
+ #buddypress.twentytwentythree .item-body .bp-cover-image-status .success,
778
+ #buddypress.twentytwentythree .item-body .avatar-history-actions .warning,
779
+ #buddypress.twentytwentythree .item-body .avatar-history-actions .success {
780
+ background-color: var(--wp--preset--color--tertiary);
781
+ border: none;
782
+ border-right-width: 4px;
783
+ border-right-style: solid;
784
+ color: var(--wp--preset--color--contrast);
785
+ }
786
+
787
+ #buddypress.twentytwentythree .item-body .bp-avatar-status .warning,
788
+ #buddypress.twentytwentythree .item-body .bp-cover-image-status .warning,
789
+ #buddypress.twentytwentythree .item-body .avatar-history-actions .warning {
790
+ border-right-color: var(--wp--preset--color--luminous-vivid-orange);
791
+ }
792
+
793
+ #buddypress.twentytwentythree .item-body .bp-avatar-status .success,
794
+ #buddypress.twentytwentythree .item-body .bp-cover-image-status .success,
795
+ #buddypress.twentytwentythree .item-body .avatar-history-actions .success {
796
+ border-right-color: var(--wp--preset--color--vivid-green-cyan);
797
+ }
798
+
799
+ #buddypress.twentytwentythree .item-body .bp-avatar-status .error,
800
+ #buddypress.twentytwentythree .item-body .bp-cover-image-status .error,
801
+ #buddypress.twentytwentythree .item-body .avatar-history-actions .error {
802
+ border-right-color: var(--wp--preset--color--vivid-red);
803
+ }
804
+
805
+ #buddypress.twentytwentythree .item-body .avatar-history-action.delete {
806
+ background-color: var(--wp--preset--color--vivid-red);
807
+ color: var(--wp--preset--color--base);
808
+ border: solid 1px var(--wp--preset--color--vivid-red);
809
+ }
810
+
811
+ #buddypress.twentytwentythree .item-body .avatar-history-action.delete:hover {
812
+ background-color: var(--wp--preset--color--base);
813
+ color: var(--wp--preset--color--vivid-red);
814
+ }
815
+
816
+ /**
817
+ *----------------------------------------------------
818
+ * @subsection 5.2.1 - Item Body Groups
819
+ *
820
+ * Groups specific item body rules - screens
821
+ *----------------------------------------------------
822
+ */
823
+ /**
824
+ *-----------------------------------------
825
+ * @subsection 5.2.1.1 - Management Settings Screens
826
+ *-----------------------------------------
827
+ */
828
+ .group-settings #buddypress.twentytwentythree .group-settings-selections {
829
+ margin-bottom: 1em;
830
+ }
831
+
832
+ #buddypress.twentytwentythree #group-manage-members-ui .bp-pagination {
833
+ padding: 0.4em 0.5em 0.4em 0;
834
+ }
835
+
836
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-search-form input[type="search"] {
837
+ font-size: 16px;
838
+ }
839
+
840
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-search-form input[type="search"]:focus {
841
+ outline-offset: -7px;
842
+ outline: 2px dotted var(--wp--preset--color--primary);
843
+ }
844
+
845
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-search-form button[type="submit"] {
846
+ border-width: 1px;
847
+ border-style: solid;
848
+ background-clip: border-box;
849
+ }
850
+
851
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-search-form button[type="submit"]:hover {
852
+ border-color: var(--wp--preset--color--primary);
853
+ }
854
+
855
+ #buddypress.twentytwentythree #group-manage-members-ui #group-roles-filter label,
856
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-list-table .group-member-edit label {
857
+ border: 0;
858
+ clip: rect(0 0 0 0);
859
+ height: 1px;
860
+ margin: -1px;
861
+ overflow: hidden;
862
+ padding: 0;
863
+ position: absolute;
864
+ width: 1px;
865
+ word-wrap: normal !important;
866
+ }
867
+
868
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-role-filter,
869
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-list-table .group-member-edit select {
870
+ font-size: 16px;
871
+ padding: 6px 10px 6px 25px;
872
+ }
873
+
874
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-role-filter:focus,
875
+ #buddypress.twentytwentythree #group-manage-members-ui #group-members-list-table .group-member-edit select:focus {
876
+ outline-offset: 2px;
877
+ outline: 2px dotted var(--wp--preset--color--primary);
878
+ }
879
+
880
+ #buddypress.twentytwentythree #delete-group-button {
881
+ border-color: var(--wp--preset--color--vivid-red);
882
+ color: var(--wp--preset--color--base);
883
+ background: var(--wp--preset--color--vivid-red);
884
+ }
885
+
886
+ #buddypress.twentytwentythree #delete-group-button:hover {
887
+ color: var(--wp--preset--color--vivid-red);
888
+ background: var(--wp--preset--color--base);
889
+ }
890
+
891
+ /**
892
+ *-----------------------------------------
893
+ * @subsection 5.2.1.2 - Group Members List
894
+ *-----------------------------------------
895
+ */
896
+ /*
897
+ *-----------------------------------------
898
+ * @subsection 5.2.1.3 - Group Invites List
899
+ *-----------------------------------------
900
+ */
901
+ #buddypress.twentytwentythree .bp-invites-content ul {
902
+ border-top: none;
903
+ }
904
+
905
+ #buddypress.twentytwentythree .bp-invites-content ul li {
906
+ border: 1px dotted var(--wp--preset--color--primary);
907
+ }
908
+
909
+ #buddypress.twentytwentythree .bp-invites-content ul li.selected {
910
+ box-shadow: none;
911
+ border-style: solid;
912
+ }
913
+
914
+ #buddypress.twentytwentythree .bp-invites-content ul li button.invite-button {
915
+ border: none;
916
+ background: none;
917
+ top: -5px;
918
+ left: 0;
919
+ }
920
+
921
+ #buddypress.twentytwentythree .bp-invites-content ul li button.invite-button .icons:before {
922
+ border-radius: 50%;
923
+ width: 32px;
924
+ height: 32px;
925
+ color: var(--wp--preset--color--primary);
926
+ background: var(--wp--preset--color--base);
927
+ }
928
+
929
+ #buddypress.twentytwentythree .bp-invites-content ul li button.invite-button:hover .icons:before {
930
+ color: var(--wp--preset--color--base);
931
+ background: var(--wp--preset--color--primary);
932
+ width: 32px;
933
+ height: 32px;
934
+ }
935
+
936
+ #buddypress.twentytwentythree .bp-invites-content ul li button.invite-button.group-remove-invite-button .icons:before {
937
+ color: var(--wp--preset--color--vivid-red);
938
+ background: var(--wp--preset--color--base);
939
+ }
940
+
941
+ #buddypress.twentytwentythree .bp-invites-content ul li button.invite-button.group-remove-invite-button:hover .icons:before {
942
+ color: var(--wp--preset--color--base);
943
+ background: var(--wp--preset--color--vivid-red);
944
+ }
945
+
946
+ #buddypress.twentytwentythree .bp-invites-content ul li ul.group-inviters li {
947
+ border: none;
948
+ }
949
+
950
+ /*
951
+ *-----------------------------------------
952
+ * @subsection 5.2.1.4 - Group Activity
953
+ *-----------------------------------------
954
+ */
955
+ /**
956
+ *-----------------------------------------------------
957
+ * @subsection 5.2.2 - Item Body User Accounts
958
+ *
959
+ * User Account specific item body rules
960
+ *-----------------------------------------------------
961
+ */
962
+ /**
963
+ *--------------------------------------------
964
+ * @subsection 5.2.2.1 - classes, pag, filters
965
+ *--------------------------------------------
966
+ */
967
+ /**
968
+ *-------------------------------------------
969
+ * @subsection 5.2.2.2 - Extended Profiles
970
+ *-------------------------------------------
971
+ */
972
+ #buddypress.twentytwentythree .profile table.profile-fields tr.alt td,
973
+ #buddypress.twentytwentythree .profile table.profile-fields tr td,
974
+ #buddypress.twentytwentythree .profile table.bp-tables-user tr.alt td,
975
+ #buddypress.twentytwentythree .profile table.bp-tables-user tr td {
976
+ background: transparent;
977
+ }
978
+
979
+ #buddypress.twentytwentythree .profile table.profile-fields tr.alt td.label,
980
+ #buddypress.twentytwentythree .profile table.profile-fields tr td.label,
981
+ #buddypress.twentytwentythree .profile table.bp-tables-user tr.alt td.label,
982
+ #buddypress.twentytwentythree .profile table.bp-tables-user tr td.label {
983
+ border-left-color: var(--wp--preset--color--primary);
984
+ }
985
+
986
+ #buddypress.twentytwentythree .profile.edit .editfield {
987
+ background: var(--wp--preset--color--base);
988
+ border: 1px solid var(--wp--preset--color--primary);
989
+ }
990
+
991
+ #buddypress.twentytwentythree .profile.edit .editfield p.field-visibility-settings-toggle {
992
+ margin-top: 1em;
993
+ }
994
+
995
+ #buddypress.twentytwentythree .profile.edit .editfield .field-visibility-settings .radio label {
996
+ margin-bottom: 0.5em;
997
+ }
998
+
999
+ #buddypress.twentytwentythree .profile.edit .wp-editor-container .mce-toolbar button {
1000
+ color: var(--wp--preset--color--contrast);
1001
+ background: var(--wp--preset--color--base);
1002
+ border-color: var(--wp--preset--color--primary);
1003
+ }
1004
+
1005
+ #buddypress.twentytwentythree .profile.edit .button-tabs li {
1006
+ border: solid 2px var(--wp--preset--color--primary);
1007
+ overflow: hidden;
1008
+ }
1009
+
1010
+ #buddypress.twentytwentythree .profile.edit .button-tabs li a {
1011
+ text-decoration: none;
1012
+ }
1013
+
1014
+ #buddypress.twentytwentythree .profile.edit .button-tabs li.current {
1015
+ background-color: var(--wp--preset--color--primary);
1016
+ color: var(--wp--preset--color--base);
1017
+ }
1018
+
1019
+ #buddypress.twentytwentythree .profile.edit .button-tabs li.current a {
1020
+ color: var(--wp--preset--color--base);
1021
+ }
1022
+
1023
+ #buddypress.twentytwentythree .profile.edit .button-tabs li:hover {
1024
+ outline-offset: 10px;
1025
+ border-style: dotted;
1026
+ }
1027
+
1028
+ #buddypress.twentytwentythree .profile.edit .clear-value {
1029
+ text-decoration: underline;
1030
+ }
1031
+
1032
+ #buddypress.twentytwentythree .profile.edit legend {
1033
+ padding: 0;
1034
+ }
1035
+
1036
+ #buddypress.twentytwentythree .field-visibility-settings,
1037
+ #buddypress.twentytwentythree .field-visibility-settings-header {
1038
+ color: var(--wp--preset--color--secondary);
1039
+ }
1040
+
1041
+ /**
1042
+ *-------------------------------------------
1043
+ * @subsection 5.2.2.3 - Groups
1044
+ *-------------------------------------------
1045
+ */
1046
+ #buddypress.twentytwentythree #group-list.invites h2.list-title {
1047
+ float: none;
1048
+ }
1049
+
1050
+ #buddypress.twentytwentythree #group-list.invites .accept {
1051
+ margin-right: 0;
1052
+ }
1053
+
1054
+ /**
1055
+ *-------------------------------------------
1056
+ * @subsection 5.2.2.5 - Private Messaging
1057
+ *-------------------------------------------
1058
+ */
1059
+ #buddypress.twentytwentythree #user_messages_select_all {
1060
+ vertical-align: -5px;
1061
+ }
1062
+
1063
+ #buddypress.twentytwentythree #user_messages_select_all:checked {
1064
+ vertical-align: -3px;
1065
+ }
1066
+
1067
+ #buddypress.twentytwentythree #message-threads {
1068
+ border-top: 1px dotted var(--wp--preset--color--primary);
1069
+ }
1070
+
1071
+ #buddypress.twentytwentythree #message-threads > li {
1072
+ border-bottom: 1px dotted var(--wp--preset--color--primary);
1073
+ }
1074
+
1075
+ #buddypress.twentytwentythree #message-threads > li.selected {
1076
+ border: 1px solid var(--wp--preset--color--primary);
1077
+ }
1078
+
1079
+ #buddypress.twentytwentythree #message-threads > li.unread {
1080
+ border-right: 8px solid var(--wp--preset--color--secondary);
1081
+ }
1082
+
1083
+ #buddypress.twentytwentythree #message-threads li .thread-cb {
1084
+ padding-right: 5px;
1085
+ margin-left: 5px;
1086
+ }
1087
+
1088
+ #buddypress.twentytwentythree #message-threads li.unread .thread-cb {
1089
+ padding-right: 2px;
1090
+ }
1091
+
1092
+ #buddypress.twentytwentythree #message-threads li .thread-from,
1093
+ #buddypress.twentytwentythree #message-threads li .thread-to {
1094
+ display: flex;
1095
+ flex: 1 2 30%;
1096
+ align-items: center;
1097
+ }
1098
+
1099
+ #buddypress.twentytwentythree #message-threads li .thread-from img.avatar,
1100
+ #buddypress.twentytwentythree #message-threads li .thread-to img.avatar {
1101
+ width: 25px;
1102
+ height: 25px;
1103
+ margin-left: 5px;
1104
+ }
1105
+
1106
+ #buddypress.twentytwentythree #message-threads li .thread-from .num-recipients,
1107
+ #buddypress.twentytwentythree #message-threads li .thread-to .num-recipients {
1108
+ padding-right: 5px;
1109
+ color: var(--wp--preset--color--contrast);
1110
+ }
1111
+
1112
+ #buddypress.twentytwentythree #message-threads li .thread-content {
1113
+ flex: 1 2 50%;
1114
+ }
1115
+
1116
+ #buddypress.twentytwentythree #message-threads li .thread-content .excerpt {
1117
+ color: var(--wp--preset--color--contrast);
1118
+ }
1119
+
1120
+ #buddypress.twentytwentythree #message-threads li .thread-date time {
1121
+ color: var(--wp--preset--color--contrast);
1122
+ }
1123
+
1124
+ #buddypress.twentytwentythree #message-threads li.selected {
1125
+ background: transparent;
1126
+ font-weight: bolder;
1127
+ color: var(--wp--preset--color--secondary);
1128
+ }
1129
+
1130
+ #buddypress.twentytwentythree #message-threads li.selected .thread-subject .subject {
1131
+ color: var(--wp--preset--color--secondary);
1132
+ }
1133
+
1134
+ #buddypress.twentytwentythree #message-threads li:not(.selected) {
1135
+ color: var(--wp--preset--color--contrast);
1136
+ }
1137
+
1138
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview h2:first-child,
1139
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-header h2:first-child {
1140
+ background-color: var(--wp--preset--color--tertiary);
1141
+ color: var(--wp--preset--color--contrast);
1142
+ }
1143
+
1144
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list {
1145
+ border-top: none;
1146
+ }
1147
+
1148
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview {
1149
+ border-color: var(--wp--preset--color--primary);
1150
+ }
1151
+
1152
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview dd,
1153
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview .participants-list {
1154
+ padding-right: 0;
1155
+ }
1156
+
1157
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview .preview-pane-header {
1158
+ border-bottom-style: dotted;
1159
+ border-bottom-color: var(--wp--preset--color--primary);
1160
+ }
1161
+
1162
+ #buddypress.twentytwentythree .bp-messages-content #thread-preview .preview-content .preview-message {
1163
+ background: transparent;
1164
+ }
1165
+
1166
+ #buddypress.twentytwentythree .bp-messages-content .single-message-thread-header dd,
1167
+ #buddypress.twentytwentythree .bp-messages-content .single-message-thread-header .participants-list {
1168
+ padding-right: 0;
1169
+ }
1170
+
1171
+ #buddypress.twentytwentythree .bp-messages-content .actions button.bp-tooltip {
1172
+ border: none;
1173
+ background: none;
1174
+ }
1175
+
1176
+ #buddypress.twentytwentythree .bp-messages-content .actions button.bp-tooltip.message-action-delete:before, #buddypress.twentytwentythree .bp-messages-content .actions button.bp-tooltip.message-action-exit:before {
1177
+ width: 32px;
1178
+ height: 32px;
1179
+ color: var(--wp--preset--color--vivid-red);
1180
+ background: var(--wp--preset--color--base);
1181
+ }
1182
+
1183
+ #buddypress.twentytwentythree .bp-messages-content .actions button.bp-tooltip.message-action-delete:hover:before, #buddypress.twentytwentythree .bp-messages-content .actions button.bp-tooltip.message-action-exit:hover:before {
1184
+ border-radius: 50%;
1185
+ color: var(--wp--preset--color--base);
1186
+ background: var(--wp--preset--color--vivid-red);
1187
+ }
1188
+
1189
+ #buddypress.twentytwentythree .bp-messages-content .actions .message-action-unstar:before,
1190
+ #buddypress.twentytwentythree .bp-messages-content .actions .message-action-star:before {
1191
+ color: var(--wp--preset--color--contrast);
1192
+ }
1193
+
1194
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li {
1195
+ padding-right: 0;
1196
+ }
1197
+
1198
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata {
1199
+ background: transparent;
1200
+ border: 1px solid var(--wp--preset--color--primary);
1201
+ box-shadow: none;
1202
+ }
1203
+
1204
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata * {
1205
+ line-height: 1.6;
1206
+ vertical-align: middle;
1207
+ }
1208
+
1209
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata .user-link {
1210
+ margin-top: 3px;
1211
+ margin-bottom: 3px;
1212
+ }
1213
+
1214
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata .user-link strong {
1215
+ display: inline-block;
1216
+ margin-top: 2px;
1217
+ }
1218
+
1219
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata .user-link:hover strong {
1220
+ text-decoration: underline;
1221
+ }
1222
+
1223
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-metadata time {
1224
+ color: var(--wp--preset--color--contrast);
1225
+ }
1226
+
1227
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-content {
1228
+ background: transparent;
1229
+ margin: 0;
1230
+ width: 100%;
1231
+ padding: 0.5em 0.2em;
1232
+ }
1233
+
1234
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li .message-content * {
1235
+ padding-right: 0.8em;
1236
+ padding-left: 0.8em;
1237
+ }
1238
+
1239
+ #buddypress.twentytwentythree .bp-messages-content #bp-message-thread-list li:first-child .message-content {
1240
+ border: 1px dotted var(--wp--preset--color--primary);
1241
+ border-top: none;
1242
+ }
1243
+
1244
+ #buddypress.twentytwentythree .bp-messages-content #send-reply .avatar-box img.avatar {
1245
+ display: inline-block;
1246
+ vertical-align: -7px;
1247
+ }
1248
+
1249
+ #buddypress.twentytwentythree .bp-messages-content .wp-editor-container .mce-toolbar button {
1250
+ color: var(--wp--preset--color--contrast);
1251
+ background: var(--wp--preset--color--base);
1252
+ border-color: var(--wp--preset--color--primary);
1253
+ }
1254
+
1255
+ #buddypress.twentytwentythree .bp-messages-content #bp-messages-reset {
1256
+ border-width: 0;
1257
+ font-size: inherit;
1258
+ }
1259
+
1260
+ #buddypress.twentytwentythree .bp-messages-content #send-to-input {
1261
+ width: 100% !important;
1262
+ }
1263
+
1264
+ #buddypress.twentytwentythree .subnav-filters button#user_messages_search_submit {
1265
+ padding: 5px 0.7em;
1266
+ background-color: var(--wp--preset--color--base);
1267
+ color: var(--wp--preset--color--contrast);
1268
+ border-color: var(--wp--preset--color--base);
1269
+ }
1270
+
1271
+ #buddypress.twentytwentythree .subnav-filters button#user_messages_search_submit:hover {
1272
+ background-color: var(--wp--preset--color--primary);
1273
+ color: var(--wp--preset--color--contrast);
1274
+ border-color: var(--wp--preset--color--primary);
1275
+ }
1276
+
1277
+ #buddypress.twentytwentythree .subnav-filters .user-messages-bulk-actions .bulk-apply {
1278
+ line-height: 1.5;
1279
+ margin: 0 10px 0 0;
1280
+ padding: 3px 5px;
1281
+ background-color: var(--wp--preset--color--secondary);
1282
+ color: var(--wp--preset--color--primary);
1283
+ }
1284
+
1285
+ #buddypress.twentytwentythree .subnav-filters .user-messages-bulk-actions .bulk-apply:hover {
1286
+ background-color: var(--wp--preset--color--primary);
1287
+ color: var(--wp--preset--color--secondary);
1288
+ }
1289
+
1290
+ #buddypress.twentytwentythree .subnav-filters .user-messages-bulk-actions .bulk-apply span {
1291
+ vertical-align: middle;
1292
+ }
1293
+
1294
+ /**
1295
+ *------------------------------------------
1296
+ * @subsection 5.2.2.6 - Settings
1297
+ *------------------------------------------
1298
+ */
1299
+ #buddypress.twentytwentythree.buddypress-wrap .bp-tables-user tr.alt td,
1300
+ #buddypress.twentytwentythree.buddypress-wrap table.wp-profile-fields tr.alt td {
1301
+ background: transparent;
1302
+ }
1303
+
1304
+ #buddypress.twentytwentythree .bp-tables-user.profile-settings {
1305
+ border: solid 1px var(--wp--preset--color--primary);
1306
+ margin-bottom: 1em;
1307
+ }
1308
+
1309
+ #buddypress.twentytwentythree .bp-tables-user.profile-settings thead tr {
1310
+ border: none;
1311
+ }
1312
+
1313
+ #buddypress.twentytwentythree .bp-tables-user.profile-settings thead tr th {
1314
+ text-align: right;
1315
+ border-bottom: dotted 1px var(--wp--preset--color--primary);
1316
+ }
1317
+
1318
+ #buddypress.twentytwentythree #delete-account-button {
1319
+ border-color: var(--wp--preset--color--vivid-red);
1320
+ color: var(--wp--preset--color--base);
1321
+ background: var(--wp--preset--color--vivid-red);
1322
+ }
1323
+
1324
+ #buddypress.twentytwentythree #delete-account-button:hover {
1325
+ color: var(--wp--preset--color--vivid-red);
1326
+ background: var(--wp--preset--color--base);
1327
+ }
1328
+
1329
+ /**
1330
+ *------------------------------------------
1331
+ * @subsection 5.2.2.7 - Notifications
1332
+ *------------------------------------------
1333
+ */
1334
+ #buddypress.twentytwentythree .notifications-options-nav,
1335
+ #buddypress.twentytwentythree .invitations-options-nav {
1336
+ margin-top: 1em;
1337
+ }
1338
+
1339
+ #buddypress.twentytwentythree .notifications-options-nav input#notification-bulk-manage,
1340
+ #buddypress.twentytwentythree .invitations-options-nav input#invitation-bulk-manage {
1341
+ line-height: 1.2;
1342
+ }
1343
+
1344
+ #buddypress.twentytwentythree .bp-tables-user.notifications th {
1345
+ text-align: right;
1346
+ }
1347
+
1348
+ #buddypress.twentytwentythree .bp-tables-user.notifications td.notification-actions a.delete {
1349
+ color: var(--wp--preset--color--vivid-red);
1350
+ }
1351
+
1352
+ /**
1353
+ *-------------------------------------------------------------------------------
1354
+ * @section 6.0 - Forms - General
1355
+ *-------------------------------------------------------------------------------
1356
+ */
1357
+ #buddypress.twentytwentythree fieldset {
1358
+ padding-top: 0;
1359
+ margin-top: 1em;
1360
+ }
1361
+
1362
+ #buddypress.twentytwentythree fieldset legend {
1363
+ padding: 0 1em;
1364
+ display: inline-block;
1365
+ }
1366
+
1367
+ #buddypress.twentytwentythree .select-wrap {
1368
+ border: 1px solid var(--wp--preset--color--primary);
1369
+ background: var(--wp--preset--color--base);
1370
+ }
1371
+
1372
+ #buddypress.twentytwentythree .select-wrap select {
1373
+ background: transparent;
1374
+ width: 98%;
1375
+ text-indent: 0;
1376
+ }
1377
+
1378
+ #buddypress.twentytwentythree .select-wrap span.select-arrow {
1379
+ background: transparent;
1380
+ }
1381
+
1382
+ #buddypress.twentytwentythree .select-wrap span.select-arrow:before {
1383
+ font-family: dashicons;
1384
+ content: "\f140";
1385
+ color: var(--wp--preset--color--secondary);
1386
+ vertical-align: -10%;
1387
+ }
1388
+
1389
+ #buddypress.twentytwentythree .select-wrap:focus .select-arrow:before, #buddypress.twentytwentythree .select-wrap:hover .select-arrow:before {
1390
+ color: var(--wp--preset--color--secondary);
1391
+ }
1392
+
1393
+ #buddypress.twentytwentythree input[type="checkbox"],
1394
+ #buddypress.twentytwentythree input[type="radio"] {
1395
+ width: 25px;
1396
+ height: 25px;
1397
+ vertical-align: top;
1398
+ }
1399
+
1400
+ #buddypress.twentytwentythree textarea,
1401
+ #buddypress.twentytwentythree input[type="text"],
1402
+ #buddypress.twentytwentythree input[type="color"],
1403
+ #buddypress.twentytwentythree input[type="date"],
1404
+ #buddypress.twentytwentythree input[type="datetime"],
1405
+ #buddypress.twentytwentythree input[type="datetime-local"],
1406
+ #buddypress.twentytwentythree input[type="email"],
1407
+ #buddypress.twentytwentythree input[type="month"],
1408
+ #buddypress.twentytwentythree input[type="number"],
1409
+ #buddypress.twentytwentythree input[type="range"],
1410
+ #buddypress.twentytwentythree input[type="tel"],
1411
+ #buddypress.twentytwentythree input[type="time"],
1412
+ #buddypress.twentytwentythree input[type="url"],
1413
+ #buddypress.twentytwentythree input[type="week"],
1414
+ #buddypress.twentytwentythree input[type="password"],
1415
+ #buddypress.twentytwentythree input[type="search"],
1416
+ #buddypress.twentytwentythree .groups-members-search input[type="text"] {
1417
+ color: var(--wp--preset--color--contrast);
1418
+ background: var(--wp--preset--color--base);
1419
+ }
1420
+
1421
+ #buddypress.twentytwentythree .subnav-filters input[type="search"] {
1422
+ font-size: 16px;
1423
+ background: transparent;
1424
+ }
1425
+
1426
+ #buddypress.twentytwentythree .bp-dir-search-form button,
1427
+ #buddypress.twentytwentythree form#group-members-search button,
1428
+ #buddypress.twentytwentythree form#group_invites_search_form button {
1429
+ background-color: var(--wp--preset--color--base);
1430
+ color: var(--wp--preset--color--contrast);
1431
+ border-color: transparent;
1432
+ }
1433
+
1434
+ #buddypress.twentytwentythree .bp-dir-search-form button:hover,
1435
+ #buddypress.twentytwentythree form#group-members-search button:hover,
1436
+ #buddypress.twentytwentythree form#group_invites_search_form button:hover {
1437
+ background-color: var(--wp--preset--color--primary);
1438
+ color: var(--wp--preset--color--contrast);
1439
+ border-color: var(--wp--preset--color--primary);
1440
+ border-right-color: var(--wp--preset--color--primary);
1441
+ }
1442
+
1443
+ #buddypress.twentytwentythree .standard-form p.description {
1444
+ color: var(--wp--preset--color--primary);
1445
+ background-color: var(--wp--preset--color--base);
1446
+ }
1447
+
1448
+ #buddypress.twentytwentythree .standard-form .datebox-selects label,
1449
+ #buddypress.twentytwentythree .standard-form .datebox-selects span.label {
1450
+ display: inline;
1451
+ }
1452
+
1453
+ body.bp-user.settings.general #buddypress.twentytwentythree .wp-pwd:not(.is-open) {
1454
+ display: none;
1455
+ }
1456
+
1457
+ /**
1458
+ *----------------------------------------------------------
1459
+ * @section 6.1 - Directory Search
1460
+ *
1461
+ * The Search form & controls in directory pages
1462
+ *----------------------------------------------------------
1463
+ */
1464
+ .bp-user #buddypress.twentytwentythree [data-bp-search] form #user_messages_search {
1465
+ padding: 3px 10px;
1466
+ }
1467
+
1468
+ #buddypress.twentytwentythree form.bp-dir-search-form,
1469
+ #buddypress.twentytwentythree form.bp-messages-search-form,
1470
+ #buddypress.twentytwentythree form[data-bp-search].bp-invites-search-form,
1471
+ #buddypress.twentytwentythree form#group-members-search {
1472
+ border: 1px solid var(--wp--preset--color--primary);
1473
+ background-color: var(--wp--preset--color--base);
1474
+ }
1475
+
1476
+ #buddypress.twentytwentythree form.bp-dir-search-form button,
1477
+ #buddypress.twentytwentythree form.bp-messages-search-form button,
1478
+ #buddypress.twentytwentythree form[data-bp-search].bp-invites-search-form button,
1479
+ #buddypress.twentytwentythree form#group-members-search button {
1480
+ padding: 5px 0.8em 6px;
1481
+ }
1482
+
1483
+ /**
1484
+ *----------------------------------------------------------
1485
+ * @section 6.2 - Registration
1486
+ *----------------------------------------------------------
1487
+ */
1488
+ #buddypress.twentytwentythree.extended-default-reg .register-page .default-profile {
1489
+ min-width: 45%;
1490
+ }
1491
+
1492
+ /**
1493
+ *-------------------------------------------------------------------------------
1494
+ * @section 7.0 - Tables - General
1495
+ *-------------------------------------------------------------------------------
1496
+ */
1497
+ #buddypress.twentytwentythree .bp-tables-user tbody tr,
1498
+ #buddypress.twentytwentythree .bp-tables-user tbody tr.alt,
1499
+ #buddypress.twentytwentythree table.wp-profile-fields tbody tr,
1500
+ #buddypress.twentytwentythree table.wp-profile-fields tbody tr.alt,
1501
+ #buddypress.twentytwentythree table.forum tbody tr,
1502
+ #buddypress.twentytwentythree table.forum tbody tr.alt {
1503
+ background: transparent;
1504
+ }
1505
+
1506
+ /**
1507
+ *-------------------------------------------------------------------------------
1508
+ * @subsection 7.0.1 - Group - Manage Members
1509
+ *-------------------------------------------------------------------------------
1510
+ */
1511
+ #buddypress.twentytwentythree table#group-members-list-table {
1512
+ border-collapse: collapse;
1513
+ width: 100%;
1514
+ }
1515
+
1516
+ #buddypress.twentytwentythree table#group-members-list-table a:hover,
1517
+ #buddypress.twentytwentythree table#group-members-list-table a:focus {
1518
+ text-decoration: underline;
1519
+ -webkit-text-decoration-style: dashed;
1520
+ text-decoration-style: dashed;
1521
+ text-decoration-thickness: 1px;
1522
+ text-underline-offset: 0.25ch;
1523
+ }
1524
+
1525
+ #buddypress.twentytwentythree table#group-members-list-table .row-actions a {
1526
+ font-size: 90%;
1527
+ }
1528
+
1529
+ #buddypress.twentytwentythree table#group-members-list-table th,
1530
+ #buddypress.twentytwentythree table#group-members-list-table td {
1531
+ padding: 0.5em;
1532
+ border: 1px solid var(--wp--preset--color--primary);
1533
+ word-break: break-all;
1534
+ }
1535
+
1536
+ #buddypress.twentytwentythree table#group-members-list-table th.uname-column,
1537
+ #buddypress.twentytwentythree table#group-members-list-table td.uname-column {
1538
+ width: 60%;
1539
+ }
1540
+
1541
+ #buddypress.twentytwentythree table#group-members-list-table td img.avatar {
1542
+ display: block;
1543
+ height: calc(2.25 * 1rem);
1544
+ min-height: inherit;
1545
+ width: calc(2.25 * 1rem);
1546
+ }
1547
+
1548
+ #buddypress.twentytwentythree table#group-members-list-table td img.alignleft {
1549
+ float: right;
1550
+ }
1551
+
1552
+ @media screen and (min-width: 46.8em) {
1553
+ #buddypress.twentytwentythree table#group-members-list-table td img.alignleft {
1554
+ margin-left: calc(2 * 1rem);
1555
+ }
1556
+ }
1557
+
1558
+ /**
1559
+ *-------------------------------------------------------------------------------
1560
+ * @section 8.0 - Classes - Messages, Ajax, Widgets, Buttons
1561
+ *-------------------------------------------------------------------------------
1562
+ */
1563
+ #buddypress.twentytwentythree button,
1564
+ #buddypress.twentytwentythree a.button,
1565
+ #buddypress.twentytwentythree input[type="submit"],
1566
+ #buddypress.twentytwentythree input[type="button"],
1567
+ #buddypress.twentytwentythree ul.button-nav:not(.button-tabs) li a,
1568
+ #buddypress.twentytwentythree .generic-button a,
1569
+ #buddypress.twentytwentythree .comment-reply-link,
1570
+ #buddypress.twentytwentythree a.bp-title-button,
1571
+ #buddypress.twentytwentythree .activity-read-more a {
1572
+ background: var(--wp--preset--color--primary);
1573
+ border: 1px solid var(--wp--preset--color--primary);
1574
+ border-radius: 0;
1575
+ color: var(--wp--preset--color--secondary);
1576
+ }
1577
+
1578
+ #buddypress.twentytwentythree button:hover,
1579
+ #buddypress.twentytwentythree button:focus,
1580
+ #buddypress.twentytwentythree a.button:focus,
1581
+ #buddypress.twentytwentythree a.button:hover,
1582
+ #buddypress.twentytwentythree input[type="submit"]:focus,
1583
+ #buddypress.twentytwentythree input[type="submit"]:hover,
1584
+ #buddypress.twentytwentythree input[type="button"]:focus,
1585
+ #buddypress.twentytwentythree input[type="button"]:hover,
1586
+ #buddypress.twentytwentythree input[type="reset"],
1587
+ #buddypress.twentytwentythree #bp-messages-reset,
1588
+ #buddypress.twentytwentythree .button-nav li a:focus,
1589
+ #buddypress.twentytwentythree .button-nav li a:hover,
1590
+ #buddypress.twentytwentythree .button-nav li.current a,
1591
+ #buddypress.twentytwentythree .generic-button a:focus,
1592
+ #buddypress.twentytwentythree .generic-button a:hover,
1593
+ #buddypress.twentytwentythree .comment-reply-link:focus,
1594
+ #buddypress.twentytwentythree .comment-reply-link:hover,
1595
+ #buddypress.twentytwentythree .activity-read-more a:focus,
1596
+ #buddypress.twentytwentythree .activity-read-more a:hover {
1597
+ background: transparent;
1598
+ border-color: var(--wp--preset--color--primary);
1599
+ color: var(--wp--preset--color--secondary);
1600
+ outline: none;
1601
+ text-decoration: none;
1602
+ }
1603
+
1604
+ #buddypress.twentytwentythree input[type="reset"]:focus,
1605
+ #buddypress.twentytwentythree input[type="reset"]:hover,
1606
+ #buddypress.twentytwentythree #bp-messages-reset:focus,
1607
+ #buddypress.twentytwentythree #bp-messages-reset:hover {
1608
+ outline-offset: -0.25ch;
1609
+ outline: 2px dashed var(--wp--preset--color--primary);
1610
+ }
1611
+
1612
+ #buddypress.twentytwentythree input[type="submit"].pending,
1613
+ #buddypress.twentytwentythree input[type="button"].pending,
1614
+ #buddypress.twentytwentythree input[type="reset"].pending,
1615
+ #buddypress.twentytwentythree input[type="button"].disabled,
1616
+ #buddypress.twentytwentythree input[type="reset"].disabled,
1617
+ #buddypress.twentytwentythree input[type="submit"][disabled="disabled"],
1618
+ #buddypress.twentytwentythree input[type="submit"]:disabled,
1619
+ #buddypress.twentytwentythree input[type="submit"]:hover.pending,
1620
+ #buddypress.twentytwentythree input[type="button"]:hover.pending,
1621
+ #buddypress.twentytwentythree input[type="reset"]:hover.pending,
1622
+ #buddypress.twentytwentythree input[type="submit"]:hover.disabled,
1623
+ #buddypress.twentytwentythree input[type="button"]:hover.disabled,
1624
+ #buddypress.twentytwentythree input[type="reset"]:hover.disabled,
1625
+ #buddypress.twentytwentythree button.pending:hover,
1626
+ #buddypress.twentytwentythree button.disabled:hover,
1627
+ #buddypress.twentytwentythree div.pending a:hover,
1628
+ #buddypress.twentytwentythree a.disabled:hover
1629
+ button.pending,
1630
+ #buddypress.twentytwentythree button.disabled,
1631
+ #buddypress.twentytwentythree div.pending a,
1632
+ #buddypress.twentytwentythree a.disabled {
1633
+ opacity: 0.6;
1634
+ cursor: not-allowed;
1635
+ }
1636
+
1637
+ #buddypress.twentytwentythree .blog-button:after, #buddypress.twentytwentythree .blog-button:before {
1638
+ display: none;
1639
+ }
1640
+
1641
+ #buddypress.twentytwentythree .create-button a:focus,
1642
+ #buddypress.twentytwentythree .create-button a:hover {
1643
+ text-decoration: none;
1644
+ }
1645
+
1646
+ #buddypress.twentytwentythree.bp-dir-vert-nav .create-button a {
1647
+ box-shadow: none;
1648
+ color: var(--wp--preset--color--base);
1649
+ background-color: var(--wp--preset--color--secondary);
1650
+ border-radius: 0;
1651
+ border: 1px solid var(--wp--preset--color--secondary);
1652
+ background-clip: border-box;
1653
+ }
1654
+
1655
+ #buddypress.twentytwentythree .warn {
1656
+ color: var(--wp--preset--color--contrast);
1657
+ font-weight: 600;
1658
+ }
1659
+
1660
+ #buddypress.twentytwentythree .bp-feedback {
1661
+ color: var(--wp--preset--color--contrast);
1662
+ background: var(--wp--preset--color--base);
1663
+ box-shadow: none;
1664
+ }
1665
+
1666
+ #buddypress.twentytwentythree .bp-feedback:not(.custom-homepage-info) {
1667
+ margin-top: 1.5em;
1668
+ margin-bottom: 1.5em;
1669
+ border: none;
1670
+ }
1671
+
1672
+ #buddypress.twentytwentythree .bp-feedback .bp-icon {
1673
+ background-color: var(--wp--preset--color--primary);
1674
+ color: var(--wp--preset--color--contrast);
1675
+ }
1676
+
1677
+ #buddypress.twentytwentythree .bp-feedback.warning .bp-icon {
1678
+ background-color: var(--wp--preset--color--luminous-vivid-orange);
1679
+ }
1680
+
1681
+ #buddypress.twentytwentythree .bp-feedback a {
1682
+ border-bottom: solid 1px var(--wp--preset--color--primary);
1683
+ }
1684
+
1685
+ #buddypress.twentytwentythree .bp-feedback button.bp-tooltip,
1686
+ #buddypress.twentytwentythree .bp-feedback a.bp-tooltip {
1687
+ border: none;
1688
+ background: none;
1689
+ top: -5px;
1690
+ left: 0;
1691
+ }
1692
+
1693
+ #buddypress.twentytwentythree .bp-feedback button.bp-tooltip .dashicons-dismiss,
1694
+ #buddypress.twentytwentythree .bp-feedback a.bp-tooltip .dashicons-dismiss {
1695
+ border-radius: 50%;
1696
+ width: 32px;
1697
+ height: 32px;
1698
+ color: var(--wp--preset--color--contrast);
1699
+ background: var(--wp--preset--color--primary);
1700
+ }
1701
+
1702
+ #buddypress.twentytwentythree .bp-feedback button.bp-tooltip:hover .dashicons-dismiss,
1703
+ #buddypress.twentytwentythree .bp-feedback a.bp-tooltip:hover .dashicons-dismiss {
1704
+ color: var(--wp--preset--color--primary);
1705
+ background: var(--wp--preset--color--contrast);
1706
+ }
1707
+
1708
+ #buddypress.twentytwentythree .bp-feedback.bp-sitewide-notice button.bp-tooltip,
1709
+ #buddypress.twentytwentythree .bp-feedback.bp-sitewide-notice a.bp-tooltip {
1710
+ top: 5px;
1711
+ left: 5px;
1712
+ }
1713
+
1714
+ #buddypress.twentytwentythree .bp-feedback.bp-sitewide-notice .bp-icon:before {
1715
+ content: "\f16d";
1716
+ }
1717
+
1718
+ #buddypress.t