/* Mix from base.css and app-theme.ts to have the colors minimaly for the loading */
:root {
    --color-background: #F0F3F6;
    --color-text: #212D35;
    --v-theme-background: 240, 243, 246;
    --v-theme-on-background: 33, 45, 53;
}

body {
    min-height: 100vh;
    color: var(--color-text);
    background: var(--color-background);
    transition:
        color 0.5s,
        background-color 0.5s;
    line-height: 1.6;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.progiLoading {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    text-align: center;
    align-content: center;
    background-color: rgb(var(--v-theme-background)) !important;
    color: rgb(var(--v-theme-on-background)) !important;
    overflow: hidden;
}

.progiLoading.inline,
.progiLoading.inline .animation {
    display: inline-block;
}

.progiLoading .animation {
    margin: 5px auto;
    width: 70px;
    height: 20px;
    font-size: 10px;
}

.progiLoading .animation>div {
    background-color: rgb(var(--v-theme-on-background)) !important;
    height: 100%;
    width: 6px;
    margin-right: 4px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.progiLoading .animation .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.progiLoading .animation .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.progiLoading .animation .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.progiLoading .animation .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@keyframes sk-stretchdelay {

    0%,
    40%,
    100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
    }
}
