.preview-markdown {
    /*padding: 32px;*/
    height: 100%;
    font-size: 14px;
    line-height: 1.8;
    box-sizing: border-box;
    /*width: calc(100%);*/
    min-width: 726px;
    margin: 0 80px;
    margin-bottom: 20px;
    max-height: calc(100% - 60px);
    /* overflow-y: auto; */
    /* overflow: hidden; */
    color: #2b2b2b;
}

.editor-preview-info strong {
  font-weight: 400;
}
.preview-markdown code {
  /* font-family: 'Roboto Mono', Monaco, courier, monospace, "PingFangSC-Regular", "sans-serif", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei"; */
  /*font-family: arial, verdana, 微软雅黑, 黑体, 宋体, sans-serif;*/
  font-size: 12px;
  border-radius: 5px;
  /* padding: 16px !important; */
  word-break: break-all;
  white-space: pre-wrap;
}

.preview-markdown code.span {
  border-radius: 2px;
  padding: 0;
}
.preview-markdown > h1 {
  margin-top: 0px;
  font-size: 30px;
  line-height: 38px;
}

/*.preview-markdown > div {
    border-top: #f2f2f2 1px solid
}*/
.preview-markdown h2.top {
  font-size: 24px;
  line-height: 32px;
  border-bottom: #f2f2f2 1px solid;
  /* position: relative; */
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-direction: column;
}
.preview-markdown h2.top .fa-question-circle-o {
  position: absolute;
  top: 8px;
  font-size: 12px;
}
.preview-markdown h2.top p {
  width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-indent: 0;
  padding: 0;
}
img {
  object-fit: fill;
}
.advert_1 {
  /* position: absolute;
  width: 578px;
  height: 60px;
  top: 0;
  right: 0; */
  width: 55%;
}
.advert_1 img {
  width: 578px;
  height: 60px !important;
}
.advert_2 {
  width: 100%;
  height: 80px;
  box-sizing: border-box;
  position: relative;
}

.advert_2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
}
.advert_3 {
  display: flex;
}
.advert_3_1 {
  flex: 0.4;
  box-sizing: border-box;
  height: 60px;
  margin: 0 35px;
}
.advert_3_2 {
  flex: 0.4;
  box-sizing: border-box;
  height: 60px;
}
.advert_3_3 {
  flex: 0.2;
  box-sizing: border-box;
  height: 60px;
}
.advert_4 {
  box-sizing: border-box;
  height: 60px;
  margin: 30px 0;
}
.advert_5 {
  box-sizing: border-box;
  height: 60px;
}
.preview-markdown h2 {
  font-size: 18px;
  line-height: 32px;
}
.preview-markdown h2 {
  font-weight: 600;
}
.preview-markdown blockquote {
  border-left: #ccc 3px solid;
  padding-left: 5px;
  color: #999;
  margin: 10px 0;
}
.preview-markdown > h1 .metadata,
.preview-markdown > h2 .metadata {
  display: block;
  float: none;
  text-align: left;
  font-size: 12px;
  color: #9e9e9e;
  font-weight: normal;
  /*margin: 10px 24px;*/
  margin: 10px 0;
}

.preview-markdown h3 {
  margin-top: 14px;
  font-size: 16px;
  line-height: 24px;
  position: relative;
}

.preview-markdown h3.title {
  padding-left: 24px;
  font-weight: 500;
  color: #000;
}
.preview-markdown h3.title + div {
  margin-left: 26px;
}

.preview-markdown h3.title .maodian {
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 4px;
  left: 0;
  margin-right: 10px;
  /* background: #25b864; */
}

.preview-markdown h4 {
  margin-top: 14px;
  font-size: 14px;
  line-height: 24px;
  position: relative;
}

.preview-markdown h6 {
  color: #212121;
}

.preview-markdown p {
  padding: 8px 0;
  color: #212121;
  /*text-indent: 2em;*/
}

.preview-markdown ul {
  margin-left: 0px;
  margin-top: 8px;
  /*margin-bottom: 24px*/
}

.preview-markdown ul > li {
  list-style: inside;
  padding: 5px 0;
}

.preview-markdown > ul li {
  padding-left: 4px;
  line-height: 28px;
}

.preview-markdown > ul li > p {
  margin: 8px 0;
}

.preview-markdown ol {
  margin-left: 0px;
  margin-bottom: 24px;
}

.preview-markdown ol > li {
  list-style: decimal;
}

.preview-markdown > ol li {
  margin-left: 20px;
  padding-left: 4px;
  line-height: 28px;
}

.preview-markdown > ol li > p {
  margin: 8px 0;
}

.preview-markdown footer {
  padding: 80px 0;
  text-align: center;
  color: #212121;
  font-size: 12px;
}

