/* Add namespaces (e.g. zul, svg) to css rules - usage: zul|div.class {}  */
@namespace zul "http://www.zkoss.org/2005/zul";

/* ----------------------- */
/* HEADER */
/* ----------------------- */

/* Header breadcrumb
-> nicht mehr in Verwendung - nur noch eBefundNG migration
.breadcrumb {
    padding: 0;
    margin: 0;
    background-color: white;
}

.breadcrumb li {
    margin: 0 0 0 1rem;
}
 */

/* Scroll through breadcrumb on small mobile devices */
#breadcrumbs-holder {
    overflow: auto;
}

.osmit-header {
    width: 100%;
}

.osmit-headerDropdown {
    margin: .5rem;
    padding: 0;
    border-radius: 4px;
    z-index: 2000;
}

.osmit-headerDropdown .dropdown-header {
    padding: 0;
}

.osmit-sub-header {
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    display: inline-block;
}


.page-header {
    /* Align active tab / close icon with content */
    padding: 0;
}

#activeTabList {
    margin: 1rem;
    padding: 0;
    list-style: none;
    text-align: left;
}

#activeTabList li {
    padding: 4px 5px;
}

#activeTabList li:hover {
    background: #e9ecef;
}

.header-icon:hover:not(.btn)[data-toggle="dropdown"][data-toggle="dropdown"]::after {
    color: #e9ecef;
    border-radius: 4px;
}

.header-icon:not(.btn)[data-toggle="dropdown"][data-toggle="dropdown"]:focus::after {
    color: #d6d8dc;
    border-radius: 4px;
}

.page-wrapper .page-header {
    border: 0 !important;
    /* remove double border */
}

.page-header {
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

/* ----------------------- */
/* FOOTER */
/* ----------------------- */
.nav-footer {
    color: #c5c5c5;
}

.page-footer {
    padding: 0 .85rem;
}

.page-footer a.z-toolbarbutton {
    padding: 0px 8px 2px 8px;
}

.page-footer .clusterNodeState.z-toolbarbutton:hover {
    background-color: white;
}

.page-footer .osmit-footer-center {
    flex: 1;
    text-align: center;
}

.page-footer .osmit-footer-center #lblNodeId {
    line-height: 25px;
}

/* websocket state icon */
#webSocketState {
    transition: transform .5s; /* Animation */
    position: absolute;
    font-size: 18px;
    line-height: 1;
    margin-left: 3px;
    margin-top: 3px;
    color: #ccc;
}

#webSocketState:hover {
    transform: scale(1.5);
    /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    font-size: 30px;
    height: 48px; /* Prevent flickering in case transition moves icon away from pointer position */
    margin-top: -22px;
    color: #000000;
    transition: transform .2s; /* Animation */
}

body.mobile-view-activated .page-footer {
    left: 0 !important;
}


/* disable darker background for menu footer */
.nav-function-fixed .nav-footer {
    background: inherit;
}

/* ----------------------- */
/* MAIN CONTENT */
/* ----------------------- */
/* Display and center main content */
#content.contentMain {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 6.5rem;
    bottom: 2.8125rem;
    overflow: auto; /* Use auto, scroll always displays scroll bar on windows */
    /* Set content padding here because height: 100% does not include set margin/paddings */
}

#content.mobile {
    top: 41px !important;
    bottom: 0 !important;
}

/* Defaults for every window */
.contentMain > .z-idspace {
    margin: 1rem;
    height: calc(100% - 2rem);

    background-color: #fff;
    box-shadow: 0 0 13px 0 rgba(62, 44, 90, .08);

    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-bottom-color: rgba(0, 0, 0, 0.09);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: border .5s ease-out;
}

.contentMain.mobile > .z-idspace {
    margin: 0;
    height: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
}

/* Disable tabbox border when used in this constellation */
.contentMain > .osmit-editview > .z-tabbox {
    border: 0px;
}

/* odh-views: 4px margin on top (otherwise a actionbar on top shows very 'placed on edge') */
.contentMain > .odh-view {
    padding-top: 4px
}


    /* Place between header and footer */
.page-content {
    /* margin-bottom: 2.8125rem !important; */
    /* margin-top: 6.5rem !important; */
    margin: 0 !important;
    padding: 0 !important;
}

