@charset "UTF-8";

@font-face {
  font-family: "vivo Sans Global";
  src: url('./font/vivoSansTW-Regular.ttf?v=1') format('truetype');
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "vivo Sans Global";
  src: url('./font/vivoSansTW-Medium.ttf?v=1') format('truetype');
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "vivo Sans Global";
  src: url('./font/vivoSansTW-DemiBold.ttf?v=1') format('truetype');
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "vivo Sans Global";
  src: url('./font/vivoSansTW-Bold.ttf?v=1') format('truetype');
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "vivo Sans Global";
  src: url('./font/vivoSansTW-ExtraBold.ttf?v=1') format('truetype');
  font-style: normal;
  font-weight: 800;
}

/* 默认值 */
@media screen {
  #cbcn-dom-container * {
    box-sizing: border-box;
  }

  #cbcn-dom-container video:focus {
    outline: none;
  }

  #cbcn-dom-container p,
  #cbcn-dom-container h1,
  #cbcn-dom-container h2,
  #cbcn-dom-container h3,
  #cbcn-dom-container h4,
  #cbcn-dom-container h5,
  #cbcn-dom-container h6 {
    margin: 0;
  }

  .J_replace_content {
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
  }

  .J_replace_content .loadingWt {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: #fff;
  }

  #cbcn-dom-container {
    font-family: 'vivo Sans Global';
    font-weight: 500;
    font-size: 20px;
    background: transparent;
    color: black;
    /* display: none; */
  }

  #cbcn-dom-container sup {
    font-size: 0.5em;
    line-height: 0;
    vertical-align: super;
  }

  #cbcn-dom-container video.cover,
  #cbcn-dom-container img.cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  #cbcn-dom-container video.contain,
  #cbcn-dom-container img.contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

/* 常用 */
@media screen {
  #cbcn-dom-container .cbcn-hide {
    opacity: 0;
  }

  #cbcn-dom-container .none {
    display: none !important;
  }

  #cbcn-dom-container .cbcn-none {
    display: none ;
  }
}


/* 章节screen */
@media screen {
  .cbcn-section {
    position: relative;
    width: 100%;
    background-color: #F3F2F1;
    overflow: hidden;
  }

  .cbcn-section.wt {
    background-color: #fff;
  }

  .cbcn-section.bk {
    background-color: #000000;
  }
}

/* 文字样式 */
@media screen {

  #cbcn-dom-container .bk p,
  #cbcn-dom-container p.wt {
    color: var(--text-l1, rgba(255, 255, 255, 0.95));
  }

  #cbcn-dom-container .wt p,
  #cbcn-dom-container p.bk {
    color: var(--text-l1, rgba(0, 0, 0, 0.90));
  }

  #cbcn-dom-container .wt p.grey,
  #cbcn-dom-container p.bk.grey {
    color: rgba(0, 0, 0, 0.72);
  }

  #cbcn-dom-container .bk p.grey,
  #cbcn-dom-container p.wt.grey {
    color: #F2F2F2;
  }

  #cbcn-dom-container p.ct,
  #cbcn-dom-container h2.ct{
    text-align: center;
  }

  #cbcn-dom-container div.ct {
    text-align: center;
  }
}