.article-section { scroll-margin-top: 6.5rem; }
.article-section + .article-section { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e6e6e6; }
.article-index a.toclink.active { font-weight: 700; }
#g-main .item-page .article-index-slot,
#g-main .item-pagepagelink .article-index-slot {
  flex: 0 0 25%;
  order: 2;
  position: relative;
  align-self: stretch;
}
#g-main .item-page .article-index-slot ~ .articleBody,
#g-main .item-pagepagelink .article-index-slot ~ .articleBody {
  flex: 0 0 70%;
  order: 1;
  border: 5px solid #00bde2;
  padding: 15px;
}
#g-main .item-page .article-index-slot ~ .articleBody .pagenavcounter,
#g-main .item-pagepagelink .article-index-slot ~ .articleBody .pagenavcounter,
#g-main .item-page .article-index-slot ~ .articleBody .pager,
#g-main .item-pagepagelink .article-index-slot ~ .articleBody .pager {
  display: none;
}
@media (min-width: 768px) {
  #g-main .item-page .article-index-slot .article-index,
  #g-main .item-pagepagelink .article-index-slot .article-index {
    position: absolute;
    top: 0;
    left: 1rem;
    right: 0;
    width: auto;
    float: none;
    margin: 0;
    max-height: calc(100vh - 5.75rem);
    overflow-y: auto;
    background: #fff;
    z-index: 5;
  }
  #g-main .item-page .article-index-slot .article-index.is-fixed,
  #g-main .item-pagepagelink .article-index-slot .article-index.is-fixed {
    position: fixed;
    right: auto;
  }
  #g-main .item-page .article-index-slot .article-index.is-bottom,
  #g-main .item-pagepagelink .article-index-slot .article-index.is-bottom {
    top: auto;
    bottom: 0;
  }
}
