.SuspendedBall {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 18px;
    background: #76B0E0;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    filter: alpha(opacity=100); /*IE滤镜，透明度50%*/
    -moz-opacity: 1; /*Firefox私有，透明度50%*/
    opacity: 1; /*其他，透明度50%*/
    z-index: 8899; /*最高的层级*/
    top: 75%;
    right: 0;
    display: none;
    background-size: 100%;
}

    .SuspendedBall > div {
        text-align: center;
        font-size: 14px;
        color:#fff;
        padding: 7px;
    }

@media screen and (max-width: 800px) {
    .SuspendedBall {
        display: block;
    }
}


@keyframes SuspendedBallToLeft {
    100% {
        left: 0px;
    }
}

@-webkit-keyframes SuspendedBallToLeft {
    100% {
        left: 0px;
    }
}

@-moz-keyframes SuspendedBallToLeft {
    100% {
        left: 0px;
    }
}


.ToLeft {
    animation: SuspendedBallToLeft 1s normal;
    -moz-animation: SuspendedBallToLeft 1s normal; /* Firefox */
    -webkit-animation: SuspendedBallToLeft 1s normal; /* Safari 和 Chrome */
    animation-iteration-count: 1;
    -moz-animation-iteration-count: 1; /* Safari 和 Chrome */
    -webkit-animation-iteration-count: 1; /* Safari 和 Chrome */
    animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes SuspendedBallToTop {
    100% {
        top: 0px;
    }
}

@-webkit-keyframes SuspendedBallToTop {
    100% {
        top: 0px;
    }
}

@-moz-keyframes SuspendedBallToTop {
    100% {
        top: 0px;
    }
}


.ToTop {
    animation: SuspendedBallToTop 1s normal;
    -moz-animation: SuspendedBallToTop 1s normal; /* Firefox */
    -webkit-animation: SuspendedBallToTop 1s normal; /* Safari 和 Chrome */
    animation-iteration-count: 1;
    -moz-animation-iteration-count: 1; /* Safari 和 Chrome */
    -webkit-animation-iteration-count: 1; /* Safari 和 Chrome */
    animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes SuspendedBallToBottom {
    100% {
        top: calc(100% - 50px);
        top: -webkit-calc(100% - 50px);
        top: -moz-calc(100% - 50px);
    }
}

@-webkit-keyframes SuspendedBallToBottom {
    100% {
        top: calc(100% - 50px);
        top: -webkit-calc(100% - 50px);
        top: -moz-calc(100% - 50px);
    }
}

@-moz-keyframes SuspendedBallToBottom {
    100% {
        top: calc(100% - 50px);
        top: -webkit-calc(100% - 50px);
        top: -moz-calc(100% - 50px);
    }
}

.ToBottom {
    animation: SuspendedBallToBottom 1s normal;
    -moz-animation: SuspendedBallToBottom 1s normal; /* Firefox */
    -webkit-animation: SuspendedBallToBottom 1s normal; /* Safari 和 Chrome */
    animation-iteration-count: 1;
    -moz-animation-iteration-count: 1; /* Safari 和 Chrome */
    -webkit-animation-iteration-count: 1; /* Safari 和 Chrome */
    animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes SuspendedBallToRight {
    100% {
        left: calc(100% - 50px);
        left: -webkit-calc(100% - 50px);
        left: -moz-calc(100% - 50px);
    }
}

@-webkit-keyframes SuspendedBallToRight {
    100% {
        left: calc(100% - 50px);
        left: -webkit-calc(100% - 50px);
        left: -moz-calc(100% - 50px);
    }
}

@-moz-keyframes SuspendedBallToRight {
    100% {
        left: calc(100% - 50px);
        left: -webkit-calc(100% - 50px);
        left: -moz-calc(100% - 50px);
    }
}

.ToRight {
    animation: SuspendedBallToRight 0.5s normal;
    -moz-animation: SuspendedBallToRight 0.5s normal; /* Firefox */
    -webkit-animation: SuspendedBallToRight 0.5s normal; /* Safari 和 Chrome */
    animation-iteration-count: 1;
    -moz-animation-iteration-count: 1; /* Safari 和 Chrome */
    -webkit-animation-iteration-count: 1; /* Safari 和 Chrome */
    animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}



.BallBox {
    position: fixed;
    z-index: 999;
    top: calc(50% - 160px);
    left: calc(50% - 160px);
    display: block;
    width: 300px;
    border: 1px solid #808080;
    border-radius: 10px;
    height: 300px;
    padding: 10px;
    display: none;
}

    .BallBox > .Bg {
        position: absolute;
        z-index: 998;
        width: 300px;
        height: 300px;
        background-color: #ededed;
        background-image: url("/Images/Self.png");
        background-repeat: no-repeat;
        background-size: 50% auto;
        background-position: 50% 50%;
        filter: alpha(opacity=30);
        -moz-opacity: 0.3;
        opacity: 0.3;
    }

    .BallBox > .BallBoxInfo {
        position: absolute;
        z-index: 999;
        width: 300px;
        height: 300px;
        overflow: auto;
    }
