#toc {
  top: 50px !important;
}

h1, h2, h3, #toctitle, .sidebarblock>.content>.title, h4, h5, h6 {
  margin-top: 0 !important;
  padding-top: 0.75em !important;
}

.main-content {
  width: 100%;
  height: calc(100% - 50px);
  overflow: auto;
  padding-left: 20em;
}

html, body {
  height: 100%;
}

body {
  padding-left: 0 !important;
  overflow: none;
}

.ipsego-navbar {
  height: 50px;
  z-index: 9999;
  background-color: rgb(45, 53, 87);
  display: flex;
  color: #fff;
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 16px;
}

.navbar-menu-toggle {
  display: none;
  padding-right: 20px;
}

.banner {
  padding: 5px 10px;
  height: 100%;
  width: auto;
  object-fit: contain;
}

.navbar-menu {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: end;
  padding-right: 30px;
}

.navbar-menu a, .navbar-menu a:link {
  color: #eee;
  text-decoration: none;
  margin-left: 25px;
}

.navbar-menu a:hover {
  color: #fff;
}

@media (width < 768px) {
  .main-content {
    padding-left: 0;
  }

  .navbar-menu-always-visible {
    flex-direction: row;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .banner {
    height: 40px;
  }

  .navbar-menu-toggle {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: end;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-menu.show {
    display: block;
    position: fixed;
    background-color: rgb(45, 53, 87);
    top: 50px;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  .navbar-menu a {
    display: block;
    margin: 10px 0;
  }
}