::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 3px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
  background-color:#D8D8D8;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.01);
  border-radius: 10px;
  background: #ededed;
}

.book-body {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  /* overflow-y: auto; */
  color: #000;
  background: #fff;
  -webkit-transition: left 250ms ease;
  -moz-transition: left 250ms ease;
  -o-transition: left 250ms ease;
  transition: left 250ms ease;
}
@media screen and (min-width: 600px){
  .book-summary{
    left:0px;
  }
  .book-body {
    left: 300px;
  }
}
.page-wrapper {
  position: relative;
  outline: 0;
  width: 75%;
}

.page-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -30px;
  /* padding: 20px 15px 40px 15px; */
}

.container::after {
  display: block;
  content: "";
  clear: both;
}

#anchor-navigation-ex-navbar ul {
  display: block;
  text-align: left;
  padding-right: 10px;
  padding-left: 10px;
  list-style-type: none;
}

.page-wrapper {
  position: relative;
  outline: 0;
  width: 75%;
  overflow-y:auto;
}

.book-body .body-inner {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  /* margin: auto; */
  padding: 30px 31px;
}

.mirror-console-log-row {
  border-left: solid 10px #999;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
}


#anchor-navigation-ex-navbar {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

#anchor-navigation-ex-navbar>.fa-navicon {
  display: none;
}

#anchor-navigation-ex-navbar>ul>li a,
#anchor-navigation-ex-navbar>ul>li span {
  font-size: 18px;
  font-weight: bold;
}

/* #anchor-navigation-ex-navbar {
  width: 100%;
  max-width: 300px;
} */
#anchor-navigation-ex-navbar>ul>ul{
  padding-left:10px;
}
/* 一级子菜单列表 */
#anchor-navigation-ex-navbar>ul>ul>li {
  position: relative;
  margin:6px auto;
}

#anchor-navigation-ex-navbar>ul>ul>li a,
#anchor-navigation-ex-navbar>ul>ul>li span {
  font-size: 14px;
}

/* 一级子菜单列表项小圆点 */
#anchor-navigation-ex-navbar>ul>ul>li::after {
  /* position: absolute;
  content: "";
  display: block;
  left: 2px;
  top: 50%;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 2px solid #3954e6;
  background-color: #3954e6;
  transform: translateY(-50%); */
}

/* 二级子菜单列表 */
#anchor-navigation-ex-navbar>ul>ul>ul>li {
  padding-left: 10px;
  position: relative;
}

/*#anchor-navigation-ex-navbar>ul>ul>ul>li::after {
   position: absolute;
  content: "";
  display: block;
  left: 5px;
  top: 50%;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #3954e6;
  background-color: #3954e6;
  transform: translateY(-50%);
} */


/* 左侧侧边栏菜单 */
/* 一级菜单项 */

.book-summary ul.summary li.active>a {
  color: #3954e6 !important;
}
.articles{
  padding-left:0px !important;
}
.articles li{
  text-indent:12px !important;
}

.chapter_badge_p,
.chapter_text,
.chapter_badge_b,
.chapter_badge_a,
ul.articles li span{text-indent:0px !important}

.active{
  background-color:#EAF3FF !important;
}
.active a,.active a span.chapter_text{
  color:#3954e6 !important;
}
ul.summary>li.chapter>span,
ul.summary>li.chapter>a {
  color:#333;
}
ul.summary>li ul.articles li a,
ul.summary>li ul.articles li span{
  font-weight: normal;
  color:#333;
  display:flex;
}
.book .book-summary .expanded > a .exc-trigger:before, .book .book-summary .expanded > span .exc-trigger:before{
  font-weight: normal;
  font-size: 13px;
}
.book .book-summary ul.summary li a {
  text-decoration: none;
}
.book-summary ul.summary li.header{
  color: #333;
  font-size: 16px;
  font-weight: bold;
}
/* ul.summary>li.chapter>span>.exc-trigger,
ul.summary>li.chapter>a>.exc-trigger {
  right: 12px;
  left: auto;
} */

ul.summary>li.chapter.active>span,
ul.summary>li.chapter.active>a {
  color: #333;
  background:#EAF3FF;
  position:relative;
}
/* 
.book-summary ul.summary li.active>span::after,
.book-summary ul.summary li.active>a::after {
  position: absolute;
  content: "";
  display: block;
  left: 15px;
  top: 50%;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #3954e6;
  background-color: #3954e6;
  transform: translateY(-50%);
} */

.book-summary ul.summary>.chapter>.articles li {
  position: relative;
  transition: transform .2s ease, opacity .4s ease;
  opacity: 0;
  transform: translateX(30px);
}

.book-summary ul.summary>li.expanded>.articles li {
  opacity: 1;
  transform: translateX(0);
}

