::-webkit-scrollbar {
  width: unset;
  height: unset;
}
.container {
  max-width: unset !important;
}
.api-indent {
  margin-left: 20px;
}
@media (max-width: 768px) {
  .header-logo img {
    max-width: 150px;
  }
}
/**
 * leftbar
 */
.api-leftbar {
  position: fixed;
  left: 0;
  top: 55px;
  z-index: 10;
  width: 300px;
  height: calc(100vh - 55px);
  box-sizing: border-box;
  padding: 10px 0;
  overflow: auto;
  font-size: 14px;
  color: #666;
  line-height: 40px;
  background-color: #fff;
}
.leftbar-menu.open .leftbar-submenu {
  display: block;
}
.leftbar-menu.open .leftbar-menu-title:before {
  transform: rotate(0deg);
}
.leftbar-item-title,
.leftbar-menu-title {
  padding: 0 20px;
  cursor: pointer;
}
.leftbar-item-title {
  color: inherit;
  display: block;
}
.leftbar-menu-title::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 5px;
  border-top: 7px solid currentColor;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  vertical-align: 1px;
  transition: transform 0.2s linear 0s;
  transform: rotate(-90deg);
}
.leftbar-submenu {
  display: none;
  transition: height 0.2s linear 0s;
  overflow: hidden;
}
.leftbar-submenu a {
  color: inherit;
  display: block;
  padding: 0 40px;
}
.api-leftbar a:hover {
  background-color: #f3f5f7;
}
.api-leftbar a.active {
  color: #0091ff;
  background-color: #e5f2ff;
  border-right: 3px solid #1372ff;
}
@media (max-width: 992px) {
  .api-leftbar {
    width: 200px;
  }
}
@media (max-width: 768px) {
  .api-leftbar-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 55px;
    z-index: 100;
    width: 100%;
  }
  .api-leftbar-wrap.open .api-leftbar {
    transform: translate(0, 0);
  }
  .api-leftbar {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
    min-height: unset;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.5);
    transform: translate(0, -100%);
    transition: transform 0.2s linear 0s;
  }
  .api-leftbar.open {
    transform: translate(0, 0);
  }
}
/**
 * main
 */
.api-main {
  position: relative;
  top: 55px;
  min-height: 500px;
  min-width: 900px;
  box-sizing: border-box;
  margin-left: 200px;
  padding: 40px 160px;
  overflow: hidden;
  background: white;
}
.api-page-title {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  line-height: 26px;
}
.api-page-title span {
  color: #0091ff;
}
.api-section-hd {
  height: 38px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  line-height: 38px;
  border-bottom: 1px solid #e6e6e6;
  margin: 40px 0 20px 0;
}
.api-title {
  margin: 0 0 20px 0;
  font-size: 16px;
  color: #333333;
  color: #58a;
}
.api-subtitle {
  margin: 0 0 16px 0;
}
.api-desc {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 22px;
}
@media (max-width: 992px) {
  .api-main {
    min-width: unset;
    max-width: 100vw;
    overflow: auto;
    padding: 30px 0;
  }
}
@media (max-width: 768px) {
  .api-main {
    margin-left: 0;
  }
}
/**
 * api-table
 */
.api-table {
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid #eee;
}
.api-table td {
  padding: 12px 8px;
  word-break: break-all;
}
.api-table th {
  padding: 10px;
}
.api-table tbody tr:nth-child(2n + 1) {
  background: #eee;
}
.api-table p {
  margin: 0;
}
.table-indent {
  padding-left: 30px;
}
@media (max-width: 576px) {
  .api-table {
    font-size: 12px;
    width: 100vw;
    margin: 0 -15px;
  }
  .api-table th {
    font-size: inherit;
  }
  .api-table td {
    padding: 10px 5px;
  }
}
/**
 * common
 */
.api-loose {
  line-height: 30px;
}
/**
 * flow-digram
 */
.flow-digram {
  position: relative;
  width: 100%;
  color: #333;
  text-align: center;
}
.flow-end,
.flow-start {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 10px 0;
  font-size: 12px;
  line-height: 25px;
  vertical-align: middle;
  border-radius: 50%;
  border: 1px solid #333;
}
.flow-arrow {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 1px;
  margin: 10px 0;
  vertical-align: middle;
  background-color: #333;
}
.flow-arrow:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid #333;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.flow-process {
  display: inline-block;
  max-width: 250px;
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid #333;
}
@media (max-width: 576px) {
  .flow-digram {
    max-width: 70%;
  }
  .flow-end,
  .flow-start {
    display: block;
    margin: auto;
  }
  .flow-arrow {
    display: block;
    transform: rotate(90deg);
    margin: 40px auto;
  }
  .flow-process {
    display: block;
    margin: auto;
  }
}
/**
 * pre
 */
.api-pre {
  margin: 15px auto;
  padding: 16px;
  font-size: inherit;
  word-break: break-all;
  border: 1px solid #e7eaed;
  background-color: #f8f8f8;
  border-radius: 4px;
}
.api-pre .pre-keyword {
  color: #770088;
}
.api-pre .pre-type {
  color: #008855;
}
.api-pre .pre-func {
  color: #0000ff;
}
.api-pre .pre-string {
  color: #aa1111;
}
