.rz-body {
    height: calc(100vh - 108px);
    height: calc(100dvh - 108px);
}

    .rz-body .page-content {
        max-height: calc(100vh - 108px);
        max-height: calc(100dvh - 108px);
    }

        .rz-body .page-content > .rz-data-grid:first-child:last-child {
            /* Stammdaten-Datagrids */
            max-height: calc(100vh - 108px);
            max-height: calc(100dvh - 108px);
            height: calc(100vh - 108px);
            height: calc(100dvh - 108px);
        }

            .rz-body .page-content > .rz-data-grid:first-child:last-child
            .rz-body .page-content > section > .rz-data-grid:first-child:last-child,
            .rz-body .page-content > header + section, .rz-body .page-content > header + section > .rz-data-grid:first-child:last-child {
                margin-bottom: -16px !important;
            }

                .rz-body .page-content > header + section, .rz-body .page-content > header + section > .rz-data-grid:first-child:last-child {
                    max-height: calc(100vh - 176px);
                    max-height: calc(100dvh - 176px);
                }

        .rz-body .page-content > header.has-subtitle + section,
        .rz-body .page-content > header.has-subtitle + section > .rz-data-grid:first-child:last-child {
            max-height: calc(100vh - 186px);
            max-height: calc(100dvh - 186px);
        }

    .rz-body.fullscreen {
        height: calc(100vh - 55px);
        height: calc(100dvh - 55px);
    }

        .rz-body.fullscreen .page-content {
            max-height: calc(100vh - 55px);
            max-height: calc(100dvh - 55px);
        }

            .rz-body.fullscreen .page-content > header + section,
            .rz-body.fullscreen .page-content > header + section > .rz-data-grid:first-child:last-child {
                max-height: calc(100vh - 123px);
                max-height: calc(100dvh - 123px);
            }

            .rz-body.fullscreen .page-content > header.has-subtitle + section,
            .rz-body.fullscreen .page-content > header.has-subtitle + section > .rz-data-grid:first-child:last-child {
                max-height: calc(100vh - 133px);
                max-height: calc(100dvh - 133px);
            }

            .rz-body.fullscreen .page-content > .rz-data-grid:first-child:last-child {
                max-height: calc(100vh - 55px);
                max-height: calc(100dvh - 55px);
                height: calc(100vh - 55px);
                height: calc(100dvh - 55px);
                margin-bottom: -16px;
            }

.rz-dialog-wrapper:not(:nth-of-type(1)) .rz-dialog-mask {
    opacity: .9 !important;
}

.stupid-colors {
    /*    -webkit-animation: stupid-color-change 1s infinite alternate;
    -moz-animation: stupid-color-change 1s infinite alternate;
    -o-animation: stupid-color-change 1s infinite alternate;
    animation: stupid-color-change 1s infinite alternate;
*/
    animation-name: stupid-color-change;
    animation-duration: 600s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes stupid-color-change {
    0% {
        color: white;
    }

    5% {
        color: wheat;
    }

    10% {
        color: orange;
    }

    20% {
        color: green;
    }

    30% {
        color: maroon;
    }

    40% {
        color: greenyellow;
    }

    50% {
        color: purple;
    }

    60% {
        color: yellow;
    }

    70% {
        color: lightcoral;
    }

    80% {
        color: lightblue;
    }

    90% {
        color: hotpink;
    }

    100% {
        color: lightgray;
    }
}

.fullSize-accordion .rz-accordion-content {
    --rz-accordion-content-padding-inline: 0rem;
}

.historyUpdates-table th, .updates-table td {
    padding: 0.5rem !important;
    word-wrap: break-word !important;
}

.historyUpdates-table td {
    white-space: normal !important;
}