html {
    --pst-icon-external-link: "";
}

p + div.math {
    /* Remove post-paragraph space ahead of equation to center vertically */
    margin-top: -1.15em;
}

.bd-header .navbar-header-items__center, .bd-header .navbar-header-items__end {
    /* Remove space between manually-inserted header items and Sphinx-generated ones */
    column-gap: 0;
}

/* Make extra room for header section links when page isn't wide enough */
@media(max-width: 1199.88px) {
    /* Collapse search field to just a button */
    button.search-button-field .search-button__default-text {
        display: none;
        visibility: hidden;
    }
    .search-button-field > :not(svg) {
        display: none;
        visibility: hidden;
    }

    /* Hide text portion of the Cantera logo */
    .navbar-brand img {
        width: 36px;
        object-fit: cover;
        object-position: left
    }
}

.mermaid {
    text-align: center;
 }

.theme-switch-button span {
    padding: 1.6em;
}

/* Make "tip" background color different from "versionadded" */
.admonition.tip,
div.admonition.tip {
  border-color:var(--pst-color-info)
}
.admonition.tip>.admonition-title:before,
div.admonition.tip>.admonition-title:before {
  background-color:var(--pst-color-info-bg);
}
.admonition.tip>.admonition-title:after,
div.admonition.tip>.admonition-title:after {
  color:var(--pst-color-info);
  content:var(--pst-icon-admonition-tip)
}

#logo { width: 250px; }
#cards { padding-bottom: 5%; }
.jumbotron-text { text-align: center; padding-bottom: 16px; font-size: 1.5rem; font-weight: 500; }
.jumbotron { background-color: white; margin-top: 30px; margin-bottom: 48px; padding: 0 0; }
.img-container { text-align: center; }

a.headerlink { visibility: hidden; padding: 0 4px 0 4px; }
h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink {
    visibility: visible;
}

.example-header { padding: 20px 0; }
.example-row { padding-bottom: 20px; }

.tutorials { margin: 40px 0; padding: 0 0 !important; }

section { margin-top: 20px; margin-bottom: 20px; padding: 0 0; }

a.docs:hover { background-color: #007994; color: #ffffff; }
a.docs, a.dev-docs, a.release-notes { color: #000000; }
a.dev-docs:hover { background-color: #fd7f03; color: #ffffff; }
a.release-notes:hover { background-color: #c80202; color: #ffffff; }

.row { margin: 0 0 20px; }

a > tt {
    color: inherit;
}

.section-card {
    font-size: 1.25rem;
    font-weight: 500;
}

.footer li {
    display: inline-block;
    text-decoration: none;
}
.footer li::after {
    content: " |";
}
.footer li:last-of-type::after {
    content: "";
}
.footer-text {
    margin-left: 0;
    padding-left: 0;
}
