rtMedia for WordPress, BuddyPress and bbPress - Version 3.1

Version Description

  • Add Thumbnail support in encoding.
  • Add Regenerate thumbnail option for video.
  • Add Change Video thumbnail for video in media edit screen (Admin & Frontend)
  • Optimize SQL query & code for better performance .
  • Fix uploader for IE and Opera.
  • Fixed single media issue (add preload for video)
  • Fixed Activity Privacy issue.
  • Fixed Gallery shorcode issue.
Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.1
Comparing to
See all releases

Code changes from version 3.0.13 to 3.1

Files changed (37) hide show
  1. app/admin/RTMediaAdmin.php +257 -5
  2. app/admin/RTMediaFormHandler.php +43 -25
  3. app/assets/css/admin.css +1 -1
  4. app/assets/css/grid-foundation.css +1 -1
  5. app/assets/css/main.css +1 -1
  6. app/assets/css/settings.css +1 -0
  7. app/assets/js/admin.js +6 -4
  8. app/assets/js/rtMedia.backbone.js +36 -17
  9. app/assets/sass/main.scss +19 -0
  10. app/assets/sass/settings.scss +82 -0
  11. app/helper/RTMediaAddon.php +1 -1
  12. app/helper/RTMediaInteractionModel.php +47 -0
  13. app/helper/RTMediaSettings.php +85 -69
  14. app/helper/rtForm.php +60 -60
  15. app/importers/RTMediaMigration.php +10 -10
  16. app/main/RTMedia.php +384 -349
  17. app/main/controllers/activity/RTMediaActivity.php +8 -1
  18. app/main/controllers/activity/RTMediaBuddyPressActivity.php +5 -2
  19. app/main/controllers/media/RTMediaLike.php +10 -2
  20. app/main/controllers/media/RTMediaMedia.php +1 -1
  21. app/main/controllers/privacy/RTMediaPrivacy.php +13 -11
  22. app/main/controllers/template/rt-template-functions.php +197 -12
  23. app/main/controllers/upload/RTMediaUploadEndpoint.php +11 -2
  24. app/main/controllers/upload/processors/RTMediaUploadFile.php +0 -1
  25. app/main/routers/query/RTMediaQuery.php +11 -9
  26. app/schema/rtm_media.schema +1 -1
  27. app/schema/rtm_media_interaction.schema +9 -0
  28. app/services/RTMediaEncoding.php +457 -287
  29. index.php +1 -1
  30. lib/foundation/custom.modernizr.js +4 -0
  31. lib/foundation/foundation.css +4271 -0
  32. lib/foundation/foundation.js +447 -0
  33. lib/foundation/foundation.section.js +422 -0
  34. lib/foundation/normalize.css +402 -0
  35. readme.txt +15 -5
  36. templates/media/album-gallery.php +1 -1
  37. templates/media/media-single.php +5 -9
