:root {
    --mz-softkeyboard-height: 0px;
    --mz-input-focus: none;
}

* {
    margin: 0;
}

html {
    overflow: auto;
    overscroll-behavior: contain;
}

/* #region | Topbar */

#mz-topbar-container {
    padding: 1px 1px 1px 1px;
    position: fixed;
    width: 100vw;
    top: 0;
}

#mz-topbar-content {
    display: flex;
    flex-direction: row;
    padding: 0.6rem;
    position: absolute;
    left: -1px;
    right: 0;
    margin-left: 50px;
}

#mz-topbar-burger-container {
    display: flex;
    flex-direction: column;
    padding: 0.1rem;
}

#mz-topbar-burger-content {
    display: flex;
    flex-direction: row;
}

#mz-topbar-title-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#mz-topbar-title-content {
    display: flex;
    flex-direction: row;
}

#mz-topbar-title {
    flex: 1 1 auto;
}

#mz-topbar-cancelchanges-container {
    flex: 1 1 auto;
}

#mz-topbar-pageactions-container {
    display: flex;
    flex-direction: column;
    padding: 0.1rem;
}

#mz-topbar-pageactions-content {
    display: flex;
    flex-direction: row;
}

/* #endregion | Topbar */

/* #region | Pages */

#mz-loading {
    position: relative;
    top: 47vh;
    text-align: center;
    color: #fff;
}

#mz-pageset-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    width: 100vw;
    overflow: hidden;
}

.mz-pageset,
mz-page {
    height: 100%;
    width: 100%;
}

.mz-page-kbscroll {
    height: calc(100% + var(--mz-softkeyboard-height));
    width: 100%;
    overflow-y: auto;
}

.mz-page-container {
    height: calc(100% - var(--mz-softkeyboard-height));
    width: 100%;
    display: flex;
    flex-direction: row;
}

.mz-page-middle {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.mz-page-content {
    flex: 1 1;
    display: flex;
}

.mz-page {
    opacity: 0;
}

@keyframes mz-show-page {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
        transform: translateX(0.5px);
    }
}

.mz-page.mz-active {
    display: block;
    transform: translateX(60px);
    animation-name: mz-show-page;
    animation-duration: 3000ms;
    animation-timing-function: cubic-bezier(0.230, 1.000, 0.320, 1.000);
    animation-fill-mode: forwards;
}

.mz-image-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 0px;
    height: 0px;
    visibility: hidden;
}

.mz-child-rows {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mz-child-columns {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.mz-panel-container {
    display: flex;
    position: relative;
    flex-direction: column;
}

.mz-panel {
    display: flex;
    position: relative;
    flex-direction: column;
}

.mz-panel.mz-widget-single {
    flex: 1 1 auto;
}

.mz-panel.mz-child-panels {
    flex: 1 1 auto;
}

.mz-tabears-container {
    flex: 0 0 50px;
    display: flex;
    flex-direction: row;
    max-height: 0px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.mz-tabears-container.mz-active {
    max-height: none;
}

/* 
.mz-tabears-container.mz-singletab {
    justify-content: space-between;
} */

.mz-tabear {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    height: 44px;
    /* max-height: 44px; */
    margin-right: 6px;
    font-weight: var(--mz-fontweightbase);
    transition: all 200ms;
}

.mz-tabear.mz-active {
    /* max-height: none; */
    height: 50px;
}

.mz-tabear-text>.mz-button-content {
    border-radius: 8px 8px 0px 0px;
}

.mz-tabear-text>.mz-button-content>.mz-button-text {
    font-size: var(--mz-fontsize-base);
}

.mz-tabear-select {
    display: flex;
    flex-direction: column;
}

.mz-tabear-select-button {
    flex: 1 1 auto;
    margin-top: 3px;
    margin-left: 8px;
    max-height: 34px;
}

.mz-tabbed>.mz-panel-content {
    transition: transform 800ms, opacity 1500ms;
}

.mz-panel-content {
    opacity: 1;
    transform: scale(1);
    flex: 1 1 auto;
    display: flex;
    position: relative;
}

.mz-tabbed {
    margin: 0px 0px 0px 0px !important;
}

.mz-tabhidden>.mz-panel-content {
    opacity: 0;
    transform: scale(0.99);
}

.mz-tabhidden {
    overflow: hidden;
}

.mz-tabhidden.mz-row {
    max-height: 0px !important;
}

.mz-tabhidden.mz-columnrow {
    max-width: 0px !important;
}


/* #endregion | Page */

/* #region | Menu */

#mz-menu-container {
    position: fixed;
    height: 100vh;
    width: 50px;
    top: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#mz-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#mz-menu-title {
    color: var(--mz-color-mono-white);
    flex: 0 0 auto;
    padding: 0.3rem;
}

#mz-menu-sep {
    height: 1.8rem;
    color: var(--mz-color-mono-white);
    flex: 0 0 auto;
    padding: 0.3rem;
}

#mz-menu-options {
    flex: 1 1 auto;
}

.mz-menu-option {
    height: 2rem;
    color: var(--mz-color-mono-white);
    flex: 1 1 auto;
    padding: 0.3rem;
}

.mz-text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mz-text-center {
    text-align: center;
}

/* #endregion | Menu */

/* #region | GhostScroll */

.mz-ghost-scroll {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 0px;
    background-color: transparent;
    overflow-y: auto;
    z-index: 99;
}

.mz-ghost-scroll.mz-visible {
    width: 7px;
}

.mz-ghost-content {
    width: 100%;
}