/* ^ sets footer / header space with margin -> padding-bottom not needed */
.footer-function-fixed .page-content {
    padding-bottom: 0 !important;
}

/* Overwrite zk style */
body {
    padding: 0;
    overflow: hidden; /* on small display's we get a wired scrollbar on right side - suppress it */
}

.txt-color-orangeDark {
    color: #6CE31C !important;
}

.txt-color-osmit-green {
    color: #6CE31C !important;
}

/* z-window popups e.g. error messages */
/* TODO change in less */
/* .z-window {
    border-radius: 4px;
    background-color: white;
} */

/* .z-panel {
    background-color: white;
    border-radius: 4px;
} */

/* .z-error {
    border-radius: 4px;
}

.z-button {
    border-radius: 4px;
} */

/* .z-listheader {
    background: lightgray;
}

.z-listheader-content {
    color: #4c4d4f
} */

/* Style not applied via zkvariables */
.z-paging-input {
    border-radius: 4px;
}

.z-paging {
    background: white;
}

.z-paging-info {
    padding: 4px 0;
}

/* Actionbar items in one line */
#osmitActionbar {
    width: calc(100% - 16.875rem);
    background: white;

    position: fixed;
    top: 4.125rem;
    z-index: 999;
    /* has to be smaller than header in order to let the avtice tab menu overlap it */

    /* same as on footer */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 5px;
}

#osmitActionbar.mobile {
    top: 0 !important;
}

.nav-function-minify #osmitActionbar {
    width: calc(100% - 4.6875rem);
}

body.mobile-view-activated #osmitActionbar {
    width: 100%;
}

#osmitActionbar .z-idspace, .osmit-actionbar .z-idspace {
    display: flex;
    align-items: center;
    /* Set fix height for empty actionbar */
    height: 29px;
}

#osmitActionbar .z-idspace .osmit-actionbar-search, .osmit-actionbar .z-idspace .osmit-actionbar-search {
    margin-left: auto;
    margin-right: 10px; /* aligned with margin on table headers */
    /* position: absolute;
    float: right;
    right: 1.85rem; */
    /* cannot be properly positioned via flexbox margin-left because 100% is not applicable on absolute positioned element and calc() needs many mobile adaptions */
}

#osmitActionbar .z-idspace .osmit-actionbar-span, .osmit-actionbar .z-idspace .osmit-actionbar-span {
    width: 3px;
    border-left: 1px dashed #aaa;
    height: 15px;
    margin-left: 3px;
}

.mobile zkhead div div .page-content-wrapper #osmitActionbar {
    width: 100%;
}

.mobile zkhead div div .page-content-wrapper #osmitActionbar .z-idspace .osmit-actionbar-search {
    margin: 0;
}

/* Menu control */
/* .nav-function-fixed:not(.nav-function-top):not(.nav-function-hidden):not(.nav-function-minify) .page-content-wrapper */
.mobile.nav-function-hidden zkhead div div .page-content-wrapper {
    padding-left: 0 !important;
}

/* Not neccessary with overlay auto close */
/* .mobile.mobile-nav-on zkhead .page-wrapper {
    overflow: hidden;
}

.mobile.mobile-nav-on zkhead div div .page-content-wrapper {
    transform: translate3d(16.875rem, 0, 0) !important;
} */

/* center menu button in footer */
/* #saMobileMenuToggle {
    margin-left: 4px;
    margin-right: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
} */

/* Override smartadmin table setting */
table {
    border-collapse: separate;
}

/*  */
.osmit-listview,
.osmit-editview,
.osmit-customTabEntry {
    height: 100%;
}

.osmit-listview .z-listbox {
    height: 100%;
}

.osmit-editview {
    overflow: auto;
}

/* osmit listview in v-layout: also set min-height; see https://support.osmit.net/#ticket/zoom/256 */
div.z-vlayout-inner:has(> div.osmit-listview) {
    min-height: 300px;
}


.z-toolbarbutton[disabled],
.z-datebox-button:hover,
.z-bandbox-button:hover,
.z-combobox-button:hover,
.z-timebox-button > a:hover,
.z-spinner-button > a:hover,
.z-doublespinner-button > a:hover {
    background: white;
}

