/**** CORRECCIONES *****/

.bubble {
  border-top: 1px solid #E1E1E1 !important;
}

.bubble .bubble_container .bubble_content {
  margin: 10px 0;
}

.visual_editor_tinymce_wrapper .visual_editor_tinymce_toolbar {
  padding: 5px;
}

.object_comments form.object_comments_form .object_comments_real_controls .object_comments_form_wrapper .visual_editor_tinymce_wrapper .visual_editor_tinymce_toggler {
  top: 10px;
}

.slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section .form_field.name input,
.slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section .form_field.name input {
  font-weight: normal;
}

.pagination_bar {
  padding: 20px 0;
}

.team_form .slim_form_left_column .users_picker_description {
  padding: 0 10px;
}

table.table.user_listing {
  margin-bottom: 50px;
}

table.table.user_listing table.table.user_listing {
  margin-bottom: 0;  
}

.popover.undefined.inverted {
    overflow: visible;
}

.planning {
  margin: 5px 0 0 0;
  display: flex;
}

.planning + .planning {
  margin: 0 0 7px 0;
}

.lds-roller {
    margin-left: 100px;
}

/**** DARK MODE *****/

body.dark_theme {
  color: #ffffff;
  background-color: #1c2128!important;
}

body.dark_theme h1,
body.dark_theme h2,
body.dark_theme h3,
body.dark_theme h4,
body.dark_theme h5,
body.dark_theme h6,
body.dark_theme .fvl_h1,
body.dark_theme .fvl_h2,
body.dark_theme .fvl_h3,
body.dark_theme .fvl_h4,
body.dark_theme .fvl_h5,
body.dark_theme .fvl_h6,
body.dark_theme label,
body.dark_theme .task_list .task_view_mode .task_name,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul,
body.dark_theme .object_view .object_view_sidebar h4,
body.dark_theme .object_subscribers_panel ul.user_list li .object_subscribers_panel_user,
body.dark_theme .object_view .object_view_sidebar .page_section .object_view_checkboxes label,
body.dark_theme #project_note .note_versions ul li a,
body.dark_theme #note_form .project_note_form .project_note_form_sidebar,
body.dark_theme .bubble .bubble_container .bubble_meta .bubble_meta_details a.bubble_user,
body.dark_theme .object_view .object_view_sidebar .page_section .object_view_property > label,
body.dark_theme .task_time_and_expenses .task_time_and_expenses_block .amount,
body.dark_theme .attachments li a.attachment_details,
body.dark_theme .select_attachments .select_attachments_control .select_attachments_title,
body.dark_theme .object_comments form.object_comments_form .object_comments_real_controls div.object_comments_form_buttons p.note,
body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_right_column .form_section .form_field > label,
body.dark_theme .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_right_column .form_section .form_field > label,
body.dark_theme .select_subscribers .select_subscribers_box .select_subscribers_box_header ul li:nth-child(1),
body.dark_theme .dropdown_button .menu ul.menu_list li a,
body.dark_theme dl.project_info_list,
body.dark_theme dl.project_info_list dd a,
body.dark_theme .project_header .people_dropdown.dropdown_button .menu .people_list ul li a,
body.dark_theme #reports .reports_container .reports_section ul li p,
body.dark_theme .select_attachments .select_attachments_list li span.name,
body.dark_theme #integrations .page_paper .integrations_group table tbody tr td.col_details .integration_name a,
body.dark_theme .items_table tbody tr td.col_main a,
body.dark_theme table.user_listing tr td.col_name a,
body.dark_theme table.user_listing tr td.col_name span,
body.dark_theme .tracking_objects_list .tracking_object .tracking_object_author a,
body.dark_theme tasks-timeline .tasks_timeline_sidebar .tasks_timeline_sidebar_group .tasks_timeline_sidebar_group_name a,
body.dark_theme tasks-timeline .tasks_timeline_sidebar .tasks_timeline_sidebar_group .tasks_timeline_sidebar_group_items_item a,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell span,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell span,
body.dark_theme .tracking_objects_timesheet ul.tracking_objects_timesheet_navigator .dropdown_button button,
body.dark_theme .activity .activity_group .activity_group_label,
body.dark_theme #modal_user_additional_permissions .option_list p,
body.dark_theme .profile_page .profile_page_section_group .profile_page_section_group_label,
body.dark_theme .subscription_list .unread .subscription_category,
body.dark_theme .subscription_list .unread .subscription_details a,
body.dark_theme .subscription_list .subscription .subscription_category,
body.dark_theme .subscription_list .subscription .subscription_details a,
body.dark_theme .popover.task_popover .task_panel_popover .task_panel_property label,
body.dark_theme .popover.task_popover .task_panel_popover .task_panel_actions a,
body.dark_theme .select_date_popover .remove_date a,
body.dark_theme .mce-container,
body.dark_theme .mce-container *, 
body.dark_theme .mce-widget,
body.dark_theme .mce-widget *,
body.dark_theme .mce-reset,
body.dark_theme #quick_jump_modal, 
body.dark_theme #project_discussions .discussions table tr td.col_main a,
body.dark_theme #project_files .files_bars_wrapper .files_group .files .file_wrapper .file ul.file_details li.file_name,
body.dark_theme #project_files .files_cards_wrapper .files_group .files .file_wrapper .file ul.file_details li.file_name,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day.current_month .day_title,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day.current_month .day_title,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day.current_month .day_title,
body.dark_theme .event:not(.spanned) .title .title_text,
body.dark_theme #quick_jump_modal #quick_jump_results li,
body.dark_theme table.user_listing tr td.col_name span {
  color: #ffffff;
}

body.dark_theme .rte-autocomplete li a,
body.dark_theme table.user_listing tr td,
body.dark_theme .items_table thead tr th,
body.dark_theme table.table.user_listing tr:first-child td,
body.dark_theme table.user_listing tr:not(.noChangeColor):hover > td,
body.dark_theme table.user_listing tr:not(.noChangeColor):hover > .bg-lightgreen,
body.dark_theme table.user_listing tr:not(.noChangeColor):hover > .bg-lightgreen a,
body.dark_theme body.dark_theme .object_history ul.object_history_list > li ul.object_history_event_changes {
  color: #ffffff!important;
}

body.dark_theme select::placeholder,
body.dark_theme textarea::placeholder,
body.dark_theme input[type="text"]::placeholder,
body.dark_theme input[type="email"]::placeholder,
body.dark_theme input[type="number"]::placeholder,
body.dark_theme input[type="password"]::placeholder,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce::placeholder {
  color: rgba(255, 255, 255,.7);
}

