﻿/* 基础样式 */
.wiki {
  text-align: left;
  font-size: 16px;
}

/* 文章标题 */
.wiki .entry-header .entry-title {
  margin-top: 0;
  line-height: 44px;
  margin-bottom: 1rem;
  padding: 0;
  letter-spacing: -.02em;
}

.wiki .entry-header,
.wiki h1 {
  font-size: 32px;
}

/* 标题 */
.wiki h1,
.wiki h2,
.wiki h3,
.wiki h4,
.wiki h5 {
  color: #3C3C43;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0;
}

.wiki h1 {
  font-size: 32px;
  margin-top: 2.5rem;
}

.wiki h2 {
  margin: 48px 0 16px !important;
  border-top: 1px solid rgba(120, 130, 140, 0.13);
  padding-top: 24px;
  line-height: 34px;
  font-size: 24px;
  letter-spacing: -.02em;
}

.wiki h3 {
  margin: 32px 0 0;
  line-height: 28px;
  font-size: 20px;
  letter-spacing: -.01em;
}

.wiki .entry-content h3:first-child {
  margin-top: 40px;
}

.wiki h4 {
  font-size: 16px;
  margin: 16px 0 0;
  line-height: 24px;
  letter-spacing: -.01em;
}

.wiki .entry-content h4:first-child {
  margin-top: 16px;
}

.wiki h5 {
  font-size: 16px;
  margin-top: 1.25rem;
}

.wiki .entry-content h5:first-child {
  margin-top: 1.25rem;
}

.wiki h1 {
  line-height: 2;
}

/*.wiki h3, .wiki h4, .wiki h5 {*/
/*  line-height: 1.6;*/
/*}*/

.wiki :not(.plyr):first-child {
  /*margin-top: 0 !important;*/
}

