.toc-wrapper {
  transform: scaleY(0);
  transform-origin: top;
  position: relative;
  background-color: white;
  z-index: -10;
}

.toc-hover {
  position: relative;
  height: 8rem;
  width: 15vw;
  background-image: url('/static/static/jscript/plugins/NToc/NToc.png');
  background-size: 180%;
}

.nolis-toc li > a {
  color: var(--np-font-color);
}

.toc-hover-active {
  background-color: transparent;
  background-image: none;
}

.toc-headline {
  margin: 0;
  padding: 1rem 0;
}

div:has(>.nolis-toc) {
  overflow: auto;
  border-bottom: 1px solid lightgrey;
  height: calc(var(--toc-height-default) - var(--toc-height-offset, 0px));
  padding: 1rem 0;
}

.toc-sticky {
  position: fixed;
  top: var(--toc-fixed-pos);
  width: 53.4375rem;
  z-index: 5;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--np-color-gray-50);
  padding: .5rem 1rem;
  position: relative;
}

.toc-header > h4 {
  margin: 0;
}

.toc-header > a::before {
  content: "";
  cursor: pointer;
  display: inline-block;
  font-family: "Font Awesome 6 Pro";
  font-size: 1.8rem;
}

.toc-open {
  transform: scaleY(1);
  z-index: 5;
  transition: transform 0.25s ease-in-out, box-shadow .25s ease-in-out, z-index .1s cubic-bezier(1, 0, 1, 0);
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  width: 53.4375rem;
}

/* für header position fixed */
/*
div#head {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  background-color: white;
  z-index: 5;
  height: 8.4375rem;
}

html {
  scroll-padding-top: 8.4375rem;
}
*/