/**
 * Tasks module
 */
.k-tasks-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.k-tasks-details .k-tasks-details-header {
    background: #fafafa;
}

.k-tasks-details .k-tasks-details-header .k-row {
    margin: 5px 0;
}

.k-tasks-details .k-tasks-details-header .k-row .k-cell {
    font-size: .87em;
}

.k-tasks-details .k-tasks-details-header .k-row .k-cell span {
    font-weight: 600;
}

.k-tasks-details .k-tasks-details-header hr {
    width: 85%;
    opacity: .5;
}

.k-tasks-details .k-tasks-details-header .title {
    margin: 0;
}

.k-tasks-details .k-tasks-details-header .description {
    margin: 0;
    font-size: .86em;
}

.k-tasks-attachments > .attachment {
    margin-right: 1em;
    font-size: .8em;
}

.k-tasks-attachments > .separator {
    margin-top: 1em;
}

.k-tasks-comments {
    flex: 1;
    border-left: 1px solid #e6e6e6;
    padding: 1em;
    padding-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.k-tasks-comments article {
    padding: 0 5px;
}

.k-tasks-comments article .author {
    display: inline-block;
    font-style: normal;
}

.k-tasks-comments article .author > a {
    color: #1b2432;
    font-weight: bold;
}

.k-tasks-comments article header time {
    color: #a1a4aa;
    display: inline;
    font-size: 11px;
    margin-left: 10px;
    white-space: nowrap;
    float: right;
}

.k-tasks-comments article > p {
    color: #1B2432;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
    margin-bottom: 0;
    margin-top: 5px;
}

.k-tasks-comments .separator {
    border-color: #e1e2e4;
    border-style: solid none none;
    border-width: 1px;
    margin: 10px 0;
}

.k-tasks-comments article > .attachment,
.k-tasks-editbox .attachment-box > .attachment {
    font-size: 11px;
    color: #aaa;
    width: 100%;
    display: inline-block;
    text-align: right;
    margin-top: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.k-tasks-comments article > .attachment > a,
.k-tasks-editbox .attachment-box > .attachment > a {
    margin-left: 10px;
}

.k-tasks-comments article > .attachment > a > img,
.k-tasks-editbox .attachment-box > .attachment > a > img {
    position: relative;
    top: 3px;
}

.k-tasks-comments article > .attachment:hover > a,
.k-tasks-editbox .attachment-box > .attachment:hover > a:not(.delete) {
    color: #000;
}

.k-tasks-editbox .attachment-box > .attachment > a .title {
    max-width: 160px;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    top: 2px;
}

.k-tasks-comments .no-data,
.k-tasks-comments .no-task-selected {
    margin: 0;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    position: relative;
    top: 45%;
    color: #a1a4aa;
}

.k-tasks-editbox {
    display: flex;
    flex-direction: row;
    position: relative;
}

.k-tasks-editbox > .k-menu {
    border: 1px solid #e6e6e6;
    border-bottom: 0;
    display: flex;
    align-items: center;
}

.k-tasks-editbox > .k-menu > li.k-item.k-state-default.k-state-focused {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.k-tasks-editbox > .k-menu > li > .k-link {
    line-height: 2.5em;
}

.k-tasks-editbox > .k-menu .k-menu-expand-arrow {
    display: none;
    visibility: hidden;
}

.k-tasks-editbox > .k-textbox {
    height: 55px;
    resize: none;
    border: 0;
    border-top: 1px solid #e6e6e6;
    flex: 1;
}

.k-tasks-editbox > .k-button {
    border: 0;
}

.k-tasks-editbox .attachment-box {
    position: absolute;
    top: -33px;
    left: 40px;
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 0px 10px;
    margin: 0;
    border-bottom: 0;
}

.k-tasks-editbox .attachment-box > .attachment .delete {
    padding: 3px 10px;
    position: relative;
    top: -2px;
}

/** Tasks Scheduler (Calendar) **/
.k-tasks-scheduler .k-event {
    font-size: .85em;
    padding-bottom: 3px;
}

.k-tasks-scheduler .k-event > span {
    display: inline-block;
    width: 100%;
    padding-left: .5em;
}

.k-tasks-scheduler-edit .k-edit-form-container .k-form {
    padding: 0;
}

.k-scheduler-edit-form.k-tasks-scheduler-edit label + input {
    margin-left: 0;
}

.k-tasks-scheduler-edit .k-edit-form-container .k-form.top-labelled .k-row .k-dropdown .k-tooltip {
    margin: 0.1em !important;
}

.k-tasks-scheduler-edit .k-link.open-task {
    color: rgb(0, 82, 204);
}

/**
 * Clients module
 */
.k-clients-overview-details {
    margin: 0;
    padding: 1em;
    min-height: 125px;
}

.k-clients-overview-notes {
    height: auto;
    min-height: 150px;
    max-height: 400px;
}

/**
 * SystemLogs module
 */
.k-module-system-logs .k-grid .k-detail-row > td,
.k-module-system-logs .k-tabstrip > div.k-content {
    padding: 0;
}

.k-diff-container .switch-mode {
    margin-right: 1em;
    margin-top: .5em;
    margin-bottom: .5em;
}

.k-diff-container .diff-modes {
    margin-bottom: .5em;
}

.k-diff-container .diff-modes > div.diff-json {
    display: none;
}

.k-diff-container .diff td {
    padding: 0 0.667em !important;
    vertical-align: top;
    white-space: pre-wrap;
    font-family: Consolas, 'Courier New', Courier, monospace;
    font-size: 0.75em;
    border: 0 !important;
}

.k-diff-container .diff span {
    display: block;
    min-height: 1.333em;
    margin-top: -1px;
    padding: 0 3px;
}

* html .k-diff-container .diff span {
    height: 1.333em;
}

.k-diff-container .diff span:first-child {
    margin-top: 0;
}

.k-diff-container .diff span:empty {
    display: none;
}

.k-diff-container .diffDeleted span {
    border: 1px solid rgb(255, 192, 192);
    background: rgb(255, 224, 224);
}

.k-diff-container .diffInserted span {
    border: 1px solid rgb(192, 255, 192);
    background: rgb(224, 255, 224);
}

.k-diff-container .diff:not(.bordered) .diffDeleted span ~ span,
.k-diff-container .diff:not(.bordered) .diffInserted span ~ span {
    border-bottom: 0;
    border-top: 0;
}

.k-diff-container #toStringOutput {
    margin: 0 2em 2em;
}

.k-posts-module .thumb-item {
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
}
.k-posts-module .thumb-item .thumbnail {
    width: 80px;
    height: auto;
}

.k-posts-edit-module .k-thumbnail-container .k-thumbnail-centered img {
    min-width: 150px;
    padding: 4px;
    border: 1px solid rgba(52, 73, 94, 0.44);
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .08), 0 3px 6px rgba(0, 0, 0, .08);
}