.preview-markdown footer a {
  margin: 0 4px;
  color: #212121;
}

.preview-markdown img {
  display: block;
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  /* margin: 0px 0 16px; */
}

.miniapp-wrapper .preview-markdown img {
  max-width: 600px;
  border: 6px solid var(--dark-bg-gray-color);
  border-radius: 4px;
}

.preview-markdown table {
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  vertical-align: top;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 24px;
}

.preview-markdown table th {
  padding: 8px 12px;
  font-size: 14px;
  text-align: left;
  word-break: break-word;
  word-wrap: break-word;
  /* min-width: 100px; */
  background-color: #f7f7f7;
}

.preview-markdown table td {
  padding: 8px 12px;
  font-size: 12px;
  text-align: left;
  word-break: break-word;
  word-wrap: break-word;
  /* min-width: 100px; */
  position: relative;
}
.preview-markdown table td img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.preview-markdown table td .vars_title {
  background: #ffffff;
  border: 1px solid #f3f3f3;
  box-shadow: 0px 5px 30px rgba(52, 52, 52, 0.1);
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  right: 0px;
  top: calc(50% + 10px);
  display: none;
  z-index: 1;
  width: max-content;
}
.preview-markdown table td img:hover + .vars_title {
  display: block;
}
.preview-markdown table td pre {
  margin: 0;
  white-space: pre-wrap;
}
.preview-markdown table tbody td,
.preview-markdown table tbody th {
  border: 1px solid #eee;
  /* width: 25%; */
}

/* .preview-markdown table tr th:first-child,
.preview-markdown table tr td:first-child {
  width: 25%
} */
.preview-markdown table tbody tr:nth-child(2n-1) {
  background: #f7f7f7;
}

.preview-markdown table tr th:first-child,
.preview-markdown table tr td:first-child {
  /* width: 40%; */
}

.preview-markdown table tr th:last-child,
.preview-markdown table tr td:last-child {
  /* width: 30%; */
}

.preview-markdown table tr.apt-global_paras,
.preview-markdown table tr.apt-global_paras th,
.preview-markdown table tr.apt-global_paras td {
  background: rgba(255, 235, 59, 0.13) !important;
}

/* 接口状态 */
.preview-markdown em {
  font-style: normal;
  font-size: 24px;
}

.preview-markdown .developing {
  color: #9e9e9e !important;
  padding: 10px 0;
}
.preview-markdown .complated {
  color: #1b7b31 !important;
  padding: 10px 0;
}
.preview-markdown .nodata {
  text-align: center;
  font-size: 12px;
}
.preview-markdown .modifying {
  color: #e27348 !important;
  padding: 10px 0;
}
.preview-markdown .markdown-request,
.preview-markdown .markdown-response {
  /* padding: 0 24px; */
}

.preview-markdown .editor-preview {
  position: relative;
  display: inline-block;
  height: auto;
  padding: 0;
  /*background-color: #eee;*/
  /*color: #212121;*/
  width: 100%;
}

.preview-markdown .editor-preview pre {
  /* padding: 8px; */
  border-radius: 4px;
  /* background: #151a28; */
  /* color: #fff; */
}
.preview-markdown .editor-preview.desc {
  /*margin: 0 24px;*/
  /*background-color: rgba(158, 188, 226, 0.12);*/
  /*width: calc(100% - 48px);*/
  margin: 16px 0;
  margin-bottom: 6px;
  padding-left: 26px;
  box-sizing: border-box;
}
.preview-markdown .editor-preview.desc p {
  text-indent: 0;
  word-break: break-all;
}
.preview-markdown .editor-preview.desc pre {
  margin: 0 !important;
}

