body {
  background-color: #f8f8f8;
}

#video {
  overflow: hidden;
}

.content {
  display: flex;
  width: 1080px;
  margin: 20px auto 0;
  justify-content: space-between;
}

.main {
  width: 784px;
}

.aside {
  width: 280px;
}

.video-wrap {
  background-color: #fff;
}

.video-wrap--preview-pic .video-emoji {
  display: none;
}
.video-wrap--preview-pic .input-group {
  display: none;
}
.video-wrap--preview-pic .start-time {
  margin-left: 0;
}

.video-header {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 80px;
}

.video-header .watch-num {
  border-radius: 3px;
}

.video-img {
  width: 56px;
  height: 56px;
  border-radius:4px;
  border:1px solid rgba(234,234,234,1);
}

.header-right {
  flex: 1 1;
  padding-left: 12px;
}

.video-title {
  line-height: 28px;
  font-weight: bold;
  font-size: 20px;
  color: #3f424f;
}

.header-sub-title {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.sub-title-right {
  display: none;
}

.sub-title-btn {
  color: #c0c0c0;
  cursor: pointer;
}

.sub-title-btn + .sub-title-btn {
  margin-left: 24px;
}

.sub-title-btn .iconfont {
  margin-right: 6px;
}

.video-body {
  position: relative;
  height: 441px;
}

.video-body.video-body--fullscreen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.preview-pic {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}

.ad-panel {
  position: absolute;
  background: rgba(255,255,255,0.9);;
  border-radius:4px;
  left: 15px;
  bottom: 66px;
  color: #3f424f;
}

.ad-panel__content {
  box-sizing: border-box;
  width: 210px;
  height: 82px;
}

.ad-panel__intern-wrap {
  padding: 12px;
}

.ad-panel__img-wrap {
  width: 100%;
  height: 100%;
}

.ad-panel__img {
  width: 100%;
  height: 100%;
}

.ad-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad-panel__row + .ad-panel__row {
  margin-top: 8px;
}

.ad-panel__title {
  font-size: 14px;
  font-weight: bold;
  line-height: 24px;
  height: 24px;
  width: 154px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ad-panel__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: url(/static/csb_main/img/icon-close-ad.png) center/contain no-repeat;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.ad-panel__desc {
  font-size: 12px;
  height: 20px;
  line-height: 20px;
  width: 126px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ad-panel__link {
  display: inline-block;
  color: #ffffff;
  width:54px;
  height:24px;
  background:rgba(93,132,255,1);
  border-radius:4px;
  line-height: 24px;
  text-align: center;
  font-size: 12px;
}

.replay-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.replay-btn {
  position: absolute;
  font-size: 18px;
  font-weight: bold;
  left: 34.3%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.replay-wrap-icon {
  display: inline-block;
  vertical-align: sub;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  background: url(/static/csb_main/img/icon-replay.png) center/contain no-repeat;
}

.choose-panel {
  position: absolute;
  z-index: 99999; /*修复safari下不显示的问题*/
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.barrage-panel {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.barrage-panel .barrage {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  padding: 0 0 0 15px;
  font-size: 16px;
  line-height: 24px;
  height: 24px;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  transition: transform 9s linear;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.barrage-panel .barrage.barrage--paused {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}

.story-line-wrap {
  position: absolute;
  box-sizing: border-box;
  background:rgba(24,24,24,0.88);
  padding: 32px 16px;
  width: 250px;
  height: 100%;
  color: #ffffff;
  right: 0;
  top: 0;
  z-index: 9;
  transform: translateX(100%);
  transition: all 0.5s;
}

.story-line-wrap--show {
  transform: translateX(0);
}

.story-line-wrap__title {
  font-size: 18px;
  line-height: 36px;
  font-weight: bold;
}

.story-line-wrap__tips {
  font-size: 12px;
  line-height: 30px;
}

.story-line-wrap .story-line {
  margin-top: 16px;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-line-wrap .story-line.story-line--active {
  color: #5d84ff;
}

.story-line-wrap .story-line::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 16px;
  vertical-align: middle;
  background: url(/static/csb_main/img/icon_story_line.png) center/contain no-repeat;
}

.story-line-wrap .story-line.story-line--active::before {
  background-image: url(/static/csb_main/img/icon_story_line_playing.png);
}

.story-line__title {
  font-size: 14px;
}

.choose-question {
  width: 431px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.choose-options {
  margin-top: 114px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 672px;
}

.choose-options[options-length="1"] {
  justify-content: center;
}

.choose-options[options-length="5"],
.choose-options[options-length="6"] {
  justify-content: flex-start;
}

.choose-option {
  flex: 0 0 320px;
  height: 44px;
  line-height: 44px;
  margin-bottom: 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  background:rgba(255,255,255,0.2);
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.choose-option:hover {
  color: #5d84ff;
  border: 2px solid #5D84FF;
  background:rgba(93,132,255,0.2);
}

.choose-options[options-length="3"] .choose-option {
  flex: 0 0 208px;
}

.optionClass-1 {
  margin: 0 auto;
}

.optionClass-6 {
  flex: 0 0 208px;
  margin-right: 15px;
}

.video-footer {
  display: flex;
  height: 64px;
  padding: 0 24px;
  align-items: center;
}

.video-emoji-wrap {
  position: relative;
  flex: 0 0 24px;
  height: 24px;
}

.video-emoji {
  height: 100%;
  background: url(https://tvstatic.xiaoyuanzhao.com/static/csb_main/img/icon5.png) center/contain no-repeat;
  cursor: pointer;
}

.video-emoji-panel {
  position: absolute;
  left: 0;
  bottom: 24px;
  z-index: 999;
  width: 350px;
  padding: 10px;
  background: #fff;
  border-radius: 4px;
}

.emoji {
  width: 22px;
  height: 22px;
}

.video-emoji-panel .emoji {
  margin: 6px 3px;
  cursor: pointer;
  border: 1px solid #fff;
}

.video-emoji-panel .emoji:hover {
  border: 1px solid #33aff6;
}

.input-group {
  display: inline-flex;
  flex: 1 1;
  margin-left: 26px;
  height: 36px;
  border-radius: 4px;
  background-color: #f8f8f9;
  overflow: hidden;
}

.barrage-input-wrap {
  position: relative;
  flex: 1 1;
  font-size: 14px;
}

.barrage-input {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 0 10px;
  outline: 0;
  height: 36px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
}

.barrage-input:not(:empty) + .barrage-input-placeholder {
  display: none;
}

.barrage-input-placeholder {
  position: absolute;
  z-index: 1;
  color: #C0C0C0;
  padding: 0 10px;
  height: 36px;
  line-height: 36px;
}

.barrage-input-placeholder .iconAPP_icon_write {
  font-size: 24px;
  vertical-align: middle;
  margin-right: 6px;
  transform: translateY(-2px);
  display: inline-block;
}

.send-barrage-btn {
  flex: 0 0 72px;
  font-size: 14px;
  color: #ffffff;
  background:linear-gradient(312deg,rgba(85,93,255,1) 0%,rgba(93,132,255,1) 100%);
  border: 0;
  outline: 0;
}
.send-barrage-btn.send-barrage-btn--disabled {
  background: #e4e4e6;
}

.preview-content {
  display: inline-flex;
  align-items: center;
}

.start-time {
  white-space: nowrap;
  height:22px;
  font-size:14px;
  color: #494c58;
  line-height:22px;
  margin-left: 87px;
  margin-right: 16px;
}

.signin-btn {
  color: #ffffff;
  width:112px;
  height:36px;
  background:linear-gradient(312deg,rgba(85,93,255,1) 0%,rgba(93,132,255,1) 100%);
  border-radius:4px;
  outline: 0;
  border: 0;
}

.signin-btn.signin-btn--disabled {
  background: #acc0ff;
}

.tabs {
  margin-top: 24px;
}

.tab {
  width: 100px;
  height: 40px;
  line-height: 40px;
  float: left;
  font-size: 16px;
  color: #3f424f;
  text-align: center;
  cursor: pointer;
}

.tab.tab--active {
  border-radius:20px;
  font-weight: bold;
  background-color: #edecec;
}

.tab-contents {
  margin-top: 22px;
}

.tab-content {
  display: none;
}

.tab-content.tab-content--desc img{
  max-width: 100%;
}

.tab-content.tab-content--active {
  display: block;
}

.intern-list {
  border-radius: 4px;
}

.intern {
  display: flex;
  align-items: center;
  padding: 15px 15px;
  background-color: #ffffff;
}

.intern + .intern {
  border-top: 1px solid #eee;
}

.intern__content {
  flex: 1 1;
}

.intern__name {
  font-size: 16px;
  color: #333333;
  line-height: 24px;
  padding: 2px 0;
}

.intern__desc {
  font-size: 14px;
  color: #b4b4b4;
  line-height: 24px;
  height: 24px;
  padding: 2px 0;
  width: 660px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intern__link {
  width: 80px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  color: #fff;
  background: #4a82e1;
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
}

.qa-wrap {
  overflow: hidden;
  background-color: #fff;
  box-sizing: border-box;
  padding: 0 16px;
}

.qa-title {
  font-size: 18px;
  line-height: 26px;
  color: #3f424f;
  font-weight: bold;
  margin-top: 24px;
}

.qa-title::before {
  content: '';
  display: inline-block;
  margin-right: 8px;
  width:4px;
  height:10px;
  background:linear-gradient(318deg,rgba(85,93,255,1) 0%,rgba(93,132,255,1) 100%);
  border-radius:2px;
  transform: translateY(-1px);
}

.qas {
  overflow-y: auto;
  margin-top: 25px;
  height: 510px;
}

.qa + .qa {
  margin-top: 33px;
}

.question {
  font-size: 15px;
  color: #3f424f;
  font-weight: bold;
  line-height: 21px;
}

.question + .question {
  margin-top: 33px;
}

.question-icon {
  width: 20px;
  height: 20px;
  vertical-align: sub;
}

.answer {
  word-break: break-all;
  background-color: #F8F8F9;
  padding: 8px;
  color: #76777f;
  font-size: 13px;
  margin-top: 16px;
  border-radius: 4px;
}

/*个人信息弹窗*/
.layer-shade-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 999;
  display: none;
}
.layer-wrap {
  padding: 20px 30px;
  position: absolute;
  margin-top: -210px;
  margin-left: -243px;
  width: 487px;
  height: 417px;
  top: 50%;
  left: 50%;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 3px;
}
.layer-wrap .row {
  padding-top: 17px;
}
.layer-wrap .row>div {
  width: 48%;
}
.layer-wrap .row p {
  margin-bottom: 2px;
  font-size: 14px;
}
.layer-wrap select {
  border: none;
  outline: none;
}
.layer-wrap input,
.layer-wrap select {
  width: 100%;
  border-bottom: 1px solid #eaeaea;
  height: 30px;
  font-size: 13px;
}
.btn-row-wrap {
  padding-top: 30px;
}
.btn-row-wrap span {
  margin-right: 3px;
  display: inline-block;
  padding: 5px 30px;
  border: 1px solid #4a82e1;
  color:  #4a82e1;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
}
.btn-row-wrap .submit-btn {
  color:  #fff;
  background-color: #4a82e1;
}

.no-data-wrap {
  margin: auto;
  text-align: center;
  padding-top: 60px;
}

.no-data-img {
  width: 530px;
}

.no-data-tips {
  margin-top: 20px;
  font-size: 20px;
  color: #999;
}
