
.task-calendar
{
    width: 100%;
    overflow-y: scroll;
    background-color: #fff;
    border: 1px solid #ccc;
}

.task-calendar-date
{
    width: 100px;
    min-width: 100px;
    min-height: 500px;
    border-right: 1px solid #ccc;
    padding-bottom: 30px;
}

.tcd-weekend
{
    background-color: #eee;
}

.tcd-dayoff-new
{
    background-color: #fffcce !important;
}

.tcd-dayoff
{
    background-color: #ff8989 !important;
}

.tcd-title
{
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    background-color: #ddd;
    padding: 3px;
}

.tcd-date
{
    font-size: 16px;
}

.worktime-plus
{
    color: red;
}

.worktime-minus
{
    color: green;
}

.tcd-current{
    background-color: #cef1ff;
}

.tcd-tasks
{
    padding-top: 5px;
}

.tcd-task
{
    margin-bottom: 5px;
    padding: 3px;
    border-top: 4px solid;
    border-bottom: 4px solid;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.tcd-task:hover
{
    color: #fff !important;
}

.tcd-task-start
{
    margin-left: 3px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-left: 4px solid;
}

.tcd-task-end
{
    margin-right: 3px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-right: 4px solid;
}

.tcd-task:not(.tcd-task-end)
{
    margin-right: -1px;
}

.task-completed
{
    color: #000;
    background-color: #eee;
}

.task-question, .task-question:hover
{
    color: #000 !important;
    background-color: #fff !important;
    border-color: red !important;
}

.tcd-task-order
{
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    background-color: #fff;
    color: #000000;
    width: 16px;
    height: 16px;
}

.tcd-task-title
{
    line-height: 17px;
    height: 34px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tcd-task-project
{
    line-height: 17px;
    height: 17px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.task-tooltip
{
    width: 150px;
    position: absolute;
    z-index: 9;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}

.tcd-task:not(:hover) .task-tooltip
{
    display: none !important;
}

.task-tooltip.tooltip-inner {
    background-color: #eee;
    color: #000 !important;
    box-shadow: 0px 0px 4px black;
    opacity: 1 !important;
}
.task-tooltip.tooltip .tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.task-tooltip.tooltip.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: #555 !important;
}
.task-tooltip.tooltip.bs-tooltip-left .tooltip-arrow::before {
    border-left-color: #555 !important;
}
.task-tooltip.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #555 !important;
}
.task-tooltip.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #555 !important;
}

.task-comments
{
    max-height: 500px;
    overflow-y: auto;
}
.task-comment .btn-sm
{
    padding: 2px;
}

.task-comment
{
    border-bottom: 1px solid #ccc;
}

.task-comment-text
{
    white-space: pre-wrap;
}

#task-comments-list
{
    padding-right: 15px;
}

.message-item-new
{
    font-weight: 700;
    background-color: #cef1ff;
}

.task-description
{
    inset: 8px -15px auto auto !important;
    overflow-y: auto;
    max-height: calc(100% - 50px);
    margin-bottom: 20px;
}

#task-comments
{
    max-height: 100%;
    height: 100%;
}

.task-comments
{
    max-height: calc(100% - 220px);
    height: 100%;
}

#ajaxModal .modal-dialog
{
    position: relative;
    height: 100%;
    max-height: 90vh;
    max-width: 90%;
}

#ajaxModal .modal-content,
#ajaxModal .modal-body,
#ajaxModal .modal-body > .row,
#ajaxModal .modal-body > .row > .col-md-6
{
    height: 100%;
}

#ajaxModal .btn-close
{
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -15px;
    right: 5px;
    background-image: none !important;
    background-color: red !important;
    border-radius: 50%;
    color: #fff !important;
    text-shadow: none !important;
    opacity: 1 !important;
    padding: 0px;
    font-size: 14px;
    line-height: 20px;
}

.tii-info
{
    font-size: 12px;
}

.tii-name
{
    font-weight: 700;
}
.task-infos .task-info
{
    padding: 10px;
}
.task-infos .task-info:nth-child(even)
{
    background-color: #efefef;
}

.task-infos .task-info
{
    padding: 10px;
}
.task-infos .task-info:nth-child(even)
{
    background-color: #def7ff;
}

.dev-check
{
    width: 40px;
    min-width: 40px;
}

.dev-check-btn
{
    border: 2px solid #ccc;
    color: #ccc;
    font-size: 20px;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
}
.dev-check-btn:hover
{
    background-color: #ccc;
    color: #fff;
}
.dev-check-btn.checked
{
    color: #fff;
    border-color: green;
    background-color: green;
}

.tiidev-showinfo
{
    cursor: pointer;
}

.dev-info.dev-info-showinfo .tiidev-showinfo .fa-angle-down {
    display: none !important;
}
.dev-info:not(.dev-info-showinfo) .tiidev-showinfo .fa-angle-up {
    display: none !important;
}
.dev-info:not(.dev-info-showinfo) .tii-description
{
    display: none !important;
}
.task-devs
{
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
.task-devs:nth-child(odd) {
    background-color: #eee;
}
.task-devs:last-child
{
    border: 0px;
}
.tiidev-showinfo:hover
{
    cursor: pointer;
    background-color: green;
    color: #fff;
}
.tcd-offtime, .tcd-plustime{
    position: absolute;
    top: 3px;
    display: block;
    width: 20px;
    height: 20px;
    color: #fff;
    border-radius: 50%;
}
.tcd-offtime{
    left: 3px;
    background-color: red;
}
.tcd-plustime
{
    right: 3px;
    background-color: green;
}

.tsk-timer-btn {
    border: 2px solid #000;
    padding: 3px;
    background-color: #fff;
    color: #000;
}

.tsk-timer-btn:hover {
    background-color: red;
}

.tsk-timer-btn-active{
    background-color: #000;
    color: #fff;
    border-color: red;
}


@media (max-width: 767px) {
    #ajaxModal .modal-content, #ajaxModal .modal-body, #ajaxModal .modal-body > .row, #ajaxModal .modal-body > .row > .col-md-6
    {
        height: initial;
        max-height: initial;
    }
    #ajaxModal .modal-body > .row > .col-md-6
    {
        height: 600px;
    }
    .task-comments {
        max-height: calc(100% - 260px);
    }
    #ajaxModal .modal-dialog
    {
        max-width: 100%;
        margin-top: 30px;
    }
}