﻿/* kendo UI */

.k-window-titlebar .k-window-action {
    width: 22px;
    height: 22px;
    padding: 2px !important; /* make sure win close button positioned correctly */
}

.k-calendar .k-selected a {
    color: #fff;
    background-color: #1688c3;
}

/*
.k-selected,.k-selected:link,.k-panel>.k-selected,.k-ghost-splitbar-vertical,
.k-ghost-splitbar-horizontal,.k-draghandle.k-selected:hover,.k-master-row.k-selected,
.k-grid-content tr.k-selected,.k-grid-content tr.k-alt.k-selected,
.k-detail-row .k-detail-cell tr.k-selected,.k-detail-row .k-detail-cell tr.k-alt.k-selected,
.k-detail-row .k-detail-cell .k-tabstrip tr.k-alt.k-selected {
    color: #002664;
    background-color: #e9ffc8;
    cursor: pointer
}
*/

.k-calendar .k-focused {
    background-color: #e3e3e3;
}

.k-calendar td:hover, .k-pager-wrap.k-list > .k-hover, .k-selected, .k-imagebrowser-dropzone {
    color: #0861ff;
    background-color: #e9ffc8;
    cursor: pointer;
}

    .k-selected.k-focused,
    .k-selected.k-highlight,
    .k-list > .k-selected,
    .k-list > .k-focused,
    .k-list > .k-highlight {
        color: #fff !important;
        background-color: #1688c3 !important;
    }

.k-dropdown .k-hover .k-input {
    color: #005c83;
    background-color: #cde4f7;
}

/* grid */

.k-grid-header .k-header {
    color: #2977a8 !important;
    font-weight: bold;
    font-family: Arial;
    font-size: 9pt;
}

.k-grid-header th.k-header {
    vertical-align: text-top;
}

div.k-grid-header, div.k-grid-footer {
    padding-right: 0px !important;
}

.k-group-footer td {
    text-align: right;
}

.k-footer-template td {
    border: 0px;
    font-weight: 700 !important;
    text-align: right;
}

.k-grid-content {
    font-family: Arial;
    font-size: 9pt;
}