.z-toolbarbutton:focus {
    /*  separated from :active; confuses user when the button stays 'active' after press */
    border-color: #aaaaaa;
    background: inherit;
    color: inherit;
}

.z-toolbarbutton:active {
    /* background: white; */
    background: #d6d8dc;
    color: #000000e6;
    border-color: transparent;
}

/* also override color of toolbarbutton a as style color overrides are also passed to inner element */
.z-toolbarbutton[disabled] .z-toolbarbutton-content {
    color: rgba(0, 0, 0, 0.34) !important;
}


.z-button:hover, .z-button:focus {
    background-color: #1a1d20;
    /* darker primary for normal buttons / toolbar buttons have white backgrounds and are set in zkvariables */
}

.z-button:focus {
    border-color: transparent;
}

a.z-datebox-button,
a.z-datebox-button:hover {
    color: #343a40;
}

/*
.z-listheader:hover,
.z-button:hover {
    background: #343a40;
    color: white;
} */

/* set color for contrast in case button has different background color combination */

/* Preserve zk disabled button style */
.z-button[disabled]:hover, .z-button[disabled]:focus {
    color: rgba(0, 0, 0, 0.34);
    border-color: transparent;
    background-color: #D9D9D9;
    cursor: default;
}

/* .z-listheader-content>.z-combobox>.z-combobox-button {
    color: #343a40;
}

.z-listheader-content>.z-toolbarbutton:hover {
    background: #343a40;
} */

/* Messagebox - icon left of text */
.z-messagebox-window .z-messagebox-viewport .z-messagebox-icon {
    float: left;
}

/* Dropdown menu list hover */
.z-comboitem:hover {
    background: #e9ecef;
    /* primary ligther */
}

/* Apply style from .z-toolbarbutton to .z-menubutton */
.z-menubutton {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    color: rgba(0, 0, 0, 0.57);
    border: 2px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    background-color: transparent;
    padding: 2px 11px;
    min-height: 24px;
}

.z-toolbarbutton {
    font-size: 14px;
    /* increase toolbarbuttons */
}

.z-menubar {
    padding: 0;
    border: 0;

}

/* Border Control */
.z-panel {
    /* border: 0; */
    /* margin: 0; */

    /* margin-top: 5px;
    margin-bottom: 5px; */

    /* border: 1px solid #e9ecef */
    border: 1px solid #ccc;
}

.z-north,
.z-south,
.z-west,
.z-center,
.z-east {
    border: 0;
}

.z-grid {
    border: 0;
    margin: 0;
}

.z-listbox {
    border: 0;
}

.z-listbox:focus-visible {
    /*
    Aktuell machen wir nix. Bisher gab es nix, und es gibt gerade keine einfache / schöne lösung. Vermutlich müssten wir überall paddings/margins oder einen border machen,
    m platz für das Hihglighting zu gewinnen :-/. Der box-shadow hat nur eine unschöne, grüne Zeile erzeugt
    */
    /* border: solid #aaa 2px; */
    box-shadow: none;
}

.z-listbox-paging-bottom {
    border: 0;
}

.z-combobox-popup,
.z-bandbox-popup,
.z-datebox-popup,
.z-timebox-popup {
    border: 0;
}

.z-menupopup {
    border-radius: 4px;
}

/* TODO -> set in smartadmin variables */
/* Login Page */
.card {
    border-radius: 4px;
}

#js-login-btn {
    border-radius: 4px;
}

.form-control-lg,
.form-control {
    border-radius: 4px;
}

/* zk top progress bar */
.pace-progress {
    background: #58d530;
}

