/*@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');*/
@import url('/css/fonts/fonts.css');

/* Other good cursive fonts:
    https://fonts.google.com/specimen/Freehand?preview.text=l%20kg&preview.size=14&classification=Handwriting
    https://fonts.google.com/specimen/Norican?preview.text=l%20kg&preview.size=14&classification=Handwriting
    https://fonts.google.com/specimen/Seaweed+Script?preview.text=l%20kg&preview.size=14&classification=Handwriting
    https://fonts.google.com/specimen/Yellowtail?preview.text=l%20kg&preview.size=12&classification=Handwriting
    https://fonts.google.com/specimen/Pacifico
    https://fonts.google.com/specimen/Yesteryear?preview.text=l%20kg&preview.size=14&classification=Handwriting
    https://fonts.google.com/selection/embed
    https://fonts.google.com/?preview.text=l%20kg&preview.size=14&classification=Handwriting

*/
:root {
    /*--mud-appbar-height: 0 !important;*/
    --mud-palette-table-hover: #008fff0d !important; /*rgb(72 223 60 / 9%) !important;*/
    --mud-palette-table-hover-light: #f9ff001c !important; /*rgb(72 223 60 / 9%) !important;*/
    --zenapp-palette-table-row-select: #0063b1 !important; /*rgb(56 179 56 / 75%) !important;*/
    --zenapp-palette-table-row-select-light: #f9ff0047 !important; /*rgb(56 179 56 / 75%) !important;*/
    --zenapp-palette-table-row-select-hover: #0063b1c7 !important; /*#0063b1 !important;*/
    --zenapp-palette-table-row-select-light-hover: #f9ff0047 !important; /*#0063b1 !important;*/
    --mud-palette-table-editing: #fff70061 !important; /*#0063b1 !important;*/
    --mud-palette-table-editing-light: #fff70061 !important; /*#0063b1 !important;*/
    /*rgb(56 179 56 / 60%) !important;*/
    --mud-palette-secondary: rgb(56 179 56 / 60%) !important;
    --mud-palette-drawer-icon: rgb(255 255 255) !important;
}

body, html, div.mud-main-content {
    height: 100%;
}

.zen .mud-toggle-item {
    padding: 5px !important;
    height: 35px;
}
.zen .zen-table-with-wrapping-toolbar .mud-toolbar {
    flex-wrap: wrap;
    height: auto;
    row-gap: 10px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-left: 36px;
}
.zen .zen-table-with-wrapping-toolbar .mud-toolbar > *:first-child {
    margin-left: -36px;
}
.zen :is(.zen-table, .zen-readonly-table, .zen-editable-table) .mud-toolbar > .mud-divider {
    height: 35px;
}
.zen .zen-table-caption {
    text-transform: uppercase;
    margin-left: 16px;
}
.zen div.mud-main-content {
    /*    display: flex;
    flex-direction: column;*/
}

body.zen {
    background-color: #f9f9f9;
}

.zen .zen-fillverticalspace-table,
.zen .zen-fillverticalspace {
    height: 100%;
    box-sizing: border-box;
}

.zen .zen-fillverticalspace-table .mud-table-container {
    height: calc(100% - 52px - 64px);
    box-sizing: border-box;
}

.zen .zen-minheight-medium-table .mud-table-container {
    min-height: calc(452px - 52px - 64px);
    box-sizing: border-box;
}

.zen .zen-minheight-short-table .mud-table-container {
    min-height: calc(304px - 52px - 64px);
    box-sizing: border-box;
}

.zen .mud-container.zen-mediumheight-container {
    height: 452px;
    box-sizing: border-box;
}

.zen .mud-container.zen-shortheight-container {
    height: 304px;
    box-sizing: border-box;
}

.zen .mud-tabs.zen-tab-after-mediumheight-container,
.zen .zen-div-after-mediumheight-container {
    height: calc(100% - 452px);
    padding-bottom: 8px;
    box-sizing: border-box;
}

.zen .mud-tabs.zen-tab-after-shortheight-container,
.zen .zen-div-after-shortheight-container {
    height: calc(100% - 304px);
    padding-bottom: 8px;
    box-sizing: border-box;
}