/* 主要内容一级标题样式 */
.markdown-section>h1 {
  font-size: 1.8em;
}

/* 主要内容二级标题样式 */
.markdown-section>h2 {
  position: relative;
  padding-left: 20px;
  font-size: 1.5em;
}

/* 主要内容三级标题样式 */
.markdown-section>h3 {
  font-size: 1.2em;
}



/* 主要内容三级标题样式 */
.markdown-section>h3 {
  font-size: 1.2em;
}

.markdown-section>h2::after {
  position: absolute;
  content: "";
  display: block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 6px;
  height: 20px;
  border-radius: 4px;
  background-color: #3954e6;
}

h1 {
  color: #3954e6;
}

h2 {
  color: #364149;
}

h3 {
  color: #8fc419;
}

/* 
  表格全局样式
*/
.markdown-section table {
  border-radius: 8px 8px 0 0;
  text-align: start;
  border-collapse: separate;
  border-spacing: 0;
}

/* 
  表格头部样式
*/
.markdown-section table>thead {
  border-radius: 8px 8px 0 0;
}

.markdown-section table tr {
  background-color: #fff;
  transition: background-color .3s;
}

.markdown-section table tr:nth-child(2n) {
  background-color: #fff;
}

.markdown-section table tr:hover {
  background-color: #fafafa;
}

.markdown-section table>thead th {
  padding: 16px 16px;
  background-color: #fafafa;
  color: rgba(0, 0, 0, .88);
  font-size: 16px;
  border: none;
  text-align: left;
}

.markdown-section table>thead>tr:first-child th:first-child {
  border-start-start-radius: 8px;
}

.markdown-section table>thead>tr:first-child th:last-child {
  border-start-end-radius: 8px;
}

.markdown-section table td {
  border: none;
  padding: 16px;
  font-size: 14px;
  border-top: 1px solid rgba(5, 5, 5, .06);
}

.table-container,
.swagger-ui .responses-inner {
  padding: 20px 0 !important;
}

.swagger-ui table thead tr th,
.swagger-ui table thead tr td {
  padding: 16px 16px !important;
  background-color: #fafafa !important;
  color: rgba(0, 0, 0, .88) !important;
  font-size: 16px !important;
  border: none;
  text-align: left;
}

.swagger-ui table tbody tr td {
  border: none !important;
  padding: 16px !important;
  font-size: 14px !important;
  border-top: 1px solid rgba(5, 5, 5, .06) !important;
}

.swagger-ui .model-box {
  padding: 5px 10px !important;
}

.swagger-ui section.models {
  border: none !important;
  box-shadow: 0px 2px 10px rgb(0 0 0 / 10%) !important;
}

.swagger-ui section.models.is-open h4 {
  border-bottom: 1px solid #f1f1f1 !important;
}

.gbcg .gbcg-selector {
  margin-left: 0;
  border: none !important;
  color: rgba(255, 255, 255, .6) !important;
  transition: all .2s ease;
  border-radius: 6px 6px 0 0;
  background:none;
  font-weight:bolder;
}

.gbcg .gbcg-selector:hover {
  color:#fff !important;
  font-weight:bolder;
}

.gbcg .gbcg-selector.gbcg-active {
  color:#fff !important;
  font-weight:bolder;
}

.gbcg-tab-selectors {
  border-bottom: none;
  background: #1A1D21;
  position:relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.gbcg-tab-item{
  background: #2F3237;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.markdown-section pre {
  border-radius:8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: #2F3237;
}

.navigation {
  display: none;
  top: 0;
  bottom: 0;
  line-height: 1;
  overflow: hidden;
  background-color: #fafafa;
  padding: 10px 0;
  position: relative;
  width: 50%;
}

.navigation:hover {
  background-color: #efefef;
}

.navigation.navigation-prev {
  left: 45px;
}

.navigation.navigation-next {
  right: -32px;
  float: right;
}


.swagger-ui .opblock.opblock-post {
  background: rgba(57, 84, 230, .1) !important;
  border-color: transparent !important;
}

.swagger-ui .opblock.opblock-post .opblock-summary {
  border-color: transparent !important;
}

.swagger-ui .model-box-control:focus,
.swagger-ui .models-control:focus,
.swagger-ui .opblock-summary-control:focus {
  outline: none !important;
}

.opblock-body {
  padding: 10px;
}

input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  position: relative;
}

input[type=checkbox]::after {
  position: absolute;
  top: 0;
  color: #000;
  width: 16px;
  height: 16px;
  display: inline-block;
  visibility: visible;
  padding-left: 0px;
  text-align: center;
  content: ' ';
  border-radius: 3px;
}

input[type=checkbox]:checked::after {
  content: "✓";
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  background-color: #50af51;
}


