/*----------------------------*/
#blazor-error-ui {
    background-color: lightyellow !important;
    bottom: 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: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

body {
    overflow-x: hidden;
    overflow-y: hidden;
}
/*----------------------------*/

/*----------------------------*/
.elevation-on-hover:hover {
    box-shadow: var(--mud-elevation-3);
}

.elevation-on-hover-6:hover {
    box-shadow: var(--mud-elevation-6);
}

.transparent {
    background-color: transparent !important;
}

.black-005 {
    background-color: rgba(1, 1, 1, 0.05) !important;
}

.white {
    background-color: white !important;
}

.primary {
    background-color: #594ae2ff !important;
}

.fault {
    background-color: rgba(244, 67, 54, 1) !important;
}

.lightgray {
    background-color: lightgray !important;
}

.redgray {
    background-color: rgba(244, 77, 54, 1) !important;
}

.redgray-08 {
    background-color: rgba(244, 77, 54, 0.8) !important;
}

.user-select-none {
    user-select: none !important;
}

.color-lightgray {
    color: lightgray !important;
}

.color-white {
    color: white !important;
}

.hide-scrolls {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.full-width {
    width: 100% !important;
}

.full-height {
    height: 100% !important;
}

.overflow-x-clip {
    overflow-x: clip !important;
}

.overlay-caption-text {
    user-select: none !important;
    color: lightgray !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    align-self: center !important;
}

.overlay-caption-exit-button {
    border-radius: 20% !important;
    padding: 0px !important;
    align-content: center !important;
}

    .overlay-caption-exit-button > p {
        display: flex !important;
    }

        .overlay-caption-exit-button > p > svg {
            font-size: 2.9rem !important;
            color: lightgray !important;
            align-self: center !important;
            margin: -2px !important;
        }

.overlay-caption-left-icon {
    font-size: 3.0rem !important;
    margin: -2px !important;
}

.line-height-0 {
    line-height: 0 !important;
}

.line-height-1 {
    line-height: 1 !important;
}

.word-break-all {
    word-break: break-all !important;
}

.word-break-word {
    word-break: break-word !important;
}

.blur-3px {
    filter: blur(3px);
}

.blur-2px {
    filter: blur(2px);
}

.blur-1px {
    filter: blur(1px);
}

.grayscale-80 {
    filter: grayscale(80%);
}

.font-family-system-ui {
    font-family: system-ui;
}

.template-layout {
    height: calc(100vh - 280px) !important;
    width: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-top: 2px !important;
}

.grid-icon-size {
    height: 30px !important;
    width: 30px !important;
}

.z-2 {
    z-index: 2 !important;
}

.z-max {
    z-index: 9999 !important;
}

.box2 {
    box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.2) !important;
}

    .box2:hover {
        transform: translateY(5px) !important;
        box-shadow: inset 0px 10px 20px 2px rgba(0, 0, 0, 0.05) !important;
    }
/*----------------------------*/

.Truncate {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    font-weight: bold;
}
    .Truncate > .Truncate-text {
        max-width: -moz-fit-content;
        max-width: fit-content;
        min-width: 1ch;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/*----------------------------*/
.wiki-btn {
    position: fixed;
    width: 15px;
    height: 55px;
    top: 29%;
    right: 0;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
    transition: 0.2s ease-out;
    background: linear-gradient(90deg,#0000 33%,rgba(255,255,255,0.3) 50%,#0000 66%) #009dbc;
    background-size: 500%;
    animation: shine 3s infinite;
    z-index: 2;
}

    .wiki-btn:hover {
        width: 40px;
        border-top-left-radius: 50px;
        border-bottom-left-radius: 50px;
    }

@keyframes shine {
    0% {
        background-position: right;
    }
}

.wiki-txt {
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    position: absolute;
    right: -30px;
    top: 15px;
    color: #fff;
    font-size: 17px;
    transition: 0.3s ease-out;
}

.wiki-btn:hover .wiki-txt {
    right: -0px;
}
/*----------------------------*/

/*----------------------------*/
.promoter-container {
    height: 150px;
    max-height: 150px;
    user-select: none;
}

.rotate-box {
    animation: animName 4s linear infinite alternate;
}

@keyframes animName {
    0% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(15deg);
    }
}
/*----------------------------*/

/*----------------------------*/
.tooltip {
    position: relative;
    display: inline-block;
}

    /* Tooltip text */
    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: var(--mud-palette-text-primary);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        top: -3px;
        right: 105%;
        margin-left: -60px;
        /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
        opacity: 0;
        transition: opacity 300ms cubic-bezier(.4,0,.2,1) 0ms;
        z-index: 3;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

    .tooltip .tooltiptext::after {
        content: " ";
        position: absolute;
        top: 50%;
        left: 100%; /* To the right of the tooltip */
        margin-top: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent transparent var(--mud-palette-text-primary);
    }

    /* Tooltip text */
    .tooltip .tooltiptex-right {
        visibility: hidden;
        width: 120px;
        background-color: var(--mud-palette-text-primary);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        top: -3px;
        left: 360%;
        margin-left: -60px;
        /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
        opacity: 0;
        transition: opacity 300ms cubic-bezier(.4,0,.2,1) 0ms;
        z-index: 3;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptex-right {
        visibility: visible;
        opacity: 1;
    }

    .tooltip .tooltiptex-right::after {
        content: " ";
        position: absolute;
        top: 50%;
        left: -7%; /* To the right of the tooltip */
        margin-top: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent var(--mud-palette-text-primary) transparent transparent;
    }


    .tooltip .tooltiptextbottom {
        visibility: hidden;
        width: 120px;
        background-color: var(--mud-palette-text-primary);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -60px;
        /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
        opacity: 0;
        transition: opacity 300ms cubic-bezier(.4,0,.2,1) 0ms;
        z-index: 3;
    }

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptextbottom {
        visibility: visible;
        opacity: 1;
    }

    .tooltip .tooltiptextbottom::after {
        content: " ";
        position: absolute;
        bottom: 100%; /* At the top of the tooltip */
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent var(--mud-palette-text-primary) transparent;
    }


/*----------------------------*/

/*----------------------------*/
.context-button {
}

    .context-button .context-sub-buttons {
        visibility: hidden;
        opacity: 0;
        transition: opacity 300ms cubic-bezier(.4,0,.2,1) 0ms;
    }

    .context-button:hover .context-sub-buttons {
        visibility: visible;
        opacity: 1;
    }
/*----------------------------*/

.scrollwithoutbar {
    /*overflow-y: scroll !important;
    scrollbar-width: none !important;*/ /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */

    scrollbar-width: none !important;
    max-height: 300px !important;
}

    .scrollwithoutbar::-webkit-scrollbar {
        display: none !important; /* Hide scrollbar for WebKit browsers */
    }