:root {
  --doc-sidebar-width: 300px;
  --doc-sidebar-hidden-width: 30px;
}

.docSidebarContainer {
  display: none;
}

.sidebarHeader {
  position: sticky;
  top: 0;
  height: var(--ifm-navbar-height);
  border-right: 1px solid var(--ifm-toc-border-color);
  border-bottom: 1px solid var(--ifm-toc-border-color);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
}

.sidebarLogo img {
  display: block;
}

@media (min-width: 997px) {
  .docSidebarContainer {
    display: block;
    width: var(--doc-sidebar-width);
    margin-top: calc(-1 * var(--ifm-navbar-height));
    will-change: width;
    transition: width var(--ifm-transition-fast) ease;
    clip-path: inset(0);
  }

  .docSidebarContainerHidden {
    width: var(--doc-sidebar-hidden-width);
    cursor: pointer;
  }

  .sidebarViewport {
    top: var(--ifm-navbar-height);
    position: sticky;
    height: calc(100vh - var(--ifm-navbar-height));
    max-height: calc(100vh - var(--ifm-navbar-height));
    border-right: 1px solid var(--ifm-toc-border-color);
    margin-top: calc(var(--bentoml-body-offset) + var(--ifm-navbar-height));
  }

  .docSidebarHideOnScrollOffset {
    margin-top: var(--bentoml-body-offset);
  }
}