body.dark_theme h1.lighter,
body.dark_theme h2.lighter,
body.dark_theme h3.lighter,
body.dark_theme h4.lighter,
body.dark_theme h5.lighter,
body.dark_theme h6.lighter,
body.dark_theme span.lighter,
body.dark_theme a.lighter,
body.dark_theme dd.lighter,
body.dark_theme dl.lighter,
body.dark_theme dt.lighter,
body.dark_theme td.lighter,
body.dark_theme tr.lighter,
body.dark_theme table.lighter,
body.dark_theme p.lighter,
body.dark_theme div.lighter,
body.dark_theme ul.lighter,
body.dark_theme li.lighter,
body.dark_theme form .form_field p,
body.dark_theme .form .form_field p,
body.dark_theme a.less_important,
body.dark_theme .page_header_main .page_header_main_inner p.subtitle,
body.dark_theme .page_header_main .page_header_main_inner ul.links li a,
body.dark_theme .page_form .page_main .page_main_inner .form_section h2.form_subtitle
body.dark_theme .project.list a.project_link > div.project_activity,
body.dark_theme .project.list a.project_link > div.project_activity,
body.dark_theme .project_object .project_object_location,
body.dark_theme .project_object .project_object_location a,
body.dark_theme .card .card_main .card_header p,
body.dark_theme .page_action_bar .page_action_bar_filters ul > li .slim_control .slim_control_label,
body.dark_theme .slim_control,
body.dark_theme .slim_control.with_value .slim_control_label,
body.dark_theme #project_note .note_versions ul li a .note_version_number,
body.dark_theme #project_note .note_versions ul li a .note_version_date, 
body.dark_theme .bubble .bubble_container .bubble_meta .bubble_meta_details,
body.dark_theme .task_time_and_expenses .task_time_and_expenses_block .measurement,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_progress p,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce span#a51placeholder,
body.dark_theme .select_subscribers .select_subscribers_box .select_subscribers_box_header a,
body.dark_theme .select_subscribers .select_subscribers_box .select_subscribers_box_header ul li,
body.dark_theme .fvl_aid,
body.dark_theme .fvl_aid a,
body.dark_theme #project_form .fvl_aid,
body.dark_theme .select_users_alt .select_users_alt_header a,
body.dark_theme #integrations .page_paper .integrations_group table tbody tr td.col_details .integration_description,
body.dark_theme .items_table tbody tr td.col_company .company,
body.dark_theme #projects_archive table tbody .col_date,
body.dark_theme .task_list .task_view_mode .comments_count,
body.dark_theme .user_role.client,
body.dark_theme .rich_text table td,
body.dark_theme #teams_view .team_groups .team_group .view_mode ul,
body.dark_theme #teams_view .page_header_inner p,
body.dark_theme .page_header_main .page_header_main_inner ul.links li,
body.dark_theme .task_list_form .slim_form_left_column .optional_warning,
body.dark_theme .tracking_objects_list .tracking_object .tracking_object_details,
body.dark_theme .tracking_objects_list .tracking_object .tracking_object_status,
body.dark_theme tasks-timeline .tasks_timeline_sidebar .tasks_timeline_sidebar_group .tasks_timeline_sidebar_group_items_add a,
body.dark_theme tasks-timeline .tasks_timeline_content .tasks_timeline_content_inner .tasks_timeline_content_dates .tasks_timeline_content_dates_months text,
body.dark_theme #project_task_list_form_modal .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column .optional_warning,
body.dark_theme #project_task_list_form_modal .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column .optional_warning,
body.dark_theme tasks-timeline .tasks_timeline_content .tasks_timeline_content_inner .tasks_timeline_content_dates .tasks_timeline_content_dates_days text,
body.dark_theme .task_list .task_view_mode .subtasks_count,
body.dark_theme .task_list .task_view_mode .task_name .task_context,
body.dark_theme .load_more_pagination .load_more_pagination_loading,
body.dark_theme #modal_user_access_to_projects .toggle_options a,
body.dark_theme .bubble .bubble_container .bubble_meta .bubble_meta_controls a,
body.dark_theme .profile_page .profile_page_activity .profile_page_section_group_content .profile_page_activity_date,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_details a,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_details a,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column .column_view_column_header .column_view_column_header_count,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column.add_task_list a,
body.dark_theme .activity .activity_group .activity_subgroup table tbody tr.comment_created td.col_details .activity_log_details,
body.dark_theme .page_form .page_main .page_main_inner .form_section h2.form_subtitle,
body.dark_theme .profile_page .view_more a,
body.dark_theme .system_settings .form_section.header p,
body.dark_theme .system_settings .form_section.header p a,
body.dark_theme .dropdown_button .menu ul.menu_list li a span.description,
body.dark_theme .subscription_list .subscription .subcription_additional,
body.dark_theme .object_history ul.object_history_list,
body.dark_theme #quick_jump_modal #quick_jump_empty p,
body.dark_theme .page_form .page_main .page_main_inner .form_section .form_section_expander a,
body.dark_theme #project_files .files_bars_wrapper .files_group .files .file_wrapper .file ul.file_details,
body.dark_theme #project_files .files_bars_wrapper .files_group .files .file_wrapper .file ul.file_details li a,
body.dark_theme #project_files .files_cards_wrapper .files_group .files .file_wrapper .file ul.file_details li,
body.dark_theme #project_files .files_cards_wrapper .files_group .files .file_wrapper .file ul.file_details li a,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .week_days .row >.day .title.day_off,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .week_days .row >.day .title.day_off,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .week_days .row >.day .title.day_off,
body.dark_theme #quick_jump_modal #quick_jump_results li span,
body.dark_theme .table-inner table.user_listing tr td.col_name span,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_task_lists .project_tasks_right_column_section_expand,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_people .project_tasks_right_column_section_expand,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_labels .project_tasks_right_column_section_expand,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_date .project_tasks_right_column_section_expand,
body.dark_theme #project_discussions .discussions table tr td.col_main .discussion_excerpt,
body.dark_theme #project_discussions .discussions table tr td.col_main .discussion_excerpt a,
body.dark_theme #project_discussions .discussions table tr td.col_main .discussion_excerpt span,
.object_history ul.object_history_list > li ul.object_history_event_changes {
  color: #c5d1de!important;
  fill: #c5d1de!important;
}

body.dark_theme a,
body.dark_theme h1 a,
body.dark_theme h2 a,
body.dark_theme h3 a,
body.dark_theme .subtask_list .task_name a,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section.sidebar_progress a,
body.dark_theme .page .page_main .page_main_trash_card .page_main_trash_card_inner .page_main_trash_card_remove_permanently,
body.dark_theme .select_subscribers .select_subscribers_header .select_subscribers_trigger,
body.dark_theme #reports .reports_container .reports_section ul li h3,
body.dark_theme .slim_form_control.empty span.form_control_label,
body.dark_theme .task_list .task_view_mode a.task_name:hover {
  color: #61deff;
}

body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_right_column .form_section .form_field .slim_control_label,
body.dark_theme .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_right_column .form_section .form_field .slim_control_label,
body.dark_theme .object_view .object_view_sidebar .page_section .object_view_property .slim_control .slim_control_label,
body.dark_theme #project_tasks.list_mode div.tasks_batch_edit .task_batch_properties .task_batch_properties_first_row .task_batch_property .slim_control .slim_control_label,
body.dark_theme .task_list_form .slim_form_left_column .form_field.date .slim_control_label,
body.dark_theme #project_task_list_form_modal .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_field.date .slim_control_label,
body.dark_theme #project_task_list_form_modal .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_field.date .slim_control_label,
body.dark_theme .popover.task_popover .task_panel_popover .task_panel_property .slim_control .slim_control_label,
body.dark_theme .recurring_task_modal .slim_control_label,
body.dark_theme .recurring_task_modal .slim_control_label,
body.dark_theme .table-inner table.user_listing tr td a {
  color: #61deff!important;
}

body.dark_theme .highlight .highlight_inner a,
body.dark_theme #note_form .form_field.editor a,
body.dark_theme #project_note .project_object .project_object_inner .note_body a,
body.dark_theme #project_note_collection .project_note .project_note_inner .project_note_footer .project_note_footer_inner a,
body.dark_theme #project_notes .project_note .project_note_inner .project_note_footer .project_note_footer_inner .note_body a,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day.current_day a,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day.current_day a,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day.current_day a {
  color: #0659C8!important;
}

