/*#
@colors&{"titlesAccentColor":"#494949","labelsAccentColor":"#7b7a7a","linksAccentColor":"#2372de","backgroundAccentColor":"#dce5f2","isDefault":true}&colors@
@info@STYLES BASKET SELECTIONS METADATA@info@
@name&styles_basket&name@
@aspects&wh-tiles,wh-tree-themes-titles-links-label-colors-with-bg,wh-right-toc-style-bar-selection&aspects@
@info@WARNING: PLEASE DON'T MODIFY THIS FILE. MODIFICATION CAN CAUSE UPLOADING ERRORS@info@
@info@TIP: YOU CAN USE custom.css TO ADD CUSTOM SELECTORS.@info@
#*/
/* Bold selection in Publication TOC. WebHelp only. */

/*wh-tiles*/
/*wh-tree-themes-titles-links-label-colors-with-bg*/
.wh_main_page_toc {
  border: none;
  background-color: #ffffff;
}
.wh_main_page_toc .wh_main_page_toc_accordion_header,
.wh_main_page_toc > .wh_main_page_toc_entry,
.wh_main_page_toc_accordion_entries {
  border-bottom: #000000;
  background-color: transparent;
  text-align: left;
}
.wh_main_page_toc .wh_main_page_toc_accordion_header:hover,
.wh_main_page_toc > .wh_main_page_toc_entry:hover {
  background-color: rgba(0, 0, 0, 0.2);
  color: #000000;
}
.wh_main_page_toc .topicref a,
.wh_main_page_toc .topicref a:visited {
  color: #000000;
}
.wh_main_page_toc .wh_toc_shortdesc {
  color: #000000;
  font-weight: normal;
}
.wh_main_page_toc_accordion_header:before {
  color: #000000;
}
/*#region 多语言定义 */
*:lang(en-US) {
  --table--pre: "Table ";
  --fig--pre: "Figure ";
  --footer-flex: row;
  --step--pre: "Step ";
  --uicontrol--bpre: "";
  --uicontrol--apre: "";
}

*:lang(zh-CN) {
  --table--pre: "表";
  --fig--pre: "图";
  --footer-flex: column;
  --step--pre: "步骤";
  --uicontrol--bpre: "“";
  --uicontrol--apre: "”";
}
*:lang(ja-JP) {
  --table--pre: "表";
  --fig--pre: "図";
  --footer-flex: row;
  --step--pre: "手順";
  --uicontrol--bpre: "";
  --uicontrol--apre: "";
}

/*#endregion */

/*#region字体定义：鸿蒙*/
@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 200;
  font-style: normal;
  src: url(resources/font/HarmonyOS_SansSC_Thin.ttf) format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 300;
  font-style: normal;
  src: url(resources/font/HarmonyOS_SansSC_Light.ttf) format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 400;
  font-style: normal;
  src: url(resources/font/HarmonyOS_SansSC_Regular.ttf) format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 500;
  font-style: normal;
  src: url(resources/font/HarmonyOS_SansSC_Medium.ttf) format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 700;
  font-style: normal;
  src: url(resources/font/HarmonyOS_SansSC_Bold.ttf) format("truetype");
}

@font-face {
  font-family: "HarmonyOS Sans SC";
  font-weight: 800;
  font-style: normal;
  src: url(./resources/font/HarmonyOS_SansSC_Black.ttf) format("truetype");
}

* {
  font-family: "HarmonyOS Sans SC";
}

/*#endregion*/

/*#region 页眉 */
.wh_header {
  height: 100%;
  border-bottom: none !important;
  padding: 0;
  background-image: url(./resources/bg.jpg);

  .mainbooktitle {
    font-size: 2.5rem;
  }
  a {
    color: #ffffff;
    font-size: 2rem;
  }
  /* 去掉头部导航和图标 */
  .wh_top_menu_and_indexterms_link.navbar-collapse,
  .navbar-dark .navbar-toggler {
    display: none !important;
  }
  .wh_logo_and_publication_title_container {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 13rem;
  }
  .linkBox {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-end;
    margin-top: 2rem;
    div {
      margin-right: 3rem;
    }
    a {
      font-size: 16px;
    }
  }
}
@media only screen and (max-width: 767px) {
  .bookDown {
    margin-right: 2.5rem !important;
  }
  .wh_logo_and_publication_title_container {
    height: 8rem !important;
  }
  ul[role="tree"] {
    width: 100% !important;
  }
}
/*#endregion  */

/*#region 搜索框 */

.wh_search_input {
  height: 10rem;
  background-image: url(./resources/bg.jpg);
  padding-top: 0px;
  margin-bottom: 1px;
  .wh_search_textfield {
    height: 5.5rem;
    font-size: 1.2em;
  }

  .wh_search_textfield {
    padding-left: 5.5rem;
  }

  .wh_search_button {
    height: 5.5rem;
    width: 5.5rem;
    left: 0;
    background-color: transparent;
    border: none;
  }
  .wh_search_button::after {
    color: #4f4f4f;
    font-size: 2.7rem;
  }
}

