/*
 * Copyright (c) 2017. Mobifly Grzegorz Zagrobelny, mobifly.pl
 * -------------------------------------------------------------------------------------------------------
 * Unauthorized copying of this file and any file from this project package, via any medium is strictly prohibited.
 * Any edition of the sources of files from this project without permission of the author is prohibited may result
 * in loss of services and guarantees obtained by means of the agreement on the final product.
 * -------------------------------------------------------------------------------------------------------
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
 * -------------------------------------------------------------------------------------------------------
 * Proprietary and confidential.
 * Written by Grzegorz Zagrobelny <mobifly@mobifly.pl>
 *
 * KendoUX - custom components
 */

/* MessageBox Component */
.k-message-box-ux .k-content > div:first-child {
    float: left;
    padding-top: 9px;
    width: auto;
}

.k-message-box-ux .k-content > div:last-child {
    padding-left: 14%;
}

.k-message-box-ux .k-message-box-icon {
    font-size: 25pt;
    margin: 0 10px;
}

.k-message-box-ux .k-message-box-text {
}

.k-message-box-ux .prompt .k-message-box-text {
}

.k-message-box-ux .prompt .k-message-box-checkbox {
    margin-left: 10px;
    margin-top: 10px;
}

.k-message-box-ux .prompt .k-message-box-text:after {
    content: ':';
}

.k-message-box-ux .prompt input[type=text] {
    width: 97%;
}

.k-message-box-ux .k-content.prompt > div:first-child {
    display: none;
}

.k-message-box-ux .k-content.prompt > div:last-child {
    padding-left: 3%;
}

.k-message-box-ux .k-content > div.options {
    padding-bottom: 1em;
}

.k-message-box-ux .k-message-box-radio .k-radio-label,
.k-message-box-ux .k-message-box-checkbox-list .k-checkbox-label {
    margin-right: 1em;
    margin-bottom: .5em;
    margin-left: 1em;
}

.k-message-box-ux .k-message-box-dropdown .k-label {
    margin-right: 1em;
}

.k-message-box-ux .k-message-box-dropdown .k-dropdown {
    margin-bottom: .5em;
}

/* Toast / Notifications Component */
.k-notification {
    border: 0;
}

.k-notification-box {
    box-shadow: 0px 1px 2px 0 #aaa;
}

.k-notification-box .k-notification-box-icon {
    font-size: 3.5em;
}

.k-notification-box .k-content {
    display: table;
    width: 350px;
}

.k-notification-box .k-content > div {
    display: table-cell;
    vertical-align: middle;
}

.k-notification-box .k-content > div:first-child {
    padding: 0px 15px;
    width: 40px;
}

.k-notification-box .k-content > div:last-child {
    padding-right: 15px;
}

.k-notification-box .k-content h3 {
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 13px;
}

.k-notification-box .k-content p {
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 13px;
}

