/**************************/
/********页面样式**********/
/**************************/
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0 auto;
}
.barrageWallBox {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  z-index: 9999;
}
/*输入框的样式*/
.input-box{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  padding: 30px;
  color: #fff;
  background: rgba(0,0,0,.6);
  text-align: center;
}
.input-box input{
  width: 320px;
  height: 40px;
  padding: 0 10px;
  font-size: 16px;
  border-radius: 10px;
  color: #333;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}
.input-box input:focus{
  box-shadow: 3px 5px 20px rgba(0,0,0,.8) ,2px 1px 3px rgba(0,0,0,.6) inset;
}
.input-box .btn{
  width: 100px;
  height: 40px;
  line-height: 40px;
  margin-left: 10px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #cf5a5d;
  background: -webkit-linear-gradient(left, #f6ad36, #cf5a5d);
  /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(right, #f6ad36, #cf5a5d);
  /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(right, #f6ad36, #cf5a5d);
  /* Firefox 3.6 - 15 */
  background: linear-gradient(to right, #f6ad36, #cf5a5d);
  border: 0;
  outline: none;
  cursor: pointer;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -ms-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}
.input-box .btn:hover{
  box-shadow: 3px 5px 20px rgba(0,0,0,.8) ,2px 1px 3px rgba(255,255,255,.6) inset;
}

/*此处为每条弹幕的样式*/
.barrageWallBox .list {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  height: 38px;
  line-height: 38px;
  font-size: 26px;
  font-weight: bold;
  color: #c5280f;
  /*text-shadow: 0 0 3px #000;*/
  -webkit-transition: -webkit-transform 25s linear;
  -moz-transition: -moz-transform 25s linear;
  -o-transition: -o-transform 25s linear;
  transition: transform 25s linear;
  z-index: 999;
}
/*此处弹幕的移动动画，使用transform不会引起页面的重绘，性能更好*/
.barrageWallBox .list.animate {
  -webkit-transform: translateX(-3420px);
  -moz-transform: translateX(-3420px);
  -ms-transform: translateX(-3420px);
  -o-transform: translateX(-3420px);
  transform: translateX(-3420px);
  color: #d24019;
}
.barrageWallBox .list .content {
  display: inline-block;
  opacity: 1;
}
.barrageWallBox .list img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  border-radius: 50%;
  vertical-align: text-top;
}