/*
 * @link https://www.humhub.org/
 * @copyright Copyright (c) 2018 HumHub GmbH & Co. KG
 * @license https://www.humhub.com/licences
 *
 */
#task-assignment-info {
  margin: 5px 0 0;
}

#task-container .task-head {
  padding-left: 5px;
}
#task-container .panel-heading {
  background-color: var(--hh-background-color-secondary);
}
#task-container .panel-heading .task-header-panel {
  padding-right: 10px;
  float: left;
  border-right: 2px solid var(--hh-background-color-page);
  padding-left: 10px;
}
#task-container .panel-heading .task-header-panel strong {
  font-size: 13px;
}
#task-container .panel-heading .task-header-panel:last-child {
  border-right: 0;
}
#task-container .panel-heading .task-header-panel:first-child {
  padding-left: 0;
}
#task-container .panel-heading .col-md-12 {
  overflow: visible;
}
#task-container .panel-heading .task-change-state-button {
  margin-top: 20px;
}
#task-container .panel-heading .assigned-anyone {
  font-size: 14px;
  font-style: italic;
  margin: 2px;
  color: var(--hh-text-color-secondary);
}
#task-container .panel-heading .updated {
  color: var(--hh-text-color-soft3);
  font-size: 11px;
  font-weight: bold;
}
#task-container .panel-heading .author a {
  color: var(--hh-text-color-soft3);
  font-size: 11px;
}

.task-overview #filter-tasks-list {
  margin-top: 15px;
}
.task-overview #filter-tasks-list .empty {
  margin: 15px 0;
}
.task-overview #filter-tasks-list .hh-list {
  margin-bottom: 0;
}
.task-overview #filter-tasks-list .hh-list > div {
  margin-bottom: 6px;
}
.task-overview #filter-tasks-list .hh-list > div .d-flex > div {
  margin-right: 8px;
}
.task-overview #filter-tasks-list .hh-list > div .d-flex > div:last-child {
  margin-right: 0;
}
.task-overview #filter-tasks-list .hh-list .task-item-info {
  display: flex;
  flex-wrap: wrap !important;
  font-size: 95%;
}
.task-overview #filter-tasks-list .hh-list .task-item-info > div {
  text-wrap: nowrap;
  margin-right: 10px;
}
.task-overview #filter-tasks-list .hh-list .task-item-info .text-accent {
  color: var(--accent);
}
.task-overview #filter-tasks-list .hh-list .task-users, .task-overview #filter-tasks-list .hh-list .task-progress {
  border-right: 1px solid #eee;
  padding-right: 8px;
  margin: 4px 8px 4px 0;
}
.task-overview #filter-tasks-list .hh-list .task-progress {
  width: 50px;
  padding-top: 9px;
}
.task-overview #filter-tasks-list .hh-list .nav-pills.preferences {
  position: relative;
  right: 0;
  top: 8px;
}
.task-overview #filter-tasks-list .hh-list > div:not(.pagination-container):last-of-type {
  border-bottom: 0;
}
.task-overview #filter-tasks-list .hh-list > div:not(.pagination-container), .task-overview #filter-tasks-list .hh-list .empty {
  background: var(--hh-background-color-main);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 8px;
  color: #555;
  font-size: 13px;
}
.task-overview #filter-tasks-list .hh-list .nav-pills .dropdown-menu li a {
  color: var(--hh-primary-contrast);
}
.task-overview .filter-list > li {
  cursor: pointer;
  margin-bottom: 4px;
}
.task-overview .filter-list > li:last-child {
  border-bottom: 0;
}
.task-overview .hh-list .progress {
  margin-top: 2px;
  margin-bottom: 3px;
}
.task-overview .hh-list .summary, .task-overview .hh-list .empty {
  font-size: 12px;
  color: var(--hh-text-color-soft3);
  padding-left: 10px;
}
.task-overview .hh-list .pagination {
  margin-bottom: 0;
}
.task-overview .hh-list .pagination li {
  border: 0;
  padding: 0 !important;
}
.task-overview .hh-list .pagination li:hover {
  border: 0;
}
@media (max-width: 767px) {
  .task-overview #task-filter-nav {
    overflow: auto;
  }
}
.task-overview label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #555;
}
.task-overview #task-filter-nav {
  background: var(--hh-background-color-main);
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  padding: 20px;
}
.task-overview #task-filter-nav .filter-list a {
  white-space: nowrap;
}
.task-overview #task-filter-nav .filter-root {
  margin: 0;
}
.task-overview #task-filter-nav .filter-root .filterInput {
  font-size: 13px;
}
.task-overview #task-filter-nav .filter-root ul.filter-list > li {
  padding: 2px 0;
}
.task-overview #task-filter-nav .filter-panel {
  vertical-align: top;
  width: auto !important;
  min-width: 200px;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
}
.task-overview #task-filter-nav .filter-panel ul.filter-list > li input[type=text], .task-overview #task-filter-nav .filter-panel ul.filter-list > li .select2 {
  margin: 5px 5px 10px 0;
}
.task-overview #task-filter-nav .filter-panel ul.filter-list .select2 li {
  padding: 0 2px;
}
.task-overview #task-filter-nav .filter-panel ul.filter-list .select2 li img {
  margin-bottom: 1px;
}
.task-overview #task-filter-nav .filter-panel ul.filter-list .select2 li .space-acronym {
  margin-top: 2px;
}
.task-overview #task-filter-nav .task-filter-picker-container {
  width: 200px;
}
.task-overview #task-filter-nav #task-filter-loader {
  padding-top: 12px;
}
.task-overview #task-filter-nav .task-bottom-panel .filterInput {
  margin: 5px;
}
.task-overview #task-filter-nav .task-bottom-panel .filterInput[data-filter-type=checkbox] .fa {
  width: 18px;
  height: 18px;
  margin: 0 4px -4px -5px;
  border: 2px solid var(--hh-background3);
  border-radius: 4px;
}
.task-overview #task-filter-nav .task-bottom-panel .filterInput[data-filter-type=checkbox] .fa:before {
  content: "";
}
.task-overview #task-filter-nav .task-bottom-panel .filterInput[data-filter-type=checkbox] .fa.fa-check-square-o {
  border-color: var(--accent);
  background: var(--accent);
}
.task-overview #task-filter-nav .task-bottom-panel .filterInput.task-date-picker {
  margin-left: 0;
}