.zen .mud-container.zen-halfheight-container {
    height: 50%;
    box-sizing: border-box;
}

.zen .mud-tabs.zen-tab-after-halfheight-container,
.zen .zen-div-after-halfheight-container {
    height: 50%;
    padding-bottom: 8px;
    box-sizing: border-box;
}

.zen .zen-twothirdsheight-container {
    height: 66%;
    box-sizing: border-box;
}

.zen .mud-tabs.zen-tab-after-twothirdsheight-container,
.zen .zen-div-after-twothirdsheight-container {
    height: 34%;
    padding-bottom: 8px;
    box-sizing: border-box;
}

.zen .mud-table.zen-fillverticalspace-table .mud-table-root > .mud-table-body:last-child > .mud-table-row:last-child > .mud-table-cell,
.zen .mud-table.zen-minheight-medium-table .mud-table-root > .mud-table-body:last-child > .mud-table-row:last-child > .mud-table-cell,
.zen .mud-table.zen-fillverticalspace-table .mud-table-root > .mud-table-foot:last-child > .mud-table-row:last-child > .mud-table-cell,
.zen .mud-table.zen-minheight-medium-table .mud-table-root > .mud-table-foot:last-child > .mud-table-row:last-child > .mud-table-cell {
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.zen .mud-tabs.zen-fillverticalspace-tab .mud-tabs-toolbar,
.zen .mud-tabs.zen-tab-after-mediumheight-container .mud-tabs-toolbar,
.zen .mud-tabs.zen-tab-after-halfheight-container .mud-tabs-toolbar,
.zen .mud-tabs.zen-tab-after-twothirdsheight-container .mud-tabs-toolbar {
    height: 48px;
    box-sizing: border-box;
}

.zen .mud-tabs.zen-fillverticalspace-tab .mud-tabs-panels,
.zen .mud-tabs.zen-tab-after-mediumheight-container .mud-tabs-panels,
.zen .mud-tabs.zen-tab-after-halfheight-container .mud-tabs-panels,
.zen .mud-tabs.zen-tab-after-twothirdsheight-container .mud-tabs-panels {
    height: calc(100% - 48px);
    box-sizing: border-box;
}

.zen .mud-tabs.zen-fillverticalspace-tab .mud-tabs-panels div.mud-container,
.zen .mud-tabs.zen-tab-after-mediumheight-container .mud-tabs-panels div.mud-container,
.zen .mud-tabs.zen-tab-after-halfheight-container .mud-tabs-panels div.mud-container,
.zen .mud-tabs.zen-tab-after-twothirdsheight-container .mud-tabs-panels div.mud-container {
    height: 100%;
    box-sizing: border-box;
}

.zen .mud-tabs-toolbar-transparent {
    background-color: unset;
}

.zen .mud-table-container {
    background-color: white;
    /*border: 1px solid #E0E0E0;*/
    border-radius: 3px;
    box-shadow: 0px 0px 3px 1px #E0E0E0;
}

.zen .mud-navmenu.mud-navmenu-default .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: #FF9800;
    /*background-color: rgb(0 0 0 / 24%);*/
    background-color: var(--mud-palette-primary);
}

.zen > .mud-layout > .mud-drawer {
    background-color: #31683B;
    color: white;
}

.zen > .mud-layout > .mud-drawer .mud-nav-group > button {
    background-color: #31683B;
}

.zen > .mud-layout > .mud-drawer .mud-nav-group .mud-nav-item {
    background-color: #40894E;
}

.mud-form .mud-card-header {
    padding-top: 24px;
    padding-bottom: 0;
}

.flex-column > .mud-card > .mud-card-header {
    padding-top: 0;
}


.mud-form .mud-elevation-0 .mud-card-content {
    padding: 0;
}

.zen .mud-table-dense .mud-table-row .mud-table-cell {
    padding: 6px 16px 6px 12px;
    padding-inline-start: 12px;
    padding-inline-end: 16px;
}

.zen .mud-table-root .mud-table-body {
    background-color: white;
}

.zen .mud-table-dense .mud-table-row .mud-table-cell .mud-input-adornment-end {
    margin-left: 0px;
    margin-inline-start: 0px;
    margin-inline-end: unset;
}

