body {
    margin: 0px;
    overflow: hidden;
}

img {
    -webkit-user-drag: none;
}

#container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: grab;
    background: rgba(0, 0, 0, 0.5);
}

#container:active {
    cursor: grabbing;
}


#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    visibility: hidden;
}






/*加载器结束*/
.v3d-annotation {
    position: absolute;
    top: -16px;
    left: -16px;
    width: auto;
    min-width: 14px;
    height: 26px;
    padding: 8px;
    border: 0px solid transparent;
    border-radius: 0;
    font-size: 36px;
    font-family: sans-serif;
    line-height: 26px;
    text-align: center;
    user-select: none;
    background: transparent;
    cursor: pointer;
    color: #dfb07a;
}

.v3d-annotation-transparent {
    opacity: 0;
}

/*WebGL报错提示*/
.v3d-webgl-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    margin-left: 0;
    width: 100%;
    height: 100%;
    color: #333333;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
    border-style: solid;
    border-width: 0;
    border-radius: 0;
    border-color: transparent;
    font-size: 14px;
    font-weight: 600;
    font-family: sans-serif;
    line-height: 30px;
    padding: 10px 60px;
    z-index: 999;
    display: block;
}

.v3d-webgl-error-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: auto;
    background: white;
    padding: 30px 0px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.v3d-webgl-error-link {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: #333333;
    font-size: 12px;
    margin-top: 30px;
    width: 120px;
}

.v3d-webgl-error-link button {
    background: #333333;
    padding: 5px 25px;
    color: white;
    cursor: pointer;
    border-radius: 2px;
    border-width: 1px;
    position: relative;
    width: 120px;
    font-size: 12px;
    user-select: none;
}

.v3d-webgl-error-link button:hover {
    background: #000000;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
}

@media only screen and (max-width: 540px) {
    .v3d-webgl-error-container {
        width: 60%;
    }
}

/*WebGL报错提示-结束*/

/* removes tap blinking on ios devices */
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Animation keys */
@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes lefthide {
    0% {
        opacity: 1;
        margin-left: 0;
    }

    100% {
        opacity: 0;
        margin-left: -160px;
    }
}

@keyframes leftshow {
    0% {
        opacity: 0;
        margin-left: -160px;
    }

    100% {
        opacity: 1;
        margin-left: 0;
    }
}

@keyframes downhide {
    0% {
        opacity: 1;
        margin-bottom: 0;
    }

    100% {
        opacity: 0;
        margin-bottom: -160px;
    }
}

@keyframes upshow {
    0% {
        opacity: 0;
        margin-bottom: -160px;
    }

    100% {
        opacity: 1;
        margin-bottom: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(0.6);
    }
}

@media screen and (max-width: 900px) {
    .preloader-main {
        transform: scale(0.8);
    }

    .preloader-text {
        transform: scale(0.8);
    }
}

@media screen and (max-width: 670px) {
    .preloader-main {
        transform: scale(0.8);
    }

    .preloader-text {
        /* background-color: skyblue; */
        font-size: 20px;
    }

    .preloader-text>div:nth-child(2) {
        width: 104px;
        text-align: center;
        /* background-color: pink; */
    }
}


@media screen and (max-width: 540px) {
    .preloader-container {
        position: relative;
        height: 100%;
        width: 100%;
        background: url(../assets/loading/bg_phone.png);
        background-position: center;
        background-size: cover;
    }

    .preloader-img {
        position: absolute;
        top: 62px;
        width: calc(100% - 36px);
        /* background-color: pink; */
        margin-bottom: auto;
    }

    .preloader-main {
        position: absolute;
        bottom: 130px;
        width: 74px;
        height: 58px;
        margin-bottom: 0;
        transform: scale(1);
    }

    #percentage {
        font-size: 16px;
    }

    .percent-sign {
        font-size: 10px;
    }

    .preloader-main>span:last-child {
        font-size: 10px;
        font-weight: 400;

    }

    .preloader-text {
        position: absolute;
        bottom: 102px;
        /* background-color: skyblue; */
        font-size: 10px;
        transform: scale(1);
    }

    .preloader-text>div:nth-child(2) {
        margin: 0 6px;
        width: auto;
    }

    .preloader-text .line {
        width: 100px;
        height: 1px;
        border: none;
    }

    .preloader-text .left {
        background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
    }

    .preloader-text .right {
        background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
    }
}