a {
  color: #26b079;
}

div.content {
  margin-bottom: 70px;
}

.toctree-l1 a:active, .toctree-l1 a:hover {
  background-color: #676767;
}

.sidebar-logo {
  max-width: 40%;
}

.sidebar-drawer {
  width: calc(50% - 25em);
  min-width: 22em;
}

.sidebar-drawer .sidebar-container {
  width: 23em;
}

li.toctree-l2 {
  font-size: 80%;
}

div.sponsorship {
  position: fixed;
  bottom: 15px;
  z-index: 10000;
  right: 20px;
}

.sponsorship button {
  background: var(--color-code-background);
  border: 1px solid var(--color-sidebar-background-border);
  color: var(--color-code-foreground);
  width: auto;
  height: 40px;
  width: 100px;
  font-size: 0.9em;
}

.sponsorship button:hover {
  cursor: pointer;
}

.sponsorship button i {
  color: rgb(236, 132, 150);
  padding-right: 5px;
}

.rst-versions.rst-badge {
  bottom: 75px !important;
  max-width: fit-content !important;
}

/* tabbed content */
.tabbed-set>label {
  color: #9ad8bf;
  border-color: var(--tabs-color-overline);
}

.tabbed-set>label:hover {
  color: #26b079 !important;
}

.tabbed-set>input:checked+label {
  color: #26b079;
  border-color: #26b079;
}


@media (max-width: 67em) {
  .sidebar-drawer {
    width: 22em;
    left: -22em;
  }
  .sidebar-drawer .sidebar-container {
    width: 22em;
  }
  li.toctree-l2 {
    font-size: 75%;
  }
}

/* autosummary table text */
article .align-center, article .align-default {
  text-align: left;
}

/* make font size of API reference smaller */
section[id^=pandera-]:not([id=pandera-data-types]) h1  {
  font-size: 1.75em;
}