.zen .mud-button-filled-size-small {
    line-height: 21px;
}

.zen .mud-table-root .mud-table-head,
.zen .mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell {
    background-color: #f9f9f9;
}

.zen .mud-table {
    border-radius: 0;
    background-color: #f9f9f9;
}


.zen .mud-data-grid > .mud-table-container {
    border: 1px solid #eeeeee;
}

.zen .mud-data-grid .mud-table-root .mud-table-body tr:last-child td {
    border-bottom: none;
}



.zen .mud-container-maxwidth-false,
.zen .mud-container-maxwidth-false .mud-table {
    /*width: fit-content;*/
}

.zen .zen-left-aligned-containers .mud-container {
    margin-left: 0;
}

.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:first-child,
.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:last-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.zen .zen-editable-datagrid tr.mud-table-row > td.mud-table-cell:first-child,
.zen .zen-editable-datagrid tr.mud-table-row > th.mud-table-cell:first-child {
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
}

.zen .zen-editable-datagrid.single-button-first-column tr.mud-table-row > td.mud-table-cell:first-child,
.zen .zen-editable-datagrid.single-button-first-column tr.mud-table-row > th.mud-table-cell:first-child {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    max-width: 41px !important;
}

.zen .zen-editable-datagrid .mud-table-cell.sticky-left {
    left: 0px;
    position: sticky;
    background-color: #eeeeee;
    z-index: 1;
}

.zen :is(.zen-editable-table, .zen-editable-datagrid) tr.mud-table-row > td.mud-table-cell:first-child button,
.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:last-child button {
    border-radius: 10%;
}

.zen :is(.zen-editable-table, .zen-editable-datagrid) tr.mud-table-row > td.mud-table-cell:first-child > div,
.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:last-child > div {
    justify-content: center;
}

.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:first-child > div,
.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:last-child > div {
    flex-direction: column;
}

.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:first-child > div button.mud-icon-button,
.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:last-child > div button.mud-icon-button {
    margin-left: 0 !important;
}

.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:first-child > div > div:not(:first-child) button.mud-icon-button,
.zen .stacked-action-buttons tr.mud-table-row > td.mud-table-cell:last-child > div > div:not(:first-child) button.mud-icon-button {
    margin-top: 6px !important;
}

.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:first-child > div > div:first-child button.mud-icon-button,
.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:last-child > div > div:first-child button.mud-icon-button {
    color: #40894E;
}

.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:first-child > div > div:not(:first-child) button.mud-icon-button,
.zen .zen-editable-table tr.mud-table-row > td.mud-table-cell:last-child > div > div:not(:first-child) button.mud-icon-button {
    color: #894343;
}

:is(.zen-table, .zen-readonly-table, .zen-editable-table) .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text {
    margin-top: 0;
}

:is(.zen-table, .zen-readonly-table, .zen-editable-table) .mud-table-root .mud-table-body .mud-table-cell {
    /* color: var(--mud-palette-text-primary); */
    color: inherit;
}


.zen .mud-input-number-control .mud-input > input.mud-input-root,
.zen .mud-input-number-control div.mud-input-slot.mud-input-root {
    text-align: right;
}


.zen .zen-numeric-spin-left.mud-input-control.mud-input-number-control .mud-input-numeric-spin {
    right: unset;
    left: 0;
}

.zen .zen-numeric-spin-left.mud-input-control.mud-input-number-control.mud-input-showspin .mud-input:not(.mud-input-adorned-end) input {
    padding-right: unset;
    padding-left: 24px;
    padding-inline-end: unset;
    padding-inline-start: 24px;
}
/*.zen .mud-input-control > .mud-input-control-input-container:after,
.zen div.mud-input-slot.mud-input-root:not(:empty):after {
    content: " l";
}*/
.zen .mud-input-adornment-end {
    margin-left: 2px;
}

