body ::-webkit-scrollbar, body ::-webkit-scrollbar-thumb, body ::-webkit-scrollbar-button {
    background: none;
    inline-size: 0.5rem;
    block-size: 0;
}

body :is(:hover,:focus)::-webkit-scrollbar-thumb {
    background: var(--outline);
    border-radius: 1rem;
}

html, body, .h100 {
    min-height: 100% !important;
    max-height: 100% !important;
    height: 100% !important;
}

.w100 {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

error-overflow-hidden{
    overflow: hidden;
    white-space: nowrap;
    max-width: 92%;
}

.warning {
    background: var(--warning) !important;
    color: var(--on-warning) !important;
}

.warning-container {
    background: var(--warning-container) !important;
    color: var(--on-warning-container) !important;
}

.error-mc {
    background: var(--error-mc) !important;
    color: var(--on-error-mc) !important;
}

.error-container-mc {
    background: var(--error-container-mc) !important;
    color: var(--on-error-container-mc) !important;
}


img.logexDCSLogo {
    content: var(--logexDCSLogo);
}

img.logexSolutionsLogo {
    content: var(--logexSolutionLogo);
}

.overflow {
    overflow: initial !important;
}

    .overflow .rz-cell-data {
        overflow: initial !important;
    }

    nav:is(.left,.right,.top,.bottom):not(.drawer) > a:not(.button,.chip):is(:hover,:focus,.active) > i {
        padding: .25rem 0.5rem !important;
    }

div.root {
    transition: padding-inline-start var(--speed3), margin-inline-end var(--speed3);
}

.nav-link:hover {
    background: var(--primary-container) !important;
    color: var(--on-primary-conatainer) !important;
}

.nav-link.active{
    background: var(--primary-container) !important;
    color: var(--on-primary-conatainer) !important;
}

.nav-link.error-container-mc:hover {
    background: var(--error-container) !important;
    color: var(--on-error-container) !important;
}

.nav-link.error-container-mc.active {
    background: var(--error-container) !important;
    color: var(--on-error-container) !important;
}

.nav-link.orange4:hover {
    background: var(--warning-container) !important;
    color: var(--on-warning-container) !important;
}

.nav-link.orange4.active {
    background: var(--warning-container) !important;
    color: var(--on-warning-container) !important;
}

.nav-link.small {
    height: 33px
}

.nav-link.box {
    border: 2px solid var(--secondary-container);
}

.nav-link.tiny-margin {
    margin-top: 0.15rem !important;
    margin-bottom: 0.15rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

details.tiny-margin.no-padding {
    margin-top: 0.15rem !important;
    margin-bottom: 0.15rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

details > summary > article.round.surface-container:hover,
details[open] > summary > article.round.surface-container {
    background-color: var(--secondary-container) !important;
}

details > nav.drawer.no-margin {
    padding-bottom: 0 !important;
    margin-bottom: -0.2rem !important;
    padding-top: 0.15rem !important;
}

    details > nav.drawer > a.nav-link.tiny-margin {
        margin-right: 1rem !important;
    }

nav.drawer > :is(a),
nav.drawer > details > summary > article {
    padding: 0.7rem;
    border-radius: 0.5rem !important;
}

.center-container {
    transform: translate(-50%,-50%);
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
}

button.detailContainerButton {
    inline-size: 3em;
    padding-left: 1rem;
    justify-content: start;
    inset-inline-end: -1.5rem;
    position: absolute;
    opacity: 1;
    transition: opacity var(--speed4), inset-inline-end var(--speed3);
    z-index: 50;
    box-shadow: none !important;
}

main:has( > .detailContainer.active ) > button.detailContainerButton,
button.detailContainerButton.hidden {
    opacity: 0;
    inset-inline-end: -4rem;
}

button.filterContainerButton {
    inline-size: 3em;
    padding-left: 1rem;
    justify-content: start;
    inset-block-start: -0.9rem;
    inset-inline-start: calc(50% - 1.5rem);
    transform: rotate(-90deg);
    margin: 0;
    position: absolute;
    opacity: 1;
    transition: opacity var(--speed4), inset-block-start var(--speed3);
    z-index: 50;
    box-shadow: none !important;
}

button.filterContainerButton i {
    transform: rotate(90deg);
}

    main:has(.filterContainer.active) button.filterContainerButton,
    button.filterContainerButton.hidden {
        opacity: 0;
        inset-block-start: -4rem;
    }

button.bottomContainerButton {
    inline-size: 3em;
    padding-left: 1rem;
    justify-content: start;
    inset-block-end: -0.8rem;
    inset-inline-start: calc(50% - 1.5rem);
    transform: rotate(-90deg);
    margin: 0;
    position: absolute;
    opacity: 1;
    transition: opacity var(--speed4), inset-block-start var(--speed3);
    z-index: 50;
    box-shadow: none !important;
}

    button.bottomContainerButton i {
        transform: rotate(90deg);
        margin: 0 .5rem;
    }

    main:has(.bottomContainer.active) button.bottomContainerButton,
    button.bottomContainerButton.hidden {
        opacity: 0;
        inset-block-start: -4rem;
    }

.mainContainer {
    inline-size: 100%;
    transition: inline-size var(--speed3);
    display: flex;
    flex-direction: column
}

main:has( > .detailContainer.active ) > .mainContainer {
    inline-size: 60%;
}

main:has( > .detailContainer.active.fullScreen ) > .mainContainer {
    inline-size: 35%;
}

.detailContainer {
    inline-size: 0;
    overflow: hidden;
    transition: inline-size var(--speed3);
}

    .detailContainer.active {
        inline-size: calc(40% - 1rem);
        transition: inline-size var(--speed3);
        overflow: hidden;
    }

    .detailContainer.active.fullScreen {
        inline-size: calc(65% - 1rem);
        transition: inline-size var(--speed3);
        overflow: hidden;
    }

.filterContainer {
    block-size: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: block-size var(--speed3), padding-bottom var(--speed3);
}

    .filterContainer.active {
        block-size: 5.5rem;
        padding-bottom: 1rem;
        transition: block-size var(--speed3), padding-bottom var(--speed3);
        overflow: hidden;
    }

.bottomContainer {
    block-size: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: block-size var(--speed3), padding-bottom var(--speed3);
}

    .bottomContainer.active {
        block-size: 25rem;
        padding-top: 1rem;
        transition: block-size var(--speed3), padding-bottom var(--speed3);
        overflow: hidden;
    }


.imageDeleteButton {
    inset-block-end: 1.5rem;
    inset-inline-end: 1.5rem;
    background-color: rgba(0,0,0,0.6) !important;
    color: white !important
}

.field:has(>:disabled)
{
    opacity: 1;
}

.dashboardGrid {
    overflow: hidden;
}


@media only screen and (max-width: 1200px) {
    .dashboardGrid {
        overflow: visible;
    }
}

@media only screen and (max-width: 992px) {


    main:has( > .detailContainer.active ) > .mainContainer {
        inline-size: 0;
        overflow: hidden;
    }

    main:has( > .detailContainer.active.fullScreen ) > .mainContainer {
        inline-size: 0;
        overflow: hidden;
    }

    .detailContainer.active {
        inline-size: 100%;
        inset-inline-start: -1rem;
    }

    .detailContainer.active.fullScreen {
        inline-size: 100%;
        inset-inline-start: -1rem;
    }

    div.h100:has(> #dialog-menu.active) {
        padding-inline-start: 20rem !important;
        margin-inline-end: -20rem !important;
        transition: padding-inline-start var(--speed3), margin-inline-end var(--speed3);
    }

    : has( > nav.m.top) {
        padding-block-start: 4rem !important;
    }

    :has( > nav.s.bottom) {
        padding-block-end: 4rem !important;
    }

    main.responsive.max {
        margin-inline-start: 1rem !important;
        margin-inline-end: 1rem !important;
        margin-block-end: 0 !important;
    }

    div.h100:has(> dialog.active) > main.responsive.max {
        margin-inline-start: 0 !important;
    }

    dialog.mobileFullScreenDialog {
        transform: translateY(4rem);
        inset: 0 auto auto 0;
        inline-size: 100% !important;
        block-size: 100% !important;
        max-inline-size: 100%;
        max-block-size: 100%;
        background-color: var(--surface);
        min-height: 100% !important;
        max-height: 100% !important;
        height: 100% !important;
        border-radius: 0;
    }

        dialog.mobileFullScreenDialog:is(.active, [open]) {
            transform: translate(0) !important;
        }

    @media (display-mode: standalone) {
        @supports (-webkit-touch-callout: none) {
            nav.bottom.m.s {
                padding-bottom: 1.3rem;
                block-size: 5rem !important;
            }

            :has(> nav.s.m.bottom) {
                padding-block-end: 5rem !important;
            }
        }
    }
}

@media only screen and (max-width: 600px) {
    .center-container {
        inset-block-start: 40%;
        position: relative;
    }
}

nav.navButtonContainer a.button,
nav.navButtonContainer button {
    border-radius: 0rem !important;
    height: 35px;
}

    nav.navButtonContainer a.button:first-child,
    nav.navButtonContainer button:first-child {
        border-start-start-radius: 0.5rem !important;
        border-end-start-radius: 0.5rem !important;
    }

    nav.navButtonContainer a.button:last-child,
    nav.navButtonContainer button:last-child {
        border-start-end-radius: 0.5rem !important;
        border-end-end-radius: 0.5rem !important;
    }

nav.primary-container .navButtonContainer .button.border {
    color: var(--on-secondary-container);
    border-color: var(--on-secondary-container);
}

nav.surface .navButtonContainer .button.border
{
    color: var(--on-surface-container);
    border-color: var(--on-surface-container);
}

nav.subNav.navButtonContainer .button.border,
nav.subNav .navButtonContainer .button.border {
    color: var(--on-secondary-container);
    border-color: var(--on-secondary-container);
}


nav.s.m.l.xl.top {
    padding: .5rem 1rem .5rem 1rem !important;
    block-size: 4rem;
}

nav.subNav.s.m.l.xl.top {
    block-size: 4rem;
    padding: .5rem 1.25rem .5rem 1rem !important;
    margin-block-start: 4rem;
}

*:has( > nav.subNav.s.m.l.xl.top ) {
    padding-block-start: 9rem !important;
}

dialog {
    transition: all var(--speed3) !important;
}

nav.left:has( ~ nav.subNav.s.m.l.xl.top),
dialog.left:has( ~ nav.subNav.s.m.l.xl.top),
nav.right:has( ~ nav.subNav.s.m.l.xl.top) {
    padding-block-start: 8.5rem !important;
}

nav.l.left {
    inline-size: 0;
    overflow: hidden;
}

    nav.l.left.active {
        inline-size: 20rem;
        overflow: hidden;
        transition: inline-size var(--speed3);
    }


@media only screen and (min-width: 993px) {
    *:has(>nav.l.left) {
        padding-inline-start: 1rem;
    }

    *:has(>nav.l.left.active) {
        padding-inline-start: 20rem;
        transition: padding-inline-start var(--speed3);
    }

        *:has(>nav.l.left.active) .syncScheduler {
            width: calc(100vw - 25rem) !important;
        }

    nav.s.m.l.xl.top {
        padding: .5rem 1rem .5rem 1rem !important;
        block-size: 4rem;
    }
}

.rz-notification-item-wrapper {
    margin: 0 !important;
}

.rz-notification-item {
    box-shadow: var(--elevate1) !important;
}

.rz-form-field > .rz-form-field-content {
    margin-top: 0 !important;
    margin-block-end: 1rem;
}
label.rz-form-field-label
{
    font-size: 0.875rem;
}

.rz-dropdown-clear-icon {
    opacity: 1 !important;
}

.fillFormField .rz-form-field-content {
    background-color: var(--surface-variant);
}

.fillFormField label {
    background: linear-gradient(0deg, var(--surface-variant), var(--surface-variant), var(--surface), var(--surface));
}

.rz-notification-success .rz-notification-item,
.rz-notification-success .rz-notification-icon.rzi-check {
    background-color: var(--primary-container) !important;
    color: var(--on-primary-container) !important;
}

.no-header-grid thead {
    display: none !important;
}

/* for radzen reordering rows */
.re-order-row td {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.dialog-h95 {
    height: 95vh;
    width: 95vw;
}

.dialog-h95 .rz-dialog-content {
    height: 100%
}

.rz-column-title-content:has(> div.full-width-radzen-data-grid-header) {
    width: 100%;
    padding-inline-end: 1rem;
}

.rz-datalist-content.no-padding ul {
    padding: 0;
    padding-bottom: 2rem;
}

.rz-datalist-content.no-padding ul li {
    padding: 0;
    margin: 0;
    border: 0;
}

.highlight {
    background-color: var(--rz-grid-selected-background-color);
}

.highlight * {
    background-color: var(--rz-grid-selected-background-color) !important;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.rz-treenode-label {
    font-size: var(--rz-grid-cell-font-size);
    width: 100%;
}


.side-bar-button.rz-fileupload > .rz-fileupload-buttonbar {

    padding: 0;
    background: transparent;
}

.side-bar-button.rz-fileupload > .rz-fileupload-buttonbar > .rz-fileupload-choose {
    padding-block: 12px;
    border-radius: 1rem;
    background: var(--primary-container);
    box-shadow: none;
}

.side-bar-button.rz-fileupload > .rz-fileupload-buttonbar > .rz-fileupload-choose:hover {
    box-shadow: var(--rz-button-shadow);
}

.side-bar-button.rz-fileupload > .rz-fileupload-buttonbar > .rz-state-disabled {
    opacity: 0.5;
}

.side-bar-button.rz-fileupload > .rz-fileupload-buttonbar > .rz-fileupload-choose > i {
    font-size: 1.5rem
}

.rz-fileupload-choose.rz-state-disabled input[type="file"] {
    cursor: not-allowed !important;
}

.rz-fileupload-choose:not(.rz-state-disabled):hover:not(:active) {
    background-color: var(--primary-container) !important;
    box-shadow: var(--elevate1);
}

.rz-tree-item-non-selectable {
    --rz-tree-node-hover-background-color: transparent;
    --rz-tree-node-hover-color: var(--rz-text-disabled-color);
    --rz-tree-node-selected-background-color: transparent;
    --rz-tree-node-selected-color: var(--rz-text-disabled-color);
    --rz-text-selection-color: var(--rz-text-disabled-color);
    color: var(--rz-text-disabled-color);
}

.rz-tree-item-non-selectable:hover {
    --rz-text-selection-color: var(--rz-text-disabled-color);
    color: var(--rz-text-disabled-color);
}

.rz-tree-item-non-selectable > .rz-treenode-content {
    cursor: default;
}

.rz-fileupload-content {
    /* overwritten in order to hide the selected files in the upload component as it is not very pretty */
    visibility: hidden;
    height: 0px;
}