body.dark_theme #project_note h3,
body.dark_theme #project_note .note_header h1,
body.dark_theme #project_note .project_object_location,
body.dark_theme #project_note .project_object_location a,
body.dark_theme #project_note .note_header .project_object_location *,
body.dark_theme #project_notes h3,
body.dark_theme #project_notes .note_header h1,
body.dark_theme #project_notes .project_object_location,
body.dark_theme #project_notes .project_object_location a,
body.dark_theme #project_notes .note_header .project_object_location *,
body.dark_theme #project_note_collection h3,
body.dark_theme #project_note_collection .note_header h1,
body.dark_theme #project_note_collection .project_object_location,
body.dark_theme #project_note_collection .project_object_location a,
body.dark_theme #project_note_collection .note_header .project_object_location *,
body.dark_theme .task_list .task_view_mode .task_name.important,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul li.selected,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul li.selected:before,
body.dark_theme #project_task .page_main .page_main_inner .task_name.important,
body.dark_theme #note_form .form_field.editor *,
body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description .visual_editor_tinymce_wrapper .visual_editor_tinymce span#a51placeholder,
body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description input[type="text"],
body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description .visual_editor_tinymce_wrapper .visual_editor_tinymce_toggler,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day.current_day span,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day.current_day span,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day.current_day span {
  color: #000000!important;
}

body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description input[type="text"]::placeholder {
  color: rgba(0, 0, 0,.5);  
}

body.dark_theme form .form_buttons,
body.dark_theme .page .page_paper header,
body.dark_theme .subscription_list,
body.dark_theme form .form_section,
body.dark_theme .bubble,
body.dark_theme .object_subtasks,
body.dark_theme .project.list:last-child,
body.dark_theme .page_header_main .page_header_main_inner,
body.dark_theme #project_tasks.list_mode div.unsorted_tasks,
body.dark_theme #project_tasks.list_mode div.task_lists,
body.dark_theme #project_template_form .task_list .task,
body.dark_theme #project_task .page_main .page_main_inner .task_main,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section,
body.dark_theme #project_template_form .project_template_section,
body.dark_theme .page_form .page_main .page_main_inner .form_section,
body.dark_theme .object_history,
body.dark_theme .select_users_alt,
body.dark_theme .select_users_alt .select_users_alt_header,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce_toolbar,
body.dark_theme .slim_form .form_section,
body.dark_theme .page .page_main .page_main_trash_card .page_main_trash_card_inner .page_main_trash_card_details,
body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section .form_field.editor,
body.dark_theme .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section .form_field.editor,
body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section,
body.dark_theme .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column .form_section,
body.dark_theme .button_group li:last-child > a.button,
body.dark_theme .button_group li:last-child > button,
body.dark_theme .button_group li:last-child > .dropdown_button > button,
body.dark_theme .button_group li:last-child > .object_actions_dropdown > .dropdown_button > button,
body.dark_theme .mce-btn-group:not(:first-child),
body.dark_theme .dropdown_button .menu ul.menu_list,
body.dark_theme .object_view .object_view_sidebar .page_section,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce_toggler,
body.dark_theme .dropdown_button .menu .menu_group,
body.dark_theme .reports table.reports_table td,
body.dark_theme #reports_time_expenses table.reports_table,
body.dark_theme #reports_budget_vs_cost table.reports_table,
body.dark_theme #reports_estimated_vs_tracked table.reports_table,
body.dark_theme #reports .reports_container .reports_section ul,
body.dark_theme #reports .reports_container .reports_section ul li,
body.dark_theme .pagination_bar,
body.dark_theme .page_header .page_header_inner,
body.dark_theme table.user_listing,
body.dark_theme #teams_view .team_groups .team_group,
body.dark_theme #company_add_form table.hourly_rates tr,
body.dark_theme #project_people .project_people_columns .project_people_column .people_list tr td,
body.dark_theme #project_people .project_people_columns .project_people_column .people_list tr td.col_action a.remove,
body.dark_theme #project_tasks.list_mode div.tasks_batch_edit.not_selected .task_batch_header,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column .task_list,
body.dark_theme #project_task .page_main .page_main_inner .page_section.attachments,
body.dark_theme .modal_container .modal_container_inner .modal .modal_content_wrapper .modal_header,
body.dark_theme .tracking_objects_list_group,
body.dark_theme .popover_select .popover_select_query input,
body.dark_theme .modal_container .modal_container_inner .modal.dialog .modal_buttons,
body.dark_theme .select_date_popover_range .select_dates,
body.dark_theme .select_task_labels_popover ul,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce_toolbar,
body.dark_theme #discussion_form .visual_editor_tinymce_wrapper,
body.dark_theme .profile_page .profile_page_tasks .profile_page_section_group:first-child,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_details tr td,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_details tr td,
body.dark_theme .tracking_objects_timesheet table.tracking_objects_timesheet_table > thead td,
body.dark_theme form .form_section.rounded,
body.dark_theme .project_job_types .job-type--dark:first-child,
body.dark_theme .project_job_types .job-type--dark:last-child,
body.dark_theme #modal_user_additional_permissions .option_list,
body.dark_theme #system_settings .page_paper .system_settings_section,
body.dark_theme #integrations .page_paper .integrations_group table tbody tr td,
body.dark_theme #integrations .page_paper .integrations_group table tbody,
body.dark_theme .select_date_popover .remove_date,
body.dark_theme .recurring_subtasks_wrapper,
body.dark_theme .recurring_task_form,
body.dark_theme .attachments li a.attachment_preview,
body.dark_theme .recurring_task_form .slim_form_left_column .form_field.editor,
body.dark_theme .mce-window-head,
body.dark_theme .rich_text table td,
body.dark_theme .tracking_objects_list .tracking_object .tracking_object_value,
body.dark_theme #project_discussion .page_main .page_main_inner .discussion_main,
body.dark_theme #project_discussion .page_main .page_main_inner .page_section.attachments,
body.dark_theme aside#main_sidebar section#user_profile #profile_new_features, aside#main_sidebar section#user_profile #profile_user_profile_sign_out,
body.dark_theme .invoice_form_items table.invoice_items_list tr th,
body.dark_theme .invoice_form_items table.invoice_items_list tr td,
body.dark_theme .invoice_form_items table.invoice_items_total td.invoice_items_total_label,
body.dark_theme .invoice_form_items table.invoice_items_total td.invoice_items_total_numeric,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day .day_title,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day .day_title,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day .day_title,
#project_people .project_people_columns:before {
  border-color: #475053!important;
}

body.dark_theme .rte-autocomplete:after {
  border-bottom-color: #343b46;
}

body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce blockquote,
body.dark_theme .task_time_and_expenses .task_time_and_expenses_blocks:before {
  color: #ffffff!important;
  background-color: #545c67 !important;
}

body.dark_theme select,
body.dark_theme textarea,
body.dark_theme input[type="text"],
body.dark_theme input[type="email"],
body.dark_theme input[type="number"],
body.dark_theme input[type="password"],
body.dark_theme .rich_text table,
body.dark_theme .selectize-dropdown,
body.dark_theme .subscription_list .unread,
body.dark_theme .subscription_list .subscription, 
body.dark_theme .profile_page .my_work_subscriptions .view_more,
body.dark_theme .object_subtasks div.completed_tasks table tr td,
body.dark_theme #project_tasks.list_mode div.unsorted_tasks div.add_new_unsorted a.add_new_unsorted_trigger span,
body.dark_theme #project_tasks.list_mode div.unsorted_tasks div.add_new_unsorted a.add_new_unsorted_trigger,
body.dark_theme #project_tasks.list_mode div.task_list_tasks .project_tasks_add_wrapper .project_tasks_add a,
body.dark_theme #project_time .project_tracking_report,
body.dark_theme #project_expenses .project_tracking_report,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_time,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_time,
body.dark_theme .tracking_objects_timesheet ul.tracking_objects_timesheet_navigator,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_expenses,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_expenses,
body.dark_theme #project_time .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_details,
body.dark_theme #project_expenses .project_tracking_report .project_tracking_report_header .project_tracking_report_header_cell.project_tracking_report_header_details,
body.dark_theme  #system_settings .page_paper .system_settings_section.system_settings_header .system_settings_section_body .account_info,
body.dark_theme .tracking_objects_timesheet table.tracking_objects_timesheet_table > tbody tr td,
body.dark_theme #modal_user_additional_permissions .option_list > li,
body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_left_column,
body.dark_theme .slim_form .slim_form_inline .slim_form_column_wrapper .slim_form_left_column,
body.dark_theme .tracking_objects_list .tracking_object,
body.dark_theme .rich_text blockquote,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce blockquote,
body.dark_theme #quick_jump_modal input {
  color: #ffffff!important;
  border-color: #475053;
  background-color: #3c4652;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px inset;
}

