﻿.SuspendedBall {
    position: fixed;
    width: 80px;
    height: 91px;
    /*background: #3071a9;*/
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    /*filter: alpha(opacity=50);*/ /*IE滤镜，透明度50%*/
    /*-moz-opacity: 0.5;*/ /*Firefox私有，透明度50%*/
    /*opacity: 0.5;*/ /*其他，透明度50%*/
    z-index: 9999; /*最高的层级*/
    top: 15%;
    right: 0px;
    background-image: url("/image/tipbs.gif");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position-x: 50%;
    background-position-y: 50%;
    cursor:pointer;
    /*display: none;*/
}


/* .SuspendedBall > div {
                width: 30px;
                height: 30px;
                margin: 10px;
                background: #fff;
                border-radius: 15px;
                -moz-border-radius: 15px;
                -webkit-border-radius: 15px;
                filter: alpha(opacity=80);
                -moz-opacity: 0.8;
                opacity: 0.8;
                background-image: url("/image/wyzg-1.png");
                background-repeat: no-repeat;
                background-size: 80% auto;
                background-position-x: 50%;
                background-position-y: 50%;
            }*/


@media screen and (max-width: 500px) {
    .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% - 80px);
        left: -webkit-calc(100% - 80px);
        left: -moz-calc(100% - 80px);
    }
}


@-webkit-keyframes SuspendedBallToRight {
    100% {
        left: calc(100% - 80px);
        left: -webkit-calc(100% - 80px);
        left: -moz-calc(100% - 80px);
    }
}


@-moz-keyframes SuspendedBallToRight {
    100% {
        left: calc(100% - 80px);
        left: -webkit-calc(100% - 80px);
        left: -moz-calc(100% - 80px);
    }
}


.ToRight {
    animation: SuspendedBallToRight 0.5s normal;
    -moz-animation: SuspendedBallToRight 0.5s normal;
    -webkit-animation: SuspendedBallToRight 0.5s normal;
    animation-iteration-count: 1;
    -moz-animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    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);*/
    top: 15%;
    /*margin-top:118px;*/
    right: 80px;
    display: block;
    width: 300px;
    /*border: 1px solid #ffffff;*/
    height: 500px;
    display: none;
    background-color: #ffffff;
    border-radius: 7px 7px;
    box-shadow: 0px 0px 15px #c3d0e8;
}

.BallBox-big {
    position: fixed;
    z-index: 999;
    /*top: calc(50% - 160px);
    left: calc(50% - 160px);*/
    top: 15%;
    /*margin-top: 118px;*/
    right: 65px;
    display: block;
    width: 500px;
    /*border: 1px solid #ffffff;*/
    height: 680px;
    display: none;
    background-color: #ffffff;
    border-radius: 7px 7px;
    box-shadow: 0px 0px 15px #c3d0e8;
}

    .BallBox > .Bg{
        border-radius: 7px 7px 0px 0px;
        position: relative;
        z-index: 998;
        width: 300px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        color: #fff;
        font-size: 14px;
        letter-spacing: 4px;
        font-weight: bold;
        background-color: #6495ED;
        /*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-big > .Bg {
    border-radius: 7px 7px 0px 0px;
    position: relative;
    z-index: 998;
    width: 500px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: bold;
    background-color: #6495ED;
    /*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;*/
}
.Bg > .BallClose {
    width: 18px;
    position: absolute;
    right: 5px;
    top: 7px;
    cursor: pointer;
}
.Bg > .BallBig, .Bg > .BallSmall {
    width: 20px;
    position: absolute;
    right: 37px;
    top: 8px;
    cursor: pointer;
}
.BallBox > .BallBoxInfo {
    /*position: absolute;*/
    width: 300px;
    height: 465px;
    padding: 15px 15px 15px 15px;
    overflow: auto;
}
.BallBox-big > .BallBoxInfo {
    /*position: absolute;*/
    width: 500px;
    height: 644px;
    padding: 15px 15px 15px 15px;
    overflow: auto;
}
.BallBoxInfo .editbutton {
    background-color: #fff;
    color: #6495ED;
    border: 1px solid #6495ED;
    border-radius: 3px;
    cursor: pointer;
    width: 65px;
    height: 27px;
    line-height: 27px;
    font-size: 12px;
    display: inline-block;
}

    .BallBoxInfo .editbutton:hover {
        background-color: #6495ED;
        color: #fff;
    }
.BallBoxInfo .tiaoto {
    color: #204BB0;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}
.tiaoto a {
    color: #204BB0;
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    cursor: pointer;
}
.BallBoxInfo .imgdiv {
    text-align: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
    .BallBoxInfo .imgdiv > img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

/* 第一种动画效果-渐入效果 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/*动画效果，渐渐的显示*/
.ballShow {
    animation: fadeIn 2s;
}
.ballHide {
    animation: fadeOut 2s;
}
