﻿@keyframes ld-box-size-anim {
    0% {
        width:20%;
        height:20%;
    }
    40%, 100% {
        width:100%;
        height:100%;
    }
}

:root {
    --ldcolor1: #01579b;
    --ldcolor2: #0277bd;
    --ldcolor3: #0288d1;
    --ldcolor4: #039be5;
    --ldcolor5: #03a9f4;
    --lddelay1: 0s;
    --lddelay2: -0.1s;
    --lddelay3: -0.2s;
    --lddelay4: -0.3s;
    --lddelay5: -0.4s;
}

.loading-overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #ffffffd4;
    z-index: 99998;
}

.ldboxgrid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.ldboxgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    width: 50px;
    height: 50px;
    gap: 0px;
}

    .ldboxgrid div {
        align-self: center;
        justify-self: center;
        width: 100%;
        height: 100%;
        animation-name: ld-box-size-anim;
        animation-duration: 0.6s;
        animation-iteration-count: infinite;
        animation-direction: alternate;
    }

        .ldboxgrid div:nth-child(1) {
            background-color: var(--ldcolor1);
            animation-delay: var(--lddelay1);
        }

        .ldboxgrid div:nth-child(2) {
            background-color: var(--ldcolor2);
            animation-delay: var(--lddelay2);
        }

        .ldboxgrid div:nth-child(3) {
            background-color: var(--ldcolor3);
            animation-delay: var(--lddelay3);
        }

        .ldboxgrid div:nth-child(4) {
            background-color: var(--ldcolor2);
            animation-delay: var(--lddelay2);
        }

        .ldboxgrid div:nth-child(5) {
            background-color: var(--ldcolor3);
            animation-delay: var(--lddelay3);
        }

        .ldboxgrid div:nth-child(6) {
            background-color: var(--ldcolor4);
            animation-delay: var(--lddelay4);
        }

        .ldboxgrid div:nth-child(7) {
            background-color: var(--ldcolor3);
            animation-delay: var(--lddelay3);
        }

        .ldboxgrid div:nth-child(8) {
            background-color: var(--ldcolor4);
            animation-delay: var(--lddelay4);
        }

        .ldboxgrid div:nth-child(9) {
            background-color: var(--ldcolor5);
            animation-delay: var(--lddelay5);
        }

.ldbox-prg-main {
    width: 20em;
}
.ldbox-prg-prg-cont {    
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.ldbox-prg-prg-bg {
    background-color: #c5e1a5;
    border-radius: 0.2em;
}
.ldbox-prg-num {
    text-align:center;
}
.ldbox-prg-prg {
    background-color: #8bc34a;
    height: 1em;
    border-radius: 0.2em;
}
.ldbox-prg-cancel {
    display: block;
    text-align:center;
}
.ldbox-btn-cancel {
}