body.dark_theme .selectize-dropdown,
body.dark_theme .autocomplete .selectize-control .selectize-input,
body.dark_theme .object_comments form.object_comments_form .object_comments_faux_controls,
body.dark_theme .object_comments form.object_comments_form .object_comments_real_controls .object_comments_form_wrapper,
body.dark_theme .team_form .slim_form_left_column .users_picker,
body.dark_theme .select_subscribers .select_subscribers_box,
body.dark_theme .recurring_task_form .slim_form_left_column,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column,
body.dark_theme #project_tasks.column_mode .page_main_inner .column_view .task_list_form,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column.add_task_list a:hover,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column .task_list .tasks .task,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner .column_view .column_view_column .task_list .tasks .task:hover .task_name,
body.dark_theme #project_tasks.column_mode .page_main_inner .column_view .add_task_block .add_task,
body.dark_theme #project_files .files_bars_wrapper .files_group .files .file_wrapper .file,
body.dark_theme #project_files .files_cards_wrapper .files_group .files .file_wrapper .file,
body.dark_theme .object_subtasks .new_subtask .new_subtask_trigger a,
body.dark_theme .object_reminder .select_users_alt,
body.dark_theme .select_users_alt .select_users_alt_header,
body.dark_theme .page .page_main .page_main_trash_card .page_main_trash_card_inner,
body.dark_theme .selectize-dropdown .create,
body.dark_theme .task_time_and_expenses .task_time_and_expenses_blocks,
body.dark_theme #task_request>div,
body.dark_theme tasks-timeline .tasks_timeline_content .tasks_timeline_content_inner .tasks_timeline_content_dates .tasks_timeline_content_dates_months {
  color: #ffffff;
  border-color: #475053!important;
  background-color: #3c4652!important;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px inset!important;
}

body.dark_theme .profile_page .profile_page_section_group,
body.dark_theme .profile_page .profile_page_section_group .tracking_objects_list .tracking_object,
body.dark_theme .table-inner table.user_listing tr td {
  color: #ffffff;
  border-color: #475053!important;  
  background-color: #3c4652!important;  
}

body.dark_theme button,
body.dark_theme a.button,
body.dark_theme .mce-btn,
body.dark_theme .mce-textbox,
body.dark_theme .rte-autocomplete,
body.dark_theme .popover_select ul,
body.dark_theme .popover_select ul li,
body.dark_theme .popover .popover_inner,
body.dark_theme .popover.task_popover .popover_content,
body.dark_theme .popover.task_popover .task_panel_popover .task_panel_actions,
body.dark_theme .popover .popover_arrow:after,
body.dark_theme .select_task_labels_popover ul li,
body.dark_theme .select_date_popover_range .select_dates .select_date_due_on,
body.dark_theme .select_date_popover_range .select_dates .select_date_start_on,
body.dark_theme .dropdown_button .menu .menu_inner,
body.dark_theme .dropdown_button .menu .button_arrow:after,
body.dark_theme .dropdown_button #email_to_project,
body.dark_theme #calendar .calendar_toolbar button,
body.dark_theme .slim_form.slim_form_inline,
body.dark_theme .slim_form .slim_form_inline,
body.dark_theme .page_action_bar .page_action_bar_display_modes > li,
body.dark_theme .object_comments form.object_comments_form .object_comments_real_controls .object_comments_form_wrapper .visual_editor_tinymce_wrapper .visual_editor_tinymce_toggler,
body.dark_theme .project_header .people_dropdown.dropdown_button .menu .manage_people,
body.dark_theme .project_header .people_dropdown.dropdown_button.can_manage .button_arrow:after,
body.dark_theme .reports .page_action_bar.page_action_bar_options button,
body.dark_theme #project_tasks.list_mode div.tasks_batch_edit,
body.dark_theme #project_tasks.list_mode div.tasks_batch_edit .tasks_batch_cover:before,
body.dark_theme .profile_page .profile_page_tasks .profile_page_section_group,
body.dark_theme .activity .activity_group .activity_subgroup.even,
body.dark_theme .calendar_bubble .calendar_bubble_main,
body.dark_theme #project_discussions .discussions table tr td,
body.dark_theme .page_action_bar .page_action_bar_filters,
body.dark_theme .page_action_bar .page_action_bar_display_modes,
body.dark_theme .system_settings .form_section ul.custom_items_group li div.custom_item,
body.dark_theme .calendar_bubble .calendar_bubble_pointer_wrapper .calendar_bubble_pointer,
body.dark_theme .calendar_bubble .calendar_bubble_main form .form_block .form_section .form_field select,
body.dark_theme .object_comments form.object_comments_form .object_comments_real_controls .object_comments_form_wrapper .select_attachments,
body.dark_theme .calendar_bubble .calendar_bubble_main form .form_block .form_section .form_field table.date_details .select_date input[type="text"] {
  color: #ffffff;
  border-color: #475054;
  background-color: #343b46;
}

body.dark_theme #task_form .slim_form_inline,
body.dark_theme .table-inner table.user_listing tr td button,
body.dark_theme .table-inner table.user_listing tr:not(.noChangeColor):hover > td {
  color: #ffffff;
  border-color: #475054!important;
  background-color: #343b46!important;
}

body.dark_theme .project.list,
body.dark_theme .page .page_main .page_main_trash_card,
body.dark_theme .page_form .page_main,
body.dark_theme .project.list a.project_link,
body.dark_theme .page .page_paper,
body.dark_theme .object_view .page_main_inner,
body.dark_theme .slim_form .form_block.with_background,
body.dark_theme .slim_form .form_block.with_background input[type="text"],
body.dark_theme #note_form .project_note_form,
body.dark_theme .modal_window .modal_window_inner,
body.dark_theme .recurring_task_modal,
body.dark_theme .page.page_card .page_action_bar .page_action_bar_inner,
body.dark_theme .page.page_card .page_main .page_main_inner,
body.dark_theme .page_tabs .page_tabs_inner .page_tabs_tabs > li.selected > a,
body.dark_theme #reports .reports_container .reports_section ul li a,
body.dark_theme .items_table tbody tr td,
body.dark_theme table.user_listing tr td,
body.dark_theme .pagination_bar ul li a,
body.dark_theme .modal_container .modal_container_inner .modal,
body.dark_theme tasks-timeline .tasks_timeline_sidebar:before,
body.dark_theme .datepicker table tr td.day:hover,
body.dark_theme .datepicker .datepicker-switch:hover,
body.dark_theme .datepicker .prev:hover,
body.dark_theme .datepicker .next:hover,
body.dark_theme .datepicker tfoot tr th:hover,
body.dark_theme .select_date_popover .remove_date a:hover,
body.dark_theme .selectize-dropdown .active,
body.dark_theme .datepicker table tr td.day.focused,
body.dark_theme .label_editor .label_editor_content,
body.dark_theme .recurrence_calculator_wrapper,
body.dark_theme .popover_select ul li.focused,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce_toolbar .mce-panel .mce-btn.mce-active button,
body.dark_theme .mce-window,
body.dark_theme .mce-foot,
body.dark_theme .page_form .page_main .page_main_inner .form_section.darker,
body.dark_theme #system_settings .page_paper .system_settings_section.system_settings_header,
body.dark_theme #activity_view .activity,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid,
body.dark_theme .table-inner table.user_listing:hover {
  color: #ffffff;
  border-color: #475053;
  background-color: #29303a;
}