.zen .liter .mud-input-adornment,
.zen .liter .zen-text-adornment,
.zen .percent .mud-input-adornment,
.zen .percent .zen-text-adornment,
.zen .kilogram .mud-input-adornment,
.zen .kilogram .zen-text-adornment,
.zen .forint .mud-input-adornment,
.zen .forint .zen-text-adornment,
.zen .kilometer .mud-input-adornment,
.zen .kilometer .zen-text-adornment,
.zen .day .mud-input-adornment,
.zen .day .zen-text-adornment,
.zen .daysbefore .mud-input-adornment,
.zen .daysbefore .zen-text-adornment,
.zen .hour .mud-input-adornment,
.zen .hour .zen-text-adornment,
.zen .mertekegyseg .mud-input-adornment,
.zen .mertekegyseg .zen-text-adornment {
    font-family: "Grand Hotel", "Pacifico", cursive !important;
    font-weight: 400;
    font-style: normal;
    font-size: 12pt;
    padding-left: 4px;
    color: #939393;
}

.zen .is-empty .liter .mud-input-adornment,
.zen .is-empty.liter .zen-text-adornment,
.zen .is-empty .percent .mud-input-adornment,
.zen .is-empty.percent .zen-text-adornment,
.zen .is-empty .kilogram .mud-input-adornment,
.zen .is-empty.kilogram .zen-text-adornment,
.zen .is-empty .forint .mud-input-adornment,
.zen .is-empty.forint .zen-text-adornment,
.zen .is-empty .kilometer .mud-input-adornment,
.zen .is-empty.kilometer .zen-text-adornment,
.zen .is-empty .day .mud-input-adornment,
.zen .is-empty.day .zen-text-adornment,
.zen .is-empty .daysbefore .mud-input-adornment,
.zen .is-empty.daysbefore .zen-text-adornment,
.zen .is-empty .hour .mud-input-adornment,
.zen .is-empty.hour .zen-text-adornment,
.zen .is-empty .mertekegyseg .mud-input-adornment,
.zen .is-empty.mertekegyseg .zen-text-adornment {
    visibility: hidden;
}