.k-pager-numbers .k-selected {
    color: #002664;
    border: 1px solid #98C6E3;
    background: #e4f1fc;
    background: -moz-linear-gradient(top,#e4f1fc 0,#cee5f9 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#e4f1fc),color-stop(100%,#cee5f9));
    background: -webkit-linear-gradient(top,#e4f1fc 0,#cee5f9 100%);
    background: -o-linear-gradient(top,#e4f1fc 0,#cee5f9 100%);
    background: -ms-linear-gradient(top,#e4f1fc 0,#cee5f9 100%);
    background: linear-gradient(to bottom,#e4f1fc 0,#cee5f9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e4f1fc',endColorstr='#cee5f9',GradientType=0);
}

.k-grid-header .k-header {
    /*height: 28px !important;*/
    font-weight: 600 !important;
    padding-bottom: 0.7em !important;
    padding-top: 0.4em !important;
}

.k-selected {
    filter: none !important;
}

.k-grid-pager {
    padding-top: 8px !important;
    border-bottom-width: 2px !important;
    border-left-width: 2px !important;
    border-right-width: 2px !important;
}

/* disable row highlight on hover */
.k-grid tr:not(.k-selected):hover {
    background: none;
    color: inherit;
}

.k-grid tr.k-alt:not(.k-selected):hover {
    background: #f1f1f1;
}

/* show bottom border for the last row */
.k-grid tr:last-child td[role~=gridcell] {
    border-bottom-width: 1px;
}


/* window */
.k-window-title {
    cursor: move !important;
}

.k-block > .k-header, .k-window-titlebar {
    position: static;
    color: #2977a8 !important;
    font-family: Arial;
    font-size: 12pt !important;
    font-weight: bold;
}

.k-window-content {
    font-size: 9pt;
    font-family: Arial;
}

/* kendo editor */
/*.k-viewhtml-dialog {
    font-size: 9pt;
    font-family: Arial;
}*/

/* kendo tabstrip */
.k-tabstrip-items .k-link {
    color: #3a3a3a !important;
    font-weight: 600;
    font-family: Arial;
}

/* kendo tooltip */
.k-widget.k-tooltip {
    /* background-color: white !important; */
}

.k-tooltip-content {
    font-size: small;
    font-family: Arial;
    padding: 5px;
}

.k-animation-container {
    margin-top: 7px !important;
}

/* other kendo... */
.k-link {
    text-decoration: none !important;
}

.k-link1 {
    cursor: pointer;
    outline: 0;
    text-decoration: none;
}

.k-header .k-link {
    margin-bottom: 0.4em !important;
}

.k-pager-wrap {
    height: 36px !important;
}

.k-focused {
    box-shadow: none !important;
}

.k-i-checkmark {
    color: #65a204;
    font-weight: 600;
    font-size: 16pt;
}

.k-window-content,
.k-prompt-container {
    background: #f5f5f5d1 !important;
}

.datepicker {
    border-bottom-color: #e6e6e6;
    border-bottom-width: 2.5px;
    border-bottom-style: solid;
}

/* ??? */
select {
    box-shadow: inset 0px 1px 3px #e6e6e6;
    border-bottom-color: #e6e6e6;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

/* ??? */
input[type=checkbox], input[type=radio] {
    box-shadow: none !important;
}


span.k-pager-info.k-label {
    display: flex !important;
}

span.k-pager-sizes span {
    display: flex !important;
}

span.k-input-inner {
    display: flex !important;
}

td.k-table-td {
    font-size: 9pt !important;
    font-family: Arial !important;
}

.k-button-flat-primary {
    color: var(--kendo-color-on-app-surface, #ff6358) !important;
}

.k-column-title {
    text-decoration: underline !important;
    white-space: inherit !important;
    text-overflow: inherit !important;
}

.k-pager-md .k-pager-sizes .k-dropdown-list, .k-pager-md .k-pager-sizes .k-dropdown, .k-pager-md .k-pager-sizes .k-dropdownlist, .k-pager-md .k-pager-sizes > select {
    width: 6em !important;
}

.k-datepicker .k-input-inner {
    height: 2.3em !important;
}

.k-input .k-input-inner {
    height: 2.3em !important;
}

span.k-dirty {
    display: block !important;
    position: relative !important;
    border-width: 3px !important;
    border-color: red transparent transparent red !important;
    border-block-start-color: red !important;
    border-inline-start-color: red !important;
}

.k-window {
    line-height: 1 !important;
}

.k-grid .k-grid-header .k-table-th {
    vertical-align: top !important;
}

.k-grid-header .k-grid-header-menu.k-active {
    color: var(--kendo-color-on-primary, white) !important;
}

.k-grid-md .k-table-th > .k-cell-inner {
    align-items: flex-start !important;
}

.slider.k-window-content:last-child {
    padding-bottom: 0 !important;
}

.k-radio,
.k-checkbox {
    border-color: #0861ff !important;
}

    .k-checkbox:checked {
        background-color: #0861ff !important;
    }

/*********************** Kendo grid styles override to TDS styles ******************************/
.k-grid .k-table {
    border-collapse: collapse !important;
}

.k-grid .k-table-row.k-table-alt-row {
    background: #fff;
}

.k-table-row {
    border-bottom: 1px solid #c4c4c4;
}

.k-column-title {
    text-decoration: none !important;
}

.k-grid .k-table-row {
    border-color: #c4c4c4;
}

.k-grid-header .k-header {
    color: #4c4c4c !important;
}

.k-grid .k-table-thead {
    border-bottom: 3px solid #a8a8a8cc;
    background-color: #ffffff !important;
}

.k-grid td, .k-grid .k-table-td, .k-grid .k-table-th {
    border-color: rgb(255 255 255);
}

.k-input .k-input-inner {
    border: 1px solid #dfdfdf;
}

.k-checkbox {
    border-color: #0861ff !important;
}

    .k-checkbox:disabled {
        border-color: #b8b8b8 !important;
    }

.k-calendar .k-calendar-td.k-selected .k-link {
    background-color: #0861ff !important;
}

.k-grid-content {
    overflow-y: auto !important;
}

.k-window-title {
    font-size: 15px !important;
}

.k-window-titlebar {
    background-color: #fff !important;
    border: none !important;
    height: 1rem !important;
    color: #000000 !important;
}

.k-radio {
    border-color: #0861ff !important;
}

.k-list-item.k-selected {
    color: #001e52 !important;
    background-color: #f3f3f3 !important;
}

.k-button:hover {
    background: #fff !important;
}

.k-radio:checked {
    background-color: #0861ff !important;
}

.k-picker-solid, .k-multiselect.k-input-solid {
    background-color: #ffffff !important;
    border-color: rgb(0 0 0 / 25%) !important;
}

.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
    border-bottom-color: #ff2eb3 !important;
    border-width: 3px !important;
}

.k-tabstrip-content, .k-tabstrip > .k-content {
    border-color: transparent !important;
    border-top-color: var(--kendo-color-border, rgba(0, 0, 0, 0.08)) !important;
}

.k-list-content, .k-list-ul {
    outline: none !important;
}

.k-listbox .k-button:focus {
    background: #f4f4f4 !important;
}

.k-command-cell .k-button:hover {
    background: #0046c2 !important;
}

.k-multiselect {
    max-height: 100px;
    overflow-y: auto;
}
