/* Page-content styles shared by the three products. The theme's own colours,
   fonts and layout are in theme.css. */

.document .section:not(:last-child) {
  margin-bottom: 24px;
}

/* Table Of Content */

.custom-table-of-contents ul {
  list-style-type: decimal !important;
}

.custom-table-of-contents ul li {
  list-style-type: decimal !important;
}

.specific-figure img {
  height: auto !important;
  max-width: 100% !important;
  max-height: 500px !important;
  width: auto !important;
  display: block;
  margin: 0 auto;
  padding: 0;
  border: none;
}

/* Package badge, from {only-in}`non-gpl` (shared/_ext/package_badge.py) */

.package-badge {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid #2980b9;
  border-radius: 3px;
  background: #e7f2fa;
  color: #2980b9;
  font-size: 75%;
  font-weight: 700;
  line-height: 1.6;
  vertical-align: middle;
  white-space: nowrap;
}

.package-badge a,
.package-badge a:visited {
  color: inherit;
}

.package-badge:hover {
  background: #2980b9;
  color: #fff;
}