/* Overwrite z-popup styles to match smartadmin popup menu */
.z-popup-osmit-animated.z-popup {

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.3125rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.8125rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 0px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;

    transform: scale(0.8) !important;
    transition: all 270ms cubic-bezier(0.34, 1.25, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    display: block;

    box-shadow: 0 0 15px 1px rgba(29, 29, 29, 0.2);

    /* sa style  */
    margin: .5rem;
    padding: 0;
    border-radius: 4px;
    z-index: 2000;

    right: auto;
    bottom: auto;


    /* overwrite z popup inline style */
    position: absolute !important;
    left: 16.875rem !important;
    top: auto !important;
    bottom: 2.8125rem !important;
}

.z-popup-osmit-animated.z-popup.z-popup-open {
    display: block;

    transform: scale(1) !important;
    transform-origin: 29px -50px;
    opacity: 1;
    visibility: visible;
}

.mobile .z-popup-osmit-animated.z-popup {
    max-width: 95%;
    max-height: 80%;
    left: 0 !important;
    /* margin: 0; */
    overflow: auto;
}

.mobile .z-popup-osmit-animated.z-popup .z-popup-content {
    overflow: auto;
}

.z-popup-content .z-listbox {
    border: 0;
}

.z-popup-content {
    line-height: inherit;
}

/* remove zk mask for popup */
div.z-apply-mask {
    display: none !important;
}

/* disable tablet setting for .z-combobox-button (zk places it in the middle) */
.z-combobox-button,
.z-bandbox-button,
.z-datebox-button,
.z-timebox-button,
.z-spinner-button,
.z-doublespinner-button,
.z-timepicker-button {
    right: 0;
}

/* main toolbar  overrides */
div.osmit-toolbar-main div.osmit-toolbar a.z-menu-content {
    top: 0px;
}

.osmit-toolbar {
    border-bottom: 1px solid #f2f2f2 !important;
    /* TODO: remove inline styles from zuls */
}

.osmit-menu-nodropdown div.z-menu-separator,
.osmit-menu-nodropdown.z-menu:hover div.z-menu-separator,
.osmit-menu-nodropdown i.z-menu-icon {
    /* needs to be visible because
	onClick-method decides on mouse click <> separator position if we open
	the dropdown or fire the onClick event */
    color: transparent;
    background: transparent;
    right: 0px;
}

.osmit-menu-nodropdown .z-menu-content {
    /* padding: 0; */
    padding: 2px 11px;
    min-height: 24px;
}

.osmit-menu-nodropdown i.z-menu-icon {
    display: none;
}

div.osmit-toolbar-main i.z-menu-icon {
    color: #aaa;
    background: transparent;
}

div.osmit-toolbar-main i.z-menu-icon:hover {
    color: #fff;
    background: transparent;
}

div.osmit-toolbar-main div.z-menu-separator {
    background-color: #aaa;
}

div.osmit-toolbar-main span.z-menu-text {
    margin-left: 0px;
}

.osmit-menu-nodropdown span.z-menu-text {
    margin-right: 0px;
}

li.osmit-menu-nodropdown,
li.osmit-menu-nodropdown .z-menu-content i,
li.osmit-menu-nodropdown .z-menuitem-content i {
    margin: 0;
}

/* link element in text */
.osmit-link {
    color: #0000FF;
    cursor: pointer;
}

.osmit-link:hover {
    color: #0000FF;
    cursor: pointer;
    text-decoration: underline;
}

.z-toolbar {
    padding: 0 0 5px 0;
}

/* CMS toolbar / dropdown menu */
.z-menubar-horizontal ul li .z-menuitem-content i {
    margin-right: 0;
}

/* Table */
.z-listheader-content,
.z-listheader-content .z-label {
    font-weight: 500;
}

.z-listbox-header {
    /* border-top: 1px solid rgba(0, 0, 0, .09);  */
    /* border-bottom: 1px solid rgba(0, 0, 0, .09);  */
    /* padding: 5px; */
    border: 0;
    border-bottom: 2px solid rgba(0, 0, 0, .09);
}

.z-listheader {
    border: none;
}

/* spacious list rows */
.z-listheader-content,
.z-listcell-content,
.z-listgroup-inner .z-listcell-content,
.z-listgroup-inner .z-listgroup-content {
    padding: 5px 10px;
}

.z-paging {
    border-top: 2px solid rgba(0, 0, 0, .09);
}

/* NavBar */
.nav-menu li > ul li a,
.nav-menu li a,
.nav-menu li a > [class*="fa-"],
.nav-menu li a > .ni,
.collapse-sign,
.nav-menu li > ul li ul li a,
.nav-menu b.collapse-sign {
    color: #c5c5c5;
}

.nav-menu li a:hover > [class*="fa-"] {
    color: white;
}

/* SubMenuDots */

.mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact) > li > ul > li a::after {
    background: #c5c5c5;
}

