@charset "utf-8";
/*格式化标签*/
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html,body{
  max-width:640px; 
  height: 100%;
  margin:auto;
  background: #eee;
  position: relative;
  overflow: hidden;
}
body.videoPage{
  overflow-y: auto;
}
/*swiper*/
#swiper-container {
  position: absolute;
  top:0;
  left:0;
    /* width: 320px;
    height: 514px;
    margin-left: -160px;
    margin-top:-257px; */
    transform-origin:left top;
    -webkit-transform-origin:left top;
    background:#fff;
    /*transform-origin:top left;*/
}
#swiper-container .swiper-slide.islongpage{
    overflow: hidden;
    overflow-y: auto !important;
}
.videoPage #swiper-container{
  position: relative;
  top:auto;
    margin-top:0;
}
#swiper-wrapper{
  z-index: 3;
}
.swiper-slide{
  overflow: hidden;
}
.swiper-container-vertical>.swiper-pagination-bullets{
  right:20px;
}

/*画布元素*/
.editBox {
  /*background: orange;*/
  position: absolute;
  user-select: none;
}
.editBox .element{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
/*文本容器*/
.write-box{
  position: relative;
  padding:5px;
  overflow: hidden;
  height: 100%;
  overflow-y:auto;
}
/*图片容器*/
.img-box,.input-box{
  width: 100%;
  height:100%;
}
.img-box{
  font-size: 0;
}
.hide{
  display: none !important;
}
.svg{
    pointer-events:none; -webkit-pointer-events:none;
    position: relative;
	width: 100%;
    height: 100%;
    fill: currentColor;
}

/*视频容器*/
.video-js .vjs-big-play-button{
    top:50% !important;
    left:50% !important;
    margin-top:-.8em;
    margin-left:-1.5em;
}
#my-player{
  position: relative;
  width: 100%;
  background:#000;
  z-index: 99;
}

#music-box{
  cursor: pointer;
}
/*音乐*/
.music{
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 99;
}
.icon-music.open{
  /*音符转转动画*/
    -webkit-animation: moveRo linear 3.5s  infinite;
    animation: moveRo linear 3.5s  infinite;
    animation-delay:0;
}
.icon-music{
  /*音符转转*/
    width: 25px;
    height: 25px;
    background: url(../images/icon-muisc.png);
    background-size: 100% 100%;
    display: block;
}
.music-span{
  /*音符飘飘*/
    position: absolute;
    top: -5px;
    left: 6px;
    width: 12px;
    height: 12px;
    background: url(../images/music-span.png);
    background-size: 100% 100%;
    -webkit-animation: openIconRo ease 1.2s both infinite;
    animation: openIconRo ease 1.2s both infinite;
    z-index: -1;
}
.arrow-up{
  /*底部箭头动画图标*/
  background:none;
  height:auto;
  width:25px;
  position:absolute;
  left:50%;
  top:92%;
  margin-left:-12px;
  z-index:99;
}
.pt-page-moveIconUp {
  /*底部箭头动画*/
  -webkit-animation: moveIconUp ease 1.5s both infinite;
  animation: moveIconUp ease 1.5s both infinite;
}
/*底部箭头动画*/
@-webkit-keyframes moveIconUp {
  0% { -webkit-transform: translateY(100%); opacity:0;}
  50% { -webkit-transform: translateY(0%); opacity:1;}
  100% { -webkit-transform: translateY(-100%); opacity:0;}
}
@keyframes moveIconUp {
  0% { -webkit-transform: translateY(100%); transform: translateY(100%); opacity:0;}
  50% { -webkit-transform: translateY(0%); transform: translateY(0%); opacity:1;}
  100% { -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity:0;}
}

/*音符转转动画*/
@-webkit-keyframes moveRo {
    from {-webkit-transform: rotate(360deg);  }
    to { -webkit-transform: rotate(-360deg); }
}
@keyframes moveRo {
    from {  transform: rotate(-360deg)}
    to {  transform: rotate(360deg); }
}

/*音符飘飘*/
@-webkit-keyframes openIconRo {
    0% { -webkit-transform: translateY(100%); opacity:0;}
    50% { -webkit-transform: translateY(0%); opacity:0.5;}
    100% { -webkit-transform: translateY(-100%); opacity:0;}
}
@keyframes openIconRo {
    0% { -webkit-transform: translateY(100%);
        transform: translateY(100%);
        opacity:0;
    }
    50% { -webkit-transform: translateY(0%); transform: translateY(0%); opacity:0.5;}
    100% { -webkit-transform: translateY(-100%); transform: translateY(-100%); opacity:0;}
}

.groupBtn{
  position: absolute;
  top:50%;
  left:0;
  width: 100%;
  padding: 0 15%;
  transform: translate(0,-50%);
}
.groupBtn a.btn{
  display: block;
  line-height: 40px;
  background:#dd0000;
  color:#fff;
  text-align: center;
  margin-bottom: 15px; 
  text-decoration: none;
  border-radius:4px;
}
.groupBtn a.btn.bg-yellow{
  background:#ffc523;
}
.groupBtn a.btn.bg-green{
  background:#3cb740;
}
.groupBtn a.btn.bg-blue{
  background:#279ad8;
}
.groupBtn a.btn.bg-back{
  background:#2b333f;
}
.groupBtn a.btn.bg-red{
  background:#f73030;
}

/*分享*/
.share-mark {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    z-index: 199;
    display: none;
}
.share-mark .shareImg {
    width: 50%;
    height: auto;
    position: absolute;
    right: 5px;
    top: 20px;
}
.share-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    background: #fb4545;
    color: #fff;
    padding: 20px;
    font-size: 18px;
    border: 1px solid red;
    border-radius: 4px;
}
.targetUrl{
  cursor: pointer;
}

/* 提示框 */
#tip{
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding:8px 20px;
    color: #fff;
    background: rgba(0,0,0,.5);
    z-index: 99;
}