/* 全螢幕loading-1 */
html.noScroll, body.noScroll {
    overflow: hidden;
}

* {
    padding: 0;
    margin: 0;
}

.bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .bg img {
        width: auto;
        height: 100%;
    }

.loading_content {
    display: none;
    z-index: 100000;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
}

    .loading_content.open {
        display: block;
    }

.spinner {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.loadingTip {
    font-family: "微軟正黑體";
    overflow: hidden;
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: inline-block;
    color: #fff;
}


/*小區塊loading畫面 - 2 */
.loading_map {
    z-index: 1000000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    text-align: center;
    background: #ffffff98;
    padding: 10px 10px;
    border-radius: 6px;
}

    .loading_map.open {
        display: block;
    }

.loadingText {
    font-size: 1.8rem;
    color: #0077BA;
}

.loading {
    margin: 0 auto;
}

    .loading,
    .loading > div {
        position: relative;
        box-sizing: border-box;
    }

.loading {
    display: block;
    font-size: 0;
    color: #0077BA;
}

    .loading.la-dark {
        color: #333;
    }

    .loading > div {
        display: inline-block;
        float: none;
        background-color: currentColor;
        border: 0 solid currentColor;
    }

.loading {
    width: 54px;
    height: 18px;
}

    .loading > div:nth-child(1) {
        animation-delay: -200ms;
    }

    .loading > div:nth-child(2) {
        animation-delay: -100ms;
    }

    .loading > div:nth-child(3) {
        animation-delay: 0ms;
    }

    .loading > div {
        width: 10px;
        height: 10px;
        margin: 4px;
        border-radius: 100%;
        animation: ball-pulse 1s ease infinite;
    }

    .loading.la-sm {
        width: 26px;
        height: 8px;
    }

        .loading.la-sm > div {
            width: 4px;
            height: 4px;
            margin: 2px;
        }

    .loading.la-2x {
        width: 108px;
        height: 36px;
    }

        .loading.la-2x > div {
            width: 20px;
            height: 20px;
            margin: 8px;
        }

    .loading.la-3x {
        width: 162px;
        height: 54px;
    }

        .loading.la-3x > div {
            width: 30px;
            height: 30px;
            margin: 12px;
        }

@keyframes ball-pulse {

    0%, 60%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    30% {
        opacity: 0.1;
        transform: scale(0.01);
    }
}