.header-navbar {
  height: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.container {
  margin: 0 20px;
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}

.logo-container {
  float: left;
  padding-top: 3px;
}

.logo-container img {
  max-height: 40px;
  max-width: 161px;
}

.menu-container {
  float: right;
  flex:auto;
  display:flex;
  justify-content:flex-end;
}

.menu-container ul {
  list-style-type: none;
  margin: 4px 0;
  padding: 0;
  overflow: hidden;
}

.menu-container ul>li {
  float: left;
}

.menu-container ul>li>a {
  display: block;
  padding: 14px 16px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.menu-container ul>li:last-child>a {
  padding-right: 0;
}

.menu-container .compact-menu {
  display: none;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
  right: 0;
}
.book-summary{
  z-index:3;
  overflow-y:scroll;
}
@media screen and (max-width: 600px){
  #anchor-navigation-ex-navbar{
    display:none;
  }
  .body-inner{
    display:flex;
    flex-direction:row;
  }
  .page-wrapper{
    flex:auto;
    width:auto;
  }
  .book-summary{
    width: calc(100% - 25%);
  }
  .toggle-summary{
    left:0px !important;
  }
}
@media screen and (min-width: 600px){
  .book-summary{
    left:0px;
    width:320px !important;
  }
  .toggle-summary{
    left:-320px !important;
  }
  .book-body {
    left: 320px !important;
  }
}

/*
@media screen and (max-width: 600px) {
  .menu-container ul {
    display: none;
  }
  .menu-container .compact-menu {
    float: right;
    display: block;
  }
  .menu-container {
    z-index: 999;
  }
}

@media screen and (max-width: 600px) {
  .menu-container.responsive {
    position: absolute;
    right: 20px;
  }
  .menu-container.responsive .compact-menu {
    float: right;
    display: block;
    height: 50px;
  }
  .menu-container.responsive ul {
    float: none;
    display: contents;
    text-align: left;
  }
  .menu-container.responsive ul>li {
    border: 1px solid #efebeb;
    width: 100%;
  }
  .menu-container.responsive ul>li>a {
    float: left;
    font-size: 11px;
    text-align: left;
  }
  .menu-container.responsive ul>li:last-child>a {
    float: left;
    padding: 14px 16px;
  }
}
*/

/* 新顶部语言菜单样式 */
.menu-container ul {
  margin: 0;
}

.menu-container ul>li>a,
.menu-container ul>li>span {
  display: block;
  padding: 18px 16px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.menu-group {
  position: relative;
  cursor: pointer;
}

.menu-group .menu-ul-title {
  display: block;
  padding: 16px 20px 16px 0;
  margin-left: 7px;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  width: 100%;
  position: relative;
  line-height: 18px;
}

.menu-group .menu-ul-title .arrow {
  display: block;
  position: absolute;
  right: 5px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: rotateZ(-45deg) translateY(-8px);
}

.menu-group .menu-ul-title .arrow::before {
  display: block;
  content: "";
  width: 2px;
  height: inherit;
  background-color: #333;
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
}

.menu-group .menu-ul-title .arrow::after {
  display: block;
  content: "";
  width: inherit;
  height: 2px;
  background-color: #333;
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
}

.menu-group .menu-ul {
  display: none;
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 1000;
  width:auto;
}

.menu-group:hover .menu-ul {
  display: block;
}

.menu-container ul {
  overflow: inherit;
}

.menu-container ul::after {
  display: block;
  content: "";
  clear: both;
}

.menu-group .menu-ul {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  border-radius: 6px;
  overflow: hidden;
}

.menu-group .menu-ul>.menu-ul-item {
  display: block;
  float: none;
  text-align: center;
  border-bottom: 1px solid #f1f1f1;
}

.menu-group .menu-ul>.menu-ul-item:last-child {
  border-bottom: none;
}

.menu-group .menu-ul>.menu-ul-item a,
.menu-group .menu-ul>.menu-ul-item span {
  min-width:106px;
  padding: 12px 10px;
  transition: all .2s ease;
}

.menu-group .menu-ul>.menu-ul-item a:hover,
.menu-group .menu-ul>.menu-ul-item span:hover {
  background-color: rgba(57, 83, 230, 0.2);
}

.menu-group .menu-ul>.menu-ul-item.active a,
.menu-group .menu-ul>.menu-ul-item.active span {
  background-color: rgba(57, 83, 230, 0.6);
}


/* 新顶部语言菜单样式 */

/* 查询按钮样式 */
#book-search-input {
  /* display: flex;
  align-items: center;
  padding: 6px 20px;
  cursor: pointer;
  transition: all .5s ease;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 30px;
  margin: 10px;
  cursor: pointer; */
  display: flex;
  align-items: center;
  padding: 6px 20px 6px 0;
  cursor: pointer;
  transition: all .5s ease;
  margin: 10px 20px 10px 15px;
  cursor: pointer;
  border:none;
  border-bottom: 1px solid #eee;
  background:url('../../icon/search-icon.png')left center no-repeat;
  background-size:auto 40%;
}

#book-search-input .icon {
  width: 20px;
  height: 20px;
}
#book-search-input input, #book-search-input input:focus,
#book-search-input input:hover{
  padding: 0 7px 0 19px;
  box-sizing:border-box;
}
#book-search-input .search-btn {
  flex: 1;
  width: 100%;
  box-shadow: none;
  outline: 0;
  line-height: 22px;
  padding: 7px 7px;
  color: inherit;
}

