.imagebox-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto; /* 长图片允许滚动 */
    z-index: 9999;
}

.imagebox-table {
    width: 80%;
    height: 80%;
    /*background-color: #204d74;*/
    margin: auto;/*for centering*/
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    /*display: table;*//*for centering*/
}

@media (max-width: 750px) {
    .imagebox-table {
        width: 100%;
    }
}

.imagebox-table-cell {/*for centering*/
    position: absolute;
    top: 0;
    left: 50%;
    /*display: table-cell;*/
    /*height: 100%;*/
    width: 100%;
    /*vertical-align: middle;*/
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.imagebox-content {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 90%;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #222222;
    box-sizing: border-box;
    padding: 10px;
    /*-webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;*/
    position: relative;
    /*animation*/
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.imagebox-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}
.imagebox-title-box {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;

}

.imagebox-title {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 40px;
    color: #f5f5f5;
    font-size: 14px;
    line-height: 40px;
}

.imagebox-controller {
    width: 140px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    left: 50%;
    bottom:55px;
    margin-left: -70px;
    display: inline-block;
}

.imagebox-number {
    width: 40px;
    height: 30px;
    line-height: 30px;
    position: absolute;
    left: 50%;
    bottom:55px;
    margin-left: 70px;
    display: inline-block;
    color: white;
    opacity: .8;
}

.imagebox-controller-pre, .imagebox-controller-close, .imagebox-controller-next {
    width: 33.33333333%;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    background-color: #000;
    color: white;
    opacity: 0.5;

    -webkit-transition: background-color .3s ease, color .3s ease, opacity .3s ease;
    -moz-transition: background-color .3s ease, color .3s ease, opacity .3s ease;
    -ms-transition: background-color .3s ease, color .3s ease, opacity .3s ease;
    -o-transition: background-color .3s ease, color .3s ease, opacity .3s ease;
    transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}

.imagebox-controller-pre {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.imagebox-controller-next {
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}


.imagebox-controller-pre:hover, .imagebox-controller-close:hover, .imagebox-controller-next:hover {
    opacity: .8;
    background-color: white;
    color: black;
}

.longimage {
    top: 110%;
}

/* loading 动画 */
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10000;
  width: 150px;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
 
#loading div {
  width: 30px;
  height: 30px;
  background-color: #28a3ef;
 
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame <span id="3_nwp" style="width: auto; height: auto; float: none;"><a id="3_nwl" href="http://cpro.baidu.com/cpro/ui/uijs.php?app_id=0&c=news&cf=1001&ch=0&di=128&fv=11&is_app=0&jk=53d76fe0495c93ed&k=from&k0=from&kdi0=0&luki=2&n=10&p=baidu&q=06011078_cpr&rb=0&rs=1&seller_id=1&sid=ed935c49e06fd753&ssp2=1&stid=0&t=tpclicked3_hc&tu=u1922429&u=http%3A%2F%2Fwww%2Eadmin10000%2Ecom%2Fdocument%2F3601%2Ehtml&urlid=0" target="_blank" mpid="3" style="text-decoration: none;"><span style="color:#0000ff;font-size:14px;width:auto;height:auto;float:none;">from</span></a></span> flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
 
#loading .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
 
#loading .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
 
@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}
 
@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

/*original by animate.css*/
.animated.bounceIn,
.animated.bounceOut {
    -webkit-animation-duration: .3s;
    -moz-animation-duration: .3s;
    -ms-animation-duration: .3s;
    -o-animation-duration: .3s;
    animation-duration: .3s;
}

@-webkit-keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -moz-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -ms-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -o-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        -moz-transform: scale3d(.3, .3, .3);
        -ms-transform: scale3d(.3, .3, .3);
        -o-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    /*20% {*/
        /*-webkit-transform: scale3d(1.1, 1.1, 1.1);*/
        /*transform: scale3d(1.1, 1.1, 1.1);*/
    /*}*/

    /*40% {*/
        /*-webkit-transform: scale3d(.9, .9, .9);*/
        /*transform: scale3d(.9, .9, .9);*/
    /*}*/

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        -moz-transform: scale3d(1.03, 1.03, 1.03);
        -ms-transform: scale3d(1.03, 1.03, 1.03);
        -o-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    /*80% {*/
        /*-webkit-transform: scale3d(.97, .97, .97);*/
        /*transform: scale3d(.97, .97, .97);*/
    /*}*/

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        -moz-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        -o-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        -moz-transform: scale3d(.3, .3, .3);
        -ms-transform: scale3d(.3, .3, .3);
        -o-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }

    /*20% {*/
        /*-webkit-transform: scale3d(1.1, 1.1, 1.1);*/
        /*transform: scale3d(1.1, 1.1, 1.1);*/
    /*}*/

    /*40% {*/
        /*-webkit-transform: scale3d(.9, .9, .9);*/
        /*transform: scale3d(.9, .9, .9);*/
    /*}*/

    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        -moz-transform: scale3d(1.03, 1.03, 1.03);
        -ms-transform: scale3d(1.03, 1.03, 1.03);
        -o-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }

    /*80% {*/
        /*-webkit-transform: scale3d(.97, .97, .97);*/
        /*transform: scale3d(.97, .97, .97);*/
    /*}*/

    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        -moz-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        -o-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.bounceIn {
    -webkit-animation-name: bounceIn;
    -moz-animation-name: bounceIn;
    -ms-animation-name: bounceIn;
    -o-animation-name: bounceIn;
    animation-name: bounceIn;
}

@-webkit-keyframes bounceOut {
    20% {
        -webkit-transform: scale3d(1.03, 1.03,1.03);
        -moz-transform: scale3d(1.03, 1.03,1.03);
        -ms-transform: scale3d(1.03, 1.03,1.03);
        -o-transform: scale3d(1.03, 1.03,1.03);
        transform: scale3d(1.03, 1.03,1.03);
    }

    /*50%, 55% {*/
        /*opacity: 1;*/
        /*-webkit-transform: scale3d(1.03, 1.03,1.03);*/
        /*transform: scale3d(1.03, 1.03,1.03);*/
    /*}*/

    100% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        -moz-transform: scale3d(.3, .3, .3);
        -ms-transform: scale3d(.3, .3, .3);
        -o-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }
}

@keyframes bounceOut {
    20% {
        -webkit-transform: scale3d(1.03, 1.03,1.03);
        -moz-transform: scale3d(1.03, 1.03,1.03);
        -ms-transform: scale3d(1.03, 1.03,1.03);
        -o-transform: scale3d(1.03, 1.03,1.03);
        transform: scale3d(1.03, 1.03,1.03);
    }

    /*50%, 55% {*/
        /*opacity: 1;*/
        /*-webkit-transform: scale3d(1.03, 1.03,1.03);*/
        /*transform: scale3d(1.03, 1.03,1.03);*/
    /*}*/

    100% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        -moz-transform: scale3d(.3, .3, .3);
        -ms-transform: scale3d(.3, .3, .3);
        -o-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }
}

.bounceOut {
    -webkit-animation-name: bounceOut;
    -moz-animation-name: bounceOut;
    -o-animation-name: bounceOut;
    animation-name: bounceOut;
}
