@-moz-document url-prefix() {
    .k-grid {
        max-width:-moz-available;
        width: -moz-fit-content;
    }
}

@media screen and (min-resolution:0dppx){
    .k-grid {
        max-width:-webkit-fill-available;
        width: fit-content;
    }
}

.k-list-container {
    width: auto !important;
    min-width: 150px;
}

.k-webkit .k-dropdown-wrap:before,.k-webkit .k-picker-wrap:before,.k-webkit .k-numeric-wrap:before
{
    content: none;
}

input.kendo-input-disabled[type="text"]:disabled {
    border-color: #fff;
    text-indent: 0em;
}

.k-invalid {
    border: 3px solid red;
}

.k-invalid:hover {
    border-color: red;
}

.k-tooltip.k-tooltip-validation.k-invalid-msg .k-callout.k-callout-n {
    left: 3%;
}

.k-picker-wrap .k-input {
    height: auto;
}

.k-treeview span.k-in {
    cursor: pointer;
}

.k-grid td {
    overflow: hidden;
    white-space: nowrap;
}

.k-grid td:last-child {
    white-space: initial;
}

.k-grid td {
    padding: .35em .4em;
}

.k-grid-header .k-header {
    white-space: initial;
    word-wrap: normal;
    text-align: center;
}

.k-tooltip {
    white-space: initial;
}

.k-grid-header {
    padding-right: 0px !important;
}

tr.k-detail-row {
    background-color: #fff;
}

td.k-detail-cell {
    padding: 28px 28px 28px 10px;
}

.k-treeview-lines{
    border-width: 1px;
    border-color: black;
    border-style: groove;
    min-height: 50px;
}

.k-pager-wrap {
    padding: .166em 0 .166em .25em;
}

.k-state-selected .text-muted {
    color: #fff;
}

.k-state-selected .text-success, .k-state-selected .text-danger {
    color: #fff
}

.k-filter-row th, .k-grid-header th.k-header {
    padding: .4em .4em .1em .5em;
}

