/* 1. Enable smooth scrolling */
html {
  scroll-behavior: smooth;
}

#toc-wrapper {
  position: absolute;
  top: 120px;
  width:200px;
  left: 100%;
  min-height: 100%;
}

/* $on-mobile: 768px;
$on-tablet: 769px;
$on-desktop: 1024px;
$on-widescreen: 1152px; */

@media screen and (max-width: 1000px) {
  #toc-wrapper { display: none; }
}
  
/* 3. ScrollSpy active styles (see JS tab for activation) */
.toc li.active > a {
  color: #333;
  font-weight: bold;
}

/* Sidebar Navigation */
.toc {
  font-size: 16px;
  margin-left: 2rem;
  border-left: 2px solid #efefef;
  position: sticky;
  top: 2rem;
}

.toc a {
  text-decoration: none;
  display: block;
  padding: .125rem 0;
  color: #ccc;
  transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.toc a:hover,
.toc a:focus {
  color: #666;
}

#toc-wrapper ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: dashed;
}

#toc-wrapper li::before {
  content: none;
  display: none;
  top: 0px;
  width: 0em;
  position: relative;
  margin-left: 0em;
}

#toc-wrapper li {
  margin-left: 0.5rem;
  display: block;
  margin-right: 0px;
  text-align: justify;
  /* direction */
}