.k-notification-box .k-window-action {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.k-notification-box .k-window-action:hover {
    background-color: #fff;
    border-color: #fff;
}

/* Busy Button Component */
.k-button-as-busy {
    margin-right: 5px;
    margin-left: 5px;
}

/* Extended toolbar */
.k-toolbar > .hidden {
    display: none !important;
    visibility: hidden !important;
}

.k-toolbar > div > label.k-toolbar-label {
    line-height: 1 !important;
}

.k-toolbar .k-toolbar-multiselect {
    top: -2px;
    position: relative;
}

.k-toolbar .k-toolbar-multiselect .k-multiselect > .k-multiselect-wrap > .k-i-close {
    top: 8px;
}

.k-toolbar .k-multiselect {
    display: inline-block;
}

.k-toolbar .k-multiselect,
.k-toolbar .k-multiselect > .k-multiselect-wrap {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-top: 1px;
}

.k-toolbar .k-multiselect > .k-multiselect-wrap > ul {
    height: 1.7em;
}

.k-toolbar .k-multiselect > .k-multiselect-wrap > .k-input {
    display: none;
    visibility: hidden;
}

.k-toolbar .k-multiselect > .k-multiselect-wrap > ul .k-icon.k-i-arrow-60-down {
    margin-top: 4px;
    margin-right: -7px;
}

.k-toolbar .k-multiselect > .k-multiselect-wrap > ul > li.k-button {
    margin-top: -1px;
    line-height: 1;
    height: 1em;
    padding-top: 5px;
    padding-bottom: 6px;
    min-height: 1.8em;
    padding-left: 5px;
}

.k-toolbar .k-multiselect.k-header.k-state-hover {
    border-color: #ccc;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 2px 3px rgba(0, 0, 0, .05);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 2px 3px rgba(0, 0, 0, .05);
}

.k-toolbar .k-multiselect.k-state-hover > .k-multiselect-wrap > .k-i-close {
    cursor: pointer;
    right: 5px;
    top: 6px;
}

.k-toolbar .k-autocomplete .k-i-loading, .k-toolbar .k-multiselect .k-i-loading {
    bottom: 7px;
    right: 6px;
}

.k-toolbar .k-align-right.k-multiselect {
    position: relative;
    top: 1px;
}

.k-toolbar .k-align-right.k-dropdownlist {
    position: relative;
    top: 1px;
}

.k-toolbar .k-align-right > .k-search {
    position: relative;
    top: 0;
    right: .3em;
}

.k-toolbar .k-dropdownlist {

}

.k-toolbar .k-dropdown-wrap {
    height: 2.1em;
    margin-top: -3px;
    line-height: 1.7em;
}

.k-toolbar .k-search .k-input {
    height: 1.8em !important;
}

.k-toolbar .k-dropdownlist .k-input {
    height: 2.3em !important;
}

.k-toolbar .k-dropdown-wrap .k-select,
.k-numeric-wrap .k-select, .k-picker-wrap .k-select {
    min-height: 2em;
    line-height: 2.2em;
}

.k-textbox .k-select > .k-icon {
    right: 25%;
}

.k-toolbar .k-search {
    border: 0;
    line-height: inherit;
    margin-right: 5px;
}

.k-toolbar .k-search > .k-autocomplete {
    position: relative;
    top: 2px;
    padding: 0;
}

.k-toolbar .k-search > .k-autocomplete > .k-icon.k-i-close {
    right: 3px;
    left: auto;
    top: 22px;
    cursor: pointer;
}

.k-toolbar .k-search > .k-icon {
    top: 46%;
}

.k-toolbar .k-search:hover {
    background: none;
    box-shadow: none;
}

.k-toolbar .k-separator.k-align-right,
.k-toolbar .k-separator.k-align-left {
    margin-top: 0.8em;
}

.k-toolbar {
    line-height: 2.5em;
    max-height: 3em;
    padding: 0;
}

.k-toolbar .k-split-button .k-button {
    padding-top: 7px;
    padding-bottom: 8px;
    max-height: 2.2em;
}

.k-toolbar .k-split-button .k-button.k-split-button-arrow {
    max-height: 2.15em;
    top: -1px;
    position: relative;
}

.k-toolbar > .k-button.k-align-right,
.k-toolbar > .k-split-button.k-align-right {
    margin-top: 2px;
    height: 2.3em;
}

.k-toolbar .k-separator {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.k-toolbar .k-overflow-anchor {
    padding: 0 !important;
    position: relative;
    float: right;
    top: 2px;
    width: 3.22em;
    margin-right: 7px;
}

.k-toolbar-timepicker {
    display: inline-block;
    margin-right: 40px;
}

.k-toolbar .k-toolbar-datepicker-container,
.k-toolbar .k-toolbar-timepicker-container {
    position: relative;
    top: -2px;
}

.k-toolbar-datepicker {
    display: inline-block;
    margin-right: 40px;
    max-height: 3em;
}

.k-toolbar-timepicker > .k-timepicker,
.k-toolbar-timepicker > .k-timepicker > .k-picker-wrap,
.k-toolbar-datepicker > .k-datepicker,
.k-toolbar-datepicker > .k-datepicker > .k-picker-wrap {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    height: 2.1em;
    margin-bottom: 1px;
}

.k-toolbar-datepicker .k-datepicker .k-input, .k-toolbar-datepicker .k-timepicker .k-input {
    max-height: 2em;
    line-height: 1.7;
}

.k-toolbar-search {
    width: 200px;
}

.k-toolbar-search input {
}

.k-toolbar-search span {
    display: inline-block;
    margin: -7px 1px 0 !important;
}

.k-toolbar-checkbutton.k-state-focused {
    color: #444;
    background-color: #f9f9f9;
    border-color: transparent;
}

.k-toolbar-label {
    display: inline-block;
    line-height: 40px !important;
}

.k-popup.k-list-container {
    padding: 0;
}

/* Breadcrumbs Component */
.k-component-breadcrumbs {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 1em;
}

.k-component-breadcrumbs li {
    display: inline-block;
    font-size: 13px;
    line-height: 35px;
}

.k-component-breadcrumbs li:before {
    margin: 0 5px;
    content: '/';
}

.k-component-breadcrumbs li a {
    cursor: pointer;
}

.k-component-breadcrumbs li a:hover {
    text-decoration: underline;
}

.k-component-breadcrumbs li:first-child a:hover {
    text-decoration: none;
}

/* Upload Window Component */
.k-component-upload-window-info {
    padding-left: 0.7em;
}

.k-component-upload-window .k-upload-action .k-icon.k-i-close.k-i-x {
    margin-top: .4em;
}

/* Tags Cloud Component */
div.k-component-tagscloud {
    overflow: hidden;
    position: relative;
}

div.k-component-tagscloud span {
    padding: 0;
}

div.k-component-tagscloud {
    font-family: OpenSansRegular, "Helvetica", "Arial", sans-serif;
    font-size: 10px;
    line-height: normal;
}

div.k-component-tagscloud a {
    font-size: inherit;
    text-decoration: none;
}

div.k-component-tagscloud span.w10 {
    font-size: 550%;
}

div.k-component-tagscloud span.w9 {
    font-size: 500%;
}

div.k-component-tagscloud span.w8 {
    font-size: 450%;
}

div.k-component-tagscloud span.w7 {
    font-size: 400%;
}

div.k-component-tagscloud span.w6 {
    font-size: 350%;
}

div.k-component-tagscloud span.w5 {
    font-size: 300%;
}

div.k-component-tagscloud span.w4 {
    font-size: 250%;
}

div.k-component-tagscloud span.w3 {
    font-size: 200%;
}

div.k-component-tagscloud span.w2 {
    font-size: 150%;
}

div.k-component-tagscloud span.w1 {
    font-size: 100%;
}

div.k-component-tagscloud {
    color: #26923c;
}

div.k-component-tagscloud a {
    color: inherit;
}

div.k-component-tagscloud a:hover {
    color: #39da5a;
}

div.k-component-tagscloud span.w10 {
    color: #32be4e;
}

div.k-component-tagscloud span.w9 {
    color: #32be4e;
}

div.k-component-tagscloud span.w8 {
    color: #32be4e;
}

div.k-component-tagscloud span.w7 {
    color: #045b16;
}

div.k-component-tagscloud span.w6 {
    color: #63976e;
}

div.k-component-tagscloud span.w5 {
    color: #b4d5ba;
}

div.k-component-tagscloud span.w4 {
    color: #90f0b6;
}

div.k-component-tagscloud span.w3 {
    color: #b1ecbd;
}

div.k-component-tagscloud span.w2 {
    color: #90c99b;
}

div.k-component-tagscloud span.w1 {
    color: #94eaa5;
}

/* Card Layout Component */
.k-card-layout,
.k-card-layout > .k-card {
    width: 100%;
    min-height: 100%;
}

.k-card-layout > .k-card {
    display: none;
}

.k-card-layout > .k-card.k-state-selected {
    display: block;
    box-shadow: none;
}

.k-state-selected.k-card .k-i-arrow-s {
    background-position: 0px -32px;
}

.k-card-layout-tabs {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 23px;
    display: flex;
    flex-direction: row;
    border-bottom: 5px solid #ccc;
    border-top: 1px solid #ccc;
}

.k-card-layout-tabs li {
    display: inline-block;
    align-content: center;
    flex: 1;
    white-space: nowrap;
}

.k-card-layout-tabs li > a {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #555;
    text-align: center;
    padding: 2px 5px;
    font-size: 13px;
    line-height: 1.7;
    cursor: pointer;
}

/* Image Window Component */
.k-image-window-wrapper .k-window-titlebar {
    padding-bottom: .7em;
}

.k-image-window {
    padding: 0;
}

.k-image-window img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* CheckboxGroup Component */
.k-checkbox-group-ux {
    padding: 1em .3em .5em;
}

.k-checkbox-group-ux > .k-checkbox-label {
    margin-right: 1em;
    margin-bottom: .5em;
}

/* Input protection Component */
.input-protection {
    position: relative;
}

.input-protection > input {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    color: transparent;
}

.input-protection.with-icon > input {
    padding-left: 1.5em;
}

.input-protection.with-icon > .mask::before {
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.input-protection.with-icon > .mask::before {
    line-height: 2.75;
    position: absolute;
    left: .8em;
    content: '\f095';
}

.input-protection > input:focus {
    text-shadow: none;
    color: inherit;
    padding-left: inherit;
}

.input-protection > .mask {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: transparent;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.input-protection > input:focus + .mask::before {
    display: none;
}

/* Text Counting Component */
.text-counting {
    text-align: right;
    font-size: 11px;
    margin: 5px 0 0;
    color: #aaa;
}

/* Kendo UX Badge Button */
.k-badge-button {

}

.k-badge-button > .k-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff3448;
    padding: 0px 2px;
    font-size: 10px;
    color: #fff;
    border-radius: 3px;
}

.k-badge-list-container {
    position: absolute;
    visibility: hidden;
    width: 300px;
    background: #fff;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(86, 96, 117, 0.7);
}

.k-badge-list-container .k-badge-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

.k-badge-list-container .k-badge-list > li {
    border-bottom: 1px solid #e5e5e5;
    font-size: .8em;
    font-weight: bold;
    margin: 0 1em;
}

.k-badge-list-container .k-badge-list > li:last-child {
    border: 0;
}

.k-badge-list-container .k-badge-list > li .k-badge-list-item {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    transition: all .2s ease-in-out;
    padding: .7em 1em;
    margin-left: -1em;
    margin-right: -1em;
}

.k-badge-list-container .k-badge-list > li .k-badge-list-item:hover {
    background-color: #f2f2f2;
}

.k-badge-list-container .k-badge-list > li .k-badge-list-item.noticed > h3 {
    font-weight: normal;
}

.k-badge-list-container .k-badge-list > li .k-badge-list-item > h3 {
    margin: 0 0 3px;
    font-weight: bold;
}

.k-badge-list-container .k-badge-list > li .k-badge-list-item > time {
    padding-left: .1em;
    font-size: .9em;
    font-weight: normal;
}

.k-badge-list-container .k-badge-list > p.empty {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 40%;
    color: #bbb;
}

.k-badge-list-container .k-badge-footer .k-button {
    box-shadow: none;
    width: 100%;
    height: 45px;
    line-height: 2;
    background: transparent;
    border: 0;
}

.k-badge-list-container .k-badge-footer .k-button > .k-sprite.fa {
    top: 4px;
}

/* KendoUX InputsList */
.k-inputs-list-ux {
}

.k-inputs-list-ux .k-inputs-list-ux-header {
    border-bottom: 1px solid #eee;
    margin-bottom: .7em;
}

.k-inputs-list-ux .k-inputs-list-ux-header input {
    margin-right: .8em;
}

.k-inputs-list-ux .k-inputs-list-ux-header .k-tooltip {
    right: 15px !important;
}

.k-inputs-list-ux .k-inputs-list-ux-header .add-button {
}

.k-inputs-list-ux .k-inputs-list-ux-header .delete-button {
}

.k-inputs-list-ux .k-inputs-list-ux-content {
}

.k-inputs-list-ux .k-inputs-list-ux-content.with-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.k-inputs-list-ux .k-inputs-list-ux-content > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.k-inputs-list-ux .k-inputs-list-ux-content > ul > li {
    line-height: 1;
    margin-bottom: .5em;
}

.k-inputs-list-ux .k-inputs-list-ux-content > ul > li > input {
    margin-right: .8em;
}

.k-form.top-labelled .k-inputs-list-ux .k-inputs-list-ux-header .add-button {
    position: relative;
    top: 20px;
}

.k-form.top-labelled .k-inputs-list-ux .k-row .k-cell {
    padding: 0;
}

/* KendoUX FilesList */
.k-files-list-ux {
}

.k-files-list-ux .k-files-list-ux-header {
    border-bottom: 1px solid #eee;
    margin-bottom: .7em;
}

.k-files-list-ux .k-files-list-ux-header h4 {
    display: inline-block;
    vertical-align: bottom;
    margin-left: .5em;
    margin-right: .8em;
}

.k-files-list-ux .k-files-list-ux-header > .k-menu {
    display: inline-block;
}

.k-files-list-ux .k-files-list-ux-header > .k-menu > .k-first {

}

.k-files-list-ux .k-files-list-ux-header > .k-menu .k-item > .add-button {
    padding: .3em .5em;
}

.k-files-list-ux .k-files-list-ux-header > .k-menu .k-item > .add-button > .k-icon {
    margin-left: .4em;
    margin-right: 0;
}

.k-files-list-ux .k-files-list-ux-content.with-scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

.k-files-list-ux .k-files-list-ux-content > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.k-files-list-ux .k-files-list-ux-content > ul > li {
    line-height: 1;
    margin-bottom: .5em;
}

.k-files-list-ux .k-files-list-ux-content > ul > li > a {
    margin-right: .8em;
    display: inline-block;
    overflow: hidden;
    padding-left: .5em;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 70%;
}

.k-files-list-ux .k-files-list-ux-content > ul > li > a > img {
    margin-right: .6em;
    display: inline-block;
    position: relative;
    top: 2px;
}

.k-form.top-labelled .k-files-list-ux .k-files-list-ux-header .add-button {
    min-width: 55px;
}

.k-form.top-labelled .k-files-list-ux .k-row .k-cell {
    padding: 0;
}

/* KendoUX FilesListExtended */
.k-files-list-ux.extended .k-files-list-ux-header .extra-button {
    float: right;
}

/* UX Kendo Notes List Component */
.k-component-notes-list-container {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100px;
}

.k-component-notes-list-container .k-component-notes-list {
    list-style-type: none;
    padding: .5em;
    margin: 0;
}

.k-component-notes-list-container .k-component-notes-list .no-data {
    text-align: center;
    color: #ccc;
}

.k-component-notes-list-container .k-component-notes-list li {
    border-bottom: 1px solid #eee;
    margin-bottom: .5em;
}

.k-component-notes-list-container .k-component-notes-list li:last-child {
    border: 0;
}

.k-component-notes-list-container .k-component-notes-list li .note {
    margin: 0;
}

.k-component-notes-list-container .k-component-notes-list li .footer {
    margin-top: .4em;
    font-size: .8em;
    color: #555;
}

.k-component-notes-list-container .k-component-notes-list li .footer > .date {
}

.k-component-notes-list-container .k-component-notes-list li .footer > .date > time {
    font-weight: bold;
}

.k-component-notes-list-container .k-component-notes-list li .footer > .author {
    float: right;
}

.k-component-notes-list-container .k-component-notes-list li .footer > .author > span {
    font-weight: bold;
}

/* File Viewer Component Base */
.k-file-viewer-ux {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11000;
    background-color: rgba(51, 51, 51, 0.95);
}

.k-file-viewer-ux .k-file-viewer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header {
    background: #000;
    height: 40px;
    color: #fff;
    display: flex;
    flex-direction: row;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > * {
    flex: 1;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > .k-file-viewer-header-title {
    margin: 0;
    line-height: 40px;
    text-align: center;
    padding: 0 0 0 80px;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > .k-file-viewer-header-actions {
    flex-grow: 0;
    white-space: nowrap;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > .k-file-viewer-header-actions > a {
    font-size: 1.2em;
    line-height: 40px;
    display: inline-block;
    width: 40px;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > .k-file-viewer-header-actions > a:hover {
    background-color: #ccc;
    color: #333;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-header > .k-file-viewer-header-actions > a.close {
    border-left: 1px solid #333;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body {
    position: absolute;
    height: calc(100% - 40px);
    width: 100%;
    left: 0;
    right: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Pdf Viewer (FileViewer extension) */
.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-pdf-viewer-page {
    text-align: center;
    padding: 5px 0;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-pdf-viewer-page:first-child {
    padding-top: 10px;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-pdf-viewer-page:last-child {
    padding-bottom: 10px;
}

/* Image Viewer (FileViewer extension) */
.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-image-viewer-wrapper {
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
}

.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-image-viewer-wrapper > img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-width: 95%;
    max-height: 95%;
    margin: 0 auto;
}

/* Office Viewer (FileViewer extension) */
.k-file-viewer-ux .k-file-viewer-wrapper .k-file-viewer-body > .k-office-viewer-wrapper {
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Files Tags View */
.k-files-tags-view {
    overflow: hidden !important;
}

.k-files-tags-view .k-grid-layout {
    height: 100%;
    padding: 0;
    margin: 0;
    width: 100%;
}

.k-files-tags-view .k-files-tags-treeview {
    height: 100%;
}

.k-files-tags-view .k-files-tags-treeview > .k-group > .k-item:first-child {
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.k-files-tags-view .k-files-tags-treeview > .k-group > .k-item:last-child {
    opacity: .8;
}

.k-files-tags-view .k-files-tags-treeview > .k-group > .k-item:first-child:after {
    content: '';
    border-bottom: 1px solid #ccc;
    width: 90%;
    position: absolute;
    margin-top: 1em;
    margin-left: -.5em;
}

.k-files-tags-view .k-files-tags-treeview .k-sprite.fa {
    font-size: 10px;
    position: relative;
    top: 3px;
}

.k-files-tags-view .k-files-tags-treeview > ul {
    margin: .5em;
}

.k-files-tags-view .k-files-tags-treeview-wrapper {
    flex: 0;
    min-width: 25%;
    margin: 0;
}

.k-files-tags-view .k-files-tags-listview-wrapper {
    margin: 0;
    border-left: 1px solid #e6e6e6;
}

.k-files-tags-view .k-files-tags-listview {
    height: 100%;
    border: 0;
    padding: .5em;
}

.k-files-tags-view .k-files-tags-toolbar-top {
    border-top: 0;
    border-left: 0;
}

.k-files-tags-view .k-files-tags-toolbar-bottom {
    border-bottom: 0;
    border-right: 0;
    display: flex;
}

.k-files-tags-view .k-files-tags-toolbar-bottom > * {
    flex: 0;
}

.k-files-tags-view .k-files-tags-toolbar-bottom > .k-multiselect {
    flex: 1;
}

.k-files-tags-view .k-files-tags-toolbar-bottom > .k-label {
    line-height: 2.5em;
    margin: 0 .5em;
}

.k-files-tags-view .k-files-tags-toolbar-bottom > .k-button {
    min-width: 7em;
    height: 2.8em;
}

.k-files-tags-view .k-files-tags-toolbar-bottom .k-multiselect-wrap {
    border-bottom: 0;
}

.k-files-tags-view .k-files-tags-toolbar-top .k-overflow-anchor {
    display: none !important;
}

.k-files-tags-view .k-files-tags-toolbar-top .k-button-group {
}

.k-files-tags-view .k-files-tags-toolbar-top .k-button-group > .k-toggle-button {
    border: 0;
    width: 3em;
}