/* #endregion | GhostScroll */

/* #region | scrollable divs */

body::-webkit-scrollbar {
    width: 12px;
}

.mz-scrollable-content::-webkit-scrollbar {
    width: 0px;
}

.mz-ghost-scroll::-webkit-scrollbar {
    width: 6px;
}

.mz-ghost-scroll.mz-active.mz-step1::-webkit-scrollbar {
    width: 7px;
}

.mz-ghost-scroll.mz-active.mz-step2::-webkit-scrollbar {
    width: 8px;
}

.mz-ghost-scroll.mz-active.mz-step3::-webkit-scrollbar {
    width: 9px;
}

.mz-ghost-scroll.mz-active.mz-step4::-webkit-scrollbar {
    width: 12px;
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar {
    width: 14px;
}

.mz-ghost-scroll.mz-active.mz-step6::-webkit-scrollbar {
    width: 17px;
}

.mz-ghost-scroll::-webkit-scrollbar-track {
    background-color: rgba(150, 150, 150, 0);
}

.mz-ghost-scroll.mz-active.mz-step3::-webkit-scrollbar-track {
    background-color: rgba(150, 150, 150, 0.1);
}

.mz-ghost-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(50, 50, 50, 0.2);
}

.mz-ghost-scroll.mz-active.mz-step4::-webkit-scrollbar-thumb:hover {
    background-color: rgba(50, 50, 50, 0.4);
}

/* Arrow buttons */
.mz-ghost-scroll::-webkit-scrollbar-button:single-button {
    background-color: rgb(150, 150, 150, 0.1);
    display: block;
    background-size: 10px;
    background-repeat: no-repeat;
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button {
    background-color: rgb(150, 150, 150, 0.2);
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:hover {
    background-color: rgb(150, 150, 150, 0.3);
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:active {
    background-color: rgb(150, 150, 150, 0.4);
}

/* Arrow button Up */
.mz-ghost-scroll::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 12px;
    width: 6px;
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:vertical:decrement {
    height: 12px;
    width: 16px;
    background-position: center 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgba(50, 50, 50, 0.5)'><polygon points='50,00 0,50 100,50'/></svg>");
}

/* .mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:vertical:decrement:hover {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgba(50, 50, 50, 0.4)'><polygon points='50,00 0,50 100,50'/></svg>");
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:vertical:decrement:active {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgba(50, 50, 50, 0.5)'><polygon points='50,00 0,50 100,50'/></svg>");
} */


/* Arrow button Down */
.mz-ghost-scroll::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 12px;
    width: 16px;
}

.mz-ghost-scroll.mz-active.mz-step5::-webkit-scrollbar-button:single-button:vertical:increment {
    height: 12px;
    width: 16px;
    background-position: center 4px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgba(50, 50, 50, 0.5)'><polygon points='0,0 100,0 50,50'/></svg>");
}

.mz-scrollable {
    position: relative;
}

.mz-scrollable-content {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

/* #endregion | scrollable divs */

/* #region | animated visibility */

.mz-animated-appearance-visibility {
    visibility: hidden;
}

.mz-animated-appearance-visibility.visible.quick {
    animation: fadeInFromInvisible 500ms ease-out forwards;
}

.mz-animated-appearance-visibility.visible.medium {
    animation: fadeInFromInvisible 1000ms ease-out forwards;
}

.mz-animated-appearance-visibility.visible.slow {
    animation: fadeInFromInvisible 1500ms ease-out forwards;
}

.mz-animated-appearance-visibility.visible.veryslow {
    animation: fadeInFromInvisible 2500ms ease-in forwards;
}

@keyframes fadeInFromInvisible {
    0% {
        visibility: hidden;
        opacity: 0;
    }

    1% {
        visibility: visible;
        opacity: 0;
    }

    100% {
        visibility: visible;
        opacity: 1;
    }
}

/* #endregion | animated visibility */

.mz-hidden {
    display: none;
}

.mz-invisible {
    visibility: hidden;
}

.mz-popup-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.mz-popup-background {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.01);
}

.mz-logintextbox {
    flex: 1 1;
    flex-direction: row;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    min-height: 70px;
    max-height: 70px;
}

.mz-logintextbox-icon {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.mz-logintextbox-icon:has(> .mz-logintextbox-icon-left) {
    max-width: 56px;
}

.mz-logintextbox-icon:has(> .mz-logintextbox-icon-right) {
    max-width: 48px;
}

.mz-logintextbox-icon-left {
    width: 56px;
    height: 26px;
}

.mz-logintextbox-button-right {
    width: 48px;
    height: 26px;
}

.mz-logintextbox-button {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.mz-logintextbox-container {
    flex: 1 1;
    position: relative;
}

.mz-textbox-input {
    border: none;
    padding: 0px;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
}

.mz-textbox-input:focus {
    outline: none;
}

.mz-logintextbox-input {
    background-color: transparent;
    color: #fff;
}

.mz-loginpassword-span {
    font-family: monospace;
    font-size: 16px;
    color: #fff;
    position: relative;
    top: 28px;
}

.mz-loginpassword-input {
    background-color: transparent;
    color: transparent;
    font-family: monospace;
    font-size: 16px;
}

.mz-svg-white {
    fill: #fff;
}

.mz-svg-gray {
    fill: #eee;
}

.mz-login-button {
    flex: 1 1;
    flex-direction: column;
    min-height: 70px;
    max-height: 70px;
}

.mz-visible {
    visibility: visible;
}