﻿/*tabstrip*/
.k-tabstrip-content, .k-tabstrip > .k-content {
    padding: 0 !important;
    border: none !important;
}

/*grid*/

.t-button-flat-border {
    background-color: transparent !important;
    background-image: none !important;
}

.t-topmenu.k-menu .k-item {
    color: #333 !important;
}

.t-menu.k-menu .k-item {
    color: #333 !important;
}


/*.t-toolbar-size {
    max-height: 250px;
}*/

.k-toolbar {
    background-color: white !important;
}

.k-toolbar-button {
    border: 0 !important;
    background-image: none !important;
    background-color: transparent !important;
}
/*.k-grid-toolbar {
    background-color: white !important;
}*/

.k-pager-wrap {
    padding: 3px !important;
    font-size: 11px !important;
}

.k-pager-info {
    display: flex !important;
}


div.t-grid-nopadding.k-grid td {
    padding: 0;
}


.t-grid-cell-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t-grid-no-headers .k-grid-header {
    display: none;
}


.k-grid th.t-grid-wrap-title-column {
    word-wrap: normal;
    white-space: normal;
}

    .k-grid th.t-grid-wrap-title-column .k-column-title {
        white-space: normal;
    }

.t-grid-wrap-title-columns .k-column-title {
    word-wrap: normal;
    white-space: normal;
}

.k-grid th.t-grid-wrap-title-column .k-column-title {
    word-wrap: normal;
    white-space: normal;
}

.k-column-title {
    color: orangered;
    font-weight: 500;
}

.k-grid-footer td, .k-group-footer td, .k-grouping-row td, .k-grid-footer .k-table-td, .k-group-footer .k-table-td, .k-grouping-row .k-table-td {
    font-weight: 500 !important;
    color: orangered !important;
}

.t-grid-cell-no-padding {
    padding: 0 !important;
}

.t-grid-searchbox {
    min-width: 100px !important;
}

.t-contextmenu {
    min-width: 150px !important;
}

.t-commmandmenu {
    min-width: 150px !important;
}
/*TelerikForm Form group*/
.t-form-legend .k-form-legend {
    color: var(--bs-primary);
    font-weight: 600 !important;
}

.t-form-legend-hide .k-form-legend {
    display: none;
}

.t-form-body-h-100 {
    height:100%;
}
.t-form-body-h-toolbar {
    height: calc(100% - 40px);
}
/*top meni*/
.topmenu-container {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.topmenu-disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/*notifications */
.notificationsbutton-container {
}

/*grid*/
/*dialog*/
.modal-footer {
    padding: 0.2rem !important;
}

.message-dialog-content {
    min-height: 5rem;
}

.messagedialog-window .k-window-content {
    padding: 0 !important;
    z-index: 99999;
}

.messagedialog-button {
    width: 80px;
}

.modal-window .k-window-content {
    padding: 0 !important;
    z-index: 99999;
}

.modal-button {
    width: 80px;
}

.k-window-content {
    padding: 6px !important;
}

.k-window-titlebar {
    padding: 8px 16px !important;
    background-color: var(--bs-primary)!important;
}

.popup-dialog-content {
    max-height: 80vh;
    overflow: auto;
}

.popup-dialog-content-h-sm {
    height: 350px;
    overflow: auto;
}

.popup-dialog-content-h-md {
    height: 500px;
    overflow: auto;
}

.popup-dialog-content-h-lg {
    height: 700px;
    overflow: auto;
}

.popup-dialog-content-h-xl {
    height: 800px;
    overflow: auto;
}

@media screen and (min-height: 801px) {
    .popup-dialog-content {
        max-height: 85vh;
    }
}

@media screen and (min-height: 701px) and (max-height: 800px) {
    .popup-dialog-content {
        max-height: 82vh;
    }
}

@media screen and (min-height: 601px) (max-height: 700px) {
    .popup-dialog-content {
        max-height: 80vh;
    }
}

@media screen and (min-height: 501px) and (max-height: 600px) {
    .popup-dialog-content {
        max-height: 75vh;
    }
}

@media screen and (min-height: 401px) and (max-height: 500px) {
    .popup-dialog-content {
        max-height: 70vh;
    }
}

@media screen and (min-height: 301px) and (max-height: 400px) {
    .popup-dialog-content {
        max-height: 60vh;
    }
}

@media screen and (max-height: 300px) {
    .popup-dialog-content {
        max-height: 55vh;
    }
}

.messagedialog-width {
    min-width: 340px !important;
}

@media only screen and (min-width: 576px) {
    .messagedialog-width {
        width: 546px !important;
    }
}

@media only screen and (min-width: 460px) and (max-width: 576px) {
    .messagedialog-width {
        width: 440px !important;
    }
}

@media only screen and (min-width: 300px) and (max-width: 460px) {
    .messagedialog-width {
        width: 300px !important;
    }
}

@media only screen and (max-width: 460px) {
    .k-pager-info {
        display: none !important;
    }
}

@media only screen and (max-width: 575.98px) {
    .k-pager-wrap {
        padding: 0 !important;
        font-size: 10px !important;
    }

    .k-pager-sizes {
        display: none !important;
    }
}
/*dialog*/