.zen .mud-input.mud-disabled {
    position: relative;
    transition: background-color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
    background-color: rgba(0, 0, 0, .09);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.zen :is(.zen-table, .zen-readonly-table, .zen-editable-table .zen-editable-datagrid) .mud-input.mud-disabled {
    border-radius: 4px;
}

.zen .mud-input.mud-disabled .mud-input-adornment {
    padding-right: 8px;
}

.zen .mud-input.mud-disabled {
    color: var(--mud-palette-text-primary);
}

.zen .karb-dashboard-link-icon {
    width: 144px;
    height: 144px;
    border-radius: 5%;
}

.zen .karb-dashboard-link-icon svg {
    font-size: 72px;
}

.zen .karb-dashboard-servicecall-link-icon {
    background-color: #0071c1d6;
    width: 100%;
    height: 72px;
    font-size: 36px;
    border-radius: 10px;
    color: var(--mud-palette-primary-text);
}
@media (hover: hover) and (pointer: fine) {
    .zen .karb-dashboard-servicecall-link-icon:hover {
        background-color: #0071c1;
    }
}

.zen .karb-dashboard-servicecall-link-icon svg {
    font-size: 36px;
}

.zen .karb-dashboard-title {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-size: 76px;
    color: #616161;
    font-weight: 400;
    vertical-align: baseline;
    padding-top: 10px;
}

.zen .karb-navmenu-title {
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    padding-top: 5px;
    font-weight: 500;
    color: #616161;
}

.zen .zen-table-quicksearch {
    max-width: 400px;
}

.zen .zen-table-refresh-button {
    margin-left: 16px;
}

.zen div.justify-start .mud-select,
.zen div.justify-start .mud-picker-inline,
.zen div.justify-start .mud-input-control {
    flex-grow: 0;
}

.zen .zen-grey-dialog-paper {
    background-color: #E8E8E8;
}

.zen .zen-grey-dialog-paper div.mud-dialog-content {
    background-color: white;
    border-radius: 0;
    border-top: 1px solid var(--mud-palette-lines-inputs);
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
}

.zen .zen-grey-dialog {
    background-color: #E8E8E8;
}

.zen .zen-grey-dialog .flex-column > .mud-select:not(.zen-hidden),
.zen .zen-grey-dialog .mud-form > .mud-select:not(.zen-hidden) > .mud-input-control,
.zen .zen-grey-dialog .flex-column > .mud-picker-inline:not(.zen-hidden),
.zen .zen-grey-dialog .mud-form > .mud-picker-inline:not(.zen-hidden) > .mud-input-control,
.zen .zen-grey-dialog .flex-column > .mud-input-control:not(.zen-hidden),
.zen .zen-grey-dialog .mud-form > .mud-input-control:not(.zen-hidden),
.zen .zen-grey-dialog .flex-column > .zen-addbutton-container:not(.zen-hidden),
.zen .zen-grey-dialog .mud-form > .zen-addbutton-container:not(.zen-hidden),
.zen .zen-grey-dialog .flex-column > .zen-autocomplete-field:not(.zen-hidden),
.zen .zen-grey-dialog .mud-form > .zen-autocomplete-field:not(.zen-hidden) {
    background-color: white;
    border-radius: 3px;
    padding: 3px;
    width: 100%;
}
.zen .zen-autocomplete-field,
.zen .zen-addbutton-container {
    display: flex;
}
.zen .zen-addbutton-container > div {
    /*display: inline-block !important; - this breaks collapsing margins in forms with field that have margin attribute set */
    /*max-width: calc(100% - 30px); - no need after switching to display flex*/
}

:is(.zen-table, .zen-readonly-table, .zen-editable-table, .mud-data-grid, .zen-editable-datagrid) .zen-date-text-field.disabled input, .zen .zen-enum-field.disabled div {
    text-align: center;
}

.zen .zen-editable-table .mud-input-control.mud-field .mud-input-slot, 
.zen .zen-editable-datagrid .mud-input-control.mud-field .mud-input-slot {
    height: 1.1876em;
    min-height: unset;
}
/*.zen .mud-input > input.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense, div.mud-input-slot.mud-input-root.mud-input-root-filled.mud-input-root-margin-dense {
    padding-top: 3px;
    padding-bottom: 6px;
}*/
.zen .zen-editable-table .mud-input > input.mud-input-root.mud-input-root-margin-dense, 
.zen .zen-editable-table div.mud-input-slot.mud-input-root.mud-input-root-margin-dense, .zen .zen-editable-datagrid .mud-input > input.mud-input-root.mud-input-root-margin-dense, .zen .zen-editable-datagrid div.mud-input-slot.mud-input-root.mud-input-root-margin-dense {
    padding: 5px;
}

.zen .mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense, .zen div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
    padding: 5px;
}

.zen .mud-dialog-content .mud-input-control.mud-input-control-margin-dense {
    margin-top: 12px !important;
    margin-bottom: 6px !important;
}

.zen .mud-data-grid .mud-table-cell.edit-mode-cell .mud-input .mud-input-outlined-border {
    border-radius: var(--mud-default-borderradius);
    border-color: var(--mud-palette-lines-inputs);
    border-width: 1px;
    border-style: solid;
}

.zen .mud-data-grid .mud-table-cell.edit-mode-cell .mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-width: 2px;
    border-color: var(--mud-palette-primary);
}

@layer {
    /*  @Layer is needed to override .d-flex { display: flex !important; } in MudBlazor.css
        https://stackoverflow.com/questions/11178673/how-to-override-important
    */
    .zen-hidden {
        display: none !important;
    }
}

.zen-field-save-success-indicator-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.zen-table-hidden-first-column thead > tr > th:first-child, .zen-table-hidden-first-column tbody > tr > td:first-child {
    display: none !important;
}

.zen-table-hidden-first-column .zen-invalid .mud-input {
    background-color: #ff000070;
}

.zen .zen-field .mud-input:not(.mud-input-adorned-start) > input.mud-input-root, .zen .zen-field div.mud-input-slot.mud-input-root {
    margin-left: 5px;
}

.zen .zen-field .mud-input:not(.mud-input-adorned-end) > input.mud-input-root, .zen .zen-field div.mud-input-slot.mud-input-root {
    margin-right: 5px;
}