/* Remove focus from cells in grids - Row selections are enabled */
.k-grid tr.k-state-selected:hover td.k-state-focused, 
td.k-state-focused, 
.k-grid-header th.k-state-focused,
.k-state-focused,
.k-state-focused td.k-state-focused {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.k-dropdown-wrap.k-state-focused {
    -moz-box-shadow: 0 2px 3px 1px #bcc8dc !important;
    -webkit-box-shadow: 0 2px 3px 1px #bcc8dc !important;
    box-shadow: 0 2px 3px 1px #bcc8dc !important;
    border-width: 1px 1.5px 1.5px 1px;
    border-color: #bcc8dc;
}

.k-grid-toolbar, .k-grouping-header {
    padding: .3em .35em .35em .35em;
}

.k-grouping-header {
    font-size: 95%;
    line-height: 1.8;
    padding: .2em .35em .1em .35em;
}

.k-grid-footer {
    padding-right: 0px !important;
}

.modal-body .k-grid-content {
    max-height: 50vh;
}

.k-grid-content {
    min-height: 5vh;
    max-height: 60vh;
    overflow-y: overlay;
}

.k-file-name {
    max-width: 95%;
    font-weight: 500;
    color: #283e3b;
}

.k-file-name-size-wrapper {
    width: 88%;
}

.k-file-extension-wrapper, .k-multiple-files-extension-wrapper {
    color: #507c76;
    border-color: #365450;
}

.k-file-extension {
    font-weight: 800;
}

.k-grid tbody .k-button {
    min-width: 58px;
}

.k-file-size {
    font-size: .88em;
}

.k-upload-files {
    padding-bottom: 8px;
}

.k-icon, .k-i-filter {
    font-size: 14px;
    color: #595959;
}

.k-filter-row .k-dropdown-operator {
    width: 2em;
    right: 0.2em;
}

.k-filtercell, .k-filtercell .k-widget, .k-filtercell>span {
    width: 98%;
}

.k-button {
    padding: 2px 8px;
}

.k-filter-row .k-dropdown-operator, .k-filtercell>span>.k-button {
    display: none !important;
}

.k-upload .k-upload-button {
    margin-left: 0.86em;
}

.k-autocomplete .k-input, .k-dropdown-wrap .k-input, .k-numeric-wrap .k-input, .k-picker-wrap .k-input, .k-selectbox .k-input, .k-textbox>input {
    text-indent: .25em;
}

div.k-window-content {
    padding: .9em;
}

.k-window .k-header{
    background-color: #5a738e;
    color: white;
}
.k-window .k-header .k-window-title{
    font-size: 13px;
    font-weight: 500;
}

.k-window-titlebar .k-window-actions {
    padding-top: .1em;
}

input.k-textbox {
    height: 2.1em;
}

.k-numeric-wrap.k-state-focused {
    -moz-box-shadow: 0 2px 3px 1px #bcc8dc !important;
    -webkit-box-shadow: 0 2px 3px 1px #bcc8dc !important;
    box-shadow: 0 2px 3px 1px #bcc8dc !important;
    border-width: 1px 1.5px 1.5px 1px;
    border-color: #bcc8dc;
}

.k-grid-delete:hover,
.k-grid-delete:focus,
.k-grid-delete,
.k-grid-custom_destroy:hover,
.k-grid-custom_destroy:focus,
.k-grid-custom_destroy,
.k-grid-custom_delete:hover,
.k-grid-custom_delete:focus,
.k-grid-custom_delete {
    border-color: #d9534f;
    background-position: 0 -15px;
    color: #d9534f;
}

.k-grid-delete:disabled,
.k-grid-delete.disabled,
.k-grid-delete[disabled],
.k-grid-delete[disabled]:hover,
.k-grid-delete[disabled]:active,
.k-grid-delete[disabled]:focus
.k-grid-custom_destroy:disabled,
.k-grid-custom_destroy.disabled,
.k-grid-custom_destroy[disabled],
.k-grid-custom_delete:disabled,
.k-grid-custom_delete.disabled,
.k-grid-custom_delete[disabled],
.k-grid-custom_delete[disabled]:hover,
.k-grid-custom_delete[disabled]:active,
.k-grid-custom_delete[disabled]:focus {
    border-color: #e0cfcd;
    background-position: 0 -15px;
    color: #e0cfcd;
}


.k-grid-custom_destroy:focus, .k-grid-custom_delete:focus {
    box-shadow: 1px 1px 3px 2px #e6d2cb !important; 
}

.k-grid-custom_view:hover,
.k-grid-custom_view:focus,
.k-grid-custom_view{
    border-color: #2aabd2;
    background-position: 0 -15px;
    color: #2aabd2;
}

.k-grid-custom_view:disabled,
.k-grid-custom_view.disabled,
.k-grid-custom_view[disabled],
.k-grid-custom_view[disabled]:hover,
.k-grid-custom_view[disabled]:focus,
.k-grid-custom_view[disabled]:active {
    border-color: #ccdfe5;
    background-position: 0 -15px;
    color: #ccdfe5;
}

.k-grid-custom_view:focus {
    box-shadow: 1px 1px 3px 2px #c1dff0 !important; 
}

.k-grid-edit:hover,
.k-grid-edit:focus,
.k-grid-edit,
.k-grid-custom_edit:hover,
.k-grid-custom_edit:focus,
.k-grid-custom_edit {
    border-color: #419641;
    background-position: 0 -15px;
    color: #419641;
}

.k-grid-edit:disabled,
.k-grid-edit.disabled,
.k-grid-edit[disabled],
.k-grid-edit[disabled]:hover,
.k-grid-edit[disabled]:focus,
.k-grid-edit[disabled]:active,
.k-grid-custom_edit:disabled,
.k-grid-custom_edit.disabled,
.k-grid-custom_edit[disabled],
.k-grid-custom_edit[disabled]:hover,
.k-grid-custom_edit[disabled]:focus,
.k-grid-custom_edit[disabled]:active {
    border-color: #b4cbb6;
    background-position: 0 -15px;
    color: #b4cbb6;
    cursor: no-drop;
}

.k-grid-custom_edit:focus {
    box-shadow: 1px 1px 3px 2px #b9d9c4 !important; 
}

[data-role="contextmenu"]{
    width:max-content;
}

.searchOptionInput>.k-widget>.k-multiselect-wrap {
    min-height: 0px !important;
}

.form-group .k-multiselect-wrap {
    height: 2.057042em;
}

.k-popup .k-animation-container .k-popup{
    max-height: 200px !important;
}

.k-animation-container {
    height: 200px !important;
}
