﻿.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #161B29;
    transition: opacity .5s linear;
    z-index: 2050;
    display: flex;
    flex-flow: column;
}

.global-loader.is-done {
    opacity: 0;
}

.global-loader .logo {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto;
}

@keyframes gf-logo {
    0%, 100% {
        box-shadow: 1px 1px 25px 10px rgba(146, 148, 248, 0.4);
    }

    50% {
        box-shadow: none;
    }
}

.global-loader .intro {
    width: 450px;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgb(146, 148, 248);
    animation: gf-intro 3s linear infinite
}

@keyframes gf-intro {
    0%, 100% {
        box-shadow: 0px 0px 25px 10px rgba(146, 148, 248, 0.4);
    }

    40%, 60% {
        box-shadow: 0px 0px 25px 0px rgba(146, 148, 248, 0.4);
    }
}

.global-loader .intro:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(146, 148, 248, 0.4), transparent);
    animation: gf-flash 2.5s linear infinite;
}

@keyframes gf-flash {
    0%, 100% {
    }

    10%, 90% {
        left: 100%;
    }
}

.global-loader .intro img {
    border-radius: 3px;
    width: 40px;
    margin-right: 1rem;
}

.global-loader .intro span {
    color: #fff;
    animation: gf-title 3s linear infinite;
}

@keyframes gf-title {
    0%, 100% {
        color: #fff;
    }

    60% {
        color: #666;
    }
}

.global-loader .bar {
    width: 50%;
    height: 4px;
    border-radius: 2px;
    margin: auto;
    background: #E645D0;
}

.global-loader .bar .progress {
    width: 0%;
    height: 4px;
    margin: auto;
    background: #17E1E6;
}

.global-loader .logo {
    animation: gf-logo 5s linear infinite;
    -moz-animation: gf-logo 5s linear infinite;
    /* Firefox */
    -webkit-animation: gf-logo 5s linear infinite;
    /* Safari and Chrome */
    -o-animation: gf-logo 5s linear infinite;
    /* Opera */
}

@keyframes gf-logo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.global-loader .progress {
    animation: gf-progress 12s linear;
    -moz-animation: gf-progress 12s linear;
    /* Firefox */
    -webkit-animation: gf-progress 12s linear;
    /* Safari and Chrome */
    -o-animation: gf-progress 12s linear;
    /* Opera */
    animation: gf-progress 12s linear infinite;
}

@keyframes gf-progress {
    0%, 100% {
        width: 0%;
        background-color: #17e1e6;
    }

    50% {
        width: 100%;
        background-color: #28a745;
    }
}

.global-loader .common {
    height: 5vw;
    max-height: 100%;
    overflow: auto;
    width: 2vw;
    margin: auto;
    max-width: 100%;
    position: absolute;
    border-radius: 0vw 10vw 0vw 10vw;
    box-shadow: inset 0vw 0vw 0vw .1vw #E645D0, 0vw 0vw 1.5vw 0vw #E645D0;
}

.global-loader .one {
    transform: rotate(45deg);
    left: 0;
    right: 0;
    top: 0;
    bottom: 7.5vw;
}

.global-loader .two {
    transform: rotate(90deg);
    left: 5.5vw;
    right: 0;
    top: 0;
    bottom: 5.5vw;
}

.global-loader .three {
    transform: rotate(135deg);
    left: 7.5vw;
    right: 0;
    top: 0;
    bottom: 0;
}

.global-loader .four {
    transform: rotate(180deg);
    left: 5.5vw;
    right: 0;
    top: 5.5vw;
    bottom: 0;
}

.global-loader .five {
    transform: rotate(225deg);
    left: 0;
    right: 0;
    top: 7.5vw;
    bottom: 0;
}

.global-loader .six {
    transform: rotate(270deg);
    left: 0;
    right: 5.5vw;
    top: 5.5vw;
    bottom: 0;
}

.global-loader .seven {
    transform: rotate(315deg);
    left: 0;
    right: 7.5vw;
    top: 0;
    bottom: 0;
}

.global-loader .eight {
    transform: rotate(360deg);
    left: 0;
    right: 5.5vw;
    top: 0;
    bottom: 5.5vw;
}

.global-loader .one {
    animation: gf-one 1s ease infinite;
    -moz-animation: gf-one 1s ease infinite;
    /* Firefox */
    -webkit-animation: gf-one 1s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-one 1s ease infinite;
    /* Opera */
}

@keyframes gf-one {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .two {
    animation: gf-two 1s .125s ease infinite;
    -moz-animation: gf-two 1s .125s ease infinite;
    /* Firefox */
    -webkit-animation: gf-two 1s .125s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-two 1s .125s ease infinite;
    /* Opera */
}

@keyframes gf-two {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .three {
    animation: gf-three 1s .25s ease infinite;
    -moz-animation: gf-three 1s .25s ease infinite;
    /* Firefox */
    -webkit-animation: gf-three 1s .25s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-three 1s .25s ease infinite;
    /* Opera */
}

@keyframes gf-three {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .four {
    animation: gf-four 1s .375s ease infinite;
    -moz-animation: gf-four 1s .375s ease infinite;
    /* Firefox */
    -webkit-animation: gf-four 1s .375s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-four 1s .375s ease infinite;
    /* Opera */
}

@keyframes gf-four {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .five {
    animation: gf-five 1s .5s ease infinite;
    -moz-animation: gf-five 1s .5s ease infinite;
    /* Firefox */
    -webkit-animation: gf-five 1s .5s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-five 1s .5s ease infinite;
    /* Opera */
}

@keyframes gf-five {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .six {
    animation: gf-six 1s .625s ease infinite;
    -moz-animation: gf-six 1s .625s ease infinite;
    /* Firefox */
    -webkit-animation: gf-six 1s .625s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-six 1s .625s ease infinite;
    /* Opera */
}

@keyframes gf-six {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .seven {
    animation: gf-seven 1s .750s ease infinite;
    -moz-animation: gf-seven 1s .750s ease infinite;
    /* Firefox */
    -webkit-animation: gf-seven 1s .750s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-seven 1s .750s ease infinite;
    /* Opera */
}

@keyframes gf-seven {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

.global-loader .eight {
    animation: gf-eight 1s .875s ease infinite;
    -moz-animation: gf-eight 1s .875s ease infinite;
    /* Firefox */
    -webkit-animation: gf-eight 1s .875s ease infinite;
    /* Safari and Chrome */
    -o-animation: gf-eight 1s .875s ease infinite;
    /* Opera */
}

@keyframes gf-eight {
    0%, 100% {
    }

    50% {
        box-shadow: inset 0vw 0vw 0vw .1vw #17E1E6, 0vw 0vw 1.5vw 0vw #17E1E6;
    }
}

@media (min-width: 768px) {
    .global-loader {
        padding-top: 8rem;
    }

    .global-loader .intro {
        margin-top: 6rem;
    }
}
#blazor-error-ui {
    background: #e2b221;
    top: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1080;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
