/* task inside the board */
.task-board {
    position: relative;
    margin-bottom: 4px;
    border: 1px solid #000;
    padding: 2px;
    font-size: 0.85em;
    word-wrap: break-word;
}

div.task-board-recent {
    border-width: 2px;
}

div.task-board-status-closed {
    user-select: none;
    border: 1px dotted #555;
}

.task-table a,
.task-board a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.task-table a:focus,
.task-table a:hover,
.task-board a:focus,
.task-board a:hover {
    text-decoration: underline;
}

.task-board-collapsed {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

a.task-board-collapsed-title {
    font-weight: normal;
}

.task-board .dropdown {
    font-size: 1.1em;
}

.task-board-title {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.task-board-title a {
    font-weight: normal;
}

.task-board-user {
    font-size: 0.8em;
}

.task-board-current-user a {
    text-decoration: underline;
}

.task-board-current-user a:focus,
.task-board-current-user a:hover {
    text-decoration: none;
}

a.task-board-nobody {
    font-weight: normal;
    font-style: italic;
    color: #444;
}

.task-board-category-container {
    text-align: right;
}

.task-board-category {
    font-weight: bold;
    font-size: 0.9em;
    color: #000;
    border: 1px solid #555;
    padding: 2px;
    padding-right: 5px;
    padding-left: 5px;
}

.task-board-icons {
    text-align: right;
    margin-top: 8px;
}

.task-board-icons a {
    opacity: 0.5;
}

.task-board-icons span {
    opacity: 0.5;
    margin-left: 2px;
}

.task-board-icons a:hover,
.task-board-icons span:hover {
    opacity: 1.0;
}

.task-board-date {
    font-weight: bold;
    color: #000;
}

span.task-board-date-overdue {
    color: #D90000;
    opacity: 1.0;
}

/* task score */
.task-board .task-score {
    font-weight: bold;
    font-size: 1.1em;
}

/* task age */
.task-board-closed,
.task-board-days {
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0.5;
    font-size: 0.8em;
}

.task-board-days:hover {
    opacity: 1.0;
}

.task-days-age {
    border: #666 1px solid;
    padding: 1px 4px 1px 2px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.task-days-incolumn {
    border: #666 1px solid;
    border-left: none;
    margin-left: -5px;
    padding: 1px 2px 1px 4px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.board-container-compact .task-board-days {
    display: none;
}

/* task summary */
#task-summary {
    margin-bottom: 15px;
}

#task-summary h2 {
    color: #666;
    font-size: 2.5em;
    margin-top: 0;
    padding-top: 0;
}

.task-summary-container {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 15px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.task-summary-column {
    font-size: 0.9em;
    color: #666;
}

.task-summary-column span {
    color: #555;
}

.task-summary-column li {
    line-height: 23px;
}

.task-show-description {
    border-left: 4px solid #333;
    padding-left: 20px;
}

.task-show-description-textarea {
    width: 99%;
    max-width: 99%;
    height: 300px;
}

.task-link-closed {
    text-decoration: line-through;
}

.flag-milestone {
    color: green;
}

/* color picker */
.color-picker {
    min-height: 35px;
}

.color-square {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #000;
    cursor: pointer;
}

.color-square:hover {
    border-style: dotted;
}

div.color-square-selected {
    border-width: 2px;
    width: 28px;
    height: 28px;
    box-shadow: 3px 2px 10px 0 rgba(180,180,180,0.9);
}

/* Assign to me */
.assign-me {
    font-size: 0.8em;
    vertical-align: bottom;
}