body {
  font-family: "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", "\9ED1\4F53", Arial, sans-serif;
  letter-spacing: .2px;
  text-rendering: optimizeLegibility;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5,
.markdown-section h6 {
  margin-bottom: .5em;
  font-weight: 400;
}
.markdown-section p {
  line-height: 2;
}
.markdown-section img {
  padding: 8px;
  background: #e4e4e478;
  transition: all 1s;
  box-sizing: border-box;
  box-shadow: 0 0 4px #dcdcdc;
  margin-left: 10px;
  margin-right: 10px;
  max-width: 95%;
}
.markdown-section img:hover {
  box-shadow: 0 0 10px #bbb
}

.exc-trigger {
  color: #333333;
}

.navigation {
  display: none;
}

/*Book inner page*/

.book-summary{
  width: 250px!important;
}

.book-summary-title {
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
  color: #adadad;
}

.book-summary,
.book-body {
  top: 60px;
}

.book-summary,.book-summary ul.summary{
  transition: none;
}

.book-summary ul.summary li.active {
  /* border-right: 3px solid #396aff; */
  /* background: #f3f1f1; */
}

.book-summary ul.summary li.active>a {
  color: #396aff;
  text-decoration: none;
}

.book-summary ul.summary li a:hover {
  text-decoration: none;
}

.page-inner {
  max-width: none;
  padding: 20px 270px 40px 40px;
}

.header-inner #book-search-input {
  float: right;
  width: 200px;
  margin: 14px 6px 14px 0;
  padding: 0;
  border: none;
  user-select: none;
  position: relative;
}



.header-inner #book-search-input input[type="text"] {
  width: 100%;
  border-radius: 8px;
  padding: 3px 7px;
  padding-left: 28px;
}

.header-inner #book-search-input input[type="text"]:focus{
  border-color: #396aff;
}

.header-inner #book-search-input #searchBtn {
  color: #ffffff;
  margin-left: 10px;
  cursor: pointer;
}

.header-inner #book-search-input #searchBtn:hover {
  color: #eae8e8;
}

.header-inner #book-search-input .search-icon{
  position: absolute;
  left: 10px;
  top: 6px;
  width: 20px;
  height: 20px;
  background: url('search.svg') no-repeat;
}

@media (min-width: 1200px) {
  .book{
    width: 1200px;
    margin: 0 auto;
  }
  .book-summary{
    background-color: #fff;
    z-index: 9999;
    left: 0!important;
  }
  .book-body{
    left: 300px!important;
  }
}

body::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  top: 59px;
  background-color: #dededede;
}

.header-inner {
  width: 100%;
  /* padding: 10px 30px; */
  margin: auto;
  *zoom: 1;
  height: 60px;
}

.header-inner:before,
.header-inner:after {
  content: " ";
  display: table;
  line-height: 0;
}

.header-inner:after {
  clear: both;
}

.header-inner .logo-wrapper{
  align-items: center;
  float: left;
  width: 270px;
  height: 100%;
}

.header-inner .logo-wrapper .logo {
  float: left;
  height: 50px;
  width: 120px;
  background: url('./logo.svg');
  background-size: 120px 50px;
  background-repeat: no-repeat;
  margin-top: 4px;
  margin-left: 30px;
}

.header-inner .logo-wrapper .logo img {
  display: block;
  height: inherit;
  padding: 5px 0;
}

.header-inner .title {
  float: left;
  font-size: 20px;
  line-height: 60px;
  margin-left: 10px;
  color: #575656;
}

/* 导航 */
.header-inner .header-nav {
  list-style: none;
  float: left;
  padding-left: 0;
}

.header-inner .header-nav li {
  display: table-cell;
  vertical-align: middle;
  min-width: 50px;
  margin-right: 20px;
  padding: 8px 10px 8px 10px;
}

.header-inner .header-nav li a {
  color: #333333;
}

.header-inner .header-nav li a:hover,
.header-inner .header-nav li a.active {
  color: #396aff;
}