.zen .mud-table-dense.zen-table-extradense .mud-table-row .mud-table-cell {
    padding: 6px 8px 6px 12px;
    padding-inline-start: 8px;
    padding-inline-end: 12px;
}
/*Remove padding added as space for label for input controls, but only if they are not followed by a label element: */
.zen .mud-table-dense.zen-table-extradense .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-text:not(:has(+ label)) {
    margin-top: 0;
}


/*.zen .mud-input > input.mud-input-root.mud-input-root-adorned-end,
.zen div.mud-input-slot.mud-input-root.mud-input-root-adorned-end {
    width: calc(100% - 40px);
}*/


.zen-math-tooltip {
    white-space: pre-line; /* Translate \n to newlines */
    font-family: math;
    font-weight: normal;
    text-align: left !important;
}


/* Deal with non-collapsing margins causing inconsistent separation between form controls in dialogs when Margin attribute is set: */
/*.zen .mud-form > .mud-picker-inline,*/
.zen .mud-form .mud-picker-inline,
/*.zen .mud-form > .mud-select*/ 
.zen .mud-form .mud-select {
    /* the original display: flex causes margins to no longer collapse */
    display: unset;
}


.zen .mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row.selected {
    /* background-color: #1E88E5 !important; */
    background-color: var(--zenapp-palette-table-row-select);
}

.zen .mud-table-hover.zen-selectedrow-light .mud-table-container .mud-table-root .mud-table-body .mud-table-row.selected {
    /* background-color: #1E88E5 !important; */
    background-color: var(--zenapp-palette-table-row-select-light);
}

.zen .mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row.editing {
    /* background-color: #1E88E5 !important; */
    background-color: var(--mud-palette-table-editing);
}

.zen .mud-table-hover.zen-selectedrow-light .mud-table-container .mud-table-root .mud-table-body .mud-table-row.editing {
    /* background-color: #1E88E5 !important; */
    background-color: var(--mud-palette-table-editing-light);
}

.zen .mud-table-hover .mud-table-container .mud-table-root .mud-table-body .mud-table-row.selected:hover {
    background-color: var(--zenapp-palette-table-row-select-hover);
}

.zen .mud-table-hover.zen-selectedrow-light .mud-table-container .mud-table-root .mud-table-body .mud-table-row.selected:hover {
    background-color: var(--zenapp-palette-table-row-select-light-hover);
}

.zen .mud-table-hover.zen-selectedrow-light .mud-table-container .mud-table-root .mud-table-body .mud-table-row:hover {
    background-color: var(--mud-palette-table-hover-light);
}

.zen .mud-table-hover.mud-table-striped.zen-selectedrow-light .mud-table-container .mud-table-root .mud-table-body .mud-table-row:nth-of-type(odd):hover {
    background-color: var(--mud-palette-table-hover-light);
}

.zen .mud-table:not(.zen-selectedrow-light) .selected > td {
    color: white !important;
}

.zen .mud-table:not(.zen-selectedrow-light) .selected > td .mud-input {
    color: white !important;
}

.table-row-issue-status-new {
    background-color: #FCFCE3;
}
.table-row-issue-status-suspended {
    background-color: #FFF5E5;
}
.table-row-issue-status-done {
    background-color: #DBF5F0;
}
.table-row-issue-status-closed {
    background-color: #F0F0F0;
}

.zen .deadline-near {
    background-color: gold;
}

.zen .deadline-passed {
    background-color: coral;
}


.table-row-componentofissue-status-requested {
    background-color: #FCFCE3;
}
.table-row-componentofissue-status-ordered {
    background-color: #DBF5F0;
}
.table-row-componentofissue-status-received {
    background-color: #DBF5F0;
}
.table-row-componentofissue-status-in_stock {
    background-color: #DBF5F0;
}
.table-row-componentofissue-status-used {
    background-color: #DBF5F0;
}
.table-row-componentofissue-status-defective {
    background-color: #FFF5E5;
}
.table-row-componentofissue-status-returned {
    background-color: #FFF5E5;
}
.table-row-componentofissue-status-discarded {
    background-color: #F0F0F0;
}

.zen .significant-event-container {
    display: inline-block;
    vertical-align: top;
    background-color: var(--mud-palette-drawer-background);
}

.zen .significant-event-container .mud-field {
    width: 250px;
}