#task-list-loader {
  float: right;
}

.task-items {
  list-style: none;
  padding: 0;
  margin: 0;
  height: auto !important;
}

.task-details h1 {
  font-size: 22px;
  margin-bottom: 5px;
}
.task-details h2 {
  font-size: 17px;
  color: var(--hh-text-color-soft2);
  font-weight: 300;
  margin-top: 0;
}
.task-details h1.task-item-title {
  font-size: 20px;
}

.wall-entry .d-flex .task .progress {
  margin-top: 2px;
  margin-bottom: 3px;
}

.task-infos {
  display: flex;
  flex-wrap: wrap;
}

.task-info {
  flex: 1;
  display: inline-block;
  padding: 0 10px 10px 0;
  white-space: nowrap;
}
.task-info.task-info-id {
  flex: 0.5;
}
.task-info > strong {
  display: block;
  margin-bottom: 5px;
}
.task-info .task-info-text {
  font-size: 13px;
}
.task-info div {
  font-style: italic;
  padding-bottom: 2px;
  font-size: 13px;
}

@media (max-width: 991px) {
  .agenda-point {
    display: none !important;
  }
  .edit-link {
    display: inline-block !important;
  }
}
.field-task-all_day label {
  padding: 0 !important;
}

.closed-task-list-view div.hh-list {
  margin-bottom: 0;
}
.closed-task-list-view li {
  border-left: 0 !important;
}
.closed-task-list-view li:hover {
  background-color: var(--hh-background-color-warning) !important;
  border-left: 0 !important;
}

