.wiki-translate-hint {
  padding: 10px;
  color: #558ED5;
  background-color: #EEF2F7;
  margin: 8px 0;
}

.wiki-translate {
  /*text-align: left;*/
  font: inherit;
  font-size: 13px;
  margin: 8px 0;
  color: #558ED5;
  font-weight: normal;
  font-style: normal;
}
.wiki-translate * {
  white-space: pre-wrap;
  margin: 0;
  line-height: 1.5
  /*font-size: 12px;*/
}
.wiki-translate strong {
  font-weight: bold;
}

.wiki-translate > div {
  display: inline-block;
  position: relative;
  padding: 10px;
  border-left: 4px solid #558ED5;
}

/* 只显示原文模式 */
.only-source-text:not(.has-old-translate) {

}
.only-source-text:not(.has-old-translate) .wiki-translate {
  display: none !important;
}
.only-source-text:not(.has-old-translate) .wiki-translate-hint {
  display: none;
}

/* 只显示译文模式 */
.only-translate:not(.has-old-translate) {

}
.only-translate:not(.has-old-translate) #range_note_body_text_anchor ~ *:not(.wiki-translate, .wiki-translate *, .page_comment_wrapper, .page_comment_wrapper *),
.only-translate:not(.has-old-translate) #range_note_body_text_anchor ~ * *:not(.wiki-translate, .wiki-translate *, .page_comment_wrapper, .page_comment_wrapper *) {
  font-size: 0 !important;
  line-height: 0 !important;
}
.only-translate:not(.has-old-translate) #range_note_body_text_anchor ~ * a + img[alt*="icon"] {
  display: none;
}
.only-translate:not(.has-old-translate) .wiki-translate,
.only-translate:not(.has-old-translate) .wiki-translate * {
  line-height: 1.7 !important;
  font-size: 13px !important;
  padding: 0;
  color: inherit;
  border: none;
}

/* =========================================================== */
/* 旧数据处理 */

/* 如果含有旧翻译，则显示原文的时候仅显示 data-english 标签 */
.has-old-translate.only-source-text #range_note_body_text_anchor ~ *:not(.data-english, .data-english *, td, th),
.has-old-translate.only-source-text #range_note_body_text_anchor ~ * *:not(.data-english, .data-english *, td, th) {
  font-size: 0 !important;
  line-height: 0 !important;
}

/* 如果含有旧翻译，仅显示原文的情况下，隐藏部分标签 */
.has-old-translate.only-source-text .law,
.has-old-translate.only-source-text .toc {
  display: none;
}

/* 解决上面的代码导致表格内容不渲染的问题 */
.has-old-translate.only-source-text #range_note_body_text_anchor ~ * th,
.has-old-translate.only-source-text #range_note_body_text_anchor ~ * td {
  font-size: 13px;
  line-height: 1.15;
}

/* 如果含有就翻译，则显示译文的时候隐藏 data-english 标签 */
.has-old-translate.only-translate .data-english {
  display: none !important;
}
/* =========================================================== */

/*居中处理*/
.thumbcaption .wiki-translate {
  text-align: center;
}

/* =========================================================== */