/* 图片下边距处理 */
.wiki img {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* 链接 */
.wiki a {
  box-shadow: none !important;
  color: #166bc7;
  cursor: pointer;
  position: relative;
  border-radius: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  -webkit-text-stroke: 0 #fff;
  font-size: 16px;
}

.wiki a:hover {
  border-bottom: 1px solid #166bc7;
}

/* 段落 */
.wiki p {
  position: relative;
  color: #3C3C43;
  line-height: 28px;
  margin: 16px 0;
  text-align: justify;
  font-size: 16px;
}

.wiki blockquote p:first-child,
.wiki blockquote li:first-child {
  margin-top: 0;
}

.wiki p > p {
  margin-top: 8px;
}

/* 图片 */
.wiki img {
  display: block;
  cursor: zoom-in;
  transition: .5s;
  max-width: 100%;
  height: auto;
}


/* 列表 */
.wiki ul,
.wiki ol {
  position: relative;
  padding-inline-start: 1.25rem;
  margin: 16px 0;
  color: #3C3C43;
}

.wiki li + li {
  margin-top: 8px;
}

.wiki ul li {
  list-style-type: disc;
}

.wiki ol li {
  list-style-type: decimal;
}

.wiki li {
  font-size: 16px;
}

/* wordpress文章中wordpressBtn特殊处理 */
.wiki .wordpressBtn {
  display: inline-block;
  padding: 0.375rem 1rem !important;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 4px !important;
  background-color: #4caf50 !important;
  color: #fff !important;
  transition: all 200ms;
  margin: 0.2rem 0 !important;
}

.wiki .wordpressBtn:hover {
  border-bottom: 1px solid transparent !important;
  background-color: #008C33 !important;
}

.wiki .wordpressBtn.blue {
  background: #166BC7 !important;
}

.wiki .wordpressBtn.blue:hover {
  background-color: #3989d4 !important;
}

.wiki .wordpressBtn:hover::after {
  display: none;
}

/* videojs 视频播放按钮 */
.wiki .vjs-big-play-centered .vjs-big-play-button {
  margin: 0;
  padding: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* wordpress 表格 左对齐 */
.wiki .wptb-table-container-matrix table {
  margin: 0;
}

/* wordpress在用的一些特殊链接样式 */
.wiki a.wordpressPdf,
.wiki a.wordpressWord,
.wiki a.wordpressExcel,
.wiki a.wordpressPpt,
.wiki a.wordpressZip {
  padding-left: 20px !important;
}

.wiki .template-card-item {
  padding: 16px !important;
  border-radius: 4px !important;
}

/* 帮助中心表格最大宽度处理 */
.wiki .wptb-table-container {
  /* 目录、正文左右间距、右侧大纲、大纲间距 */
  width: calc(100vw - 296px - 160px - 260px - 32px);
  max-width: 864px;
  margin-left: 0;
}


/* wordpress表格单元格内链接颜色处理 */
.wiki .wptb-cell a {
  color: #576b95 !important;
}


/* 表格 */
.wiki .wiki-table,
.wiki table:not(.wiki-table table) {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0;
}

.wiki .wiki-table table {
  margin-bottom: 0;
  width: 100%;
}

.wiki table td,
.wiki table th {
  padding: 8px 16px;
  font-size: 14px;
  border: 1px solid #EAEAEA !important;
  color: #3C3C43;
  min-height: 40px;
  box-sizing: content-box;
}

.wiki table td p,
.wiki table td a {
  font-size: 14px;
}

.wiki table td strong {
  font-size: 14px !important;
}

.wiki em {
  font-style: normal;
}




.wiki table .table-image-wrapper {
  margin: auto;
}

.wiki table .table-image-wrapper:hover {
  border-bottom: none !important;
}

.wiki table td p {
  margin: 0 !important;
}

.wiki table p {
  margin: 0 !important;
  word-break: break-word !important;
  white-space: break-spaces !important;
}

.wiki strong {
  font-weight: bold !important;
  -webkit-text-stroke: 0 #fff !important;
}

.wiki .wiki-table table tr:first-of-type,
.wiki table thead {
  background: #f6f6f7 !important;
}

.wiki .wiki-table table tr:first-of-type td,
.wiki table thead td {
  font-weight: bold;
  color: rgba(60, 60, 67, .78);
}

.wiki .wiki-table table tr:first-of-type td p,
.wiki table thead td p {
  color: rgba(60, 60, 67, .78);
}

.wiki .wiki-table table tr:first-of-type td,
.wiki table thead th {
  padding: 8px 16px;
}

.wiki .wiki-table table tr:first-of-type p {
  margin-bottom: 0;
}

/* bigpicture loading 样式修复 */
.wiki #bp_loader {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.wiki #bp_loader svg {
  max-width: 64px;
  max-height: 64px;
  margin: 0;
}

/* 图片缩放 */
.wiki img {
  margin-right: auto;
  margin-left: unset;
}

.wiki img.smallpic25 {
  width: 25%;
}

.wiki img.smallpic50 {
  width: 50%;
}

.wiki img.smallpic75 {
  width: 75%;
}

/* 去除相邻 H标题的间距 */
.wiki h1 + h2,
.wiki h1 + h3,
.wiki h1 + h4,
.wiki h1 + h5,
.wiki h1 + h6,

.wiki h2 + h3,
.wiki h2 + h4,
.wiki h2 + h5,
.wiki h2 + h6,

.wiki h3 + h4,
.wiki h3 + h5,
.wiki h3 + h6,

.wiki h4 + h5,
.wiki h4 + h6,

.wiki h5 + h6 {
    /*margin-top: 0.5rem;*/
}

.wiki blockquote {
  margin: 16px 0 !important;
  border-left: 2px solid #e2e2e3 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  padding-left: 16px !important;
  transition: border-color .5s;
  color: rgba(60, 60, 67, .78);
  background: transparent !important;
  font-size: 16px;
  font-style: normal !important;
}

.wiki blockquote > :last-child {
  margin-bottom: 0;
}

.wiki blockquote > p {
  color: #3C3C43 !important;
}

.wiki blockquote > p > strong {
  color: #3C3C43 !important;
}


/* plyr */
.wiki .plyr video {
  margin: 0;
}

.wiki .plyr,
.wiki video:not(.plyr video) {
  --plyr-color-main: #166bc7;
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
}

.mobile .wiki .plyr {
  width: 100%;
}

.mobile .wiki .plyr.plyr--fullscreen-fallback .plyr__controls {
  padding-bottom: 48px;
}

.mobile .wiki .plyr.plyr--fullscreen-fallback {
  margin: 0;
}

.wiki .plyr input[type=range] {
  color: white;
}

.wiki .plyr__controls>.plyr__control:hover,
.wiki .plyr__controls>.plyr__control:focus,
.wiki .plyr__controls .plyr__menu>[data-plyr="settings"]:hover,
.wiki .plyr__controls .plyr__menu>[data-plyr="settings"]:focus,
.wiki .plyr__controls .plyr__control[data-plyr="mute"]:hover,
.wiki .plyr__controls .plyr__control[data-plyr="mute"]:focus,
.wiki .plyr__controls .plyr__menu>[data-plyr="settings"][aria-expanded=true] {
  background: rgba(255, 255, 255, 0.2);
}

.wiki .plyr__control--overlaid {
  background-color: #666666cc !important;
  padding: 20px;
}

.wiki .plyr__control--overlaid svg {
  width: 24px;
  height: 24px;
}

.wiki .plyr.plyr--full-ui {
  border-radius: 4px;
}

.wiki .entry-content blockquote > p {
  color: rgba(60, 60, 67, .78) !important;
}

.wiki .entry-content > :last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 450px) {
  .wiki .wiki-table table {
    min-width: 100%;
    width: 100%;
  }
}