.task-list-header {
  margin-bottom: 30px;
}
.task-list-header .panel-body {
  padding: 20px;
}
.task-list-header h4 {
  color: #555;
  font-weight: 600;
  margin-top: 0;
}
.task-list-header .form-text, .task-list-header .form-text:hover {
  color: #555 !important;
  font-size: 13px;
}

.task-list-tabs {
  margin-bottom: 12px;
}

#task-space-menu {
  background: none;
  padding: 0 0 8px 0;
  border-bottom: 1px solid var(--hh-background3);
}
#task-space-menu li a {
  background: none;
  border-top: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
  border-right: 1px solid var(--hh-background4);
  border-radius: 0;
  padding: 3px 8px;
}
#task-space-menu li:first-child a {
  padding-left: 0;
}
#task-space-menu li.active a {
  color: #21A1B3;
}

#toggle-lists {
  padding: 1px 16px 0 0;
}
#toggle-lists, #toggle-lists:hover, #toggle-lists:active {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 13px;
}
#toggle-lists .fa {
  font-size: 22px;
  vertical-align: middle;
  margin: -3px 6px 0 0;
}

.task-list .toggleItems {
  font-size: 22px;
  line-height: 16px;
  margin-left: 22px;
}
.task-list .fa-bars {
  color: var(--hh-text-color-soft2);
}
.task-list .task-list-title-bar.collapsable {
  cursor: pointer;
}
.task-list .task-list-title-bar > i:first-of-type, .task-list .task-list-item-title > i:first-of-type {
  margin-right: 10px;
}

.task-list .empty, .closed-task-list-view .empty {
  padding: 15px 10px;
  font-size: 13px;
}

.task-list .panel-body {
  padding-bottom: 0;
}

.task-list .pagination-container {
  background-color: var(--hh-background-color-secondary);
  border-bottom: 1px solid var(--background3);
  border-radius: 4px;
}
.task-list .pagination-container li {
  border: 0 !important;
}
.task-list .pagination-container li:hover {
  background: transparent;
}

.task-list-container {
  border-left: 3px solid;
  border-radius: 4px;
  padding: 0 10px 0 7px;
}
.task-list-container .task-list-task-title-bar, .task-list-container .task-moving-handler:hover {
  cursor: pointer;
}
.task-list-container .task-list-title-bar > div {
  margin: 0 -10px;
  padding: 7px 10px;
}
.task-list-container .task-list-title-bar > div .task-moving-handler, .task-list-container .task-list-title-bar > div .task-list-edit {
  display: none;
}
.task-list-container .task-list-title-bar > div:hover {
  background: var(--hh-background-color-page);
  border-radius: 4px;
}
.task-list-container .task-list-title-bar > div:hover .task-moving-handler, .task-list-container .task-list-title-bar > div:hover .task-list-edit {
  display: inline-block;
}

.task-list-title-bar {
  border-bottom: 1px solid var(--hh-background3);
  padding: 10px 0;
  margin: 0 10px;
}
.task-list-title-bar button {
  margin-left: 5px;
}
.task-list-title-bar .task-list-title-text {
  font-weight: 600;
  font-size: 14px;
}

.task-list-ul {
  margin: 0;
  padding: 0;
}

.task-list-li {
  margin-bottom: 8px;
  background: var(--hh-background-color-main);
  border-radius: 4px;
  border: 1px solid var(--background3);
}
.task-list-li .closed-task-lists-container {
  background: var(--hh-background-color-secondary);
}
.task-list-li .task-toggled-color {
  color: #21A1B3;
}
.task-list-li.task-list-li-collapsed .task-toggled-color {
  color: var(--hh-text-color-highlight);
}
.task-list-li.task-list-li-collapsed .task-list-title-bar {
  border-bottom: none;
}

.ui-sortable-helper {
  background-color: var(--hh-background-color-main);
  border: 1px solid var(--background3);
}

.task-checklist ul {
  margin-left: 10px;
}
.task-checklist .task-item:hover {
  background: var(--hh-background-color-main);
}
.task-checklist .task-item-content {
  margin-left: 8px;
}
.task-checklist label.item-finished {
  text-decoration: line-through;
  font-style: italic;
}
.task-checklist label.item-finished input[type=checkbox]:checked {
  border-color: #bdbdbd;
  background: #bdbdbd;
}