/*#endregion  */

/*#region 首页中间部分 */
.wh_content_area {
  margin-top: 2rem;
}
.close-toc-button {
  display: none !important;
}
.wh_tiles {
  display: none;
}
.wh_main_page_toc {
  width: 85%;
}
.wh_main_page_toc_accordion_header::before {
  content: none !important;
}
.wh_main_page_toc_accordion_entries {
  margin-left: 5.5rem;
  display: block;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.wh_main_page_toc_entry {
  margin-left: 0;
  width: 33%;
}
.wh_main_page_toc_entry:hover {
  margin-left: 0;
  width: 33%;
  transform: scale(1.05); /* 放大5% */
  transition: transform 0.3s ease;
}
.wh_main_page_toc_entry a {
  color: #2f80ed !important;
}
.wh_main_page_toc_accordion_header,
.wh_main_page_toc > .wh_main_page_toc_entry {
  font-size: 2rem;
}
.wh_main_page_toc_accordion_header:hover,
.wh_main_page_toc > .wh_main_page_toc_entry:hover {
  background-color: transparent !important;
  color: #071af2 !important;
  transform: scale(1.05); /* 放大5% */
  transition: transform 0.3s ease;
}
.wh_main_page_toc > .wh_main_page_toc_entry > .topicref a {
  color: #000000 !important;
}
@media only screen and (max-width: 767px) {
  .wh_main_page_toc {
    width: 100%;
    margin: 0 auto;
  }
  .wh_main_page_toc_accordion_header,
  .wh_main_page_toc > .wh_main_page_toc_entry {
    padding: 0 !important;
    width: 100%;
    margin-bottom: 1rem;
  }
  .wh_main_page_toc_accordion_entries {
    margin-left: 0;
  }
}
/*#endregion */

/*#region 中间具体内容 */
.wh_content_area {
  margin-top: 2rem;
}
.topic .topictitle1 {
  margin-bottom: 2rem !important;
}
/* 标题 */
.body .sectiontitle {
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 5px solid #2f80ed;
}

#wh_topic_body {
  margin-top: -1rem;
  font-size: 1.1em;
  counter-reset: tableCount figCount;
  .p {
    line-height: 2.2;
    margin-top: 0;
    margin-bottom: 0;
  }
  /*#region 列表 */
  .ul,
  ol {
    padding-left: 18px;
    line-height: 2.2;
  }
  /* 有序列表第一级 */
  .ol {
    counter-reset: item1;
    list-style-type: none !important;
  }
  .ol > .li {
    counter-increment: item1;
    padding-left: 1rem;
  }
  .ol > .li::marker {
    content: counter(item1) ". ";
  }
  /* 有序列表第二级 */
  .ol > .li > .ol {
    counter-reset: item2;
    list-style-type: none !important;
  }
  .ol > .li > .ol > .li {
    counter-increment: item2;
  }
  .ol > .li > .ol > .li::marker {
    content: counter(item2) ") ";
  }
  /* 有序列表第三级 */
  .ol > .li > .ol > .li > .ol {
    counter-reset: item3;
    list-style-type: none;
  }
  .ol > .li > .ol > .li > .ol > .li {
    counter-increment: item3;
  }
  .ol > .li > .ol > .li > .ol > .li::marker {
    content: counter(item3, lower-alpha) ". ";
  }

  /* 一级无序列表 */
  .ul > .li {
    padding-left: 1rem;
  }
  .ul > .li::marker {
    content: "● ";
    font-size: 1rem;
  }

  .ul > .li > .ul > .li::marker {
    content: "━ ";
    font-size: 1rem;
  }

  /* 三级无序列表 */
  .ul > .li > .ul > .li > .ul > .li::marker {
    content: "■ ";
    font-size: 1rem;
  }

  /* 步骤列表 */
  .step {
    counter-reset: stepCounter;
    margin-left: 1.5em;
  }
  .step > .li {
    counter-increment: stepCounter;
  }
  .step > .li::marker {
    content: var(--step--pre) counter(stepCounter) !important;
  }
  /*#endregion  */

  /*#region 表格 */
  .table {
    .thead th {
      background-color: rgb(203, 203, 203) !important;
    }
    .title {
      padding-left: 0;
      counter-increment: tableCount;
    }
    .entry {
      text-align: left;
      vertical-align: middle;
    }
    .align-right {
      text-align: right;
    }
    .align-center {
      text-align: center;
    }
    .valign-bottom {
      vertical-align: bottom;
    }
    .valign-top {
      vertical-align: top;
    }
    .table--title-label {
      display: none;
    }
    .table--title {
      margin-top: 1rem;
    }
    .table--title::before {
      content: var(--table--pre) counter(tableCount) " ";
    }
  }
  /*#endregion  */

  /*#region 图 */
  .fignone {
    .figcap {
      .fig--title-label {
        display: none;
      }
      .fig--title {
        counter-increment: figCount;
        margin-top: 1rem;
      }
      .fig--title::before {
        content: var(--fig--pre) counter(figCount) " ";
      }
    }
  }

  /*#endregion */

  .uicontrol::before {
    content: var(--uicontrol--bpre);
  }
  .uicontrol::after {
    content: var(--uicontrol--apre);
  }
}