body.dark_theme .selectize-dropdown .create:hover,
body.dark_theme .rte-autocomplete >.active > a,
body.dark_theme .card .card_main,
body.dark_theme #project_templates .project_template.card.draft .card_main,
body.dark_theme #project_tasks.column_mode .page_main .page_main_inner,
body.dark_theme .table-inner,
#company_view .company_page_section .user_listing td {
  color: #ffffff;
  border-color: #383f44!important;
  background-color: #29303a!important;
}

body.dark_theme .mce-btn button,
body.dark_theme .mce-primary button,
body.dark_theme .page_tabs .page_tabs_inner .page_tabs_tabs > li.selected > a:before {
  background: none;
  box-shadow: 3px 3px 0 #29303a;
}

body.dark_theme .page_tabs .page_tabs_inner .page_tabs_tabs > li.selected > a:after {
  background: none;
  box-shadow: -3px 3px 0 #29303a;
}

body.dark_theme .modal_window .modal_window_inner:before,
body.dark_theme .page_form.labels_on_the_left .form_buttons,
body.dark_theme .project_header .page_header .page_header_inner,
body.dark_theme #project_template_form .project_template_form_header,
body.dark_theme #project_task .page_main .page_main_inner .object_view_sidebar .properties_section,
body.dark_theme #project_task .page_main .page_main_inner .object_view_sidebar .tracking_section,
body.dark_theme .object_view .page_main_inner:before,
body.dark_theme #note_form .project_note_form:before,
body.dark_theme .page_form .page_main .page_main_inner .form_section.form_header,
body.dark_theme #project_form .tracking_details_section .tracking_details_section_collapsed,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul li:hover,
body.dark_theme .page.page_card .page_header .page_header_inner,
body.dark_theme .reports table.reports_table tr:nth-child(odd),
body.dark_theme .pagination_bar ul li.current a,
body.dark_theme .reports table.reports_table th,
body.dark_theme .items_table thead tr th,
body.dark_theme #people_view #people_listing .group_listing h2,
body.dark_theme #project_tasks .page_action_bar .page_action_bar_inner .page_action_bar_right .page_action_bar_display_modes li a.selected,
body.dark_theme #company_add_form table.hourly_rates,
body.dark_theme #company_add_form table.hourly_rates tr th,
body.dark_theme #company_add_form table.hourly_rates tr td,
body.dark_theme .autocomplete .autocomplete_clear,
body.dark_theme #activity_view .activities_navigation_bar,
body.dark_theme #calendar .calendar_toolbar,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .week_days,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .week_days,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .week_days,
body.dark_theme tasks-timeline .tasks_timeline_content .tasks_timeline_content_inner .tasks_timeline_content_dates .tasks_timeline_content_dates_days,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day .events >.event.selected,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day .events >.event.selected,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day .events >.event.select, 
body.dark_theme .items_table thead tr th {
  color: #ffffff;
  border-color: #383f44!important;
  background-color: #222831!important;
}

body.dark_theme .project.list a.project_link:hover,
body.dark_theme .rte-autocomplete:hover > a,
body.dark_theme .rte-autocomplete:focus > a,
body.dark_theme .rte-autocomplete >li > a:hover,
body.dark_theme .rte-autocomplete > li > a:focus,
body.dark_theme .rte-autocomplete > .active > a:hover,
body.dark_theme .rte-autocomplete > .active > a:focus,
body.dark_theme .project.card .card_footer_inner,
body.dark_theme .select_task_labels_popover ul li:hover,
body.dark_theme .dropdown_button .menu ul.menu_list li a:hover,
body.dark_theme .card .card_main .card_footer .card_footer_inner,
body.dark_theme #project_templates .project_template.card .card_footer_inner,
body.dark_theme #project_note .note_versions ul li.selected,
body.dark_theme .activity .activity_group .activity_subgroup .activity_subgroup_label,
body.dark_theme #quick_jump_modal #quick_jump_results li.selected,
body.dark_theme #calendar .calendar_toolbar .menu .menu_group .menu_list .menu_item:hover,
body.dark_theme table.user_listing tr:not(.noChangeColor):hover > td:not(.table-inner),
body.dark_theme .task_list div.sortable-placeholder:after {
  color: #ffffff;
  opacity: 1;
  border-color: #383f44!important;
  background-color: rgba(21, 25, 26, 0.5) !important;
}
  
body.dark_theme .card .card_main .card_footer:before,
body.dark_theme #project_templates .project_template.card.draft .card_footer:before {
  background-image: linear-gradient(0deg, rgba(21,25,26,0.25) 0%, rgba(255, 255, 255, 0) 100%);
}

body.dark_theme .page.page_card .page_tabs .page_tabs_inner,
body.dark_theme .visual_editor_tinymce_wrapper .visual_editor_tinymce pre {
  color: #ffffff;
  border-color: #000000;
  background-color: #000000;
}

body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description button,
body.dark_theme .reports .page_action_bar.page_action_bar_options,
body.dark_theme #integration .integration_container .integration_block form .form_buttons,
body.dark_theme #calendar .calendar_content_wrapper,
body.dark_theme .discussions_group .items_table thead tr th {
  background: none!important;
}

body.dark_theme .rte-autocomplete:hover > a,
body.dark_theme .rte-autocomplete:focus > a,
body.dark_theme .rte-autocomplete >li > a:hover,
body.dark_theme .rte-autocomplete > li > a:focus,
body.dark_theme .rte-autocomplete >.active > a,
body.dark_theme .rte-autocomplete > .active > a:hover,
body.dark_theme .rte-autocomplete > .active > a:focus {
  background-image: none;
}

body.dark_theme a.button.default,
body.dark_theme button.default,
body.dark_theme .mce-primary {
  color: #ffffff;
  border-color: rgb(18, 81, 195);
  background-color: rgb(42 89 178);
}

body.dark_theme .page_action_bar .page_action_bar_left a.button.default,
body.dark_theme .page_action_bar .page_action_bar_left button.default {
  color: #ffffff;
  border-color: #146945;
  background-color: #1c8055;
}

body.dark_theme .task_list .task_view_mode .task_assignee,
body.dark_theme .new_mention,
body.dark_theme .mention {
  color: #000000;
  background: #a7bdd0;
  border-color: #a7bdd0;
}

body.dark_theme .highlight .highlight_inner,
body.dark_theme #project_note_collection .project_note .project_note_inner,
body.dark_theme #project_notes .project_note .project_note_inner,
body.dark_theme #project_note_collection .project_note .project_note_inner .project_note_footer .project_note_footer_inner,
body.dark_theme #project_notes .project_note .project_note_inner .project_note_footer .project_note_footer_inner,
body.dark_theme #project_note .project_object .project_object_inner,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul li.selected:before,
body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .monthly .weeks .week .days .row >.day.current_day,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .weekly .weeks .week .days .row >.day.current_day,
body.dark_theme #calendar .calendar_content_wrapper .calendar_grid .daily .weeks .week .days .row >.day.current_day {
  color: #000;
  background: #d4c157;
  border-color: #d4c157;
}

