* {
    flex-shrink: 0;
    flex-grow: 0;
    -webkit-user-select: none;
    user-select: none;
    transition: background-color 500ms;
}

html {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.Header {
    width: 100%;
    height: var(--HeaderHeight);
    overflow: hidden;
    z-index: 10;
}

.TopMenu {
    width: 100%;
    height: var(--TopMenuHeight);
    overflow: hidden;
    z-index: 10;
}

.Body {
    width: 100%;
    height: 1px;
    flex-grow: 1;
    display: flex;
    overflow: hidden;
}

    .Body .SideMenu {
        width: var(--SideMenuWidth);
        overflow: hidden;
    }

    .Body .Body2 {
        width: 1px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

        .Body .Body2 .Control {
            overflow: hidden;
        }

        .Body .Body2 .Content {
            height: 1px;
            flex-grow: 1;
            overflow-x: hidden;
            overflow-y: auto;
        }

    .Body .Side {
        width: var(--SideWidth);
        overflow-x: hidden;
        overflow-y: auto;
    }

.Trailer {
    width: 100%;
    height: var(--TrailerHeight);
    overflow: hidden;
    z-index: 10;
}

.UseLargeContent .Content {
    height: 100vh !important;
    flex-grow: 0 !important;
    overflow: hidden !important;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 0px;
}

.Side,
.Content,
.FloatMenu,
.SideMenu > ul {
    overflow-x: hidden;
    overflow-y: auto;
}

.InitializingScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: var(--SplashsBg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.Offline .Control i,
.Offline .Header i:first-of-type {
    color: red;
    font-weight: bolder;
    animation: blink 2.5s linear infinite alternate 2.5s;
    overflow: hidden;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: .5; }
    100% { opacity: 1;}
}

::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 5px solid transparent;
    background-clip: content-box;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #a8bbbf;
    }

.UseDarkMode ::-webkit-scrollbar-thumb {
    background-color: #FFFFFF30;
}

    .UseDarkMode ::-webkit-scrollbar-thumb:hover {
        background-color: #FFFFFF30;
    }
