/************************************** 外部样式 **********************************/
@import url("./index-ebook.css");

/************************************** 图标 **************************************/
@import url("./iconfont.css");

/************************************** 代码块主题 *********************************/
@import url("./base16-one-light.min.css");

/************************************** 字体 **************************************/
/* 黑体 */
@font-face {
  font-family: "Noto Sans SC";
  src: local("SourceHanSansCN-Regular"), url("./SourceHanSansCN-Regular.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "Noto Sans SC";
  src: local("SourceHanSansCN-Bold"), url("./SourceHanSansCN-Bold.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "Noto Sans SC";
  src: local("SourceHanSansCN-Bold"), url("./SourceHanSansCN-Bold.woff2");
  font-weight: 700;
}

/* 宋体 */
@font-face {
  font-family: "FangZhengShuSongJianTi-1";
  src: local("FZSSK--GBK1-0"), url("./FZSSK.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "FangZhengShuSongJianTi-1";
  src: local("NotoSerifSC-Bold"), url("./SourceHanSerif-Bold.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "FangZhengShuSongJianTi-1";
  src: local("NotoSerifSC-Bold"), url("./SourceHanSerif-Bold.woff2");
  font-weight: 700;
}

/* 楷体 */
@font-face {
  font-family: "FangZhengKaiTiJianTi-1";
  src: local("FZKTK--GBK1-0"), url("./FZKTK.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "FangZhengKaiTiJianTi-1";
  src: local("FZKTK--GBK1-0"), url("./FZKTK.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "FangZhengKaiTiJianTi-1";
  src: local("FZKTK--GBK1-0"), url("./FZKTK.woff2");
  font-weight: 700;
}

/* 仿宋 */
@font-face {
  font-family: "FangZhengFangSongJianTi-1";
  src: local("FZFSK--GBK1-0"), url("./FZFSK.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "FangZhengFangSongJianTi-1";
  src: local("FZFSK--GBK1-0"), url("./FZFSK.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "FangZhengFangSongJianTi-1";
  src: local("FZFSK--GBK1-0"), url("./FZFSK.woff2");
  font-weight: 700;
}

/* Symbol */
@font-face {
  font-family: "Symbol";
  src: local("Symbol"), url("./SYMBOL.TTF");
  font-weight: 400;
}

@font-face {
  font-family: "Symbol";
  src: local("Symbol"), url("./SYMBOL.TTF");
  font-weight: 600;
}

@font-face {
  font-family: "Symbol";
  src: local("Symbol"), url("./SYMBOL.TTF");
  font-weight: 700;
}

/* MT Extra */
@font-face {
  font-family: "MT Extra";
  src: local("MT Extra"), url("./mtextra.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "MT Extra";
  src: local("MT Extra"), url("./mtextra.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "MT Extra";
  src: local("MT Extra"), url("./mtextra.ttf");
  font-weight: 700;
}

/************************************** 表格样式 **************************************/
.fragment-table {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  color: #000;
  background-color: #fff;
}

.fragment-table__row {
  display: flex;
}

.fragment-table__row__cell {
  flex: 1;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #dcdfe6;
  border-top: 0;
}

.fragment-table__row__cell:not(:first-of-type) {
  border-left: 0;
}

.fragment-table__row.horizontal .fragment-table__row__cell {
  border: 0;
}

.tableWrapper {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.tableWrapper table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) td,
.tableWrapper table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) th {
  position: relative;
  min-width: 80px;
}

table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) {
  table-layout: fixed;
  width: 100%;
  line-height: 1.5em;
  margin: 0 auto;
  border-spacing: 0;
  border-collapse: collapse;
  overflow: hidden;
}

table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) td,
table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) th {
  font-weight: normal;
  padding: 8px;
  text-indent: 0;
  text-align: unset;
  box-sizing: border-box;
  border: 1px solid rgb(220, 223, 230);
}

table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) td>*,
table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) th>* {
  margin-bottom: 0;
}

table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) .selectedCell:after {
  z-index: 2;
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(200, 200, 255, 0.4);
  pointer-events: none;
}

table:not(.el-table__header, .el-table__body, .el-date-table, [class^="wrs_"]) .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: -2px;
  width: 4px;
  background-color: #adf;
  pointer-events: none;
}

/************************************** 教材英文排版 **************************************/
.book__content {
  word-break: break-word !important;
  word-wrap: break-word !important;
}