body {
    line-height: 1.5;
}

div.body h1 {
    font-size: 120%;
    margin-top: 3rem;
}

/* Spacing adjustments. */
pre {
    padding: 12px;
}
div.bodywrapper {
    margin: 0px;
}
div.body {
    max-width: 100%;
}

div.body h1,
div.body h2,
div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    color: #2980B9;
}

/* Code blocks. */
.highlight {
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    font-size: 1rem;
}

/* Syntax highlighting. */
.highlight .n,
.highlight .p {
    color: #567482;
}
.highlight .nf {
    color: #795da3;
}
.highlight .k,
.highlight .kn {
    color: #a71d5d;
    font-weight: inherit;
}

/* Documentation links. */
a code {
    color: inherit;
}

/* Tabs. */
.sd-tab-set {
    margin: 0px;
}

/* Buttons. */
:root {
    --sd-color-secondary: #6a7e8c;
    --sd-color-secondary-highlight: #7a8e9c;
    --sd-color-tabs-underline: rgba(222, 222, 222, 0);
}
/* "Try this example in your browser" buttons. */
.try_examples_button {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: white;
    background-color: #6a7e8c;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(108,108,108,0.2);
}
.try_examples_button:hover {
    background-color: #7a8e9c;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hero banner. */
div.document {
    margin-top: 0;
}
.title-card {
    background-image: linear-gradient(180deg, #2980B9, #3a4e5c, #4a5e6c);
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    border-radius: 0;
    box-shadow: none;
    border: none;
}
.title-card .sd-container-fluid {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.title-card .tagline p {
    color: #c0c8d0;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Waveform screenshots: extend dark background across full width. */
.image-reference {
    display: block;
    background-color: #000;
    padding: 6px;
    border-radius: 0;
}

/* Hide the sidebar. It may appear as a footer on small screens. */
div.sphinxsidebar {
    height: 0px;
    width: 0px;
    margin: 0px;
    padding: 0px;
}
