.section > * {
  margin-left: 20px;
}

.section > h1, .section > h2, .section > h3, .section > h4, .section > h5, .section > h6 {
  margin-left: 0;
}

h6 {
  margin-bottom: .5em;
  margin-left: 1ex;
  font-weight: normal;
  font-family: "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
}

.rst-content h1 code, .rst-content h2 code, .rst-content h3 code, .rst-content h4 code, .rst-content h5 code {
  border: 0;
  padding: 0;
  color: #343431;
  background-color: transparent;
}

:target {
  background-color: #fbe54e;
}

a code {
  color: #2980B9 !important;
}

.rst-content a:visited {
  /* Do not highlight visited links differently. */
  color: #2980B9;
}

a[href^="/pyeantic"]:after, a[href^="https://"]:after {
  /* MIT licensed octicon */
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMC42MDQgMWg0LjE0NmEuMjUuMjUgMCAwMS4yNS4yNXY0LjE0NmEuMjUuMjUgMCAwMS0uNDI3LjE3N0wxMy4wMyA0LjAzIDkuMjggNy43OGEuNzUuNzUgMCAwMS0xLjA2LTEuMDZsMy43NS0zLjc1LTEuNTQzLTEuNTQzQS4yNS4yNSAwIDAxMTAuNjA0IDF6TTMuNzUgMkExLjc1IDEuNzUgMCAwMDIgMy43NXY4LjVjMCAuOTY2Ljc4NCAxLjc1IDEuNzUgMS43NWg4LjVBMS43NSAxLjc1IDAgMDAxNCAxMi4yNXYtMy41YS43NS43NSAwIDAwLTEuNSAwdjMuNWEuMjUuMjUgMCAwMS0uMjUuMjVoLTguNWEuMjUuMjUgMCAwMS0uMjUtLjI1di04LjVhLjI1LjI1IDAgMDEuMjUtLjI1aDMuNWEuNzUuNzUgMCAwMDAtMS41aC0zLjV6Ij48L3BhdGg+PC9zdmc+") center right no-repeat;
  content: "";
  padding-left: 2ex;
  background-size: .8em;
}

.wy-nav-side a:after {
  filter: invert(100%);
}

footer {
  display: none;
}

.wy-nav-content { max-width: 1080px; }

li.toctree-l2:first-child {
    display: none;
}

li.toctree-l3:first-child {
    display: none;
}

.wy-nav-side .wy-side-nav-search .logo {
  width: 8em;
}
