.loadingdiv {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    overflow-y: hidden;
    display: block;
    background: #a6cde2;
    opacity: 1;
    text-align: center;
}

#UnConnectLoading img {
    position: relative;
    vertical-align: middle;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    /* margin-top: 13vh; */
}

.StatusText {
    position: relative;
    top: -350px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
}

#loading {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: hidden;
    opacity: 0.8;
    background-color: white;
}

.loading_new-box {
    width: 6em;
    height: 6em;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

}

/*這裡設定影子*/
.loading_new-box:before {
    content: '';
    width: 6.5em;
    height: 2em;
    background: #000;
    opacity: 0.1;
    position: absolute;
    top: 4.4em;
    left: -0.5em;
    border-radius: 50%;
    animation: shadow .5s linear infinite;
}

/*這裡是設定在跑的箱子*/
.loading_new-box:after {
    content: '';
    width: 5em;
    height: 5em;
    background: #6a7d8e;
    animation: animate .5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
}

@keyframes animate {
    17% {
        border-bottom-right-radius: 3px;
    }

    25% {
        transform: translateY(9px) rotate(22.5deg);
    }

    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }

    75% {
        transform: translateY(9px) rotate(67.5deg);
    }

    100% {
        transform: translateY(0) rotate(90deg);
    }
}


@keyframes shadow {

    0%,
    100% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.2, 1);
    }
}