body {
  font-size: 1rem;
  line-height: 1.5;
}
.toc,
.toc * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.toc {
  padding: 1rem 0;
  width: 100%;
  max-width: 350px;
  margin: 1rem 0;
  color: #333;
  position: relative;
  background: #fff;
}
.toc.shadow {
  -webkit-box-shadow: 0 0 0.5rem #eee;
  box-shadow: 0 0 0.5rem #eee;
}
.toc.toc-fixed {
  position: fixed;
  top: 24px;
  z-index: 10;
}
.toc-hightlight {
  width: 100%;
  background: #eee;
  position: absolute;
  left: 0;
  top: 0;
  border-left: 3px solid #3498db;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.toc-brand {
  padding: 0 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: inherit;
  white-space: nowrap;
  display: block;
  width: 100%;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.toc,
.toc .toc-brand {
  -webkit-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.toc.toc-hidden {
  width: 0;
}
.toc.toc-hidden .toc-brand {
  padding: initial;
}
.toc-navbar {
  position: relative;
  display: block;
  scroll-behavior: smooth;
}
.toc-navbar::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: #ccc;
  border-radius: 6px;
}
.toc-navbar::-webkit-scrollbar-track-piece {
  background-color: #fff;
  border-radius: 0;
}
.toc-navbar::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
.toc-navbar::-webkit-scrollbar-thumb:vertical {
  height: 50px;
  background-color: #999;
  border-radius: 4px;
  outline: #fff solid 2px;
  outline-offset: -2px;
  border: 2px solid #fff;
}
.toc-navbar::-webkit-scrollbar-thumb:hover {
  height: 50px;
  background-color: #9f9f9f;
  border-radius: 4px;
}
.toc-nav {
  display: block;
  padding-left: 0;
  margin-bottom: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.toc-link {
  display: block;
  padding: 0.2rem 1.7rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #555;
  position: relative;
}
.toc-link:before {
  content: " ";
  height: 0.25rem;
  width: 0.25rem;
  background: #555;
  position: absolute;
  top: 0.8rem;
  left: 1rem;
}
.toc-link.active:before,
.toc-link:hover:before {
  background: #3498db;
}
.toc-link.active,
.toc-link:hover {
  color: #3498db;
}
.toc-link.ml-1 {
  margin-left: 1rem !important;
}
.toc-link.ml-2 {
  margin-left: 2rem !important;
}
.toc-link.ml-3 {
  margin-left: 3rem !important;
}
.toc-link.ml-4 {
  margin-left: 4rem !important;
}
.toc-link.ml-5 {
  margin-left: 5rem !important;
}
.toc-link.ml-6 {
  margin-left: 6rem !important;
}