.book-search-container {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1001;
}

.book-search-container>.book-search-mask {
  background-color: rgba(255, 255, 255, .8);
  width: inherit;
  height: inherit;
  position: absolute;
}

.book-search-container>.book-search-box {
  position: relative;
  z-index: 2;
  background-color: #fff;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10%;
  padding-bottom: 30px;
}

#s-input {
  border-bottom: 2px solid rgba(57, 83, 230, 0.1) !important;
  transition: all .2s ease;
  font-size: 24px;
  outline: none;
  appearance: none;
  border: none;
  width: 100%;
  padding: 10px;
}

#s-input:focus {
  border-bottom-color: rgba(57, 83, 230, 0.8) !important;
}

.book-search-submit-btn {
  display: block;
  margin-top: 15px;
  background-color: rgba(57, 83, 230, 0.8);
  color: #fff;
  padding: 8px 15px;
  line-height: 20px;
  border-radius: 6px;
  text-align: center;
  transition: all .2s ease;
  cursor: pointer;
}

.book-search-submit-btn:hover {
  background-color: rgba(57, 83, 230, 1);

}

.book-search-submit-btn span {
  vertical-align: middle;
}

.book-search-submit-btn .icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.book-search-header {
  display: block;
  text-align: right;
}

.book-search-header .book-search-close-btn {
  display: inline-block;
  cursor: pointer;
}

.book-search-header .book-search-close-btn .icon {
  width: 20px;
  height: 20px;
}

#book-search {
  display: none;
}

.CodeMirror-scroll {
  height: auto !important;
}

.chapter .chapter_text {
  padding: 0 !important;

}

.chapter .chapter_badge_a {
  padding: 3px 10px !important;
  background-color: rgba(142, 196, 25) !important;
  color: #fff !important;
  border: 1px solid rgba(142, 196, 25) !important;
  border-radius: 20px;
  margin-right: 5px;
}

.chapter .chapter_badge_b {
  padding: 3px 10px !important;
  background-color: #03ca9b!important;
  color: #fff !important;
  border: 1px solid #03ca9b !important;
  border-radius: 20px;
  margin-right: 5px;
  text-shadow: 1px 1px 0 #03ca9b,0 1px 0 #03ca9b,1px 0 0 #03ca9b!important;
}

.chapter .chapter_badge_p {
  padding: 3px 10px !important;
  background-color: #0272d9 !important;
  color: #fff !important;
  border: 1px solid #0272d9 !important;
  border-radius: 20px;
  margin-right: 5px;
  text-shadow: 1px 1px 0 #026aca, 0 1px 0 #026aca, 1px 0 0 #026aca;
}

.chapter .chapter_badge {
  padding: 3px 10px !important;
  background-color: rgba(142, 196, 25, 0.5) !important;
  color: #74a011 !important;
  border: 1px solid #74a011 !important;
  border-radius: 20px;
  margin-right: 5px;
}

.chapter .chapter_badge,
.chapter .chapter_text {
  vertical-align: middle !important;
  display: inline-block !important;
}

.chapter .chapter_badge_a,
.chapter .chapter_text {
  vertical-align: middle !important;
  display: inline-block !important;
}

.chapter .chapter_badge_b,
.chapter .chapter_text {
  vertical-align: middle !important;
  display: inline-block !important;
}

.chapter .chapter_badge_p,
.chapter .chapter_text {
  vertical-align: middle !important;
  display: inline-block !important;
}
.markdown-section pre>code{
  color:#FFD014;
}
.book .book-body .page-wrapper .page-inner section.normal pre .hljs-string, .book .book-body .page-wrapper .page-inner section.normal code .hljs-string, .book .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol, .book .book-body .page-wrapper .page-inner section.normal code .hljs-symbol, .book .book-body .page-wrapper .page-inner section.normal pre .hljs-bullet, .book .book-body .page-wrapper .page-inner section.normal code .hljs-bullet, .book .book-body .page-wrapper .page-inner section.normal pre .hljs-addition, .book .book-body .page-wrapper .page-inner section.normal code .hljs-addition{
  color: #B3AEFF;
}
/* 查询按钮样式 */

.mirror-console-button.mirror-console-exit {
  background-color: red;
  display: none;
}