.zen .significant-event-explanation {
    color: #a3a3a3;
    font-size: 0.9rem;
}

.zen .mud-tabs-toolbar-wrapper div.mud-tab:not(.mud-tab-active) {
    border-bottom: 2px solid var(--mud-palette-table-lines);
}

.zen-nowrap {
    white-space: nowrap;
}

/*  Hide overflow of column with ellipsis, shrink other cols to fit content, don't set any table/col widths, and expand the table to fit within a div
    https://stackoverflow.com/questions/49205488/hide-overflow-of-column-with-ellipsis-shrink-other-cols-to-fit-content-dont-s
    https://stackoverflow.com/questions/17345158/variable-sized-column-with-ellipsis-in-a-table
*/
.zen-editable-table :is(td, th, col):first-child {
    min-width: 84px;
    width: 84px;
    max-width: 84px;
}
.zen-editable-table :is(td, th, col):last-child {
    min-width: 84px;
    width: 90%;
    max-width: unset;
}
.zen-editable-table:has(.fills-space) :is(td, th, col):last-child {
    min-width: 84px;
    width: 84px;
    max-width: 84px;
}
:is(.zen-table, .zen-readonly-table) td,
.zen-editable-table td:not(:first-child, :last-child),
:is(.zen-table, .zen-editable-table) td.fit-nowrap,
:is(.zen-table, .zen-readonly-table) th,
.zen-editable-table th:not(:first-child, :last-child),
:is(.zen-table, .zen-readonly-table, .zen-editable-table) th.fit-nowrap {
    width: 1%;
    white-space: nowrap;
    position: relative;
}
:is(.zen-table, .zen-readonly-table, .zen-editable-table) :is(td, th, col).fills-space {
    width: 90%;
}
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.fit-wrap,
:is(.zen-table, .zen-readonly-table, .zen-editable-table) th.fit-wrap {
    width: auto;
    white-space: normal;
    position: relative;
}
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.overflow-elipsis,
:is(.zen-table, .zen-readonly-table, .zen-editable-table) th.overflow-elipsis {
    width: auto;
    white-space: normal;
    position: relative;
}
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.overflow-elipsis > p,
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.overflow-elipsis > div {
    width: 100%;
    white-space: nowrap;
    position: absolute;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    left: 0;
    top: 50%;
    padding: 6px 16px 6px 12px;
    transform: perspective(1px) translateY(-50%); /*https://stackoverflow.com/questions/28455100/how-to-center-div-vertically-inside-of-absolutely-positioned-parent-div*/
}
.zen :is(.zen-table, .zen-readonly-table, .zen-editable-table) .mud-table-row td.overflow-elipsis:hover,
.zen :is(.zen-table, .zen-readonly-table, .zen-editable-table) .mud-table-row td.overflow-elipsis:hover {
    padding-top: 0;
    padding-bottom: 0;
}
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.overflow-elipsis:hover > p, 
:is(.zen-table, .zen-readonly-table, .zen-editable-table) td.overflow-elipsis:hover > div {
    width: auto;
    white-space: normal;
    position: relative;
    overflow: auto;
    text-overflow: unset;
    display: block;
    left: 0;
    top: 0;
    padding: 0;
    transform: unset;
    font-size: 9pt;
}

.zen .zen-attachment-link {
    font-size: var(--mud-typography-caption-size);
    font-family: var(--mud-typography-caption-family);
    font-weight: var(--mud-typography-caption-weight);
    line-height: var(--mud-typography-caption-lineheight);
    letter-spacing: var(--mud-typography-caption-letterspacing);
}

.zen .mud-table .mud-table-cell .mud-resizer {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 8px;
    cursor: col-resize;
    user-select: none;
    border-right: 2px solid #00000000;
}

@media (hover: hover) and (pointer: fine) {
    .zen .mud-table .mud-table-cell .mud-resizer:hover {
        border-right: 2px solid var(--mud-palette-primary);
    }

    .zen .mud-table .mud-table-cell .mud-resizing {
        border-right: 2px solid var(--mud-palette-primary);
    }

    .zen .mud-table .mud-table-cell .column-header:hover .column-options .drag-icon-options,
    .zen .mud-table .mud-table-cell .column-header:hover .mud-menu > button {
        opacity: .8;
        color: var(--mud-palette-action-default);
    }
}