.header-inner .header-nav li a.active:hover {
  cursor: #396aff;
}

@media (max-width: 768px) {
  .book-summary,
  .book-body {
    top: 60px;
  }
  .header-inner #book-search-input {
    clear: both;
    width: 100%;
  }
}
/*Book inner page end*/

/* Book  anchor*/
.book-anchor {
  width: 180px;
  position: absolute;
  top: 130px;
  right: 30px;
  padding: 0 10px 10px 10px;
  z-index: 999;
  user-select: none;
  border-left: 2px solid #ececec;
}
.book-anchor-title {
  line-height: 38px;
  font-weight: 400;
  cursor: pointer;
}
.book-anchor a {
  display: block;
  line-height: 25px;
  color: #656565;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.book-anchor a:hover {
  color: #396aff;
  text-decoration: none;
}
.book-anchor .selected {
  color: #396aff;
  text-decoration: none;
  font-weight: bold;
}
.book-anchor .anchor-h1 {}
.book-anchor .anchor-h2 {
  padding-left: 20px;
}
.book-anchor .anchor-h3{
  padding-left: 30px;
}

.versions-select select {
  padding: 4px 0;
  border-radius: 2px;
  border:1px solid #dededede;
}

.header-book{
  float: right;
}

.header-book .language-picker,
.header-book .font-settings,
.header-book h1,
.header-book a{
  display: none!important;
}

.header-book a:first-child{
  display: block!important;
}

.collapse{
  transition: 300ms left ease;
  display: none;
  float: right;
  padding: 0 15px;
  line-height: 50px;
}

.collapse .fa-align-justify{
  cursor: pointer;
  color: #ccc;
}

.collapse .fa-align-justify:hover{
  color: #444;
}

@media (max-width: 1200px) {
  .book-anchor,.divider-content-summary{
    display: none;
  }
  .book-body{
    left: 0!important;
  }

  .header-book{
    display: none!important;
  }

  .collapse{
    display: block;
  }

  .page-inner{
    padding-right: 40px;
  }

  .logo-wrapper{
    width: 150px!important;
  }

  #book-search-input{
    display: none;
  }

  .mask{
    position: fixed;
    left: 0;
    top: 60px;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.3);
  }

  .version_div .dropdown-menu{
    min-width: 50px!important;
  }
}



@media (max-width: 600px){
  .book-summary{
    left: unset;
    right: 0;
  }
}

.version_div{
  position: relative;
  float: right;
}

.version_div .current{
  height: 50px;
  padding: 10px 0;
  display: inline-block;
  box-sizing: border-box;
  line-height: 38px;
  cursor: pointer;
}

.version_div .current-wrapper{
  display: inline-block;
}

.version_div .arrow-down{
  width: 20px;
  height: 20px;
  display: inline-block;
  cursor: pointer;
  background: url('arrow-down.svg') no-repeat;
  vertical-align: middle;
}

.version_div .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: unset;
  z-index: 100;
  display: none;
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  background-color: #fafafa;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 1px;
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  background-clip: padding-box;
  z-index: 9999;
}

.version_div .dropdown-menu .dropdown-caret {
  position: absolute;
  top: -8px;
  width: 18px;
  height: 10px;
  float: left;
  overflow: hidden;
  right: 14px;
  left: unset;
}

.version_div .dropdown-menu .dropdown-caret .caret-outer {
  position: absolute;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid rgba(0,0,0,.1);
  height: auto;
  left: 0;
  top: 0;
  width: auto;
  display: inline-block;
  margin-left: 1px;
}

.version_div .dropdown-menu .dropdown-caret .caret-inner {
  position: absolute;
  display: inline-block;
  margin-top: -1px;
  top: 0;
  top: 1px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #fafafa;
}

.version_div .dropdown-menu ul{
  list-style: none;
  padding: 0;
}

.version_div .dropdown-menu ul li{
  padding: 10px 4px;
  cursor: pointer;
  padding-left: 10px;
}

.version_div .dropdown-menu ul li:hover{
  background-color: #e3e3e3;
}