.nav-menu li a:hover > .ni,
.mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact) > li > ul > li a:hover::after {
    background: white;
}

/* z-panel z-window style to match smartadmin cards */
.z-panel,
.z-window:not(.z-window-embedded),
.contentMain > .osmit-listview {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* space between panels - also see contentMain margin */
.z-panel {
    margin: 0 0 1rem 0;
}

.z-panel:last-child {
    margin: 0;
}

.z-panel .z-panel-head .z-panel-header,
.z-window .z-window-header {

    align-items: center;
    background: #fff;
    min-height: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    border-radius: 4px 4px 0 0;
    transition: background-color .4s ease-out;

    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    /* align caret to the right */
}

.z-window-embedded {
    padding: 0;
}

.z-panel-children {
    padding: 0 5px 5px 5px;
}

.z-panel-head {
    margin: 0 5px;
    /* align content with card content */
}

.z-window-header,
.z-panel-header {
    font-weight: bold;
    /* Improve visibility of section headings */
}

.z-window-header {
    margin: 0 5px;
}

/* Consistent min textarea heights */
textarea.z-textbox {
    min-height: 5rem;
}


/* folding listbox */
.z-listgroup-inner {
    border-bottom: 1px solid rgba(0, 0, 0, .09);
}

.z-listgroup.z-listgroup-open .z-listgroup-inner {
    border-bottom: 2px solid rgba(0, 0, 0, .09);
}

.osmit-loglist-timespan {
    margin: 10px;
}

/* Allow scrolling in popup windows */
.z-window {
    overflow: auto;
}

/* ownerbox styles e.g owner in template */
span.z-ownerbox-cnt {
    padding: 0 5px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.z-ownerbox-iconedit {
    font-size: 14px;
}

.z-ownerbox-iconedit:hover {
    color: #1a1d20;
}

textarea.z-textbox {
    padding: 5px;
}

/* Monaco Editor Single Line */
.z-row-inner:hover,
.z-row-inner:hover:focus-within,
.z-row-inner:focus-within {
    z-index: 101; /* to let overflow overlap surrounding rows */
}

.overflowingContentWidgets {
    z-index: 101;
}

/* Dashboard */

.osmit-contentwin {
    background-color: #fff;
    box-shadow: 0 0 13px 0 rgb(62 44 90 / 8%);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-bottom-color: rgba(0, 0, 0, 0.09);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: border .5s ease-out;
}

/* Label / Chosen box */
/* input is in solid black by default. we make it gray to look more like a placeholder */
.z-chosenbox-input {
    color: #aaa;
}

/* Reduce sidebar hover auto open when menu is hidden */
.nav-function-hidden:not(.nav-function-top) .page-sidebar:after {
    width: 1.5rem;
}

/* Apply nav opening closing transitions to page content */
.page-content, .page-content-wrapper {
    -webkit-transition: padding-left 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
    transition: padding-left 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
}

/* Remove misplaced border for sub menu in minimized nav  */
/* .mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul:before
	{
	border-left: none;
} */

/* Remove misplaced sub menu item circle */
/* .nav-menu li a:hover>.ni, .mod-nav-link:not(.nav-function-top):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul>li a:hover::after */
/* .mod-nav-link:not(.nav-function-top):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul>li a:hover::after {
	display: none;
} */

/* Spacing for nav-menu sections */
.primary-nav .nav-menu {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Keep nav-menu section spacing in minified menu */
.nav-function-minify:not(.nav-function-top) .page-sidebar .primary-nav .nav-menu {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.cursor-default {
    cursor: default;
}

/* Remove version in minified menu */
.nav-function-minify:not(.nav-function-top) .page-sidebar .nav-footer .osmit-nav-menu-version {
    display: none;
}

.osmit-nav-menu-version a {
    padding-top: 0 !important;
}

/* Switch menu minify icon depending on menu state */
.minify-menu-icon {
    display: unset;
    padding-left: 12rem;
}

.nav-function-minify:not(.nav-function-top) .page-sidebar .primary-nav .osmit-nav-menu-actions .minify-menu-icon {
    display: none;
}

.unminify-menu-icon {
    display: none;
}

.nav-function-minify:not(.nav-function-top) .page-sidebar .primary-nav .osmit-nav-menu-actions .unminify-menu-icon {
    display: unset;
}

/* Fixed shape of menu minify menu item for single entries */
.nav-function-minify:not(.nav-function-top) .page-sidebar .primary-nav:hover .nav-menu > li:hover > a > .nav-link-text:last-child:before {
    font-size: 3.3rem;
    top: -6px;
}

/* Hide menu in minified mode as soon as cursor leaves menu but close gab between */
.nav-function-minify:not(.nav-function-top) .page-sidebar .primary-nav:hover .nav-menu > li:hover > ul:after {
    height: 100%;
    width: calc(100% + 1rem);
    top: 0;
}

/* Center Menu Icons (minified menu) */
.nav-menu > li > a > i.fal {
    text-align: center;
}

/* Reduce margin for views with gridstack layout */
.contentMain > .z-idspace > div > .z-gridstacklayout {
    margin: -10px;
}

/* Align menu open speed */
.page-sidebar {
    transition: width 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
}

/* overflow / ellipsis for long user names */
.page-sidebar .osmit-nav-menu-user .nav-link-text {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ResizableContainer indicator */
/* .resizableContainer {
    border-bottom: 3px double rgba(0, 0, 0, 0.09) !important;
} */
.resizableContainer > .z-window-content::after {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    display: block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f0dd"; /* sort-down */
    position: absolute;
    font-size: 16px;
    right: 4px;
    color: lightgrey;
    transform: rotate(-45deg);
    bottom: 20px;
}

/* Tabs */
.navigation-tabs.z-tabbox {
    border: none;
    margin-top: 10px;
}

.navigation-tabs .z-tab-button + .z-tab-text, .navigation-tabs .z-tab-text {
    user-select: none;
    color: rgba(0, 0, 0, 0.30)
}

.navigation-tabs .z-tab-selected .z-tab-text {
    color: #495057 !important;
}

.navigation-tabs .z-tab-button {
    margin-left: 25px;
}

.navigation-tabs .unloaded .z-tab-text {
    color: lightgray;
}

.navigation-tabs .bookmarked .z-tab-text::before {
    content: "\f02e";
    /* content: "\f08d"; */
    display: block;
    transform: translateY(-50%);
    line-height: normal;
    position: absolute;
    top: 20%;
    left: 2px;
    cursor: pointer;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    font-size: 8px;
}

.tabContextMenuList {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.tabContextMenuList li {
    padding: 4px 5px;
}

.tabContextMenuList li:hover {
    background: #e9ecef;
}

/* SmartAdmin adaptions for smaller tab bar */
.header-icon {
    line-height: 3.2rem;
    height: 3.2rem;
}

.page-header {
    height: 3.2rem;
}

#osmitActionbar {
    top: 3.2rem;
}

#content.contentMain {
    top: 5.5875rem;
}

.osmit-header {
    height: 3.2rem;
}

/* Global Search */
.global-search-container {
    align-content: center;
    width: 120px;
    margin-right: 1rem;
    transition: width 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
}

.global-search-container:focus, .global-search-container:focus-within {
    width: 14rem;
}

#global-search {
    height: 1rem;
}

/* Hidden selectAll checkbox on CustomDataLists */
.noSelectAll .z-listheader-checkable {
    /* visibility: hidden !important; */
    display: none;
}

/* Labelbox input specific styles */
.labelbox-popup.z-chosenbox-popup {
    max-height: 250px;
    overflow-y: auto;
}

.labelbox.z-chosenbox {
    padding: 0;
    overflow-x: auto;
}

/* Set text color of toolbarbuttons with mode toggle to white in case they are not focused or hovered */
.z-toolbarbutton-checked:not(.z-toolbarbutton:active, .z-toolbarbutton:hover) {
    color: white;
}

.z-toolbarbutton-checked:focus {
    color: white;
    background-color: #495057;
}


/* Disable border-collapse for CustomDataListEditor tables z-listbox to mark rows with specific border */
.z-listbox.dataListEditor table {
    border-collapse: collapse;
}

.striked {
    text-decoration: line-through;
}

/* TODO - related upstream issue: https://tracker.zkoss.org/browse/ZK-5175 ; aktuell ist noch width="40px" parallel gesetzt; kann entfernt werden wenn bug gefixt*/
.osmit-singleIconToolbarButtonWidth {
    width: 40px
}

/* Floating revision display */
.osmit-auditRevisionNotification {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    position: absolute;
    background: #495057;
    border-radius: 4px;
    margin-top: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 1000;
}

.osmit-auditRevisionNotification .fa-history {
    margin: 8px 11px;
}

.osmit-auditRevisionNotification .z-toolbarbutton {
    margin: 3px;
}

.osmit-auditRevisionNotification .z-toolbarbutton:hover, .osmit-auditRevisionNotification .z-button:focus {
    background-color: #1a1d20;
}

/* Highlight / Description Box */
code, .panel-tag {
    background: #f8f8f8;
}

.osmit-rotate-minus-45 {
    rotate: -45deg;
}

/* custom ui layout extensions*/
.osmit-v-layout.z-flex-item {
    flex: 1 1 auto; /* the default 1 1 0 collapses when used within a floating window */
}

/* text loading placeholder */
.osmit-loading-text span {
    display: inline-block;
    margin: 0 2px;
    font-family: sans-serif;
}

.osmit-loading-text span:nth-child(1) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 0s infinite linear alternate;
    animation: blur-text 1.5s 0s infinite linear alternate;
}

.osmit-loading-text span:nth-child(2) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 0.2s infinite linear alternate;
    animation: blur-text 1.5s 0.2s infinite linear alternate;
}

.osmit-loading-text span:nth-child(3) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 0.4s infinite linear alternate;
    animation: blur-text 1.5s 0.4s infinite linear alternate;
}