body.dark_theme #project_note_collection .project_note .project_note_inner .project_note_footer:before,
body.dark_theme #project_notes .project_note .project_note_inner .project_note_footer:before {
  background-image: linear-gradient(0deg, #d4c157 0%, rgba(255, 251, 230, 0) 100%);
}

body.dark_theme .icon_trash_can_black {
  filter: invert(1);
  background-color: #cbc4b9!important;
  border-color: #b8afab!important;
  box-shadow: none;
}

body.dark_theme span.icon.active,
body.dark_theme span.icon.icon_list_active.active,
body.dark_theme a .icon_trash_can_black,
body.dark_theme .icon_caret_left_black,
body.dark_theme .icon_caret_right_black,
body.dark_theme .icon_private_black,
body.dark_theme table.user_listing tr td b+img,
body.dark_theme #project_tasks.list_mode .project_tasks_columns .project_tasks_right_column .project_tasks_right_column_section ul li.selected .icon_reorder_grey {
  filter: invert(1);
}

body.dark_theme tasks-timeline .tasks_timeline_content .tasks_timeline_content_inner .tasks_timeline_content_canvas_background {
  filter: invert(.6);
}

body.dark_theme #project_templates .project_template.card.draft .card_main {
  filter: invert(.1);
}

body.dark_theme .mce-ico,
body.dark_theme .icon_grid_active,
body.dark_theme .icon_list_active,
body.dark_theme .icon_caret_down_alt_black,
body.dark_theme .icon_delete_black,
body.dark_theme .icon_check_black,
body.dark_theme .object_actions_dropdown .dropdown_button > button .icon,
body.dark_theme table.table.user_listing td span img,
body.dark_theme .lds-roller {
  filter: brightness(0) invert(1);
}

body.dark_theme #note_form .project_note_form .project_note_form_main .form_section.name_description .mce-ico {
  filter: none;
}

body.dark_theme table.user_listing .bg-lightgreen img,
body.dark_theme .highlight_inner .icon_private_black,
body.dark_theme .project_note_inner .icon_private_black,
body.dark_theme .project_note_footer_inner .icon_private_black,
body.dark_theme .project_object_inner .icon_private_black {
  filter: none!important;
}

body.dark_theme table.user_listing tr:not(.noChangeColor):hover > .bg-lightgreen img {
  filter: invert(1)!important; 
}

@media only screen and (max-device-width: 480px) {
  #project_task .task_tracking .object_view_property > label {
    color: #ffffff;    
  }
  body.dark_theme #project_task .task_tracking .task_time_and_expenses_blocks a {
    color: #ffffff;
    border-color: #475054;
    background-color: #343b46;
  }
  body.dark_theme .slim_form.slim_form_inline .slim_form_column_wrapper .slim_form_right_column .form_section .form_field {
    border-color: #475053!important;
  }
  body.dark_theme #project_task .task_properties .object_view_property .slim_control .slim_control_label {
    color: #61deff!important;
  }
}

/* CALENDAR */

body.dark_theme .day_week {
  color: #fff;
  border-color: #383f44 !important;
  background: #3d4f85!important;
}

body.dark_theme .day_week.extend {
  background: #2b3e76 !important;
}

body.dark_theme .day_week.vacance {
  background: #9b5062!important;
}

/* COLORS */

body.dark_theme .bg-lightgreen,
body.dark_theme table.user_listing .bg-lightgreen {
  background: #82bb7e!important;
}

body.dark_theme .bg-lightorange,
body.dark_theme table.user_listing .bg-lightorange {
  background: #b68661 !important;
}

body.dark_theme .bg-orange,
body.dark_theme table.user_listing .bg-orange {
  background: #b16921 !important;
}

body.dark_theme .bg-yellow,
body.dark_theme table.user_listing .bg-yellow {
  background: #b9a015 !important;
}

body.dark_theme .bg-lightblue,
body.dark_theme table.user_listing .bg-lightblue {
  background: #005558 !important;
}

body.dark_theme .bg-lightred,
body.dark_theme table.user_listing .bg-lightred {
  background: #cb7a90!important;
}

body.dark_theme .bg-lightpurple,
body.dark_theme table.user_listing .bg-lightpurple {
  background: #a774be !important;
}

body.dark_theme .bg-grey,
body.dark_theme body.dark_theme table.user_listing .bg-grey {
  background: #9f9f9f !important;
}

body.dark_theme .c-blue,
body.dark_theme table.user_listing .c-blue,
body.dark_theme .table-inner table.user_listing tr td.col_name span.c-blue {
  color: #0074e0 !important;
  text-shadow: 0 0 5px #000000;
}

body.dark_theme .c-green,
body.dark_theme table.user_listing .c-green,
body.dark_theme .table-inner table.user_listing tr td.col_name span.c-green {
  color: #13ad13 !important;
  text-shadow: 0 0 5px #000000;
}

body.dark_theme .c-red,
body.dark_theme table.user_listing .c-red,
body.dark_theme .table-inner table.user_listing tr td.col_name span.c-red {
  color: #d61600 !important;
  text-shadow: 0 0 0px #863333;
}

body.dark_theme .c-darkred,
body.dark_theme table.user_listing .c-darkred,
body.dark_theme .table-inner table.user_listing tr td.col_name span.c-darkred {
  color: #7e1403!important;
}

body.dark_theme table.user_listing .bg-lightgreen,
body.dark_theme table.user_listing .bg-lightgreen a {
  color: #000000!important;
}

body.dark_theme .scheduled span {
  color: #FFFFFF;
  font-weight: bold;
}

body .extend-data {
  float:right;
}

body .task.week .task_date {
  color: #ED812A;
}

body .extend-data {
  float:right;
}

body.dark_theme .task:hover {
  background-color: #1c2128;
}
body.dark_theme input[type="date"] {
   background: transparent;  color: #61deff;  border: none;  color-scheme: dark;
}

body.dark_theme .table.user_listing .main_menu_icon_reports{
  filter: invert(0) !important;
}

/* ===== MEETINGS (lgm-*) — Light base ===== */

