.logo {
  max-width: 32px;
  display: inline-block!important;
}

.voxpupuli-intro {
  background: url('/static/images/blue-skies.jpg');
  background-size: cover;
  background-position: 50%;
}

.voxpupuli-intro .row h1 {
  text-align: center;
}

/* keep the long heading from disrupting flow if it wraps at narrow widths */
.voxpupuli-intro .row .panel-heading {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-body .github-stat {
  font-size: 1.25em;
  line-height: 1.4em;
}

/* minimal styling for the docs index page listing */
ul.docs-index {
  list-style-type: none;
  padding-left: 0;
}

ul.docs-index h3 {
  margin: 0;
}

ul.docs-index li {
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 0.5em;
}
ul.docs-index li:hover {
  border: 1px solid #ccc;
  background-color: #fefefe;
}

/* make the breadcrumb position match the right nav list, but pinned to the bottom */
.navbar-left {
  clear: left;
  padding-top: 30px;
}

/* The unstyled list actually looks better on mobile. This width matches the
   `navbar-expand-lg` parent class. If you change that, then change this to match.
    See https://getbootstrap.com/docs/5.0/layout/breakpoints/#available-breakpoints
 */
@media (min-width: 991.98px) {
  .navbar .submenu {
    position: relative;
    display: inline-block;
    min-width: 8em;
  }
    .navbar .submenu .nav-header {
      display: inline-block;
      padding: 0.5em;
    }
    .navbar .submenu .submenu-content {
      display: none;
      position: absolute;
      z-index: 100;
      background-color: #3d8bfd;
      min-width: 15em;
      padding-left: 0.25em;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    }
    .navbar .submenu .submenu-content li {
      list-style-type: none;
    }
    .navbar .submenu .submenu-content li i {
      min-width: 1.25em;
    }
    .navbar .submenu:hover .submenu-content {
      display: block;
    }
    .navbar .submenu:hover .nav-header {
      background-color: #3d8bfd;
    }
}

div.mermaid {
  border: 1px solid #aaa;
  background-color: white;
  border-radius: 3px;
  padding: 1em;
  margin: 1em;
  box-shadow: 2px 2px 4px #ccc;
}

body {
  background-color: #f5f5f5;
}
ol.breadcrumb {
  padding: 0;
}
section.content {
  background-color: #eee;
}
#footer {
  padding-top: 1em;
  margin-top: 1em;
  font-size: small;
}
.row {
  margin: 1em 0;
}
.card {
  margin: 1em 0;
}

.callout {
  width: 45%;
  float: right;
  font-style: italic;
}

blockquote {
  border-left: 4px solid #c1c1c1;
  padding-left: .5em;
}

.overlaytable {
  position: absolute;
  top: 40cqw;
  left: 20cqw;
  max-width: 60cqw;
  padding: 1em;
  border-spacing: 0.25em 0;
  border-collapse: separate;
  border-radius: 1em;
}

/* bootstrap customizations */
.w-33 {
    width: 33%!important;
}

/* match <p> styling */
table {
  margin-bottom: 1rem;
}

div.highlighter-rouge {
    background-color: white;
    padding: 1em;
    text-wrap: wrap;
}
