@media only screen and (max-width: 1299px) {
  aside.toc-nav {
    max-width: 45px;
    opacity: 0.6;
    right: 0 !important;
    margin-right: 0 !important;
    background: #fff;
  }
  aside.toc-nav:hover {
    max-width: inherit;
    opacity: 1;
  }
}

@media only screen and (min-width: 1300px) {
  section.content {
    padding-right: 130px;
  }
}

aside.toc-nav {
  position: fixed;
  top: 50px;
  right: 20px;
  width: 150px;
  z-index: 999999;
  align-self: flex-start;
  flex: 0 0 auto;
  overflow-y: auto;
  max-height: 70%;
  font-size: 12px;
}

aside.toc-nav.nothing {
  width: 0;
}

.page_toc {
  position: relative;
  left: 0;
  margin: 10px 0;
  border: none;
  font-size: 1.0em;
}

.page_toc p.title {
  margin: 0;
  padding-bottom: 5px;
  font-weight: 600;
  font-size: 1.2em;
}

.page_toc .anchor:hover:after {
  content: "";
}
.page_toc div[class^="lv"] a:hover span {
  color: var(--sidebar-nav-link-color--active, #42b983);
}

.page_toc div {
  border-left: 2px solid #F5F7FA;
  text-indent: 10px;
  padding: 2px 0;
  cursor: pointer;
}

.page_toc div.active {
  border-left-color: #EB2D17;
  transition: border-left-color 0.23s;
  color: #EB2D17;
}

.page_toc div.active a.anchor span {
  color: #EB2D17;
  transition: color 0.23s;
}

.page_toc div[class^="lv"] a {
  color: var(--text-color-base, black);
  text-decoration: none;
  font-weight: 400;
  line-height: 2em;
  display: block;
}

.page_toc div[class^="lv"] a span {
  color: var(--sidebar-nav-link-color--hover, var(--sidebar-nav-link-color));
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow:ellipsis;
}

.page_toc div[class^="lv"] a span:hover {
  color: #EB2D17;
}

.page_toc div.lv2 {
  text-indent: 20px;
}

.page_toc div.lv3 {
  text-indent: 12px;
}

.page_toc div.lv4 {
  text-indent: 40px;
}

.page_toc div.lv5 {
  text-indent: 50px;
}

.page_toc div.lv6 {
  text-indent: 60px;
}