.zen .mud-table th {
    /*position: relative;*/
}

.zen .mud-table .drop-allowed {
    color: var(--mud-palette-success);
}

.zen .mud-table .drop-not-allowed {
    color: var(--mud-palette-error);
}

.zen .mud-table .mud-table-cell .column-header {
    width: 100%;
}

.zen .mud-table .mud-table-cell .column-header .column-options .drag-icon-options,
.zen .mud-table .mud-table-cell .column-header .mud-menu > button {
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    opacity: 0;
    cursor: grab;
}

.zen .mud-table.mud-table-dense tr.mud-table-row th.zen-table-cell-draggable {
    padding-right: 3px;
}
.zen .mud-table.mud-table-dense tr.mud-table-row th.zen-table-cell-draggable span.column-header {
    display: inline-flex;
    align-items: center;
    flex-direction: inherit;
    justify-content: flex-start;
}

.zen .mud-table.mud-table-dense tr.mud-table-row th .column-header .column-options {
    display: flex;
    margin-left: auto;
}
.zen .mud-table.mud-table-dense tr.mud-table-row th .column-header .mud-menu {
    vertical-align: middle;
}
.zen .mud-table.mud-table-dense tr.mud-table-row th.zen-table-cell-draggable .column-header .drag-icon-options,
.zen .mud-table.mud-table-dense tr.mud-table-row th .column-header .mud-menu > button {
    border-radius: 3px;
}
.zen .mud-table.mud-table-dense tr.mud-table-row th.zen-table-cell-draggable .column-header .drag-icon-options span.mud-icon-button-label,
.zen .mud-table.mud-table-dense tr.mud-table-row th .column-header .mud-menu span.mud-icon-button-label {
    margin-left: -4px;
    margin-right: -4px;
}
.zen .mud-table.mud-table-dense tr.mud-table-row th.zen-table-cell-draggable .column-header .mud-table-sort-label .mud-table-sort-label-icon {
    margin-left: 1px;
    margin-right: 1px;
    font-size: 15px;
    margin-bottom: 2px;
    margin-top: -2px;
}

.zen .mud-table tr.mud-table-row td.mud-table-cell > div.mud-chipset,
.zen .mud-table tr.mud-table-row td.mud-table-cell > div.mud-chipset + div.mud-menu {
    display: inline-block;
}

.zen .milkdown-toolbar {
    margin-left: 150px;
    z-index: 2000;
}



.resizable-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.resizable-content {
    overflow: auto;
    border: 1px solid #ccc; /* Add a border for better visualization */
}

.resize-handle {
    width: 100%;
    height: 10px;
    /* Make the handle transparent */
    background-color: transparent;
    cursor: ns-resize;
    display: flex; /* Use flexbox to center the dots */
    justify-content: center;
    align-items: center;
    position: relative;
}

.resize-handle::before {
    content: '•••'; /* Unicode characters for dots */
    font-size: 1.5rem; /* Adjust size as needed */
    color: #999; /* A subtle gray color for the dots */
    letter-spacing: 0.2rem; /* Spacing between dots */
    line-height: 1; /* Adjust line height to center vertically */
    user-select: none; /* Prevent the dots from being selected */
}

.milkdown-editor-container {
    border-radius: 3px;
    box-shadow: 0px 0px 3px 1px #E0E0E0;
}

.mud-chip.zen-required-chip {
    border: 1px solid red;
}

.zen .zen-grid-with-horizontal-spacing {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
}
 .zen .zen-grid-with-horizontal-spacing > .mud-grid-item {
    padding-left: 12px;
    padding-right: 12px;
}

.zen .zen-szimapp-sappriority-h {
    background-color: rgb(255 113 113) !important;
}
.zen .zen-szimapp-sappriority-m {
    background-color: rgb(255 255 80) !important;
}
.zen .zen-szimapp-sappriority-l {
    background-color: rgb(133 255 130) !important;
}

.zen .mud-file-upload:hover > .mud-input-control-input-container > input {
    cursor: pointer;
}