/* Restore the compact, bulleted document toctree used with Sphinx 3. */
.rst-content .toctree-wrapper ul {
  line-height: 1.25;
  list-style: disc outside;
  margin-bottom: 12px;
}

.rst-content .toctree-wrapper ul ul {
  margin-bottom: 0;
}

.rst-content .toctree-wrapper li {
  display: list-item;
  list-style: disc outside;
  margin-left: 24px;
}

.rst-content .toctree-wrapper li li {
  list-style-type: circle;
}

.rst-content .toctree-wrapper li li li {
  list-style-type: square;
}

.rst-content .toctree-wrapper li > p {
  margin-bottom: 0;
}

/* Sphinx 4+ uses <section> instead of <div class="section">. */
.rst-content section ul {
  line-height: 1.25;
  list-style: disc outside;
  margin-bottom: 12px;
}

.rst-content section ul li {
  display: list-item;
  list-style: disc outside;
  margin-left: 24px;
}

.rst-content section ul li li {
  list-style-type: circle;
}

.rst-content section ul li li li {
  list-style-type: square;
}

.rst-content section ul li > p {
  margin-bottom: 4px;
}

.rst-content section ul li > p:last-child {
  margin-bottom: 8px;
}