.preview-markdown .editor-preview-info {
  margin-left: 26px;
  border-radius: 6px;
  padding: 16px;
  background: #f2f2f2;
  border-radius: 5px;
}

    .preview-markdown .editor-preview-info li {
        list-style: none;
        line-height: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

.preview-markdown .editor-preview-info li strong {
  display: inline-block;
  /* text-align: right; */
  /* width: 100px; */
  font-size: 14px;
}

.preview-markdown .editor-preview-info li .span {
  font-style: normal;
  color: #fc7d7d;
  padding: 2px 4px;
  font-size: 14px;
}

/*md 样式*/
.markdown-section {
  display: block;
  word-wrap: break-word;
  overflow: hidden;
  color: #333;
  line-height: 1.7;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}
.markdown-section * {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-size: inherit;
}
.markdown-section p {
  /*margin-left:20px!important;
  margin-right:20px!important;
  text-indent: 2em!important;*/
  line-height: 2em !important;
}
.markdown-section > :first-child {
  margin-top: 0 !important;
}
.markdown-section > :last-child {
  margin-bottom: 0 !important;
}
.markdown-section blockquote,
.markdown-section code,
.markdown-section figure,
.markdown-section img,
.markdown-section pre,
.markdown-section table,
.markdown-section tr {
  page-break-inside: avoid;
}
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5,
.markdown-section p {
  orphans: 3;
  widows: 3;
}
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5 {
  page-break-after: avoid;
}
.markdown-section b,
.markdown-section strong {
  font-weight: 700;
}
.markdown-section em {
  font-style: italic;
}
.markdown-section blockquote,
.markdown-section dl,
.markdown-section ol,
.markdown-section p,
.markdown-section table,
.markdown-section ul {
  margin-top: 0;
  margin-bottom: 0.85em;
}
.markdown-section a {
  color: #4183c4;
  text-decoration: none;
  background: 0 0;
}
.markdown-section a:active,
.markdown-section a:focus,
.markdown-section a:hover {
  outline: 0;
  text-decoration: underline;
}
.markdown-section img {
  border: 0;
  max-width: 100%;
}
.markdown-section hr {
  height: 4px;
  padding: 0;
  margin: 1.7em 0;
  overflow: hidden;
  background-color: #e7e7e7;
  border: none;
}
.markdown-section hr:after,
.markdown-section hr:before {
  display: table;
  content: " ";
}
.markdown-section hr:after {
  clear: both;
}
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5,
.markdown-section h6 {
  margin: 10px 0 !important;
  font-weight: 700;
  padding: 0;
}
.markdown-section h1 {
  font-size: 2em;
}
.markdown-section h1:hover {
  /* text-decoration: underline; */
}
.markdown-section h2 {
  font-size: 1.75em;
}
.markdown-section h3 {
  font-size: 1.5em;
}
.markdown-section h4 {
  font-size: 1.25em;
}
.markdown-section h5 {
  font-size: 1em;
}
.markdown-section h6 {
  font-size: 1em;
  color: #777;
}
.markdown-section code,
.markdown-section pre {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  direction: ltr;
  margin: 0;
  padding: 0;
  border: none;
  color: inherit;
}
.markdown-section pre {
  overflow: auto;
  margin: 0 28px !important;
  padding: 0.85em 1em !important;
  margin-bottom: 1.275em;
  /*backgrou/*nd: #333;*/
  /*color: #fff;*/
  word-break: break-word;
  max-height: 600px;
  overflow-y: auto;
  overflow-x: hidden;
  white-space: pre-wrap;
  word-wrap: break-word;
  border-radius: 5px;
}
.markdown-section pre > code {
  display: inline;
  max-width: initial;
  padding: 0;
  margin: 0;
  overflow: initial;
  line-height: inherit;
  /*font-size:.85em;*/
  /*white-space:pre;*/
  background: 0 0;
  font-size: 12px !important;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.markdown-section pre > code:after,
.markdown-section pre > code:before {
  content: normal;
}
.markdown-section code {
  padding: 0.2em;
  margin: 0;
  font-size: 0.85em;
  background-color: #f7f7f7;
}
.markdown-section code:after,
.markdown-section code:before {
  letter-spacing: -0.2em;
  content: "\00a0";
}
.markdown-section table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: auto;
}
.markdown-section table td,
.markdown-section table th {
  padding: 6px 13px;
  border: 1px solid #ddd;
  word-break: break-all;
  width: 40%;
}
.markdown-section table tr {
  background-color: #fff;
  border-top: 1px solid #ccc;
}
.markdown-section table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
.markdown-section table th {
  width: 20%;
  font-weight: 400;
  background: #eee;
}

.markdown-section table th td:first-child {
  /* min-width: 25%; */
}
.markdown-section ol,
.markdown-section ul {
  padding: 0;
  margin: 0;
  margin-bottom: 0.85em;
  padding-left: 30px;
}
.markdown-section ol ol,
.markdown-section ol ul,
.markdown-section ul ol,
.markdown-section ul ul {
  margin-top: 0;
  margin-bottom: 0;
}
.markdown-section ol ol {
  list-style-type: lower-roman;
}
.markdown-section blockquote {
  /* margin: 10px 28px !important; */
  margin-bottom: 0.85em;
  padding: 0 0px;
  color: #858585;
  border-left: 4px solid #e5e5e5;
}
.markdown-section blockquote:first-child {
  margin-top: 0;
}
.markdown-section blockquote:last-child {
  margin-bottom: 0;
}
.markdown-section dl {
  padding: 0;
}
.markdown-section dl dt {
  padding: 0;
  margin-top: 0.85em;
  font-style: italic;
  font-weight: 700;
}
.markdown-section dl dd {
  padding: 0 0.85em;
  margin-bottom: 0.85em;
}
.markdown-section dd {
  margin-left: 0;
}
.markdown-section .glossary-term {
  cursor: help;
  text-decoration: underline;
}