/* 去掉标题的下拉按钮和链接按钮 */
.wh_expand_btn,
.permalink {
  display: none;
}

/*#endregion  */

#wh_publication_toc_content,
#wh_topic_toc_content {
  position: sticky !important;
}

/*#region 左侧导航栏 */
.wh_publication_toc {
  margin-top: 1rem;
  display: flex;
  justify-content: center;

  .title {
    width: 80%;
  }

  .title a {
    font-size: 1.5rem;
    color: #000000;
  }
  .title a:hover {
    color: #2f80ed;
  }

  ul[role="tree"] {
    width: 20rem;
  }

  .topicref {
    position: relative;
    padding: 5px 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
  }
  ul ul .topicref {
    min-height: 30px;
  }
  .title:not(.topicref[data-state="expanded"] .title):not(
      .topicref[data-state="not-ready"] .title
    ):not(.topicref[data-state="collapsed"] .title) {
    display: list-item;
  }
  .title:not(.topicref[data-state="expanded"] .title):not(
      .topicref[data-state="not-ready"] .title
    ):not(.topicref[data-state="collapsed"] .title)::marker {
    content: "• ";
    font-size: 1.7rem;
  }

  ul[role="tree"] > li:not(:has(ul, ol)) {
    font-weight: 700;
  }
  ul[role="tree"] > li:not(:has(ul, ol)) .title::marker {
    content: none !important;
  }
  .topicref[data-state="expanded"] .title,
  .topicref[data-state="not-ready"] .title,
  .topicref[data-state="collapsed"] .title {
    margin-left: 1em !important;
    font-weight: 700;
  }
  /* 第一级 */

  .topicref[data-state="expanded"] span::before {
    content: "▼" !important;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
  }
  .topicref[data-state="not-ready"] span::before,
  .topicref[data-state="collapsed"] span::before {
    content: "▶" !important;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
  }
}
@media screen {
  .wh_publication_toc {
    .active {
      min-height: 50px;
      width: 100%;
    }
    ul ul .active {
      min-height: 30px;
    }
    .active > .topicref a {
      font-weight: bold;
      color: #2f80ed !important;
    }
    .active > .topicref {
      background-color: #cee8fd;
      border-right: 3px solid #018bf2;
    }
  }
}
/*#endregion  */

/*#region 中间导航栏 */
.container-fluid {
  .webhelp_expand_collapse_sections::after {
    display: none;
  }

  .breadcrumb-sticky {
    width: 92%;
    top: 0 !important;
    margin: 0 auto;
    height: 4rem;
    margin-bottom: 2rem;
    .wh_tools {
      margin-bottom: 0;
      background-color: #f6f7f9;
    }
    .wh_breadcrumb {
      margin-left: 0rem;
    }
    .d-print-none {
      a {
        color: #000000;
      }
      li:last-of-type a {
        color: #2f80ed;
      }
    }
  }
  .section-title a {
    color: #868484 !important;
  }

  @media only screen and (max-width: 767px) {
    .breadcrumb-sticky {
      width: 100%;
    }
    .wh_publication_toc {
      margin-top: 0 !important;
      border-right: 2px solid #f5f7fa;
      display: flex;
      justify-content: flex-start !important;
    }
  }
  /*#endregion  */

  /*#region 右侧导航栏 */
  .wh_topic_toc {
    margin-top: 1rem;

    li {
      line-height: 2;
    }
    .wh_topic_label {
      display: none !important;
    }
    .section-item .section-title a {
      border-left: 3px solid transparent;
      padding-left: 5px;
      color: #000000 !important;
    }
    .section-item .section-title a:hover {
      border-left: 3px solid #c0c0c0;
    }
    .section-item .section-title .current_node {
      border-left: 3px solid #2f80ed;
      text-decoration: none;
      color: #2f80ed !important;
    }
  }
}
/*#endregion */

/*#region 页脚 */
.wh_footer {
  font-size: 15px;
  line-height: 1.7em;
  color: black;
  background-color: #f5f7fa;
  font-size: 1.2rem;
  padding: 2rem;
  .box1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    .phone {
      margin-right: 8rem;
    }
  }
  .box2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    a {
      margin-left: 0.5rem;
      margin-right: 0.5rem;
    }
  }
}
@media only screen and (max-width: 767px) {
  .box1 {
    display: flex;
    flex-direction: column !important;
  }
  .phone {
    width: 100%;
    margin-right: 0 !important;
  }
  .meail {
    width: 100%;
  }
  .box2 {
    display: inline-block !important;
    div {
      display: inline !important;
    }
  }
  .topicref {
    min-height: 35px !important;
  }
}
.wh_footer {
  display: flex;
  flex-direction: var(--footer-flex);
  justify-content: space-evenly;
}
.footer-container {
  display: none;
}

/*#endregion  */