.osmit-loading-text span:nth-child(4) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 0.6s infinite linear alternate;
    animation: blur-text 1.5s 0.6s infinite linear alternate;
}

.osmit-loading-text span:nth-child(5) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 0.8s infinite linear alternate;
    animation: blur-text 1.5s 0.8s infinite linear alternate;
}

.osmit-loading-text span:nth-child(6) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 1s infinite linear alternate;
    animation: blur-text 1.5s 1s infinite linear alternate;
}

.osmit-loading-text span:nth-child(7) {
    filter: blur(0px);
    -webkit-animation: blur-text 1.5s 1.2s infinite linear alternate;
    animation: blur-text 1.5s 1.2s infinite linear alternate;
}

@-webkit-keyframes blur-text {
    0% {
        filter: blur(0px);
    }
    100% {
        filter: blur(4px);
    }
}

@keyframes blur-text {
    0% {
        filter: blur(0px);
    }
    100% {
        filter: blur(4px);
    }
}

/* MessageBoxExt related */

.osmit-messagebox-window {
    min-width: 360px;
    width: auto;
}

.osmit-messagebox-window .z-messagebox {
    min-width: 296px;
    max-width: 85vw;
    max-height: 75vh;
    overflow: auto;
    width: auto;
}

.osmit-messagebox-window .z-messagebox {
    min-width: 296px;
    max-width: 85vw;
    max-height: 75vh;
    overflow: auto;
    width: auto;
}

.osmit-messagebox-window .osmit-messagebox-details-panel {
    margin: 2px 16px 12px; /* wie .z-messagebox .z-label aber als margin (border) */
}

.osmit-messagebox-window .osmit-messagebox-details-panel .z-panelchildren {
    overflow: auto;
    max-width: 100%;
    max-height: 40vh;
}

/* Overrides ZK10 font awesome: the default weight was changed to 900 what seems quite heavy. we switch back to 400. see zul web/zul/font/font-awesome.css.dsp */
i[class*=" z-icon-"], i[class^="z-icon-"] {
    font-weight: 400
}

/* messagebox popup overrides */
.z-window.z-messagebox-window {
    width: auto;
}

.z-messagebox-window .z-messagebox {
    width: auto;
    min-width: calc(var(--zk-messagebox-window-width) - var(--zk-messagebox-icon-margin-left) - var(--zk-messagebox-icon-size) - var(--zk-messagebox-padding-horizontal));
    max-width: 80vw;
    max-height: calc(80vh - 100px);
    overflow: auto;
}