:root {
  --shell-border: #cfd7df;
  --shell-nav-bg: #0e4f7a;
  --shell-nav-item: #106495;
  --shell-nav-item-hover: #0d567f;
  --shell-nav-text: #ffffff;
}

body.shell2 {
  margin: 0;
  background: url("../bg.gif") repeat;
}

.shell2-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 100vh;
}

.shell2-sidebar {
  background: var(--shell-nav-bg);
  color: var(--shell-nav-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  padding: 12px 0;
  border-right: 1px solid var(--shell-border);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.shell2-sidebar h3 {
  margin: 0;
  padding: 0 8px 10px;
  font-size: 14px;
  color: var(--shell-nav-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.shell2-sidebar a,
.shell2-sidebar button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 7px 8px;
  text-align: left;
  font: inherit;
  color: var(--shell-nav-text);
  background: var(--shell-nav-item);
  text-decoration: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

/* `font: inherit` on links makes `font-style` normal, which Italic children would inherit. */
.shell2-sidebar a i,
.shell2-sidebar a em {
  font-style: italic;
}

.shell2-sidebar a.shell2-subitem {
  display: none;
  padding-left: 20px;
  background: #0f5f8e;
}

.shell2-sidebar a.shell2-subitem.shell2-subitem-visible {
  display: block;
}

.shell2-sidebar a:hover,
.shell2-sidebar button:hover {
  background: var(--shell-nav-item-hover);
  text-decoration: none;
}

.shell2-content {
  padding: 12px 16px 6rem;
  background: transparent;
}

.shell2-mobile-toggle {
  display: none;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  font: inherit;
  color: var(--shell-nav-text);
  background: #0b4368;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

@media (max-width: 700px) {
  .shell2-layout {
    grid-template-columns: 1fr;
  }

  .shell2-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--shell-border);
  }

  .shell2-mobile-toggle {
    display: block;
  }

  .shell2-sidebar[data-collapsed="true"] .shell2-mobile-target {
    display: none;
  }
}
