.versions select {
  height: 2em;
  line-height: 2em;
  border-radius: 4px;
  background: #efefef;
}

.page-toc {
  float: right;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 3px;
  padding: 20px !important;
  font-size: smaller;
  position: fixed;
  top: 100px;
  right: 60px;
  z-index: 1;
}

@font-face {
  font-family: 'SofiaPro';
  src: url('../fonts/sofiapro/SofiaProRegular-webfont.eot');
  src: url('../fonts/sofiapro/SofiaProRegular-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/sofiapro/SofiaProRegular-webfont.woff2') format('woff2'),
    url('../fonts/sofiapro/SofiaProRegular-webfont.woff') format('woff'),
    url('../fonts/sofiapro/SofiaProRegular-webfont.ttf') format('truetype'),
    url('../fonts/sofiapro/SofiaProRegular-webfont.svg#sofia_pro_regularregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SofiaPro';
  src: url('../fonts/sofiapro/SofiaProBold-webfont.eot');
  src: url('../fonts/sofiapro/SofiaProBold-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/sofiapro/SofiaProBold-webfont.woff2') format('woff2'),
    url('../fonts/sofiapro/SofiaProBold-webfont.woff') format('woff'),
    url('../fonts/sofiapro/SofiaProBold-webfont.ttf') format('truetype'),
    url('../fonts/sofiapro/SofiaProBold-webfont.svg#sofia_probold') format('svg');
  font-weight: bold;
  font-style: normal;
}



/* Colors near of "graphical chart" of Poppy Project */
.markdown-section * {
  /* black poppy */
  color: #0a0a0a;
}

.markdown-section h1 {
  color: #73bbba;
}

.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5 {
  /* bleu foncé logo */
  color: #27506E;
}

.markdown-section a {
  color: #326481;
}

.markdown-section a:hover {
  color: #8a8a8a;
}


/* For better integration of https://github.com/erixtekila/gitbook-plugin-richquotes*/
/*a.plugin-anchor span {
    font-size: 15px !important;
  }*/

blockquote.alert {
  padding-left: 0 !important;
  background-color: #f7f7f7;
  color: inherit !important;
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
}

blockquote.alert-info {
  background-color: rgba(104, 175, 176, 0.5) !important;
  border-color: rgb(104, 175, 176) !important;
}

blockquote.alert-success {
  background-color: #f3f8ee !important;
  border-color: #77ac45 !important;
}

blockquote.alert-warning {
  background-color: rgba(239, 146, 82, 0.8) !important;
  border-color: #rgb(239, 146, 82) !important;
}

blockquote.alert-danger {
  background-color: #faeeee !important;
  color: #c33 !important;
  border-color: #c33 !important;
}

/*blockquote.alert > strong {
      width: 60px;
      height: auto;
      margin-right: 0;
      padding-top: 12px;
      font-size: 2em !important;
  }
  
  blockquote.alert > p {
      margin-left: 60px;
      margin-bottom: 15px !important;
  }
  
  blockquote.alert p a {
      text-decoration: underline !important;
  }*/


/** Table of contents styling **/
.page-toc {
  float: none;
  padding: 10px !important;
  /*width: 280px;*/
  font-size: inherit;
}

.page-toc ul {
  margin-bottom: 0;
}

.page-toc ul ul {
  padding-left: 25px;
}

.page-toc ul ul li {
  list-style-type: disc;
  /*font-size: smaller;*/
  padding-top: 2px;
}

.page-toc::before {
  content: "In this section";
  font-weight: normal;
  /*font-size: smaller;*/
}

/** Disable font settings plugin in the top header **/
.font-settings {
  display: none;
}


/** SUMMARY headings **/



.book.with-summary .book-body {
  left: 25vw;
}

li.header:hover {
  text-decoration: underline;
}

li.chapter span:hover {
  text-decoration: underline;
}


.page-wrapper {
  padding-top: 10px;
}



.markdown-section blockquote {
  padding-top: 18px !important;
  padding-left: 25px !important;
}

/*.markdown-section code, .markdown-section pre {
    font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
  }*/

pre.language- {
  padding: 2em;
  border-radius: 4px;
  overflow: scroll;
}

pre {
  overflow: scroll;
}

section.normal.markdown-section p,
blockquote,
ul,
ol {
  max-width: 750px !important;
}

nav {
  padding-left: 20px;
}


.markdown-section {
  padding: 0px;
  padding-top: 30px;
  padding-bottom: 30px;
}

/** Image styling to center align **/
img {
  display: block;
  margin: auto;
}

/* Hide GitBook link (keep it white for they pagerank) */
a.gitbook-link {
  color: white;
  opacity: 0;
}

/* Hide custom-link (head of SUMMARY, appear only on doc built by gitbok ci) */
a.custom-link {
  display: none !important;
}

.divider {
  display: none !important;
}

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


/** have a try */

#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>li {
  padding-left: 0px;
  position: relative;
}

#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;
}

ul.summary>li.chapter>span,
ul.summary>li.chapter>a {
  font-weight: bold;
  font-size: 16px;
}

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: #3954e6;
  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>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(0, 0, 0, .88);
  transition: all .2s ease;
  border-radius: 6px 6px 0 0;
}

.gbcg .gbcg-selector:hover {
  color: rgba(142, 196, 25, 1) !important;
}

.gbcg .gbcg-selector.gbcg-active {
  color: #8fc419 !important;
}

.gbcg-tab-selectors {
  border-bottom: none;
}


.markdown-section pre {
  border-radius: 0 0 6px 6px;
}

.navigation {
  display: block;
  top: 50%;
  bottom: auto;
  width: 60px;
  height: 60px;
  min-height: auto;
  min-width: auto;
  border-radius: 50%;
  line-height: 1;
  overflow: hidden;
  background-color: #fafafa;
  padding: 10px 0;
}

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

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

.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;
}