.lgm-container { padding: 25px; }
.lgm-title { margin-bottom: 20px; }
.lgm-subtitle { font-size: 16px; margin-bottom: 10px; }
.lgm-empty { color: #999; font-size: 14px; }
.lgm-muted { color: #999; }
.lgm-meta { font-size: 12px; color: #999; margin-top: 3px; }

.lgm-tab-badge { background: #4FC1E9; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }

.lgm-badge { border-radius: 3px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.lgm-badge-internal { background: #4FC1E9; color: #fff; }
.lgm-badge-client { background: #FC6E51; color: #fff; }
.lgm-badge-unknown { background: #CCC; color: #666; }
.lgm-badge-auto { background: #A0D468; color: #fff; border-radius: 3px; padding: 2px 6px; font-size: 10px; margin-left: 4px; }

.lgm-card { border: 1px solid #e5e5e5; border-radius: 6px; padding: 16px; margin-bottom: 12px; background: #fff; }
.lgm-card-header { display: flex; align-items: center; justify-content: space-between; }
.lgm-card-title { font-size: 15px; cursor: pointer; }
.lgm-card-title:hover { text-decoration: underline; }
.lgm-card-compact { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid #e5e5e5; border-radius: 4px; margin-bottom: 6px; background: #fff; }

.lgm-summary-preview { margin-top: 10px; font-size: 13px; color: #555; line-height: 1.4; }

.lgm-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.lgm-avatar-internal { background: #4FC1E9; }
.lgm-avatar-external { background: #FC6E51; }

.lgm-participants-list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.lgm-participant-row { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #e8e8e8; border-radius: 6px; background: #fafafa; min-width: 200px; }
.lgm-participant-info { display: flex; flex-direction: column; min-width: 0; }
.lgm-participant-name { font-size: 13px; font-weight: 500; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgm-participant-email { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lgm-participant-email em { font-style: italic; color: #bbb; }
.lgm-participant-type { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 6px; border-radius: 3px; white-space: nowrap; margin-left: auto; }
.lgm-ptype-interno { background: rgba(79, 193, 233, 0.15); color: #2d8fad; }
.lgm-ptype-externo { background: rgba(252, 110, 81, 0.15); color: #c44e33; }

.lgm-task-tag { display: inline-block; background: #f0f0f0; border-radius: 3px; padding: 2px 8px; font-size: 11px; margin-right: 4px; margin-bottom: 4px; }
.lgm-unlink-x { color: #E9573F; font-size: 10px; margin-left: 4px; text-decoration: none; }

.lgm-detail { margin-top: 15px; border-top: 1px solid #eee; padding-top: 15px; }
.lgm-detail-section { margin-bottom: 15px; }
.lgm-detail-heading { font-size: 14px; margin-bottom: 6px; color: #333; }
.lgm-detail-text { font-size: 13px; color: #555; line-height: 1.5; }
.lgm-detail-list { margin: 0; padding-left: 20px; }
.lgm-detail-list li { font-size: 13px; color: #555; margin-bottom: 4px; }

.lgm-topic-tag { display: inline-block; background: #f0f0f0; border-radius: 3px; padding: 3px 10px; font-size: 12px; margin-right: 6px; margin-bottom: 4px; }
.lgm-dot-internal { color: #4FC1E9; }
.lgm-dot-external { color: #FC6E51; }

.lgm-select { font-size: 11px; padding: 2px 4px; border: 1px solid #ccc; border-radius: 3px; }
.lgm-search-input { padding: 8px 12px; border: 1px solid #ccc; border-radius: 4px; width: 300px; margin-right: 8px; }
.lgm-search-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border: 1px solid #eee; border-radius: 4px; margin-bottom: 6px; }

.lgm-link-section { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }

.lgm-transcript { max-height: 500px; overflow-y: auto; border: 1px solid #eee; border-radius: 4px; padding: 12px; background: #fafafa; }
.lgm-transcript-block { margin-bottom: 10px; }
.lgm-transcript-speaker { font-weight: 600; font-size: 12px; color: #4FC1E9; }
.lgm-transcript-time { color: #ccc; font-weight: 400; }

/* ===== MEETINGS — Dark theme overrides ===== */

body.dark_theme .lgm-card,
body.dark_theme .lgm-card-compact,
body.dark_theme .lgm-search-item {
  background: #3c4652;
  border-color: #475053;
}

body.dark_theme .lgm-card-title,
body.dark_theme .lgm-card-title:hover {
  color: #ffffff;
}

body.dark_theme .lgm-detail {
  border-color: #475053;
}

body.dark_theme .lgm-link-section {
  border-color: #475053;
}

body.dark_theme .lgm-summary-preview,
body.dark_theme .lgm-detail-text,
body.dark_theme .lgm-detail-list li {
  color: #c5d1de;
}

body.dark_theme .lgm-muted,
body.dark_theme .lgm-meta,
body.dark_theme .lgm-empty {
  color: #8899aa;
}

body.dark_theme .lgm-detail-heading {
  color: #ffffff;
}

body.dark_theme .lgm-task-tag,
body.dark_theme .lgm-topic-tag {
  background: #475053;
  color: #c5d1de;
}

body.dark_theme .lgm-badge-unknown {
  background: #475053;
  color: #c5d1de;
}

body.dark_theme .lgm-select {
  color: #ffffff;
  background: #343b46;
  border-color: #475053;
}

body.dark_theme .lgm-search-input {
  color: #ffffff;
  background: #3c4652;
  border-color: #475053;
}

body.dark_theme .lgm-transcript {
  background: #29303a;
  border-color: #475053;
}

body.dark_theme .lgm-transcript-time {
  color: #8899aa;
}

body.dark_theme .lgm-participant-row {
  background: #343b46;
  border-color: #475053;
}

body.dark_theme .lgm-participant-name {
  color: #ffffff;
}

body.dark_theme .lgm-participant-email {
  color: #8899aa;
}

body.dark_theme .lgm-participant-email em {
  color: #667788;
}

body.dark_theme .lgm-ptype-interno {
  background: rgba(79, 193, 233, 0.2);
  color: #7dd4f0;
}

body.dark_theme .lgm-ptype-externo {
  background: rgba(252, 110, 81, 0.2);
  color: #fc8e71;
}

body.dark_theme .lgm-unlink-x {
  color: #ff6b5b;
}

body.dark_theme .lgm-badge-auto {
  background: #5fb547;
}

body.dark_theme .lgm-dot-internal {
  color: #7dd4f0;
}

body.dark_theme .lgm-dot-external {
  color: #fc8e71;
}

body.dark_theme .lgm-task-meeting-item {
  border-color: #475053;
}

body.dark_theme .lgm-card div[style*="background:#fafafa"] {
  background: #1e252e !important;
  border-color: #475053 !important;
}

/* ===== Proyectos V2 (lgv2-*) ===== */
body.dark_theme .lgv2-title { color: #f1f5f9; }
body.dark_theme .lgv2-back { background: #1e293b; border-color: #475053; color: #94a3b8; }
body.dark_theme .lgv2-back:hover { background: #334155; }
body.dark_theme .lgv2-pill { background: #1e293b; border-color: #334155; color: #94a3b8; }
body.dark_theme .lgv2-pill:hover { background: #334155; color: #e2e8f0; }
body.dark_theme .lgv2-pill.active { background: #059669; color: #fff; border-color: #059669; }
body.dark_theme .lgv2-dateinput { background: #1e293b; border-color: #334155; color: #e2e8f0; color-scheme: dark; }
body.dark_theme .lgv2-btn-primary { background: #059669; border-color: #059669; color: #fff; }
body.dark_theme .lgv2-btn-primary:hover { background: #047857; }
body.dark_theme .lgv2-btn { background: #1e293b; border-color: #334155; color: #94a3b8; }
body.dark_theme .lgv2-btn:hover { background: #334155; color: #e2e8f0; }
body.dark_theme .lgv2-info { color: #94a3b8; }
body.dark_theme .lgv2-legend { color: #94a3b8; }
body.dark_theme .lgv2-stat { background: #1e293b; border-color: #334155; }
body.dark_theme .lgv2-stat-val { color: #f1f5f9; }
body.dark_theme .lgv2-stat-lbl { color: #64748b; }
body.dark_theme .lgv2-table thead th { background: #0f172a; color: #94a3b8; }
body.dark_theme .lgv2-table tbody td { border-color: #1e293b; }
body.dark_theme .lgv2-table tbody tr:hover td { background: rgba(5,150,105,.08); }
body.dark_theme .lgv2-pname { color: #e2e8f0; }
body.dark_theme .lgv2-pname:hover { color: #34d399; }
body.dark_theme .lgv2-wtag { background: #164e63; color: #67e8f9; }
body.dark_theme .lgv2-bar { background: #334155; }
body.dark_theme .lgv2-detail { background: #1e293b; border-color: #334155; color: #94a3b8; }
body.dark_theme .lgv2-detail:hover { background: #334155; color: #e2e8f0; border-color: #475569; }
body.dark_theme .lgv2-tfoot td { background: #0f172a !important; border-color: #334155; color: #e2e8f0; }
body.dark_theme .lgv2-sm { color: #64748b; }
body.dark_theme .lgv2-green { color: #34d399; }
body.dark_theme .lgv2-red { color: #f87171; }

/* ===== Proyectos V2 Detalle (lgv2d-*) ===== */
body.dark_theme .lgv2d-header { color: #94a3b8; border-color: #334155; }
body.dark_theme .lgv2d-header strong { color: #e2e8f0; }
body.dark_theme .lgv2d-total { color: #f1f5f9; }
body.dark_theme .lgv2d-dept { border-color: #334155; }
body.dark_theme .lgv2d-dept-head { background: #1e293b; }
body.dark_theme .lgv2d-dept-head:hover { background: #334155; }
body.dark_theme .lgv2d-dept-name { color: #e2e8f0; }
body.dark_theme .lgv2d-dept-hours { color: #f1f5f9; }
body.dark_theme .lgv2d-dept-bar { background: #334155; }
body.dark_theme .lgv2d-table thead th { background: #0f172a; color: #64748b; }
body.dark_theme .lgv2d-table tbody td { border-color: #1e293b; }
body.dark_theme .lgv2d-table tbody tr:hover td { background: rgba(5,150,105,.08); }
body.dark_theme .lgv2d-subtable { background: #1a1c2e; }
body.dark_theme .lgv2d-subtable thead th { background: #1e2036; color: #94a3b8; }
body.dark_theme .lgv2d-subtable tbody td { border-color: #2a2d45; }
body.dark_theme .lgv2d-subtable tbody tr:hover td { background: #22243a; }
body.dark_theme .lgv2d-task-link { color: #60a5fa; }
body.dark_theme .lgv2d-task-link:hover { color: #34d399; }
body.dark_theme .lgv2d-empty { color: #64748b; }
body.dark_theme .lgv2d-record td { background: #1a1c2e !important; }
body.dark_theme .lgv2-row-expanded td { background: rgba(5,150,105,.06) !important; }
body.dark_theme .lgv2d-wrap { background: #1e293b; }
body.dark_theme .lgv2d-dept-pct { color: #94a3b8; }
body.dark_theme .lgv2d-chevron { color: #64748b; }
body.dark_theme .lgv2d-ratio { color: #64748b; }
body.dark_theme .lgv2d-jobtype { color: #94a3b8; }
body.dark_theme .lgv2d-meta { color: #64748b; }
body.dark_theme .lgv2d-table tbody td { color: #e2e8f0; }
body.dark_theme .lgv2d-subtable tbody td { color: #e2e8f0; }
body.dark_theme .lgv2d-summary { background: #0f172a; border-color: #334155; color: #94a3b8; }
body.dark_theme .lgv2d-sum-sep { color: #475053; }
body.dark_theme .lgv2d-green { color: #34d399 !important; }
body.dark_theme .lgv2d-red { color: #f87171 !important; }
body.dark_theme .lgv2d-loading { color: #94a3b8; }
body.dark_theme .lgv2d-spinner { border-color: #334155; border-top-color: #059669; }

/* ===== Manager hook (hours bubble) ===== */
body.dark_theme #lgmanager_hook {
  background-color: #29303a !important;
  border-color: #475053 !important;
}

body.dark_theme #lgmanager_hook a,
body.dark_theme #lgmanager_hook span,
body.dark_theme #lgmanager_hook button {
  color: #ffffff !important;
}

body.dark_theme #lgmanager_mkt {
  background-color: #29303a !important;
  border-color: #475053 !important;
}

body.dark_theme #lgmanager_warranty {
  background-color: #29303a !important;
  border-color: #475053 !important;
}

/* ===== Inline color overrides for PHP-generated HTML ===== */

/* Tables with hardcoded #000 text */
body.dark_theme td[style*="color:#000"],
body.dark_theme th[style*="color:#000"],
body.dark_theme span[style*="color:#000"],
body.dark_theme td[style*="color: #000"],
body.dark_theme th[style*="color: #000"],
body.dark_theme span[style*="color: #000"] {
  color: #ffffff !important;
}

body.dark_theme td[style*="color:#333"],
body.dark_theme span[style*="color:#333"],
body.dark_theme td[style*="color: #333"],
body.dark_theme span[style*="color: #333"] {
  color: #c5d1de !important;
}

body.dark_theme td[style*="color:#555"],
body.dark_theme span[style*="color:#555"],
body.dark_theme td[style*="color: #555"],
body.dark_theme span[style*="color: #555"] {
  color: #c5d1de !important;
}

body.dark_theme td[style*="color:#666"],
body.dark_theme a[style*="color:#666"],
body.dark_theme td[style*="color: #666"],
body.dark_theme a[style*="color: #666"] {
  color: #8899aa !important;
}

/* Light backgrounds → dark */
body.dark_theme td[style*="background:#CCC"],
body.dark_theme td[style*="background: #CCC"],
body.dark_theme input[style*="background:#CCC"],
body.dark_theme input[style*="background: #CCC"] {
  background: #343b46 !important;
  color: #c5d1de !important;
}

body.dark_theme td[style*="background:#DCDBD9"],
body.dark_theme td[style*="background: #DCDBD9"] {
  background: #343b46 !important;
}

/* Success/error boxes */
body.dark_theme div[style*="background-color:#DDFFDD"],
body.dark_theme div[style*="background:#DDFFDD"],
body.dark_theme div[style*="background-color: #DDFFDD"] {
  background-color: #1a3a2a !important;
  border-color: #2a5a3a !important;
  color: #7ee787 !important;
}

body.dark_theme div[style*="background-color:#FFDDDD"],
body.dark_theme div[style*="background:#FFDDDD"],
body.dark_theme div[style*="background-color: #FFDDDD"] {
  background-color: #3a1a1a !important;
  border-color: #5a2a2a !important;
  color: #ff8888 !important;
}

body.dark_theme div[style*="background:#FFDDDD"] a,
body.dark_theme div[style*="background-color:#FFDDDD"] a {
  color: #ff8888 !important;
}

/* Light green backgrounds */
body.dark_theme div[style*="background-color: #d9f5d7"],
body.dark_theme div[style*="background-color:#d9f5d7"] {
  background-color: #1a3a2a !important;
  color: #7ee787 !important;
}

/* Yellow text readability */
body.dark_theme span[style*="color:#FFEB3B"],
body.dark_theme span[style*="color: #FFEB3B"],
body.dark_theme td[style*="color:#FFEB3B"] {
  color: #ffd700 !important;
  text-shadow: none !important;
}

/* Yellow/orange bg badges */
body.dark_theme span[style*="background:#f2a150"],
body.dark_theme span[style*="background: #f2a150"] {
  background: #b68621 !important;
}

body.dark_theme span[style*="background:#e1e815"],
body.dark_theme span[style*="background: #e1e815"] {
  background: #8a7a10 !important;
}

/* Gray borders → dark borders */
body.dark_theme [style*="border: 1px solid #999"],
body.dark_theme [style*="border:1px solid #999"],
body.dark_theme [style*="border: 1px solid #AAAAAA"],
body.dark_theme [style*="border:1px solid #AAAAAA"] {
  border-color: #475053 !important;
}

/* Light bg notification boxes */
body.dark_theme [style*="background:#DDDDDD"],
body.dark_theme [style*="background: #DDDDDD"],
body.dark_theme [style*="background-color:#DDDDDD"] {
  background: #343b46 !important;
  color: #c5d1de !important;
}

/* Cards departamentos - Control Proyectos */
body.dark_theme .lgdept-card {
  background: #29303a;
  border-color: #475053;
}
body.dark_theme .lgdept-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
body.dark_theme .lgdept-name {
  color: #ffffff;
}
body.dark_theme .lgdept-count {
  color: #94a3b8;
}
