/* SIDENAV */
.tasks-sidenav {
    position: fixed;
    top: 0;
    right: -600px;
    bottom: 0;
    z-index: 10035;
    padding: 1rem;
    width: 600px;
    background: #fff;
    border-left: 5px solid #ccc;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.tasks-sidenav.open {
    right: 0;
}
.tasks-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}
.task-details .table-data,
.task-logs .table-data {
    min-width: 100%;
}
.task-details {
    position: absolute;
    top: 5rem;
    left: 1rem;
    right: 0;
    bottom: 1rem;
    overflow-y: auto;
    padding-right: 1rem;
}
.task-details .container .row > div:first-child {
    padding-left: 0;
}
.task-details .container .row > div:last-child {
    padding-right: 0;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #aaa; }
::-webkit-scrollbar-thumb:hover { background: #999; }

.task-log-container {
    clear: both;
}
.task-log-container::before {
    left: 18px !important;
}
.task-log {
    margin-right: 0 !important;
}
.task-log-container div i {
    left: 5px !important;
}

/* COMMON */
.task-target-date-onpage-field {
	border: 0;
	background: none;
	cursor: pointer;
}
.task-target-date-onpage-field:focus-visible {
	border: 0;
	outline: none;
}
.task-target-date-blank {
    display: inline-block;
    padding: 1px 0;
	cursor: pointer;
}
.task-hidden-field {
	width: 0;
	height: 0;
	opacity: 0;
}
.btn-task-comment-form-toggle {
    float: right;
    margin-top: -5px;
    margin-bottom: 5px;
}
.task-comment-container {
    clear: both;
    display: none;
    margin-bottom: 2rem;
}
.form-group-task_comment label {
    display: none;
}
.task-comment-deleted .timeline-body,
.task-comment-deleted .timeline-footer {
    display: none;
}
.timeline-body > p:last-child {
    margin-bottom: 0;
}

.table-main .task-row-on-hold td { background-color: rgba(255,193,0,0.1); }
.table-main .task-row-in-progress td { background-color: rgba(0,123,255,0.1); }
.table-main .task-row-completed td { background-color: rgba(40,167,69,0.1); }
.table-main .task-row-future-task td { background-color: rgba(23,162,184,0.1); }
.table-main .task-overdue td { background-color: rgba(255,0,0,0.1) !important; }

.task-complete {
    background-color: rgba(0,200,0,0.2);
    font-weight: 600;
}
.task-complete .complete-msg {
    display: inline-block;
}
.complete-tag {
    display: none;
}
.complete-tag.show-tag {
    display: inline-block;
}
small.complete-tag {
    color: #090;
}

/* OVERRIDES */
.task-items-menu-list .dropdown-item.active,
.task-items-menu-list .dropdown-item:active {
    color: inherit;
    background-color: rgba(0,0,0,0.1);
}
.timeline-header,
.timeline-body,
.timeline-footer,
.timeline-item .time {
    padding: 5px !important;
}
.timeline-item {
    margin-left: 50px !important;
    margin-right: 0 !important;
}
.timeline-item .time {
    line-height: 1.2 !important;
}
.timeline-header {
    font-size: 14px !important;
}
.timeline-footer {
    border-top: 1px solid #ddd;
}
.nav-item-tasks .badge {
    display: none;
}
.navbar-badge {
    right: 2px !important;
    top: 14px !important;
    padding: .3em .5em !important;
    font-size: 0.8rem !important;
    font-weight: 600;
    letter-spacing: 0 !important;
}