#task-container .task-list-task-details {
  border: 0;
}
#task-container .task-list-task-details-body {
  padding: 0;
}

.task-list-items {
  min-height: 20px;
  margin: 0 10px;
}
.task-list-items .task-list-item {
  border-bottom: 1px solid #ddd;
}
.task-list-items .task-list-item .task-list-task-details {
  border-top: 1px dashed #ddd;
}
.task-list-items .task-list-item .task-list-task-details .wall-entry-controls, .task-list-items .task-list-item .task-list-task-details .wall-entry-controls a {
  margin-top: 0;
}
.task-list-items .task-list-item .task-list-task-details .task-details-body {
  margin: 10px 0;
}
.task-list-items .task-list-item .task-list-task-title-bar {
  padding: 10px 0;
  margin: 0 -10px;
}
.task-list-items .task-list-item .task-list-task-title-bar .fa.fa-arrows, .task-list-items .task-list-item .task-list-task-title-bar .fa.fa-ellipsis-v {
  color: #21A1B3;
}
.task-list-items .task-list-item .task-list-task-title-bar .toggleTaskDetails {
  font-size: 13px;
}
.task-list-items .task-list-item .task-list-task-title-bar > div {
  padding: 3px 10px;
}
.task-list-items .task-list-item .task-list-task-title-bar > div .task-moving-handler {
  display: none;
}
.task-list-items .task-list-item .task-list-task-title-bar > div:hover {
  background: #F0F0F0;
  border-radius: 4px;
}
.task-list-items .task-list-item .task-list-task-title-bar > div:hover .task-moving-handler {
  display: inline-block;
}
.task-list-items .task-list-item .task-list-task-details {
  padding: 15px 0;
}
.task-list-items .task-list-item .task-list-item-title .label {
  margin-left: 10px;
}
.task-list-items .task-list-item .task-list-task-title-bar.highlighter {
  background-color: #fff8e0;
  border-radius: 4px;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
}
.task-list-items .task-list-item .task-list-task-title-bar.highlighter > div {
  padding: 3px 5px;
}
.task-list-items .task-list-item:last-child {
  border-bottom: 0;
}
.task-list-items .task-list-task-completed-show-more {
  text-align: center;
  padding: 5px;
  background-color: #f7f7f7;
}

.tasks-completed {
  min-height: 0 !important;
}
.tasks-completed .task-list-item:first-child {
  border-top: 1px solid #ddd;
}

.task-list-state-highlight {
  height: 60px !important;
  line-height: 1.2em;
  background-color: #fff8e0;
  margin: 10px 0;
}

.task-state-highlight {
  height: 30px;
  line-height: 1.2em;
  background-color: #fff8e0;
}

.task-list-color {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  border-radius: 4px;
  margin: -2px 2px 0 0;
  vertical-align: middle;
  box-shadow: 0.2px 0.2px 1px;
}

.task-controls {
  font-size: 12px;
  margin-right: 10px;
  border-right: 1px solid #eee;
  padding-right: 10px;
}
.task-controls .dropdown-toggle {
  width: 20px;
  padding: 0;
  display: inline-block;
  text-align: center;
  box-shadow: none;
}

.task-controls.end {
  font-size: 12px;
  margin-right: 0;
  border-right: none;
  padding-right: 0;
}
.task-controls.end .nav-pills.preferences {
  position: static;
}

.task-controls .fa {
  font-size: 14px;
  margin-top: 4px;
}

.task-controls a {
  color: #999;
}

.task-controls a:hover {
  color: #3b4854;
}

.task-empty-list-alert {
  margin-bottom: 10px;
}

#task-form .ProseMirror-menubar-wrapper {
  z-index: 8;
}

#task-form .ProseMirror {
  min-height: 150px !important;
}

.wall-entry-task h1 {
  font-size: 14px;
  font-weight: 500;
}