app/admin/RTMediaAdmin.php CHANGED
@@ -41,6 +41,19 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
41
add_action ( 'wp_ajax_rtmedia_correct_upload_filetypes', array( $this, 'correct_upload_filetypes' ), 1 );
42
add_filter ( 'plugin_row_meta', array( $this, 'plugin_meta_premium_addon_link' ), 1, 4 );
43
add_action ( 'wp_dashboard_setup', array( &$this, 'add_dashboard_widgets' ), 0 );
44
if ( isset ( $_POST[ "rtmedia-options" ] ) ) {
45
if ( isset ( $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] ) && $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] == "1" )
46
add_action ( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 100, 1 );
@@ -172,6 +185,22 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
172
return $links;
173
}
174
175
function admin_bar_menu ( $admin_bar ) {
176
if ( ! current_user_can ( 'manage_options' ) )
177
return;
@@ -234,7 +263,8 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
234
'toplevel_page_rtmedia-settings',
235
'rtmedia_page_rtmedia-addons',
236
'rtmedia_page_rtmedia-support',
237
- 'rtmedia_page_rtmedia-importer'
238
);
239
$admin_pages = apply_filters ( 'rtmedia_filter_admin_pages_array', $admin_pages );
240
@@ -251,6 +281,13 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
251
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_ajax', $admin_ajax );
252
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_url', admin_url () );
253
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_url', admin_url () );
254
$rtmedia_admin_strings = array(
255
'no_refresh' => __ ( 'Please do not refresh this page.', 'rtmedia' ),
256
'something_went_wrong' => __ ( 'Something went wronng. Please <a href onclick="location.reload();">refresh</a> page.', 'rtmedia' ),
@@ -271,6 +308,9 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
271
wp_enqueue_style ( 'grid-foundation', RTMEDIA_URL . 'app/assets/css/grid-foundation.css', '', RTMEDIA_VERSION );
272
wp_enqueue_style ( 'rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION );
273
wp_enqueue_style ( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/css/admin.css', '', RTMEDIA_VERSION );
274
wp_enqueue_style ( 'wp-jquery-ui-dialog' );
275
} else {
276
wp_enqueue_style ( 'rtmedia-widget', RTMEDIA_URL . 'app/assets/css/widget.css', '', RTMEDIA_VERSION );
@@ -287,12 +327,144 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
287
add_submenu_page ( 'rtmedia-settings', __ ( 'Settings', 'rtmedia' ), __ ( 'Settings', 'rtmedia' ), 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ) );
288
add_submenu_page ( 'rtmedia-settings', __ ( 'Addons', 'rtmedia' ), __ ( 'Addons', 'rtmedia' ), 'manage_options', 'rtmedia-addons', array( $this, 'addons_page' ) );
289
add_submenu_page ( 'rtmedia-settings', __ ( 'Support', 'rtmedia' ), __ ( 'Support ', 'rtmedia' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
290
// add_submenu_page('rtmedia-settings', __('Importer', 'rtmedia'), __('Importer', 'rtmedia'), 'manage_options', 'rtmedia-importer', array($this, 'rt_importer_page'));
291
// if (!BPMediaPrivacy::is_installed()) {
292
// add_submenu_page('rtmedia-settings', __('rtMedia Database Update', 'rtmedia'), __('Update Database', 'rtmedia'), 'manage_options', 'rtmedia-db-update', array($this, 'privacy_page'));
293
// }
294
}
295
296
/**
297
* Render the BuddyPress Media Settings page
298
*/
@@ -351,9 +523,9 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
351
<div class="wrap bp-media-admin <?php echo $this->get_current_tab (); ?>">
352
<div id="icon-buddypress-media" class="icon32"><br></div>
353
<h2 class="nav-tab-wrapper"><?php $this->rtmedia_tabs (); ?></h2>
354
- <?php settings_errors (); ?>
355
- <div class="row">
356
- <div id="bp-media-settings-boxes" class="columns large-7">
357
<?php
358
$settings_url = ( is_multisite () ) ? network_admin_url ( 'edit.php?action=' . $option_group ) : 'options.php';
359
?>
@@ -567,7 +739,7 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
567
}
568
$tabs_html .= '</ul>';
569
570
- echo $tabs_html;
571
return $tabs;
572
}
573
@@ -830,6 +1002,86 @@ if ( ! class_exists ( 'RTMediaAdmin' ) ) {
830
die ();
831
}
832
833
}
834
835
}
41
add_action ( 'wp_ajax_rtmedia_correct_upload_filetypes', array( $this, 'correct_upload_filetypes' ), 1 );
42
add_filter ( 'plugin_row_meta', array( $this, 'plugin_meta_premium_addon_link' ), 1, 4 );
43
add_action ( 'wp_dashboard_setup', array( &$this, 'add_dashboard_widgets' ), 0 );
44
+ add_filter("attachment_fields_to_edit", array($this,"edit_video_thumbnail"), null, 2);
45
+ add_filter("attachment_fields_to_save", array($this,"save_video_thumbnail"), null, 2);
46
+
47
+ $obj_encoding = new RTMediaEncoding(true);
48
+ if ($obj_encoding->api_key){
49
+ add_filter ("media_row_actions", array($this,"add_reencode_link"), null, 2);
50
+ add_action( 'admin_head-upload.php', array( $this, 'add_bulk_actions_regenerate' ) );
51
+ add_action('admin_footer', array($this,'rtmedia_regenerate_thumb_js'));
52
+ add_action( 'admin_action_bulk_video_regenerate_thumbnails', array( $this, 'bulk_action_handler' ) );
53
+ add_action( 'admin_action_-1', array( $this, 'bulk_action_handler' ) );
54
+ }
55
+ add_action ( 'wp_ajax_rt_media_regeneration', array( $this, 'rt_media_regeneration' ), 1 );
56
+
57
if ( isset ( $_POST[ "rtmedia-options" ] ) ) {
58
if ( isset ( $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] ) && $_POST[ "rtmedia-options" ][ "general_showAdminMenu" ] == "1" )
59
add_action ( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 100, 1 );
185
return $links;
186
}
187
188
+ function add_reencode_link ($actions, $post) {
189
+
190
+ $mime_type_array = explode("/", $post->post_mime_type);
191
+ if(is_array($mime_type_array) && $mime_type_array != "" && $mime_type_array[0] == "video") {
192
+ $actions['reencode'] = "<a class='submitdelete' onclick='return rtmedia_regenerate_thumbs(".$post->ID.")' href='#'>Regenerate Thumbnail</a>";
193
+ }
194
+ return $actions;
195
+ }
196
+
197
+ function bulk_action_handler() {
198
+ if($_REQUEST['action'] == "bulk_video_regenerate_thumbnails" && $_REQUEST['media'] != "") {
199
+ wp_safe_redirect(add_query_arg(array("media_ids" => urlencode(implode(",", $_REQUEST["media"]))), admin_url("admin.php?page=rtmedia-regenerate")));
200
+ exit;
201
+ }
202
+ }
203
+
204
function admin_bar_menu ( $admin_bar ) {
205
if ( ! current_user_can ( 'manage_options' ) )
206
return;
263
'toplevel_page_rtmedia-settings',
264
'rtmedia_page_rtmedia-addons',
265
'rtmedia_page_rtmedia-support',
266
+ 'rtmedia_page_rtmedia-importer',
267
+ 'rtmedia_page_rtmedia-regenerate'
268
);
269
$admin_pages = apply_filters ( 'rtmedia_filter_admin_pages_array', $admin_pages );
270
281
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_ajax', $admin_ajax );
282
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_url', admin_url () );
283
wp_localize_script ( 'rtmedia-admin', 'rtmedia_admin_url', admin_url () );
284
+ if(isset($_REQUEST['page']) && $_REQUEST['page']== "rtmedia-settings")
285
+ {
286
+ wp_enqueue_script ( 'rtmedia-foundation-modernizr', RTMEDIA_URL . 'lib/foundation/custom.modernizr.js', array('jquery'), RTMEDIA_VERSION );
287
+ wp_enqueue_script ( 'rtmedia-foundation', RTMEDIA_URL . 'lib/foundation/foundation.js', array('jquery'), RTMEDIA_VERSION );
288
+ wp_enqueue_script ( 'rtmedia-foundation-section', RTMEDIA_URL . 'lib/foundation/foundation.section.js', array('jquery'), RTMEDIA_VERSION );
289
+ }
290
+
291
$rtmedia_admin_strings = array(
292
'no_refresh' => __ ( 'Please do not refresh this page.', 'rtmedia' ),
293
'something_went_wrong' => __ ( 'Something went wronng. Please <a href onclick="location.reload();">refresh</a> page.', 'rtmedia' ),
308
wp_enqueue_style ( 'grid-foundation', RTMEDIA_URL . 'app/assets/css/grid-foundation.css', '', RTMEDIA_VERSION );
309
wp_enqueue_style ( 'rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION );
310
wp_enqueue_style ( 'rtmedia-admin', RTMEDIA_URL . 'app/assets/css/admin.css', '', RTMEDIA_VERSION );
311
+ if(isset($_REQUEST['page']) && $_REQUEST['page']== "rtmedia-settings") {
312
+ wp_enqueue_style ( 'foundation-admin-css', RTMEDIA_URL . 'app/assets/css/settings.css', '', RTMEDIA_VERSION );
313
+ }
314
wp_enqueue_style ( 'wp-jquery-ui-dialog' );
315
} else {
316
wp_enqueue_style ( 'rtmedia-widget', RTMEDIA_URL . 'app/assets/css/widget.css', '', RTMEDIA_VERSION );
327
add_submenu_page ( 'rtmedia-settings', __ ( 'Settings', 'rtmedia' ), __ ( 'Settings', 'rtmedia' ), 'manage_options', 'rtmedia-settings', array( $this, 'settings_page' ) );
328
add_submenu_page ( 'rtmedia-settings', __ ( 'Addons', 'rtmedia' ), __ ( 'Addons', 'rtmedia' ), 'manage_options', 'rtmedia-addons', array( $this, 'addons_page' ) );
329
add_submenu_page ( 'rtmedia-settings', __ ( 'Support', 'rtmedia' ), __ ( 'Support ', 'rtmedia' ), 'manage_options', 'rtmedia-support', array( $this, 'support_page' ) );
330
+ $obj_encoding = new RTMediaEncoding(true);
331
+ if ($obj_encoding->api_key)
332
+ add_submenu_page ( 'rtmedia-settings', __ ( 'Regenerate Thumbnail', 'rtmedia' ), __ ( 'Regen. Thumbnail ', 'rtmedia' ), 'manage_options', 'rtmedia-regenerate', array( $this, 'rt_regenerate_thumbnail' ) );
333
+
334
// add_submenu_page('rtmedia-settings', __('Importer', 'rtmedia'), __('Importer', 'rtmedia'), 'manage_options', 'rtmedia-importer', array($this, 'rt_importer_page'));
335
// if (!BPMediaPrivacy::is_installed()) {
336
// add_submenu_page('rtmedia-settings', __('rtMedia Database Update', 'rtmedia'), __('Update Database', 'rtmedia'), 'manage_options', 'rtmedia-db-update', array($this, 'privacy_page'));
337
// }
338
}
339
340
+ function rt_regenerate_thumbnail() {
341
+ $prog = new rtProgress();
342
+ $done = 0;
343
+ ?>
344
+ <div class="wrap">
345
+ <h2> <?php _e("Regenerate Video Thumbnails"); ?> </h2>
346
+ <?php
347
+ if (isset($_REQUEST["media_ids"]) && trim($_REQUEST["media_ids"]) != "") {
348
+ $requested = false;
349
+ $media_ids = explode(',', $_REQUEST["media_ids"]);
350
+ $total = count($media_ids);
351
+ } else {
352
+ $media_ids = $this->get_vedio_without_thumbs();
353
+ $total = count($media_ids);
354
+ }
355
+ ?>
356
+ <script>
357
+ var rt_thumb_all_media = <?php echo json_encode($this->get_vedio_without_thumbs()); ?>;
358
+ </script>
359
+ <?php
360
+ if(!isset($requested)) {?>
361
+ <br /> <br />
362
+ <input type="button" class="button button-primary" id="rt-start-media-regenerate" value ="<?php _e("Regenerate Pending Thumbnails"); ?>" />
363
+ <?php } ?>
364
+ <div id="rt-migration-progress">
365
+ <br /> <br />
366
+ <?php
367
+ $temp = $prog->progress ( $done, $total );
368
+ $prog->progress_ui ( $temp, true );
369
+ ?>
370
+ <p> <?php _e("Total Videos") ?> : <span class='rt-total'><?php echo $total; ?></span></p>
371
+ <p> <?php _e("Sent of regenerate thumbails") ?> : <span class='rt-done'>0</span></p>
372
+ <p> <?php _e("Fail to regenerate thumbails") ?> : <span class='rt-fail'>0</span></p>
373
+
374
+ </div>
375
+ <?php
376
+
377
+ ?>
378
+ <script>
379
+
380
+ var db_done = 0;
381
+ var db_fail = 0;
382
+ var db_total = <?php echo $total; ?>;
383
+ var indx = 0;
384
+ function db_start_regenrate() {
385
+ if (indx < db_total) {
386
+ jQuery.ajax({
387
+ url: rtmedia_admin_ajax,
388
+ type: 'post',
389
+ data: {
390
+ "action": "rt_media_regeneration",
391
+ "media_id": rt_thumb_all_media[indx++]
392
+ },
393
+ success: function(data) {
394
+ data = JSON.parse(data);
395
+
396
+ if(data.status == false){
397
+ handle_regenrate_fail();
398
+ }else{
399
+ db_done ++;
400
+ var progw = Math.ceil((db_done / db_total) * 100);
401
+ if (progw > 100) {
402
+ progw = 100;
403
+ }
404
+ jQuery('#rtprogressbar>div').css('width', progw + '%');
405
+ jQuery('span.rt-done').html(db_done);
406
+ db_start_regenrate();
407
+ }
408
+ },
409
+ error: function() {
410
+ handle_regenrate_fail();
411
+ }
412
+ });
413
+ } else {
414
+ alert("<?php _e("Regenerate Video Thumbnails Done"); ?>");
415
+ }
416
+ }
417
+ function handle_regenrate_fail(){
418
+ db_fail ++;
419
+ jQuery('span.rt-fail').html(db_fail);
420
+ db_start_regenrate();
421
+ }
422
+ if(jQuery("#rt-start-media-regenerate").length > 0 ){
423
+ jQuery("#rt-migration-progress").hide()
424
+ jQuery("#rt-start-media-regenerate").click(function(){
425
+ jQuery(this).hide();
426
+ jQuery("#rt-migration-progress").show()
427
+ db_start_regenrate();
428
+ })
429
+ } else{
430
+ db_start_regenrate();
431
+ }
432
+
433
+ </script>
434
+
435
+
436
+ </div> <?php
437
+ }
438
+
439
+ function rt_media_regeneration() {
440
+ if(isset($_POST['media_id'])) {
441
+ $model = new RTMediaModel();
442
+ $media = $model->get_media ( array( 'media_id' => $_POST['media_id'] ), 0, 1 );
443
+ $media_type = $media[ 0 ]->media_type;
444
+ $response = array();
445
+ if($media_type == "video") {
446
+ $objRTMediaEncoding = new RTMediaEncoding(true);
447
+ $autoformat = "thumbnails";
448
+ $objRTMediaEncoding->reencoding(intval($_POST['media_id']), $autoformat);
449
+ $response['status'] = true;
450
+ }
451
+ else {
452
+ $response['status'] = false;
453
+ $response['message'] = "not a video ...";
454
+ }
455
+ echo json_encode($response);
456
+ die();
457
+ }
458
+ }
459
+
460
+
461
+ function get_vedio_without_thumbs() {
462
+ $rtmedia_model = new RTMediaModel();
463
+ $sql = "select media_id from {$rtmedia_model->table_name} where media_type = 'video' and cover_art is null";
464
+ global $wpdb;
465
+ $results = $wpdb->get_col( $sql );
466
+ return $results;
467
+ }
468
/**
469
* Render the BuddyPress Media Settings page
470
*/
523
<div class="wrap bp-media-admin <?php echo $this->get_current_tab (); ?>">
524
<div id="icon-buddypress-media" class="icon32"><br></div>
525
<h2 class="nav-tab-wrapper"><?php $this->rtmedia_tabs (); ?></h2>
526
+ <?php //settings_errors (); ?>
527
+ <div class="row bp-media-settings-boxes-container" >
528
+ <div id="bp-media-settings-boxes" class="columns large-8">
529
<?php
530
$settings_url = ( is_multisite () ) ? network_admin_url ( 'edit.php?action=' . $option_group ) : 'options.php';
531
?>
739
}
740
$tabs_html .= '</ul>';
741
742
+ //echo $tabs_html;
743
return $tabs;
744
}
745
1002
die ();
1003
}
1004
1005
+ function edit_video_thumbnail($form_fields, $post) {
1006
+ if(isset($post->post_mime_type)) {
1007
+ $media_type = explode("/", $post->post_mime_type);
1008
+ if(is_array($media_type) && $media_type[0] == "video") {
1009
+ $media_id = $post->ID;
1010
+ $thumbnail_array = get_post_meta($media_id, "rtmedia_media_thumbnails", true);
1011
+ $rtmedia_model = new RTMediaModel();
1012
+ $rtmedia_media = $rtmedia_model->get(array("media_id" => $media_id));
1013
+ $video_thumb_html = "";
1014
+ if(is_array($thumbnail_array)) {
1015
+ $video_thumb_html.= '<ul> ';
1016
+ foreach($thumbnail_array as $key => $thumbnail_src) {
1017
+ $checked = checked($thumbnail_src, $rtmedia_media[ 0 ]->cover_art, false);
1018
+ $count = $key + 1;
1019
+ $video_thumb_html .= '<li style="width: 150px;display: inline-block;">
1020
+ <label for="rtmedia-upload-select-thumbnail-'.$count.'">
1021
+ <input type="radio" '.$checked.' id="rtmedia-upload-select-thumbnail-'.$count.'" value="'.$thumbnail_src.'" name="rtmedia-thumbnail" />
1022
+ <img src=" '. $thumbnail_src.'" style="max-height: 120px;max-width: 120px; vertical-align: middle;" />
1023
+ </label>
1024
+ </li> ';
1025
+
1026
+ }
1027
+
1028
+ $video_thumb_html .= ' </ul>';
1029
+ $form_fields['rtmedia_video_thumbnail'] = array(
1030
+ 'label' => 'Video Thumbnails',
1031
+ 'input' => 'html',
1032
+ 'html' => $video_thumb_html
1033
+ );
1034
+ return $form_fields;
1035
+ }
1036
+ }
1037
+ }
1038
+
1039
+ }
1040
+ function save_video_thumbnail($post, $attachment) {
1041
+ if( isset($post['rtmedia-thumbnail']) ){
1042
+ $rtmedia_model = new RTMediaModel();
1043
+ $rtmedia_model->update(array("cover_art" => $post['rtmedia-thumbnail']), array("media_id"=>$post['ID']));
1044
+ }
1045
+ return $post;
1046
+ }
1047
+
1048
+ function rtmedia_regenerate_thumb_js() {
1049
+ global $pagenow;
1050
+
1051
+ if($pagenow == 'upload.php') {
1052
+ ?>
1053
+ <script type="text/javascript">
1054
+ function rtmedia_regenerate_thumbs(post_id) {
1055
+ if(post_id != "") {
1056
+ var data = {
1057
+ action: 'rt_media_regeneration',
1058
+ media_id: post_id
1059
+ };
1060
+ jQuery.post(ajaxurl,data, function(data) {
1061
+ data = JSON.parse(data);
1062
+ if(data.status === true) {
1063
+ alert("<?php _e('Video is sent to generate thumbnails.') ?>");
1064
+ }
1065
+ else {
1066
+ alert("<?php _e('Video can\'t be sent to generate thumbnails.') ?>");
1067
+ }
1068
+ });
1069
+ }
1070
+ }
1071
+ </script>
1072
+ <?php
1073
+ }
1074
+ }
1075
+
1076
+ function add_bulk_actions_regenerate () {
1077
+ ?>
1078
+ <script type="text/javascript">
1079
+ jQuery(document).ready(function($){
1080
+ $('select[name^="action"] option:last-child').before('<option value="bulk_video_regenerate_thumbnails"><?php echo esc_attr( __( 'Regenerate Video Thumbnails', 'regenerate-video-thumbnails' ) ); ?></option>');
1081
+ });
1082
+ </script>
1083
+ <?php
1084
+ }
1085
}
1086
1087
}
app/admin/RTMediaFormHandler.php CHANGED
@@ -110,7 +110,7 @@ class RTMediaFormHandler {
110
foreach ($options as $key => $value) {
111
if(strncmp($key, $section_name, strlen($section_name))==0)
112
$section[$key] = $value;
113
- }
114
return $section;
115
}
116
@@ -170,6 +170,14 @@ class RTMediaFormHandler {
170
// 'desc' => __('Users can access their media on media end point','rtmedia')
171
// )
172
// ),
173
'general_showAdminMenu' => array(
174
'title' => __('Admin Bar Menu','rtmedia'),
175
'callback' => array('RTMediaFormHandler', 'checkbox'),
@@ -178,26 +186,25 @@ class RTMediaFormHandler {
178
'value' => $options['general_showAdminMenu'],
179
'desc' => __('Enable menu in WordPress admin bar','rtmedia')
180
)
181
- )
182
);
183
184
return $render;
185
}
186
187
public static function general_content() {
188
- global $rtmedia;
189
$options = self::extract_settings('general', $rtmedia->options);
190
-
191
$render_options = self::general_render_options($options);
192
-
193
foreach ($render_options as $key => $option) { ?>
194
<div class="row section">
195
- <div class="columns large-2"> <?php echo $option['title']; ?> </div>
196
- <div class="columns large-4">
197
<?php call_user_func($option['callback'], $option['args']); ?>
198
</div>
199
</div>
200
- <div class="clearfix">&nbsp;</div>
201
<?php }
202
}
203
@@ -240,9 +247,9 @@ class RTMediaFormHandler {
240
?>
241
<div class="rt-table large-12">
242
<div class="row rt-header">
243
- <h4 class="columns large-2"><?php echo __("Media Type","rtmedia") ?></h4>
244
- <h4 class="columns large-2 rtm-show-tooltip" title="<?php echo __("Allows you to upload a particular media type on your post.","rtmedia"); ?>"><abbr><?php echo __("Allow Upload","rtmedia"); ?></abbr></h4>
245
- <h4 class="columns large-2 rtm-show-tooltip" title="<?php echo __("Put a specific media as a featured content on the post.","rtmedia"); ?>"><abbr><?php echo __("Set Featured","rtmedia"); ?></abbr></h4>
246
<h4 class="columns large-3 rtm-show-tooltip" title="<?php echo __("File extensions that can be uploaded on the website.","rtmedia"); ?>"><abbr><?php echo __("File Extensions","rtmedia"); ?></abbr></h4>
247
</div>
248
<?php
@@ -253,13 +260,13 @@ class RTMediaFormHandler {
253
else
254
echo '<div class="row rt-even">';
255
256
- echo '<div class="columns large-2">' . $section['name'] . '</div>';
257
$args = array('key' => 'allowedTypes_'.$key.'_enabled', 'value' => $section['enabled']);
258
- echo '<div class="columns large-2">';
259
self::checkbox($args);
260
echo '</div>';
261
$args = array('key' => 'allowedTypes_'.$key.'_featured', 'value' => $section['featured']);
262
- echo '<div class="columns large-2">';
263
self::checkbox($args);
264
echo '</div>';
265
echo '<div class="columns large-3">' . implode(', ', $section['extn']) . '</div>';
@@ -293,13 +300,13 @@ class RTMediaFormHandler {
293
$render_data = self::sizes_render_options($options);
294
295
//container
296
- echo '<div class="rt-table large-12">';
297
298
//header
299
echo '<div class="rt-header row">';
300
echo '<h4 class="columns large-3">' . __("Category","rtmedia") . '</h4>';
301
echo '<h4 class="columns large-3">' . __("Entity","rtmedia") . '</h4>';
302
- echo '<h4 class="columns large-4"><span class="large-offset-2">' . __("Width","rtmedia") . '</span><span class="large-offset-2">' . __("Height","rtmedia") . '</span><span class="large-offset-2">' . __("Crop","rtmedia") . '</span></h4>';
303
echo'</div>';
304
305
//body
@@ -317,7 +324,7 @@ class RTMediaFormHandler {
317
echo '<div class="row">' . ucfirst($entity['title']) . '</div>';
318
}
319
echo '</div>';
320
- echo '<div class="columns large-4">';
321
foreach ($entities as $entity) {
322
$args = array(
323
'key' => 'defaultSizes_'.$parent_key.'_'.$entity['title'],
@@ -382,8 +389,8 @@ class RTMediaFormHandler {
382
echo '<div class="large-12">';
383
foreach ($render_data as $key=>$privacy) {
384
echo '<div class="row section">';
385
- echo '<div class="columns large-2">' . $privacy['title'] . '</div>';
386
- echo '<div class="columns large-5">';
387
if($key != "enable")
388
call_user_func($privacy['callback'], array_merge_recursive($privacy['args'], array('class' => array("privacy-driven-disable"))));
389
else
@@ -440,8 +447,8 @@ class RTMediaFormHandler {
440
echo '<div class="large-12">';
441
foreach ($render_data as $option) { ?>
442
<div class="row section">
443
- <div class="columns large-2"><?php echo $option['title']; ?></div>
444
- <div class="columns large-4">
445
<?php call_user_func($option['callback'], $option['args']); ?>
446
</div>
447
</div>
@@ -449,13 +456,24 @@ class RTMediaFormHandler {
449
echo '</div>';
450
}
451
452
- public static function rtForm_settings_tabs_content($page, $sub_tabs) {
453
-
454
foreach ($sub_tabs as $tab) {
455
- echo '<div id="' . substr($tab['href'], 1) . '">';
456
call_user_func($tab['callback'], $page);
457
- echo '</div>';
458
}
459
}
460
461
public static function rtForm_do_settings_fields($page, $section) {
110
foreach ($options as $key => $value) {
111
if(strncmp($key, $section_name, strlen($section_name))==0)
112
$section[$key] = $value;
113
+ }
114
return $section;
115
}
116
170
// 'desc' => __('Users can access their media on media end point','rtmedia')
171
// )
172
// ),
173
+ 'general_videothumbs' => array(
174
+ 'title' => __('Number of Video Thumbnails','rtmedia'),
175
+ 'callback' => array('RTMediaFormHandler', 'number'),
176
+ 'args' => array(
177
+ 'key' => 'general_videothumbs',
178
+ 'value' => $options['general_videothumbs']
179
+ )
180
+ ),
181
'general_showAdminMenu' => array(
182
'title' => __('Admin Bar Menu','rtmedia'),
183
'callback' => array('RTMediaFormHandler', 'checkbox'),
186
'value' => $options['general_showAdminMenu'],
187
'desc' => __('Enable menu in WordPress admin bar','rtmedia')
188
)
189
+ )
190
);
191
192
return $render;
193
}
194
195
public static function general_content() {
196
+ global $rtmedia;
197
$options = self::extract_settings('general', $rtmedia->options);
198
$render_options = self::general_render_options($options);
199
+ $render_options = apply_filters("rtmedia_general_content_add_itmes",$render_options, $options);
200
foreach ($render_options as $key => $option) { ?>
201
<div class="row section">
202
+ <div class="columns large-4"> <?php echo $option['title']; ?> </div>
203
+ <div class="columns large-8">
204
<?php call_user_func($option['callback'], $option['args']); ?>
205
</div>
206
</div>
207
+ <div class="clearfix"></div>
208
<?php }
209
}
210
247
?>
248
<div class="rt-table large-12">
249
<div class="row rt-header">
250
+ <h4 class="columns large-3"><?php echo __("Media Type","rtmedia") ?></h4>
251
+ <h4 class="columns large-3 rtm-show-tooltip" title="<?php echo __("Allows you to upload a particular media type on your post.","rtmedia"); ?>"><abbr><?php echo __("Allow Upload","rtmedia"); ?></abbr></h4>
252
+ <h4 class="columns large-3 rtm-show-tooltip" title="<?php echo __("Put a specific media as a featured content on the post.","rtmedia"); ?>"><abbr><?php echo __("Set Featured","rtmedia"); ?></abbr></h4>
253
<h4 class="columns large-3 rtm-show-tooltip" title="<?php echo __("File extensions that can be uploaded on the website.","rtmedia"); ?>"><abbr><?php echo __("File Extensions","rtmedia"); ?></abbr></h4>
254
</div>
255
<?php
260
else
261
echo '<div class="row rt-even">';
262
263
+ echo '<div class="columns large-3">' . $section['name'] . '</div>';
264
$args = array('key' => 'allowedTypes_'.$key.'_enabled', 'value' => $section['enabled']);
265
+ echo '<div class="columns large-3">';
266
self::checkbox($args);
267
echo '</div>';
268
$args = array('key' => 'allowedTypes_'.$key.'_featured', 'value' => $section['featured']);
269
+ echo '<div class="columns large-3">';
270
self::checkbox($args);
271
echo '</div>';
272
echo '<div class="columns large-3">' . implode(', ', $section['extn']) . '</div>';
300
$render_data = self::sizes_render_options($options);
301
302
//container
303
+ echo '<div class="rt-table large-12 rtmedia-size-content-setting">';
304
305
//header
306
echo '<div class="rt-header row">';
307
echo '<h4 class="columns large-3">' . __("Category","rtmedia") . '</h4>';
308
echo '<h4 class="columns large-3">' . __("Entity","rtmedia") . '</h4>';
309
+ echo '<h4 class="columns large-6"><span class="large-offset-2">' . __("Width","rtmedia") . '</span><span class="large-offset-2">' . __("Height","rtmedia") . '</span><span class="large-offset-2">' . __("Crop","rtmedia") . '</span></h4>';
310
echo'</div>';
311
312
//body
324
echo '<div class="row">' . ucfirst($entity['title']) . '</div>';
325
}
326
echo '</div>';
327
+ echo '<div class="columns large-6">';
328
foreach ($entities as $entity) {
329
$args = array(
330
'key' => 'defaultSizes_'.$parent_key.'_'.$entity['title'],
389
echo '<div class="large-12">';
390
foreach ($render_data as $key=>$privacy) {
391
echo '<div class="row section">';
392
+ echo '<div class="columns large-4">' . $privacy['title'] . '</div>';
393
+ echo '<div class="columns large-8">';
394
if($key != "enable")
395
call_user_func($privacy['callback'], array_merge_recursive($privacy['args'], array('class' => array("privacy-driven-disable"))));
396
else
447
echo '<div class="large-12">';
448
foreach ($render_data as $option) { ?>
449
<div class="row section">
450
+ <div class="columns large-4"><?php echo $option['title']; ?></div>
451
+ <div class="columns large-8">
452
<?php call_user_func($option['callback'], $option['args']); ?>
453
</div>
454
</div>
456
echo '</div>';
457
}
458
459
+ public static function rtForm_settings_tabs_content($page, $sub_tabs) {
460
+ $rtmedia_admin_ui_handler = "<div class='section-container auto' data-options='deep_linking: true' data-section=''>";
461
+ $rtmedia_admin_ui_handler = apply_filters("rtmedia_admin_ui_handler_filter",$rtmedia_admin_ui_handler);
462
+ echo $rtmedia_admin_ui_handler;
463
+ $sub_tabs = apply_filters("rtmedia_pro_settings_tabs_content",$sub_tabs);
464
foreach ($sub_tabs as $tab) {
465
+ if ( isset ( $tab[ 'icon' ] ) && ! empty ( $tab[ 'icon' ] ) )
466
+ $icon = '<i class="' . $tab[ 'icon' ] . '"></i>';
467
+ $tab_without_hash = explode("#", $tab[ 'href' ]);
468
+ $tab_without_hash = $tab_without_hash[1];
469
+ echo '<section> <p class="title" data-section-title><a id="tab-' . substr ( $tab[ 'href' ], 1 ) . '" title="' . $tab[ 'title' ] . '" href="' . $tab[ 'href' ] . '" class="rtmedia-tab-title ' . sanitize_title ( $tab[ 'name' ] ) . '">' . $icon . ' ' . $tab[ 'name' ] . '</a> </p> <div class="content" data-section-content data-slug="' . $tab_without_hash . '">';
470
call_user_func($tab['callback'], $page);
471
+ echo '</div> </section>';
472
}
473
+ ?>
474
+ </div>
475
+ <div class="clearfix"></div>
476
+ <?php
477
}
478
479
public static function rtForm_do_settings_fields($page, $section) {
app/assets/css/admin.css CHANGED
@@ -59,7 +59,7 @@ div#icon-buddypress-media { background: url('../img/bpm-icon-32.png'); backgroun
59
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.convert-videos{background-position-y:-214px;}
60
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.insta{background-position-y:-244px;}
61
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.watermark{background-position-y:-274px;}
62
-
63
#bpm-unsubscribe-dialog { display: none; }
64
#bpm-unsubscribe-dialog p { margin: 10px; }
65
59
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.convert-videos{background-position-y:-214px;}
60
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.insta{background-position-y:-244px;}
61
.wrap.bp-media-admin .bp-media-settings-tabs a.nav-tab.watermark{background-position-y:-274px;}
62
+ .wrap.bp-media-admin .row {max-width: 97%;}
63
#bpm-unsubscribe-dialog { display: none; }
64
#bpm-unsubscribe-dialog p { margin: 10px; }
65
app/assets/css/grid-foundation.css CHANGED
@@ -1,4 +1,4 @@
1
- * Grid HTML Classes */
2
/* line 116, ../../../../../../../usr/lib/ruby/gems/1.8/gems/zurb-foundation-4.1.6/scss/foundation/components/_grid.scss */
3
.row {
4
width: 100%;
1
+ /* Grid HTML Classes */
2
/* line 116, ../../../../../../../usr/lib/ruby/gems/1.8/gems/zurb-foundation-4.1.6/scss/foundation/components/_grid.scss */
3
.row {
4
width: 100%;
app/assets/css/main.css CHANGED
@@ -1 +1 @@
1
- .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:10px;border:1px solid #008000;background-color:#90EE90;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video{width:100%}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail{margin:8px 2px 2px 0}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container .rtmedia-comment,.rtmedia-activity-container .rtmedia-comment,#buddypress div.rtmedia-activity-container .rtmedia-comment{list-style:none;background:#f6f6f6;border:1px solid #ddd;-moz-border-radius:3px;border-radius:3px;margin:5px 0;padding:1px 5px 25px;width:391px;max-width:100%}.rtmedia-container .rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date{display:block;float:right}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container .rtmedia-merge-container,.rtmedia-activity-container .rtmedia-merge-container,#buddypress div.rtmedia-activity-container .rtmedia-merge-container{display:none}.rtmedia-container .rtmedia-create-new-album-container,.rtmedia-activity-container .rtmedia-create-new-album-container,#buddypress div.rtmedia-activity-container .rtmedia-create-new-album-container{display:none}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(top, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress .mejs-controls button,.rtmedia-container .mejs-controls button,.rtmedia-activity-container .mejs-controls button,#buddypress div.rtmedia-activity-container .mejs-controls button{padding:4px 8px;border:none;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button,.rtmedia-container .mejs-controls .mejs-play button,.rtmedia-activity-container .mejs-controls .mejs-play button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button,.rtmedia-container .mejs-controls .mejs-pause button,.rtmedia-activity-container .mejs-controls .mejs-pause button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button,.rtmedia-container .mejs-controls .mejs-unmute button,.rtmedia-activity-container .mejs-controls .mejs-unmute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button,.rtmedia-container .mejs-controls .mejs-mute button,.rtmedia-activity-container .mejs-controls .mejs-mute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button,.rtmedia-container .mejs-controls .mejs-fullscreen-button button,.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button,.rtmedia-container .mejs-controls .mejs-unfullscreen button,.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}#header{z-index:1 !important}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#E74C3C}
1
+ .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:10px;border:1px solid #008000;background-color:#90EE90;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video{width:100%}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail{margin:8px 2px 2px 0}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container .rtmedia-comment,.rtmedia-activity-container .rtmedia-comment,#buddypress div.rtmedia-activity-container .rtmedia-comment{list-style:none;background:#f6f6f6;border:1px solid #ddd;-moz-border-radius:3px;border-radius:3px;margin:5px 0;padding:1px 5px 25px;width:391px;max-width:100%}.rtmedia-container .rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date{display:block;float:right}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container .rtmedia-merge-container,.rtmedia-activity-container .rtmedia-merge-container,#buddypress div.rtmedia-activity-container .rtmedia-merge-container{display:none}.rtmedia-container .rtmedia-create-new-album-container,.rtmedia-activity-container .rtmedia-create-new-album-container,#buddypress div.rtmedia-activity-container .rtmedia-create-new-album-container{display:none}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media-title,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media-title{margin:0 0 5px 0;display:block;font-weight:bold;letter-spacing:1px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(top, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}.rtmedia-container .rtmedia-change-cover-arts p,.rtmedia-activity-container .rtmedia-change-cover-arts p,#buddypress div.rtmedia-activity-container .rtmedia-change-cover-arts p{padding:5px 0}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress .mejs-controls button,.rtmedia-container .mejs-controls button,.rtmedia-activity-container .mejs-controls button,#buddypress div.rtmedia-activity-container .mejs-controls button{padding:4px 8px;border:none;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button,.rtmedia-container .mejs-controls .mejs-play button,.rtmedia-activity-container .mejs-controls .mejs-play button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button,.rtmedia-container .mejs-controls .mejs-pause button,.rtmedia-activity-container .mejs-controls .mejs-pause button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button,.rtmedia-container .mejs-controls .mejs-unmute button,.rtmedia-activity-container .mejs-controls .mejs-unmute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button,.rtmedia-container .mejs-controls .mejs-mute button,.rtmedia-activity-container .mejs-controls .mejs-mute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button,.rtmedia-container .mejs-controls .mejs-fullscreen-button button,.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button,.rtmedia-container .mejs-controls .mejs-unfullscreen button,.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}#header{z-index:1 !important}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#E74C3C}.rtmp-uploaded-file{width:100%}.close{cursor:pointer;color:red}
app/assets/css/settings.css ADDED
@@ -0,0 +1 @@
1
+ #bp-media-settings-boxes{margin:0}#bp-media-settings-boxes *,#bp-media-settings-boxes *:before,#bp-media-settings-boxes *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#bp-media-settings-boxes html,#bp-media-settings-boxes body{font-size:100%}#bp-media-settings-boxes body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}#bp-media-settings-boxes a:hover{cursor:pointer}#bp-media-settings-boxes a:focus{outline:none}#bp-media-settings-boxes img,#bp-media-settings-boxes object,#bp-media-settings-boxes embed{max-width:100%;height:auto}#bp-media-settings-boxes object,#bp-media-settings-boxes embed{height:100%}#bp-media-settings-boxes img{-ms-interpolation-mode:bicubic}#bp-media-settings-boxes #map_canvas img,#bp-media-settings-boxes #map_canvas embed,#bp-media-settings-boxes #map_canvas object,#bp-media-settings-boxes .map_canvas img,#bp-media-settings-boxes .map_canvas embed,#bp-media-settings-boxes .map_canvas object{max-width:none !important}#bp-media-settings-boxes .left{float:left !important}#bp-media-settings-boxes .right{float:right !important}#bp-media-settings-boxes .text-left{text-align:left !important}#bp-media-settings-boxes .text-right{text-align:right !important}#bp-media-settings-boxes .text-center{text-align:center !important}#bp-media-settings-boxes .text-justify{text-align:justify !important}#bp-media-settings-boxes .hide{display:none}#bp-media-settings-boxes .antialiased{-webkit-font-smoothing:antialiased}#bp-media-settings-boxes img{display:inline-block;vertical-align:middle}#bp-media-settings-boxes textarea{height:auto;min-height:50px}#bp-media-settings-boxes select{width:100%}#bp-media-settings-boxes .section-container,#bp-media-settings-boxes .section-container.auto{width:100%;display:block;margin-bottom:1.25em;border:1px solid #ccc;border-top:none}#bp-media-settings-boxes .section-container>section,#bp-media-settings-boxes .section-container>.section,#bp-media-settings-boxes .section-container.auto>section,#bp-media-settings-boxes .section-container.auto>.section{position:relative}#bp-media-settings-boxes .section-container>section>.title,#bp-media-settings-boxes .section-container>.section>.title,#bp-media-settings-boxes .section-container.auto>section>.title,#bp-media-settings-boxes .section-container.auto>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container>section>.title a,#bp-media-settings-boxes .section-container>.section>.title a,#bp-media-settings-boxes .section-container.auto>section>.title a,#bp-media-settings-boxes .section-container.auto>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container>section>.title:hover,#bp-media-settings-boxes .section-container>.section>.title:hover,#bp-media-settings-boxes .section-container.auto>section>.title:hover,#bp-media-settings-boxes .section-container.auto>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container>section .content,#bp-media-settings-boxes .section-container>.section .content,#bp-media-settings-boxes .section-container.auto>section .content,#bp-media-settings-boxes .section-container.auto>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container>section .content>*:last-child,#bp-media-settings-boxes .section-container>.section .content>*:last-child,#bp-media-settings-boxes .section-container.auto>section .content>*:last-child,#bp-media-settings-boxes .section-container.auto>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container>section .content>*:first-child,#bp-media-settings-boxes .section-container>.section .content>*:first-child,#bp-media-settings-boxes .section-container.auto>section .content>*:first-child,#bp-media-settings-boxes .section-container.auto>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.auto>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.auto>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container>section.active>.content,#bp-media-settings-boxes .section-container>.section.active>.content,#bp-media-settings-boxes .section-container.auto>section.active>.content,#bp-media-settings-boxes .section-container.auto>.section.active>.content{display:block}#bp-media-settings-boxes .section-container>section.active>.title,#bp-media-settings-boxes .section-container>.section.active>.title,#bp-media-settings-boxes .section-container.auto>section.active>.title,#bp-media-settings-boxes .section-container.auto>.section.active>.title{background:#d5d5d5}#bp-media-settings-boxes .section-container>section.active>.title a,#bp-media-settings-boxes .section-container>.section.active>.title a,#bp-media-settings-boxes .section-container.auto>section.active>.title a,#bp-media-settings-boxes .section-container.auto>.section.active>.title a{color:#333}#bp-media-settings-boxes .section-container>section>.title,#bp-media-settings-boxes .section-container>.section>.title,#bp-media-settings-boxes .section-container.auto>section>.title,#bp-media-settings-boxes .section-container.auto>.section>.title{top:0;width:100%;margin:0;border-top:solid 1px #ccc}#bp-media-settings-boxes .section-container>section>.title a,#bp-media-settings-boxes .section-container>.section>.title a,#bp-media-settings-boxes .section-container.auto>section>.title a,#bp-media-settings-boxes .section-container.auto>.section>.title a{width:100%}#bp-media-settings-boxes .section-container.tabs{border:0;position:relative}#bp-media-settings-boxes .section-container.tabs>section,#bp-media-settings-boxes .section-container.tabs>.section{border:0;position:static}#bp-media-settings-boxes .section-container.tabs>section>.title,#bp-media-settings-boxes .section-container.tabs>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container.tabs>section>.title a,#bp-media-settings-boxes .section-container.tabs>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container.tabs>section>.title:hover,#bp-media-settings-boxes .section-container.tabs>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container.tabs>section .content,#bp-media-settings-boxes .section-container.tabs>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container.tabs>section .content>*:last-child,#bp-media-settings-boxes .section-container.tabs>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container.tabs>section .content>*:first-child,#bp-media-settings-boxes .section-container.tabs>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container.tabs>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.tabs>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container.tabs>section.active>.content,#bp-media-settings-boxes .section-container.tabs>.section.active>.content{display:block}#bp-media-settings-boxes .section-container.tabs>section.active>.title,#bp-media-settings-boxes .section-container.tabs>.section.active>.title{background:#fff}#bp-media-settings-boxes .section-container.tabs>section.active>.title a,#bp-media-settings-boxes .section-container.tabs>.section.active>.title a{color:#333}#bp-media-settings-boxes .section-container.tabs>section>.title,#bp-media-settings-boxes .section-container.tabs>.section>.title{width:auto;border:solid 1px #ccc;border-right:0;border-bottom:0;position:absolute;top:0;z-index:1}#bp-media-settings-boxes .section-container.tabs>section>.title a,#bp-media-settings-boxes .section-container.tabs>.section>.title a{width:100%}#bp-media-settings-boxes .section-container.tabs>section:last-child .title,#bp-media-settings-boxes .section-container.tabs>.section:last-child .title{border-right:solid 1px #ccc}#bp-media-settings-boxes .section-container.tabs>section .content,#bp-media-settings-boxes .section-container.tabs>.section .content{border:solid 1px #ccc;position:absolute;z-index:10;display:none;top:-1px}#bp-media-settings-boxes .section-container.tabs>section.active>.title,#bp-media-settings-boxes .section-container.tabs>.section.active>.title{z-index:11;border-bottom:0;background-color:#fff}#bp-media-settings-boxes .section-container.tabs>section.active>.content,#bp-media-settings-boxes .section-container.tabs>.section.active>.content{position:relative}@media only screen and (min-width: 768px){#bp-media-settings-boxes .section-container.auto{border:0;position:relative}#bp-media-settings-boxes .section-container.auto>section,#bp-media-settings-boxes .section-container.auto>.section{border:0;position:static}#bp-media-settings-boxes .section-container.auto>section>.title,#bp-media-settings-boxes .section-container.auto>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container.auto>section>.title a,#bp-media-settings-boxes .section-container.auto>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container.auto>section>.title:hover,#bp-media-settings-boxes .section-container.auto>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container.auto>section .content,#bp-media-settings-boxes .section-container.auto>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container.auto>section .content>*:last-child,#bp-media-settings-boxes .section-container.auto>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container.auto>section .content>*:first-child,#bp-media-settings-boxes .section-container.auto>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container.auto>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.auto>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container.auto>section.active>.content,#bp-media-settings-boxes .section-container.auto>.section.active>.content{display:block}#bp-media-settings-boxes .section-container.auto>section.active>.title,#bp-media-settings-boxes .section-container.auto>.section.active>.title{background:#fff}#bp-media-settings-boxes .section-container.auto>section.active>.title a,#bp-media-settings-boxes .section-container.auto>.section.active>.title a{color:#333}#bp-media-settings-boxes .section-container.auto>section>.title,#bp-media-settings-boxes .section-container.auto>.section>.title{width:auto;border:solid 1px #ccc;border-right:0;border-bottom:0;position:absolute;top:0;z-index:1}#bp-media-settings-boxes .section-container.auto>section>.title a,#bp-media-settings-boxes .section-container.auto>.section>.title a{width:100%}#bp-media-settings-boxes .section-container.auto>section:last-child .title,#bp-media-settings-boxes .section-container.auto>.section:last-child .title{border-right:solid 1px #ccc}#bp-media-settings-boxes .section-container.auto>section .content,#bp-media-settings-boxes .section-container.auto>.section .content{border:solid 1px #ccc;position:absolute;z-index:10;display:none;top:-1px}#bp-media-settings-boxes .section-container.auto>section.active>.title,#bp-media-settings-boxes .section-container.auto>.section.active>.title{z-index:11;border-bottom:0;background-color:#fff}#bp-media-settings-boxes .section-container.auto>section.active>.content,#bp-media-settings-boxes .section-container.auto>.section.active>.content{position:relative}#bp-media-settings-boxes .section-container.accordion .section{padding-top:0 !important}#bp-media-settings-boxes .section-container.vertical-tabs{border:1px solid #ccc;position:relative}#bp-media-settings-boxes .section-container.vertical-tabs section,#bp-media-settings-boxes .section-container.vertical-tabs .section{padding-top:0 !important;border:0;position:static}#bp-media-settings-boxes .section-container.vertical-tabs section>.title,#bp-media-settings-boxes .section-container.vertical-tabs .section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container.vertical-tabs section>.title a,#bp-media-settings-boxes .section-container.vertical-tabs .section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container.vertical-tabs section>.title:hover,#bp-media-settings-boxes .section-container.vertical-tabs .section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container.vertical-tabs section .content,#bp-media-settings-boxes .section-container.vertical-tabs .section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container.vertical-tabs section .content>*:last-child,#bp-media-settings-boxes .section-container.vertical-tabs .section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container.vertical-tabs section .content>*:first-child,#bp-media-settings-boxes .section-container.vertical-tabs .section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container.vertical-tabs section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.vertical-tabs .section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container.vertical-tabs section.active>.content,#bp-media-settings-boxes .section-container.vertical-tabs .section.active>.content{display:block}#bp-media-settings-boxes .section-container.vertical-tabs section.active>.title,#bp-media-settings-boxes .section-container.vertical-tabs .section.active>.title{background:#d5d5d5}#bp-media-settings-boxes .section-container.vertical-tabs section.active>.title a,#bp-media-settings-boxes .section-container.vertical-tabs .section.active>.title a{color:#333}#bp-media-settings-boxes .section-container.vertical-tabs section>.title,#bp-media-settings-boxes .section-container.vertical-tabs .section>.title{position:absolute;border-top:solid 1px #ccc;width:12.5em}#bp-media-settings-boxes .section-container.vertical-tabs section:first-child .title,#bp-media-settings-boxes .section-container.vertical-tabs .section:first-child .title{border-top:0}#bp-media-settings-boxes .section-container.vertical-tabs section .content,#bp-media-settings-boxes .section-container.vertical-tabs .section .content{display:block;position:relative;left:12.5em;border-left:solid 1px #ccc;z-index:10}#bp-media-settings-boxes .section-container.vertical-tabs section.active>.title,#bp-media-settings-boxes .section-container.vertical-tabs .section.active>.title{background-color:#d5d5d5;width:12.5625em;border-right:solid 0 transparent;z-index:11}#bp-media-settings-boxes .section-container.vertical-tabs section.active:last-child .title,#bp-media-settings-boxes .section-container.vertical-tabs .section.active:last-child .title{border-bottom:0}#bp-media-settings-boxes .section-container.vertical-nav{border:0;position:relative}#bp-media-settings-boxes .section-container.vertical-nav>section,#bp-media-settings-boxes .section-container.vertical-nav>.section{padding-top:0 !important;position:relative}#bp-media-settings-boxes .section-container.vertical-nav>section>.title,#bp-media-settings-boxes .section-container.vertical-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container.vertical-nav>section>.title a,#bp-media-settings-boxes .section-container.vertical-nav>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container.vertical-nav>section>.title:hover,#bp-media-settings-boxes .section-container.vertical-nav>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container.vertical-nav>section .content,#bp-media-settings-boxes .section-container.vertical-nav>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container.vertical-nav>section .content>*:last-child,#bp-media-settings-boxes .section-container.vertical-nav>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container.vertical-nav>section .content>*:first-child,#bp-media-settings-boxes .section-container.vertical-nav>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container.vertical-nav>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.vertical-nav>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container.vertical-nav>section.active>.content,#bp-media-settings-boxes .section-container.vertical-nav>.section.active>.content{display:block}#bp-media-settings-boxes .section-container.vertical-nav>section.active>.title,#bp-media-settings-boxes .section-container.vertical-nav>.section.active>.title{background:#d5d5d5}#bp-media-settings-boxes .section-container.vertical-nav>section.active>.title a,#bp-media-settings-boxes .section-container.vertical-nav>.section.active>.title a{color:#333}#bp-media-settings-boxes .section-container.vertical-nav>section>.title,#bp-media-settings-boxes .section-container.vertical-nav>.section>.title{border-top:none;border:solid 1px #ccc}#bp-media-settings-boxes .section-container.vertical-nav>section>.title a,#bp-media-settings-boxes .section-container.vertical-nav>.section>.title a{display:block;width:100%}#bp-media-settings-boxes .section-container.vertical-nav>section .content,#bp-media-settings-boxes .section-container.vertical-nav>.section .content{display:none}#bp-media-settings-boxes .section-container.vertical-nav>section:first-child .title,#bp-media-settings-boxes .section-container.vertical-nav>.section:first-child .title{border-bottom:none}#bp-media-settings-boxes .section-container.vertical-nav>section.active>.content,#bp-media-settings-boxes .section-container.vertical-nav>.section.active>.content{display:block;position:absolute;left:100%;top:0px;z-index:999;min-width:12.5em;border:solid 1px #ccc}#bp-media-settings-boxes .section-container.horizontal-nav{position:relative;background:#efefef;border:1px solid #ccc}#bp-media-settings-boxes .section-container.horizontal-nav>section,#bp-media-settings-boxes .section-container.horizontal-nav>.section{padding-top:0;border:0;position:static}#bp-media-settings-boxes .section-container.horizontal-nav>section>.title,#bp-media-settings-boxes .section-container.horizontal-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .section-container.horizontal-nav>section>.title a,#bp-media-settings-boxes .section-container.horizontal-nav>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .section-container.horizontal-nav>section>.title:hover,#bp-media-settings-boxes .section-container.horizontal-nav>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .section-container.horizontal-nav>section .content,#bp-media-settings-boxes .section-container.horizontal-nav>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .section-container.horizontal-nav>section .content>*:last-child,#bp-media-settings-boxes .section-container.horizontal-nav>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .section-container.horizontal-nav>section .content>*:first-child,#bp-media-settings-boxes .section-container.horizontal-nav>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .section-container.horizontal-nav>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .section-container.horizontal-nav>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .section-container.horizontal-nav>section.active>.content,#bp-media-settings-boxes .section-container.horizontal-nav>.section.active>.content{display:block}#bp-media-settings-boxes .section-container.horizontal-nav>section.active>.title,#bp-media-settings-boxes .section-container.horizontal-nav>.section.active>.title{background:#d5d5d5}#bp-media-settings-boxes .section-container.horizontal-nav>section.active>.title a,#bp-media-settings-boxes .section-container.horizontal-nav>.section.active>.title a{color:#333}#bp-media-settings-boxes .section-container.horizontal-nav>section>.title,#bp-media-settings-boxes .section-container.horizontal-nav>.section>.title{width:auto;border:solid 1px #ccc;border-left:0;top:-1px;position:absolute;z-index:1}#bp-media-settings-boxes .section-container.horizontal-nav>section>.title a,#bp-media-settings-boxes .section-container.horizontal-nav>.section>.title a{width:100%}#bp-media-settings-boxes .section-container.horizontal-nav>section .content,#bp-media-settings-boxes .section-container.horizontal-nav>.section .content{display:none}#bp-media-settings-boxes .section-container.horizontal-nav>section.active>.content,#bp-media-settings-boxes .section-container.horizontal-nav>.section.active>.content{display:block;position:absolute;z-index:999;left:0;top:-2px;min-width:12.5em;border:solid 1px #ccc}}#bp-media-settings-boxes .no-js .section-container.auto,#bp-media-settings-boxes .no-js .section-container.accordion,#bp-media-settings-boxes .no-js .section-container.tabs,#bp-media-settings-boxes .no-js .section-container.vertical-tabs,#bp-media-settings-boxes .no-js .section-container.vertical-nav,#bp-media-settings-boxes .no-js .section-container.horizontal-nav{width:100%;display:block;margin-bottom:1.25em;border:1px solid #ccc;border-top:none}#bp-media-settings-boxes .no-js .section-container.auto>section,#bp-media-settings-boxes .no-js .section-container.auto>.section,#bp-media-settings-boxes .no-js .section-container.accordion>section,#bp-media-settings-boxes .no-js .section-container.accordion>.section,#bp-media-settings-boxes .no-js .section-container.tabs>section,#bp-media-settings-boxes .no-js .section-container.tabs>.section,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section{position:relative}#bp-media-settings-boxes .no-js .section-container.auto>section>.title,#bp-media-settings-boxes .no-js .section-container.auto>.section>.title,#bp-media-settings-boxes .no-js .section-container.accordion>section>.title,#bp-media-settings-boxes .no-js .section-container.accordion>.section>.title,#bp-media-settings-boxes .no-js .section-container.tabs>section>.title,#bp-media-settings-boxes .no-js .section-container.tabs>.section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section>.title{background-color:#efefef;cursor:pointer;margin-bottom:0}#bp-media-settings-boxes .no-js .section-container.auto>section>.title a,#bp-media-settings-boxes .no-js .section-container.auto>.section>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>section>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>.section>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>section>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>.section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section>.title a{padding:0.9375em;display:inline-block;color:#333;font-size:0.875em;white-space:nowrap}#bp-media-settings-boxes .no-js .section-container.auto>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.auto>.section>.title:hover,#bp-media-settings-boxes .no-js .section-container.accordion>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.accordion>.section>.title:hover,#bp-media-settings-boxes .no-js .section-container.tabs>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.tabs>.section>.title:hover,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section>.title:hover,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section>.title:hover,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section>.title:hover,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section>.title:hover{background-color:#e2e2e2}#bp-media-settings-boxes .no-js .section-container.auto>section .content,#bp-media-settings-boxes .no-js .section-container.auto>.section .content,#bp-media-settings-boxes .no-js .section-container.accordion>section .content,#bp-media-settings-boxes .no-js .section-container.accordion>.section .content,#bp-media-settings-boxes .no-js .section-container.tabs>section .content,#bp-media-settings-boxes .no-js .section-container.tabs>.section .content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .content{display:none;padding:0.9375em;background-color:#fff}#bp-media-settings-boxes .no-js .section-container.auto>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.auto>.section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.accordion>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.accordion>.section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.tabs>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.tabs>.section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .content>*:last-child,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .content>*:last-child{margin-bottom:0}#bp-media-settings-boxes .no-js .section-container.auto>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.auto>.section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.accordion>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.accordion>.section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.tabs>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.tabs>.section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .content>*:first-child,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .content>*:first-child{padding-top:0}#bp-media-settings-boxes .no-js .section-container.auto>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.auto>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.accordion>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.accordion>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.tabs>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.tabs>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .content>*:last-child:not(.flex-video),#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .content>*:last-child:not(.flex-video){padding-bottom:0}#bp-media-settings-boxes .no-js .section-container.auto>section.active>.content,#bp-media-settings-boxes .no-js .section-container.auto>.section.active>.content,#bp-media-settings-boxes .no-js .section-container.accordion>section.active>.content,#bp-media-settings-boxes .no-js .section-container.accordion>.section.active>.content,#bp-media-settings-boxes .no-js .section-container.tabs>section.active>.content,#bp-media-settings-boxes .no-js .section-container.tabs>.section.active>.content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section.active>.content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section.active>.content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section.active>.content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section.active>.content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section.active>.content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section.active>.content{display:block}#bp-media-settings-boxes .no-js .section-container.auto>section.active>.title,#bp-media-settings-boxes .no-js .section-container.auto>.section.active>.title,#bp-media-settings-boxes .no-js .section-container.accordion>section.active>.title,#bp-media-settings-boxes .no-js .section-container.accordion>.section.active>.title,#bp-media-settings-boxes .no-js .section-container.tabs>section.active>.title,#bp-media-settings-boxes .no-js .section-container.tabs>.section.active>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section.active>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section.active>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section.active>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section.active>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section.active>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section.active>.title{background:#d5d5d5}#bp-media-settings-boxes .no-js .section-container.auto>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.auto>.section.active>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>.section.active>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>.section.active>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section.active>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section.active>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section.active>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section.active>.title a{color:#333}#bp-media-settings-boxes .no-js .section-container.auto>section>.title,#bp-media-settings-boxes .no-js .section-container.auto>.section>.title,#bp-media-settings-boxes .no-js .section-container.accordion>section>.title,#bp-media-settings-boxes .no-js .section-container.accordion>.section>.title,#bp-media-settings-boxes .no-js .section-container.tabs>section>.title,#bp-media-settings-boxes .no-js .section-container.tabs>.section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section>.title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section>.title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section>.title{top:0;width:100%;margin:0;border-top:solid 1px #ccc}#bp-media-settings-boxes .no-js .section-container.auto>section>.title a,#bp-media-settings-boxes .no-js .section-container.auto>.section>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>section>.title a,#bp-media-settings-boxes .no-js .section-container.accordion>.section>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>section>.title a,#bp-media-settings-boxes .no-js .section-container.tabs>.section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section>.title a,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section>.title a,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section>.title a{width:100%}#bp-media-settings-boxes .no-js .section-container.auto>section .title,#bp-media-settings-boxes .no-js .section-container.auto>.section .title,#bp-media-settings-boxes .no-js .section-container.accordion>section .title,#bp-media-settings-boxes .no-js .section-container.accordion>.section .title,#bp-media-settings-boxes .no-js .section-container.tabs>section .title,#bp-media-settings-boxes .no-js .section-container.tabs>.section .title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .title,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .title,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .title,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .title{position:static;width:100%;border-left:0;border-right:0}#bp-media-settings-boxes .no-js .section-container.auto>section .content,#bp-media-settings-boxes .no-js .section-container.auto>.section .content,#bp-media-settings-boxes .no-js .section-container.accordion>section .content,#bp-media-settings-boxes .no-js .section-container.accordion>.section .content,#bp-media-settings-boxes .no-js .section-container.tabs>section .content,#bp-media-settings-boxes .no-js .section-container.tabs>.section .content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>section .content,#bp-media-settings-boxes .no-js .section-container.vertical-tabs>.section .content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>section .content,#bp-media-settings-boxes .no-js .section-container.vertical-nav>.section .content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>section .content,#bp-media-settings-boxes .no-js .section-container.horizontal-nav>.section .content{position:static;display:block;width:100%;border-left:0;border-right:0;border-bottom:0}#bp-media-settings-boxes .has-switch{border-radius:0}#bp-media-settings-boxes .has-switch label{padding:6px;border-radius:0}#bp-media-settings-boxes .has-switch span.switch-left{border-radius:0}#bp-media-settings-boxes .has-switch span.switch-right{border-radius:0}#bp-media-settings-boxes .section-container section>.title a{font-size:13px;text-decoration:none;font-weight:bold;color:#555}#bp-media-settings-boxes .section-container section>.title a:hover{color:#000}#bp-media-settings-boxes .section-container section.active .title a{color:#000}#bp-media-settings-boxes .section-container .rtmedia-size-content-setting .rt-form-dimension input[type="text"]{margin-left:32px}#bp-media-settings-boxes .section-container .rtmedia-size-content-setting .rt-form-dimension span{margin-left:36px}#bp-media-settings-boxes .section-container.vertical-tabs section>.title a,#bp-media-settings-boxes .section-container.auto section>.title a{font-size:13px}#bp-media-settings-boxes .section-container.vertical-tabs section.active>.title a,#bp-media-settings-boxes .section-container.auto section.active>.title a{color:#000}#bp-media-settings-boxes .global-album-settings .default-global-albums{padding:5px 0;overflow:hidden}#bp-media-settings-boxes .global-album-settings .default-global-albums:hover{background-color:#EEE}
app/assets/js/admin.js CHANGED
@@ -60,10 +60,10 @@ jQuery(document).ready(function($) {
60
61
jQuery('#bp-media-settings-boxes').on('submit', '#bp_media_settings_form,#rtmedia-settings-submit', function(e) {
62
var return_code = true;
63
- var reg = new RegExp('^auto$|^[+-]?[0-9]+\\.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)?#x27;)
64
jQuery("input[name*='defaultSizes']").each(function(el) {
65
if (!reg.test(jQuery(this).val())) {
66
- alert("Invalid value for " + jQuery(this).attr('name').replace('rtmedia-options[', '').replace(']', '').replace(/_/g, ' '))
67
return_code = false;
68
return false;
69
}
@@ -93,7 +93,7 @@ jQuery(document).ready(function($) {
93
} else {
94
jQuery('.encoding-try-now').next().remove();
95
jQuery('#settings-error-encoding-error').remove();
96
- jQuery('h2:first').after('<div class="error" id="settings-error-encoding-error"><p>' + response.error + '</p></div>');
97
}
98
});
99
}
@@ -490,7 +490,7 @@ jQuery(document).ready(function($) {
490
});
491
492
493
- jQuery("#rtm-settings-tabs,#rtm-addons").sliderTabs({
494
autoplay: false,
495
mousewheel: false,
496
defaultTab: manageHash()
@@ -545,4 +545,6 @@ jQuery(document).ready(function($) {
545
e.preventDefault();
546
manageHash();
547
});
548
});
60
61
jQuery('#bp-media-settings-boxes').on('submit', '#bp_media_settings_form,#rtmedia-settings-submit', function(e) {
62
var return_code = true;
63
+ var reg = new RegExp('^auto$|^[+-]?[0-9]+\\.?([0-9]+)?(px|em|ex|%|in|cm|mm|pt|pc)?#x27;);
64
jQuery("input[name*='defaultSizes']").each(function(el) {
65
if (!reg.test(jQuery(this).val())) {
66
+ alert("Invalid value for " + jQuery(this).attr('name').replace('rtmedia-options[', '').replace(']', '').replace(/_/g, ' '));
67
return_code = false;
68
return false;
69
}
93
} else {
94
jQuery('.encoding-try-now').next().remove();
95
jQuery('#settings-error-encoding-error').remove();
96
+ jQuery('#bp-media-settings-boxes').before('<div class="error" id="settings-error-encoding-error"><p>' + response.error + '</p></div>');
97
}
98
});
99
}
490
});
491
492
493
+ jQuery("#rtm-addons").sliderTabs({
494
autoplay: false,
495
mousewheel: false,
496
defaultTab: manageHash()
545
e.preventDefault();
546
manageHash();
547
});
548
+ if(jQuery(document).foundation !== undefined)
549
+ jQuery(document).foundation('section');
550
});
app/assets/js/rtMedia.backbone.js CHANGED
@@ -3,7 +3,7 @@ var nextpage = 2;
3
var upload_sync = false;
4
var activity_id = -1;
5
var uploaderObj;
6
-
7
jQuery(function($) {
8
9
@@ -209,7 +209,9 @@ jQuery(function($) {
209
render: function() {
210
211
},
212
- initUploader: function() {
213
this.uploader.init();
214
//The plupload HTML5 code gives a negative z-index making add files button unclickable
215
$(".plupload.html5").css({
@@ -218,7 +220,8 @@ jQuery(function($) {
218
$("#rtMedia-upload-button").css({
219
zIndex: 2
220
});
221
- $("#rtMedia-upload-button").after("<span>(Max file size is " + plupload.formatSize(this.uploader.settings.max_file_size) + ")</span>")
222
223
return this;
224
},
@@ -267,7 +270,8 @@ jQuery(function($) {
267
tdSize.innerHTML = plupload.formatSize(file.size);
268
tdDelete = document.createElement("td");
269
tdDelete.innerHTML = "X";
270
- tdDelete.className = "plupload_delete"
271
tr = document.createElement("tr");
272
tr.id = file.id;
273
tr.appendChild(tdName);
@@ -278,7 +282,8 @@ jQuery(function($) {
278
//Delete Function
279
$("#" + file.id + " td.plupload_delete").click(function(e) {
280
e.preventDefault();
281
- uploaderObj.uploader.removeFile(uploader.getFile(file.id));
282
$("#" + file.id).remove();
283
return false;
284
});
@@ -302,7 +307,7 @@ jQuery(function($) {
302
}
303
});
304
uploaderObj.uploader.bind('BeforeUpload', function(up, file) {
305
- up.settings.multipart_params.privacy = $("#rtm-file_upload-ui select#privacy").val();
306
if (jQuery("#rt_upload_hf_redirect").length > 0)
307
up.settings.multipart_params.redirect = up.files.length;
308
jQuery("#rtmedia-uploader-form input[type=hidden]").each(function() {
@@ -322,7 +327,7 @@ jQuery(function($) {
322
else
323
uploaderObj.upload_count++;
324
325
- if (uploaderObj.upload_count == up.files.length && jQuery("#rt_upload_hf_redirect").length > 0 && res.response.indexOf("http") == 0) {
326
window.location = res.response;
327
}
328
}
@@ -338,8 +343,9 @@ jQuery(function($) {
338
} catch (e) {
339
// console.log('Invalid Activity ID');
340
}
341
-
342
});
343
344
$("#rtMedia-start-upload").click(function(e) {
345
uploaderObj.uploadFiles(e);
@@ -374,17 +380,17 @@ jQuery(document).ready(function($) {
374
var activity_attachemnt_ids = [];
375
if ($("#rtmedia-add-media-button-post-update").length > 0) {
376
$("#whats-new-options").prepend($("#rtmedia-action-update"));
377
- if ($("#privacy").length > 0) {
378
- $("#rtmedia-action-update").append($("#privacy"));
379
}
380
}
381
- var objUploadView = new UploadView(rtMedia_update_plupload_config);
382
$("#whats-new-form").on('click', '#rtmedia-add-media-button-post-update', function(e) {
383
$("#div-attache-rtmedia").toggle();
384
objUploadView.uploader.refresh();
385
- })
386
//whats-new-post-in
387
-
388
389
objUploadView.uploader.bind('FilesAdded', function(up, files) {
390
//$("#aw-whats-new-submit").attr('disabled', 'disabled');
@@ -403,6 +409,19 @@ jQuery(document).ready(function($) {
403
});
404
405
objUploadView.uploader.bind('FileUploaded', function(up, file, res) {
406
if (res.status == 200) {
407
try {
408
var objIds = JSON.parse(res.response);
@@ -432,7 +451,7 @@ jQuery(document).ready(function($) {
432
433
up.settings.multipart_params.context = object;
434
up.settings.multipart_params.context_id = item_id;
435
- up.settings.multipart_params.privacy = jQuery("select#privacy").val();
436
});
437
objUploadView.uploader.bind('UploadComplete', function(up, files) {
438
media_uploading = true;
@@ -459,7 +478,7 @@ jQuery(document).ready(function($) {
459
while (activity_attachemnt_ids.length > 0) {
460
options.data += "&rtMedia_attached_files[]=" + activity_attachemnt_ids.pop();
461
}
462
- options.data += "&rtmedia-privacy=" + jQuery("select#privacy").val();
463
activity_attachemnt_ids = temp;
464
var orignalSuccess = originalOptions.success;
465
options.beforeSend = function() {
@@ -579,8 +598,8 @@ jQuery(document).ready(function($) {
579
580
});
581
jQuery("#div-attache-rtmedia").find("input[type=file]").each(function() {
582
- $(this).attr("capture", "camera");
583
- $(this).attr("accept", $(this).attr("accept") + ';capture=camera');
584
585
});
586
});
3
var upload_sync = false;
4
var activity_id = -1;
5
var uploaderObj;
6
+
7
jQuery(function($) {
8
9
209
render: function() {
210
211
},
212
+ initUploader: function(a) {
213
+
214
+ if(typeof(a)!=="undefined") a=false;// if rtmediapro widget calls the function, dont show max size note.
215
this.uploader.init();
216
//The plupload HTML5 code gives a negative z-index making add files button unclickable
217
$(".plupload.html5").css({
220
$("#rtMedia-upload-button").css({
221
zIndex: 2
222
});
223
+ if(a!==false)
224
+ $("#rtMedia-upload-button").after("<span>(Max file size is " + plupload.formatSize(this.uploader.settings.max_file_size) + ")</span>")
225
226
return this;
227
},
270
tdSize.innerHTML = plupload.formatSize(file.size);
271
tdDelete = document.createElement("td");
272
tdDelete.innerHTML = "X";
273
+ tdDelete.title = "Close";
274
+ tdDelete.className = "close plupload_delete"
275
tr = document.createElement("tr");
276
tr.id = file.id;
277
tr.appendChild(tdName);
282
//Delete Function
283
$("#" + file.id + " td.plupload_delete").click(function(e) {
284
e.preventDefault();
285
+ //console.log(up.getFile(file.id));
286
+ uploaderObj.uploader.removeFile(up.getFile(file.id));
287
$("#" + file.id).remove();
288
return false;
289
});
307
}
308
});
309
uploaderObj.uploader.bind('BeforeUpload', function(up, file) {
310
+ up.settings.multipart_params.privacy = $("#rtm-file_upload-ui select.privacy").val();
311
if (jQuery("#rt_upload_hf_redirect").length > 0)
312
up.settings.multipart_params.redirect = up.files.length;
313
jQuery("#rtmedia-uploader-form input[type=hidden]").each(function() {
327
else
328
uploaderObj.upload_count++;
329
330
+ if (uploaderObj.upload_count == up.files.length && jQuery("#rt_upload_hf_redirect").length > 0 && jQuery.trim(res.response.indexOf("http") == 0)) {
331
window.location = res.response;
332
}
333
}
343
} catch (e) {
344
// console.log('Invalid Activity ID');
345
}
346
});
347
+
348
+ uploaderObj.uploader.refresh();//refresh the uploader for opera/IE fix on media page
349
350
$("#rtMedia-start-upload").click(function(e) {
351
uploaderObj.uploadFiles(e);
380
var activity_attachemnt_ids = [];
381
if ($("#rtmedia-add-media-button-post-update").length > 0) {
382
$("#whats-new-options").prepend($("#rtmedia-action-update"));
383
+ if ($("#rtm-file_upload-ui .privacy").length > 0) {
384
+ $("#rtmedia-action-update").append($("#rtm-file_upload-ui .privacy"));
385
}
386
}
387
+ window.objUploadView = new UploadView(rtMedia_update_plupload_config);
388
$("#whats-new-form").on('click', '#rtmedia-add-media-button-post-update', function(e) {
389
$("#div-attache-rtmedia").toggle();
390
objUploadView.uploader.refresh();
391
+ });
392
//whats-new-post-in
393
+
394
395
objUploadView.uploader.bind('FilesAdded', function(up, files) {
396
//$("#aw-whats-new-submit").attr('disabled', 'disabled');
409
});
410
411
objUploadView.uploader.bind('FileUploaded', function(up, file, res) {
412
+ if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) { //test for MSIE x.x;
413
+ var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
414
+
415
+ if(ieversion <10) {
416
+ try {
417
+ if( typeof JSON.parse(res.response) !== "undefined" )
418
+ res.status = 200;
419
+ console.log(res.status);
420
+ }
421
+ catch(e){}
422
+ }
423
+ }
424
+
425
if (res.status == 200) {
426
try {
427
var objIds = JSON.parse(res.response);
451
452
up.settings.multipart_params.context = object;
453
up.settings.multipart_params.context_id = item_id;
454
+ up.settings.multipart_params.privacy = jQuery("select.privacy").val();
455
});
456
objUploadView.uploader.bind('UploadComplete', function(up, files) {
457
media_uploading = true;
478
while (activity_attachemnt_ids.length > 0) {
479
options.data += "&rtMedia_attached_files[]=" + activity_attachemnt_ids.pop();
480
}
481
+ options.data += "&rtmedia-privacy=" + jQuery("select.privacy").val();
482
activity_attachemnt_ids = temp;
483
var orignalSuccess = originalOptions.success;
484
options.beforeSend = function() {
598
599
});
600
jQuery("#div-attache-rtmedia").find("input[type=file]").each(function() {
601
+ //$(this).attr("capture", "camera");
602
+ // $(this).attr("accept", $(this).attr("accept") + ';capture=camera');
603
604
});
605
});
app/assets/sass/main.scss CHANGED
@@ -188,6 +188,12 @@
188
overflow: hidden;
189
}
190
}
191
}
192
.rtmedia-single-meta{
193
div{
@@ -274,6 +280,11 @@
274
border-top-left-radius: 3px;
275
border-color: #CCC #CCC #DFDFDF;
276
}
277
}
278
.rtmedia-activity-container {
279
@extend .rtmedia-container;
@@ -389,3 +400,11 @@
389
@include border-radius(4px);
390
background-color: #E74C3C;
391
}
188
overflow: hidden;
189
}
190
}
191
+ .rtmedia-media-title {
192
+ margin: 0 0 5px 0;
193
+ display: block;
194
+ font-weight: bold;
195
+ letter-spacing: 1px;
196
+ }
197
}
198
.rtmedia-single-meta{
199
div{
280
border-top-left-radius: 3px;
281
border-color: #CCC #CCC #DFDFDF;
282
}
283
+ .rtmedia-change-cover-arts {
284
+ p {
285
+ padding: 5px 0;
286
+ }
287
+ }
288
}
289
.rtmedia-activity-container {
290
@extend .rtmedia-container;
400
@include border-radius(4px);
401
background-color: #E74C3C;
402
}
403
+ .rtmp-uploaded-file {
404
+ width: 100%;
405
+ }
406
+ .close {
407
+ cursor: pointer;
408
+ color : red;
409
+ }
410
+
app/assets/sass/settings.scss ADDED
@@ -0,0 +1,82 @@
1
+ #bp-media-settings-boxes{
2
+ @import "foundation/components/global"; // *always required
3
+ @import "foundation/components/section";
4
+ margin: 0;
5
+ .has-switch {
6
+ border-radius: 0
7
+ }
8
+ .has-switch label {
9
+ padding: 6px;
10
+ border-radius: 0;
11
+ }
12
+ .has-switch span.switch-left {
13
+ border-radius: 0;
14
+ }
15
+ .has-switch span.switch-right {
16
+ border-radius: 0;
17
+ }
18
+ .section-container {
19
+ section {
20
+ > {
21
+ .title {
22
+ a {
23
+ font-size: 13px;
24
+ text-decoration: none;
25
+ font-weight: bold;
26
+ color: #555;
27
+ &:hover {
28
+ color: #000;
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
34
+ section.active {
35
+ .title {
36
+ a {
37
+ color: #000;
38
+ }
39
+ }
40
+ }
41
+ .rtmedia-size-content-setting {
42
+ .rt-form-dimension {
43
+ input[type="text"] {
44
+ margin-left: 32px;
45
+ }
46
+ span {
47
+ margin-left: 36px;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ .section-container.vertical-tabs, .section-container.auto {
53
+ section {
54
+ > {
55
+ .title {
56
+ a {
57
+ font-size: 13px;
58
+ }
59
+ }
60
+ }
61
+ }
62
+ section.active {
63
+ > {
64
+ .title {
65
+ a {
66
+ color: #000;
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ .global-album-settings {
73
+ .default-global-albums {
74
+ padding: 5px 0;
75
+ overflow: hidden;
76
+ &:hover {
77
+ background-color: #EEE;
78
+ }
79
+ }
80
+ }
81
+ }
82
+
app/helper/RTMediaAddon.php CHANGED
@@ -96,7 +96,7 @@ if (!class_exists('RTMediaAddon')) {
96
'title' => __('rtMedia Photo Tagging', 'rtmedia'),
97
'img_src' => 'http://rtcamp.com/wp-content/uploads/2013/04/bpm-photo-tagging.png',
98
'product_link' => 'http://rtcamp.com/store/buddypress-media-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
99
- 'desc' => '<p>' . __('rtMedia Instagram adds Instagram like filters to images uploaded with rtMedia.', 'rtmedia') . '</p>
100
<p><strong>' . __('Important', 'rtmedia') . ':</strong> ' . __('You need to have ImageMagick installed on your server for this addon to work.', 'rtmedia') . '</p>',
101
'price' => '$49',
102
'demo_link' => 'http://demo.rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
96
'title' => __('rtMedia Photo Tagging', 'rtmedia'),
97
'img_src' => 'http://rtcamp.com/wp-content/uploads/2013/04/bpm-photo-tagging.png',
98
'product_link' => 'http://rtcamp.com/store/buddypress-media-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
99
+ 'desc' => '<p>' . __('rtMedia Photo Tagging add-on enables tagging on photos uploaded using BuddyPress Media.', 'rtmedia') . '</p>
100
<p><strong>' . __('Important', 'rtmedia') . ':</strong> ' . __('You need to have ImageMagick installed on your server for this addon to work.', 'rtmedia') . '</p>',
101
'price' => '$49',
102
'demo_link' => 'http://demo.rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
app/helper/RTMediaInteractionModel.php ADDED
@@ -0,0 +1,47 @@
1
+ <?php
2
+
3
+ /*
4
+ * To change this template, choose Tools | Templates
5
+ * and open the template in the editor.
6
+ */
7
+
8
+ /**
9
+ * Description of RTMediaInteractionModel
10
+ *
11
+ * @author ritz
12
+ */
13
+ class RTMediaInteractionModel extends RTDBModel {
14
+
15
+ function __construct () {
16
+ parent::__construct ( 'rtm_media_interaction' );
17
+ }
18
+
19
+ function check($user_id = "", $media_id = "", $action = "") {
20
+ if($user_id == "" || $media_id == "" || $action == "")
21
+ return false;
22
+ $columns = array(
23
+ 'user_id' => $user_id,
24
+ 'media_id' => $media_id,
25
+ 'action' => $action
26
+ );
27
+ $results = $this->get($columns);
28
+ if($results)
29
+ return true;
30
+ else
31
+ return false;
32
+ }
33
+
34
+ function get_row($user_id = "", $media_id = "", $action = "") {
35
+ if($user_id == "" || $media_id == "" || $action == "")
36
+ return false;
37
+ $columns = array(
38
+ 'user_id' => $user_id,
39
+ 'media_id' => $media_id,
40
+ 'action' => $action
41
+ );
42
+ $results = $this->get($columns);
43
+ return $results;
44
+ }
45
+ }
46
+
47
+ ?>
app/helper/RTMediaSettings.php CHANGED
@@ -1,4 +1,5 @@
1
<?php
2
/**
3
* Description of RTMediaSettings
4
*
@@ -9,8 +10,9 @@ if (!class_exists('RTMediaSettings')) {
9
10
class RTMediaSettings {
11
12
- public function __construct() {
13
- if ( !(defined('DOING_AJAX') && DOING_AJAX) )
14
add_action('admin_init', array($this, 'settings'));
15
// if (is_multisite()) {
16
// add_action('network_admin_notices', array($this, 'privacy_notice'));
@@ -24,68 +26,75 @@ if (!class_exists('RTMediaSettings')) {
24
*
25
* @global string 'rtmedia'
26
*/
27
28
- function sanitize_options($options) {
29
-
30
- global $rtmedia;
31
-
32
- $defaults = array(
33
- 'general_enableAlbums' => 0,
34
- 'general_enableComments' => 0,
35
- 'general_downloadButton' => 0,
36
- 'general_enableLightbox' => 0,
37
- 'general_perPageMedia' => 10,
38
- 'general_enableMediaEndPoint' => 0,
39
- 'general_showAdminMenu' => 0,
40
- );
41
-
42
- foreach($rtmedia->allowed_types as $type){
43
- // invalid keys handled in sanitize method
44
- $defaults['allowedTypes_'.$type['name'].'_enabled'] = 0;
45
- $defaults['allowedTypes_'.$type['name'].'_featured'] = 0;
46
- }
47
-
48
- /* Previous Sizes values from buddypress is migrated */
49
- foreach ($rtmedia->default_sizes as $type => $typeValue) {
50
- foreach ($typeValue as $size => $sizeValue) {
51
- foreach ($sizeValue as $dimension => $value) {
52
- $defaults['defaultSizes_'.$type.'_'.$size.'_'.$dimension] = 0;
53
- }
54
- }
55
- }
56
-
57
- /* Privacy */
58
- $defaults['privacy_enabled'] = 0;
59
- $defaults['privacy_default'] = 0;
60
- $defaults['privacy_userOverride'] = 0;
61
-
62
- $defaults['buddypress_enableOnGroup'] = 0;
63
- $defaults['buddypress_enableOnActivity'] = 0;
64
- $defaults['buddypress_enableOnProfile'] = 0;
65
-
66
- $options = wp_parse_args($options, $defaults);
67
-
68
- return $options;
69
- }
70
71
/**
72
*
73
* @global BPMediaAddon $rtmedia_addon
74
*/
75
- public function settings() {
76
global $rtmedia, $rtmedia_addon;
77
-
78
- // Save Settings first then proceed.
79
- if(isset($_POST['rtmedia-options-save'])) {
80
-
81
- $options = $_POST['rtmedia-options'];
82
- $options = $this->sanitize_options($options);
83
-
84
- rtmedia_update_site_option('rtmedia-options', $options);
85
- global $rtmedia;
86
- $rtmedia->options = $options;
87
- }
88
-
89
$rtmedia_addon = new RTMediaAddon();
90
add_settings_section('rtm-addons', __('BuddyPress Media Addons for Photos', 'rtmedia'), array($rtmedia_addon, 'get_addons'), 'rtmedia-addons');
91
@@ -96,13 +105,13 @@ if (!class_exists('RTMediaSettings')) {
96
// add_filter('rtmedia_add_sub_tabs', array($rtmedia_privacy, 'ui'), 99, 2);
97
// add_settings_section('rtm-privacy', __('Update Database', 'rtmedia'), array($rtmedia_privacy, 'init'), 'rtmedia-privacy');
98
// }
99
-
100
//$rtmedia_album_importer = new BPMediaAlbumimporter();
101
//add_settings_section('rtm-rt-album-importer', __('BP-Album Importer', 'rtmedia'), array($rtmedia_album_importer, 'ui'), 'rtmedia-importer');
102
//register_setting('rtmedia', 'rtmedia_options', array($this, 'sanitize'));
103
}
104
105
- public function network_notices() {
106
$flag = 1;
107
if (rtmedia_get_site_option('rtm-media-enable', false)) {
108
echo '<div id="setting-error-bpm-media-enable" class="error"><p><strong>' . rtmedia_get_site_option('rtm-media-enable') . '</strong></p></div>';
@@ -124,7 +133,8 @@ if (!class_exists('RTMediaSettings')) {
124
echo '<div id="setting-error-bpm-recount-success" class="updated"><p><strong>' . rtmedia_get_site_option('rtm-recount-success') . '</strong></p></div>';
125
delete_site_option('rtm-recount-success');
126
$flag = 0;
127
- } elseif (rtmedia_get_site_option('rtm-recount-fail', false)) {
128
echo '<div id="setting-error-bpm-recount-fail" class="error"><p><strong>' . rtmedia_get_site_option('rtm-recount-fail') . '</strong></p></div>';
129
delete_site_option('rtm-recount-fail');
130
$flag = 0;
@@ -136,7 +146,8 @@ if (!class_exists('RTMediaSettings')) {
136
delete_site_option('rtm-settings-saved');
137
}
138
139
- public function allowed_types() {
140
$allowed_types = get_site_option('upload_filetypes', 'jpg jpeg png gif');
141
$allowed_types = explode(' ', $allowed_types);
142
$allowed_types = implode(', ', $allowed_types);
@@ -153,7 +164,8 @@ if (!class_exists('RTMediaSettings')) {
153
* @param type $input
154
* @return type
155
*/
156
- public function sanitize($input) {
157
global $rtmedia_admin;
158
if (isset($_POST['refresh-count'])) {
159
if ($rtmedia_admin->update_count()) {
@@ -197,16 +209,19 @@ if (!class_exists('RTMediaSettings')) {
197
return $input;
198
}
199
200
- public function image_settings_intro() {
201
if (is_plugin_active('regenerate-thumbnails/regenerate-thumbnails.php')) {
202
$regenerate_link = admin_url('/tools.php?page=regenerate-thumbnails');
203
- } elseif (array_key_exists('regenerate-thumbnails/regenerate-thumbnails.php', get_plugins())) {
204
$regenerate_link = admin_url('/plugins.php#regenerate-thumbnails');
205
- } else {
206
$regenerate_link = wp_nonce_url(admin_url('update.php?action=install-plugin&plugin=regenerate-thumbnails'), 'install-plugin_regenerate-thumbnails');
207
}
208
echo '<span class="description">' . sprintf(__('If you make changes to width, height or crop settings, you must use "<a href="%s">Regenerate Thumbnail Plugin</a>" to regenerate old images."', 'rtmedia'), $regenerate_link) . '</span>';
209
- echo '<div class="clearfix">&nbsp;</div>';
210
}
211
212
/**
@@ -215,8 +230,8 @@ if (!class_exists('RTMediaSettings')) {
215
* @global array $rtmedia
216
* @param array $args
217
*/
218
-
219
- public function privacy_notice() {
220
if (current_user_can('create_users')) {
221
// if (BPMediaPrivacy::is_installed())
222
// return;
@@ -234,7 +249,8 @@ if (!class_exists('RTMediaSettings')) {
234
}
235
}
236
237
- public function rtmedia_support_intro() {
238
echo '<p>' . __('If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://rtcamp.com/groups/buddypress-media/forum/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">rtCamp Support Forum</a>.', 'rtmedia') . '</p>';
239
echo '<p>' . __('If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/buddypress-media/issues/new">GitHub</a>.', 'rtmedia') . '</p>';
240
}
1
<?php
2
+
3
/**
4
* Description of RTMediaSettings
5
*
10
11
class RTMediaSettings {
12
13
+ public
14
+ function __construct() {
15
+ if (!(defined('DOING_AJAX') && DOING_AJAX))
16
add_action('admin_init', array($this, 'settings'));
17
// if (is_multisite()) {
18
// add_action('network_admin_notices', array($this, 'privacy_notice'));
26
*
27
* @global string 'rtmedia'
28
*/
29
+ function sanitize_options($options) {
30
+
31
+ global $rtmedia;
32
+
33
+ $defaults = array(
34
+ 'general_enableAlbums' => 0,
35
+ 'general_enableComments' => 0,
36
+ 'general_downloadButton' => 0,
37
+ 'general_enableLightbox' => 0,
38
+ 'general_perPageMedia' => 10,
39
+ 'general_enableMediaEndPoint' => 0,
40
+ 'general_showAdminMenu' => 0,
41
+ 'general_videothumbs' => 2
42
+ );
43
+
44
+ $defaults = apply_filters('rtmedia_general_content_default_values', $defaults);
45
+ foreach ($rtmedia->allowed_types as $type) {
46
+ // invalid keys handled in sanitize method
47
+ $defaults['allowedTypes_' . $type['name'] . '_enabled'] = 0;
48
+ $defaults['allowedTypes_' . $type['name'] . '_featured'] = 0;
49
+ }
50
51
+ /* Previous Sizes values from buddypress is migrated */
52
+ foreach ($rtmedia->default_sizes as $type => $typeValue) {
53
+ foreach ($typeValue as $size => $sizeValue) {
54
+ foreach ($sizeValue as $dimension => $value) {
55
+ $defaults['defaultSizes_' . $type . '_' . $size . '_' . $dimension] = 0;
56
+ }
57
+ }
58
+ }
59
60
+ /* Privacy */
61
+ $defaults['privacy_enabled'] = 0;
62
+ $defaults['privacy_default'] = 0;
63
+ $defaults['privacy_userOverride'] = 0;
64
+
65
+ $defaults['buddypress_enableOnGroup'] = 0;
66
+ $defaults['buddypress_enableOnActivity'] = 0;
67
+ $defaults['buddypress_enableOnProfile'] = 0;
68
+ if(isset($options["general_videothumbs"]) && is_numeric($options["general_videothumbs"]) && intval($options["general_videothumbs"]) > 10){
69
+ $options["general_videothumbs"] = 10;
70
+ add_action ( 'admin_notices', array( &$this, 'add_max_video_thumb_notice' ) );
71
+ }
72
+ $options = wp_parse_args($options, $defaults);
73
+
74
+ return $options;
75
+ }
76
+ function add_max_video_thumb_notice(){
77
+ echo '<div class="error"><p>' . __("Max Video thumbnail size is ") .' <strong>10</strong></p></div>';
78
+ }
79
/**
80
*
81
* @global BPMediaAddon $rtmedia_addon
82
*/
83
+ public
84
+ function settings() {
85
global $rtmedia, $rtmedia_addon;
86
+ $options = rtmedia_get_site_option('rtmedia-options');
87
+ $options = $this->sanitize_options($options);
88
+ $rtmedia->options = $options;
89
+ // Save Settings first then proceed.
90
+ if (isset($_POST['rtmedia-options-save'])) {
91
+ $options = $_POST['rtmedia-options'];
92
+ $options = $this->sanitize_options($options);
93
+ $options = apply_filters("rtmedia_pro_options_save_settings", $options);
94
+ rtmedia_update_site_option('rtmedia-options', $options);
95
+ global $rtmedia;
96
+ $rtmedia->options = $options;
97
+ }
98
$rtmedia_addon = new RTMediaAddon();
99
add_settings_section('rtm-addons', __('BuddyPress Media Addons for Photos', 'rtmedia'), array($rtmedia_addon, 'get_addons'), 'rtmedia-addons');
100
105
// add_filter('rtmedia_add_sub_tabs', array($rtmedia_privacy, 'ui'), 99, 2);
106
// add_settings_section('rtm-privacy', __('Update Database', 'rtmedia'), array($rtmedia_privacy, 'init'), 'rtmedia-privacy');
107
// }
108
//$rtmedia_album_importer = new BPMediaAlbumimporter();
109
//add_settings_section('rtm-rt-album-importer', __('BP-Album Importer', 'rtmedia'), array($rtmedia_album_importer, 'ui'), 'rtmedia-importer');
110
//register_setting('rtmedia', 'rtmedia_options', array($this, 'sanitize'));
111
}
112
113
+ public
114
+ function network_notices() {
115
$flag = 1;
116
if (rtmedia_get_site_option('rtm-media-enable', false)) {
117
echo '<div id="setting-error-bpm-media-enable" class="error"><p><strong>' . rtmedia_get_site_option('rtm-media-enable') . '</strong></p></div>';
133
echo '<div id="setting-error-bpm-recount-success" class="updated"><p><strong>' . rtmedia_get_site_option('rtm-recount-success') . '</strong></p></div>';
134
delete_site_option('rtm-recount-success');
135
$flag = 0;
136
+ }
137
+ elseif (rtmedia_get_site_option('rtm-recount-fail', false)) {
138
echo '<div id="setting-error-bpm-recount-fail" class="error"><p><strong>' . rtmedia_get_site_option('rtm-recount-fail') . '</strong></p></div>';
139
delete_site_option('rtm-recount-fail');
140
$flag = 0;
146
delete_site_option('rtm-settings-saved');
147
}
148
149
+ public
150
+ function allowed_types() {
151
$allowed_types = get_site_option('upload_filetypes', 'jpg jpeg png gif');
152
$allowed_types = explode(' ', $allowed_types);
153
$allowed_types = implode(', ', $allowed_types);
164
* @param type $input
165
* @return type
166
*/
167
+ public
168
+ function sanitize($input) {
169
global $rtmedia_admin;
170
if (isset($_POST['refresh-count'])) {
171
if ($rtmedia_admin->update_count()) {
209
return $input;
210
}
211
212
+ public
213
+ function image_settings_intro() {
214
if (is_plugin_active('regenerate-thumbnails/regenerate-thumbnails.php')) {
215
$regenerate_link = admin_url('/tools.php?page=regenerate-thumbnails');
216
+ }
217
+ elseif (array_key_exists('regenerate-thumbnails/regenerate-thumbnails.php', get_plugins())) {
218
$regenerate_link = admin_url('/plugins.php#regenerate-thumbnails');
219
+ }
220
+ else {
221
$regenerate_link = wp_nonce_url(admin_url('update.php?action=install-plugin&plugin=regenerate-thumbnails'), 'install-plugin_regenerate-thumbnails');
222
}
223
echo '<span class="description">' . sprintf(__('If you make changes to width, height or crop settings, you must use "<a href="%s">Regenerate Thumbnail Plugin</a>" to regenerate old images."', 'rtmedia'), $regenerate_link) . '</span>';
224
+ echo '<div class="clearfix">&nbsp;</div>';
225
}
226
227
/**
230
* @global array $rtmedia
231
* @param array $args
232
*/
233
+ public
234
+ function privacy_notice() {
235
if (current_user_can('create_users')) {
236
// if (BPMediaPrivacy::is_installed())
237
// return;
249
}
250
}
251
252
+ public
253
+ function rtmedia_support_intro() {
254
echo '<p>' . __('If your site has some issues due to BuddyPress Media and you want one on one support then you can create a support topic on the <a target="_blank" href="http://rtcamp.com/groups/buddypress-media/forum/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media">rtCamp Support Forum</a>.', 'rtmedia') . '</p>';
255
echo '<p>' . __('If you have any suggestions, enhancements or bug reports, then you can open a new issue on <a target="_blank" href="https://github.com/rtCamp/buddypress-media/issues/new">GitHub</a>.', 'rtmedia') . '</p>';
256
}
app/helper/rtForm.php CHANGED
@@ -7,6 +7,66 @@
7
8
/**
9
* Description of rtForms
10
*
11
* @author udit
12
*/
@@ -650,64 +710,4 @@ if(!class_exists("rtForm")) {
650
}
651
}
652
}
653
-
654
- //if(!isset($obj))
655
- // $obj = new rtForm();
656
-
657
- //textbox test
658
- /*echo $obj->get_textbox(array(
659
- "id"=>"myid",
660
- "label" => "mylabel",
661
- "name"=>"myname",
662
- "value"=>"myval",
663
- "class"=> array("myclass")
664
- ))."\n";*/
665
-
666
-
667
- //textarea test
668
- /*echo $obj->get_textarea(array(
669
- "id"=>"myid",
670
- "name"=>"myname",
671
- "value"=>"myval",
672
- "class"=> array("myclass")
673
- ))."\n";*/
674
-
675
-
676
- //radio test
677
- /*echo $obj->get_radio(array(
678
- "id"=>"myid",
679
- "name"=>"myname",
680
- "class"=>array("myclass"),
681
- "rtForm_options"=>array(
682
- "op1"=>1,
683
- "op2"=>2,
684
- "op3"=>3
685
- )
686
- ))."\n";
687
- */
688
-
689
- //checkbox test
690
- /*echo $obj->get_checkbox(array(
691
- "id"=>"myid",
692
- "name"=>"myname",
693
- "class"=>array("myclass"),
694
- "rtForm_options"=>array(
695
- "op1"=>1,
696
- "op2"=>2,
697
- "op3"=>3
698
- )
699
- ))."\n";*/
700
-
701
- // select test
702
- /*echo $obj->get_select(array(
703
- "id"=>"myid",
704
- "name"=>"myname",
705
- "class"=>array("myclass"),
706
- "rtForm_options"=>array(
707
- "op1"=>1,
708
- "op2"=>2,
709
- "op3"=>3
710
- )
711
- ))."\n";*/
712
-
713
?>
7
8
/**
9
* Description of rtForms
10
+ *
11
+ * Usage Example :
12
+ *
13
+ * $obj = new rtForm();
14
+ *
15
+ * ----textbox test
16
+ * echo $obj->get_textbox(array(
17
+ * "id"=>"myid",
18
+ * "label" => "mylabel",
19
+ * "name"=>"myname",
20
+ * "value"=>"myval",
21
+ * "class"=> array("myclass")
22
+ * ))."\n";
23
+ *
24
+ *
25
+ * ----textarea test
26
+ * echo $obj->get_textarea(array(
27
+ * "id"=>"myid",
28
+ * "name"=>"myname",
29
+ * "value"=>"myval",
30
+ * "class"=> array("myclass")
31
+ * ))."\n";
32
+ *
33
+ *
34
+ * ----radio test
35
+ * echo $obj->get_radio(array(
36
+ * "id"=>"myid",
37
+ * "name"=>"myname",
38
+ * "class"=>array("myclass"),
39
+ * "rtForm_options"=>array(
40
+ * "op1"=>1,
41
+ * "op2"=>2,
42
+ * "op3"=>3
43
+ * )
44
+ * ))."\n";
45
+
46
+
47
+ * ----checkbox test
48
+ * echo $obj->get_checkbox(array(
49
+ * "id"=>"myid",
50
+ * "name"=>"myname",
51
+ * "class"=>array("myclass"),
52
+ * "rtForm_options"=>array(
53
+ * "op1"=>1,
54
+ * "op2"=>2,
55
+ * "op3"=>3
56
+ * )
57
+ * ))."\n";
58
+
59
+ * ----select test
60
+ * echo $obj->get_select(array(
61
+ * "id"=>"myid",
62
+ * "name"=>"myname",
63
+ * "class"=>array("myclass"),
64
+ * "rtForm_options"=>array(
65
+ * "op1"=>1,
66
+ * "op2"=>2,
67
+ * "op3"=>3
68
+ * )
69
+ * ))."\n";
70
*
71
* @author udit
72
*/
710
}
711
}
712
}
713
?>
app/importers/RTMediaMigration.php CHANGED
@@ -27,8 +27,7 @@ class RTMediaMigration {
27
$pending = false;
28
else
29
$pending = get_site_option ( "rtMigration-pending-count" );
30
- $total = $this->get_total_count ();
31
- $done = $this->get_done_count ();
32
if ( $pending === false ) {
33
$total = $this->get_total_count ();
34
$done = $this->get_done_count ();
@@ -100,11 +99,7 @@ class RTMediaMigration {
100
$sql_bpm_comment_count = "SELECT
101
count(id)
102
FROM
103
- {$bp_prefix}bp_activity
104
- where
105
- type = 'activity_comment'
106
- and is_spam <>1
107
- and item_id in (select distinct
108
a.meta_value
109
from
110
$wpdb->postmeta a
@@ -112,7 +107,12 @@ class RTMediaMigration {
112
$wpdb->posts p ON (a.post_id = p.ID)
113
where
114
(NOT p.ID IS NULL)
115
- and a.meta_key = 'bp_media_child_activity')";
116
117
118
//echo $sql_bpm_comment_count;
@@ -135,7 +135,7 @@ class RTMediaMigration {
135
where
136
a.post_id > 0 and (NOT p.ID IS NULL)
137
and a.meta_key = 'bp-media-key'";
138
-
139
140
$_SESSION[ "migration_media" ] = $wpdb->get_var ( $sql );
141
$count += intval ( $_SESSION[ "migration_media" ] );
@@ -217,7 +217,7 @@ class RTMediaMigration {
217
where a.comment_post_ID in (select b.media_id from $this->bmp_table b left join
218
{$wpdb->posts} p ON (b.media_id = p.ID) where (NOT p.ID IS NULL) ) and a.comment_agent=''" );
219
}
220
- // echo $media_count . "--" . $album_count . "--" . $comment_sql;
221
return $media_count + $album_count + $comment_sql;
222
}
223
27
$pending = false;
28
else
29
$pending = get_site_option ( "rtMigration-pending-count" );
30
+
31
if ( $pending === false ) {
32
$total = $this->get_total_count ();
33
$done = $this->get_done_count ();
99
$sql_bpm_comment_count = "SELECT
100
count(id)
101
FROM
102
+ {$bp_prefix}bp_activity left outer join (select distinct
103
a.meta_value
104
from
105
$wpdb->postmeta a
107
$wpdb->posts p ON (a.post_id = p.ID)
108
where
109
(NOT p.ID IS NULL)
110
+ and a.meta_key = 'bp_media_child_activity') p
111
+ on wp_bp_activity.item_id = p.meta_value
112
+ where
113
+ type = 'activity_comment'
114
+ and is_spam <>1 and
115
+ not p.meta_value is NULL";
116
117
118
//echo $sql_bpm_comment_count;
135
where
136
a.post_id > 0 and (NOT p.ID IS NULL)
137
and a.meta_key = 'bp-media-key'";
138
+
139
140
$_SESSION[ "migration_media" ] = $wpdb->get_var ( $sql );
141
$count += intval ( $_SESSION[ "migration_media" ] );
217
where a.comment_post_ID in (select b.media_id from $this->bmp_table b left join
218
{$wpdb->posts} p ON (b.media_id = p.ID) where (NOT p.ID IS NULL) ) and a.comment_agent=''" );
219
}
220
+ //echo $media_count . "--" . $album_count . "--" . $comment_sql;
221
return $media_count + $album_count + $comment_sql;
222
}
223
app/main/RTMedia.php CHANGED
@@ -2,7 +2,7 @@
2
/**
3
* Don't load this file directly!
4
*/
5
- if ( ! defined ( 'ABSPATH' ) )
6
exit;
7
8
/**
@@ -24,31 +24,36 @@ class RTMedia {
24
/**
25
* @var string default thumbnail url fallback for all media types
26
*/
27
- private $default_thumbnail;
28
29
/**
30
*
31
* @var array allowed media types
32
*/
33
- public $allowed_types;
34
35
/**
36
*
37
* @var array privacy settings
38
*/
39
- public $privacy_settings;
40
41
/**
42
*
43
* @var array default media sizes
44
*/
45
- public $default_sizes;
46
47
/**
48
*
49
* @var object default application wide privacy levels
50
*/
51
- public $default_privacy = array(
52
'0' => 'Public',
53
'20' => 'Users',
54
'40' => 'Friends',
@@ -59,25 +64,30 @@ class RTMedia {
59
*
60
* @var string Support forum url
61
*/
62
- public $support_url = 'http://rtcamp.com/support/forum/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media';
63
64
/**
65
*
66
* @var int Number of media items to show in one view.
67
*/
68
- public $posts_per_page = 10;
69
70
/**
71
*
72
* @var array The types of activity BuddyPress Media creates
73
*/
74
- public $activity_types = array(
75
'media_upload',
76
'album_updated',
77
'album_created'
78
);
79
- public $options;
80
- public $render_options;
81
82
/**
83
* Constructs the class
@@ -87,109 +97,113 @@ class RTMedia {
87
*
88
* @global int $bp_media_counter Media counter
89
*/
90
- public function __construct () {
91
- $this->default_thumbnail = apply_filters ( 'rtmedia_default_thumbnail', RTMEDIA_URL . 'assets/thumb_default.png' );
92
93
// check for global album --- after wordpress is fully loaded
94
- add_action ( 'init', array( $this, 'check_global_album' ) );
95
96
// Hook it to WordPress
97
- add_action ( 'plugins_loaded', array( $this, 'init' ), 20 );
98
99
// Load translations
100
- add_action ( 'plugins_loaded', array( $this, 'load_translation' ), 10 );
101
102
//Admin Panel
103
- add_action ( 'init', array( $this, 'admin_init' ) );
104
105
- add_action ( 'wp_enqueue_scripts', array( 'RTMediaGalleryShortcode', 'register_scripts' ) );
106
//add_action('wp_footer', array('RTMediaGalleryShortcode', 'print_script'));
107
// Enqueue Plugin Scripts and Styles
108
- add_action ( 'wp_enqueue_scripts', array( &$this, 'enqueue_scripts_styles' ), 999 );
109
110
111
- add_action ( 'rt_db_upgrade', array( $this, 'fix_parent_id' ) );
112
/* Includes db specific wrapper functions required to render the template */
113
include(RTMEDIA_PATH . 'app/main/controllers/template/rt-template-functions.php');
114
115
- add_filter ( 'intermediate_image_sizes_advanced', array( $this, 'filter_image_sizes_details' ) );
116
- add_filter ( 'intermediate_image_sizes', array( $this, 'filter_image_sizes' ) );
117
}
118
119
- function fix_parent_id () {
120
- $site_global = get_site_option ( 'rtmedia-global-albums' );
121
- if ( $site_global && is_array ( $site_global ) && isset ( $site_global[ 0 ] ) ) {
122
$model = new RTMediaModel();
123
- $album_row = $model->get_by_id ( $site_global[ 0 ] );
124
- if ( isset ( $album_row[ "result" ] ) && count ( $album_row[ "result" ] ) > 0 ) {
125
global $wpdb;
126
- $row = $album_row[ "result" ][ 0 ];
127
$sql = "update $wpdb->posts p
128
left join
129
$model->table_name r ON p.ID = r.media_id
130
set
131
- post_parent = {$row[ "media_id" ]}
132
where
133
p.guid like '%/rtMedia/%'
134
and (p.post_parent = 0 or p.post_parent is NULL)
135
and not r.id is NULL
136
and r.media_type <> 'album'";
137
- $wpdb->query ( $sql );
138
}
139
}
140
}
141
142
- function set_site_options () {
143
144
- $rtmedia_options = rtmedia_get_site_option ( 'rtmedia-options' );
145
- $bp_media_options = rtmedia_get_site_option ( 'bp_media_options' );
146
147
- if ( $rtmedia_options == false ) {
148
- $this->init_site_options ();
149
- } else {
150
/* if new options added via filter then it needs to be updated */
151
$this->options = $rtmedia_options;
152
}
153
- $this->add_image_sizes ();
154
}
155
156
- public function image_sizes () {
157
- $image_sizes = array( );
158
- $image_sizes[ "thumbnail" ] = array( "width" => $this->options[ "defaultSizes_photo_thumbnail_width" ], "height" => $this->options[ "defaultSizes_photo_thumbnail_height" ], "crop" => ($this->options[ "defaultSizes_photo_thumbnail_crop" ] == "0") ? false : true );
159
- $image_sizes[ "activity" ] = array( "width" => $this->options[ "defaultSizes_photo_medium_width" ], "height" => $this->options[ "defaultSizes_photo_medium_height" ], "crop" => ($this->options[ "defaultSizes_photo_medium_crop" ] == "0") ? false : true );
160
- $image_sizes[ "single" ] = array( "width" => $this->options[ "defaultSizes_photo_large_width" ], "height" => $this->options[ "defaultSizes_photo_large_height" ], "crop" => ($this->options[ "defaultSizes_photo_large_crop" ] == "0") ? false : true );
161
- $image_sizes[ "featured" ] = array( "width" => $this->options[ "defaultSizes_featured_default_width" ], "height" => $this->options[ "defaultSizes_featured_default_height" ], "crop" => ($this->options[ "defaultSizes_featured_default_crop" ] == "0") ? false : true );
162
return $image_sizes;
163
}
164
165
- public function add_image_sizes () {
166