/**
 * 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;
}

/**
 * Reports module
 */
.k-module-reports .k-log-container > textarea,
.k-module-php-errors .k-log-container > textarea,
.k-module-apache-access .k-log-container > textarea,
.k-module-mysql-errors .k-log-container > textarea,
.k-module-apache-errors .k-log-container > textarea {
    width: 100%;
    min-height: 350px;
    font-family: monospace;
}

.k-module-mysql-errors .k-log-container > textarea {
    min-height: 100px;
}

.k-module-php-errors .k-log-container > textarea {
    min-height: 200px;
}

.k-module-apache-errors .k-log-container > textarea {
    min-height: 100px;
}

.k-module-apache-access .k-log-container > textarea {
    min-height: 100px;
}

.dropdown-path-entry > small {
    font-weight: bold;
    position: relative;
    top: -5px;
    left: 7px;
}

.dropdown-path-entry > * {
    display: inline-block;
    width: 100%;
}

.k-module-dashboard .dashboard > .k-row > .k-cell {
    margin: 0 1em;
}

.k-module-dashboard .dashboard > .k-row > .k-cell h4 {
    font-size: 1.3em;
    width: 100%;
    font-weight: 100;
}

.k-module-dashboard .dashboard > .k-row > .k-cell .box {
    background-color: #f2f2f2;
    color: #444;
}

.k-module-dashboard .dashboard .charts {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.k-module-dashboard .dashboard .charts .box-progress {
    width: 0%;
    position: absolute;
    bottom: 0;
    height: 4px;
    background: #999;
    opacity: .3;
}

.k-module-dashboard .dashboard .charts .box-progress.animate {
    animation: box-progress-width 10s linear;
}

.k-module-dashboard .dashboard .polling-interval-container {
    position: absolute;
    right: 0;
    top: -17px;
}

@keyframes box-progress-width {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes loader-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

.k-module-dashboard .dashboard .charts.hidden .chart-container {
    visibility: hidden;
}

.k-module-dashboard .dashboard .chart-container {
    flex: 1;
}

.k-module-dashboard .dashboard .chart-container.no-padding-left {
    padding-left: 0;
}

.k-module-dashboard .dashboard .chart-container .chart-mem {
    margin-top: 2em;
    height: 250px;
}

.k-module-dashboard .dashboard .chart-container .chart-threads {
    /*margin-top: 1em;*/
    height: 250px;
    padding-right: 2.5em;
}

.k-module-dashboard .dashboard .chart-container .chart-drive {
    height: 250px;
    min-width: 280px;
}

.k-module-dashboard .dashboard .chart-container .gauge-proc {
    margin-top: 1em;
}

.k-module-dashboard .dashboard .chart-container.fit-to-content {
    flex-grow: 0;
}

.k-module-dashboard .dashboard .chart-container.full-width {
    flex: 0 0 100%;
}

.k-module-dashboard .dashboard .chart-container {
    padding: 0 2em;
    position: relative;
}

.k-module-dashboard .dashboard .chart-container .gauge-text {
    text-align: center;
    display: inherit;
    position: absolute;
    bottom: 5em;
    left: 0;
    right: 0;
}

.k-module-dashboard .dashboard .server-details {
    width: 100%;
}

.k-module-dashboard .dashboard .server-details p {
    padding: 0 1.2em;
}

.k-module-dashboard .dashboard .server-details p > span {
    float: right;
    display: inline-block;
    width: 80%;
}

.k-module-dashboard .dashboard .dashboard-statuses {
    width: 43em;
    margin: 1em;
    border-collapse: collapse;
}

.k-module-dashboard .dashboard .dashboard-statuses thead td {
    font-weight: bold;
    padding-bottom: .9em;
}

.k-module-dashboard .dashboard .dashboard-statuses thead td:last-child {
    text-align: center;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td {
    padding-left: .5em;
    padding-bottom: 1em;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.dt {
    width: 5em;
    font-size: 95%;
    font-family: monospace;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.group {
    font-family: monospace;
    width: 16em;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.action {
    width: 4.3em;
    padding-bottom: 1em;
    position: relative;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.action > button {
    position: absolute;
    top: -3px;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.value {
    text-align: center;
    width: 4em;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.value .PASS {
    color: green;
}

.k-module-dashboard .dashboard .dashboard-statuses tbody td.value .FAIL {
    color: red;
}

.k-module-dashboard .dashboard .dashboard-statuses tfoot td {
    border-top: 1px solid #ccc;
    padding-top: 1em;
}

.k-module-dashboard .dashboard .dashboard-statuses tfoot td.value {
    text-align: center;
    font-weight: bold;
}
