/* To stick the footer to the bottom of the page */
html {
}

body {
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-size: 1.05em;
}

h1, h2, h3, h4 {
    font-weight: normal;
    font-family: "Atkinson Hyperlegible", sans-serif;
}

/* Set the header font sizes */
h1 {
    font-size: 200%;
}

h2 {
    font-size: 185%;
}

h3 {
    font-size: 150%;
}

h4 {
    font-size: 130%;
}

p {
    font-size: 1.05em;
}

.sidebar-title {
    margin-top: 10px;
    margin-bottom: 0px;
}

.banner {
    padding-bottom: 60px;
    text-align: center;
}

.banner h1 {
    margin-top: 40px;
    font-size: 4em;
}

.wy-nav-content {
    max-width: 1000px;
}

/* Compatibility with sphinx_rtd_theme v3.x.x */
/* https://github.com/TexasInstruments/processor-sdk-doc/commit/4fa6276ddcf7f9db919af2e5b3aec7e70a1afa16 */
.wy-side-nav-search>div.version {
    margin-top: -.4045em;
    margin-bottom: .809em;
    font-weight: 400;
    color: hsla(0, 0%, 100%, .3);
}

/* Format parameters section similar to sphinx_rtd_theme v4.x.x (not a grid) */
html.writer-html5 .rst-content dl.field-list {
    display: initial;
}

/* Add a grey box around parameters similar to sphinx_rtd_theme v4.x.x) */
.rst-content dl:not(.docutils) dl dt {
    margin-bottom: 4px;
    border: none;
    border-left: solid 3px #ccc;
    background: #f0f0f0;
    color: #555;
}

.rst-content dl:not(.docutils) dt {
    display: table;
    margin: 6px 0;
    font-size: 90%;
    line-height: normal;
    background: #e7f2fa;
    color: #2980B9;
    border-top: solid 3px #6ab0de;
    padding: 6px;
    position: relative;
}

/* Remove the padding from the Parameters table */
.rst-content table.field-list .field-name {
    padding-left: 0px;
}

/* Lign up the Parameters section with the descriptions */
.rst-content table.field-list td {
    padding-top: 8px;
}

.rst-content .highlight > pre {
    font-size: 14px;
}

.source-link {
    float: right;
}

/* Don't let the edit and notebook download links disappear on mobile. */
@media screen and (max-width: 480px) {
    .wy-breadcrumbs li.source-link {
        float:none;
        display: block;
        margin-top: 20px;
    }
}

/* Atkinson Hyperlegible regular */
@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("./fonts/Atkinson-Hyperlegible-Regular-102a.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Atkinson Hyperlegible bold */
@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("./fonts/Atkinson-Hyperlegible-Bold-102a.woff2") format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Atkinson Hyperlegible italic */
@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("./fonts/Atkinson-Hyperlegible-Italic-102a.woff2") format('woff2');
    font-weight: normal;
    font-style: italic;
}

/* Atkinson Hyperlegible bold italic */
@font-face {
    font-family: "Atkinson Hyperlegible";
    src: url("./fonts/Atkinson-Hyperlegible-BoldItalic-102a.woff2") format('woff2');
    font-weight: bold;
    font-style: italic;
}

/* Style for images and thumbnails of sphinx-gallery */
.sphx-glr-thumbcontainer {
    border: solid #d6d6d6 1px!important;
    text-align: center!important;
    min-height: 240px!important;
    min-width: 180px!important;
}

.sphx-glr-thumbcontainer img {
    max-width:95%!important;
}

.sphx-glr-single-img {
    max-width: 80%!important;
}

/*
 * Styles for aligning table cells.
 * https://myst-parser.readthedocs.io/en/latest/syntax/tables.html#markdown-syntax
 */
th.text-left, td.text-left {
    text-align: left !important;
}

th.text-center, td.text-center {
    text-align: center !important;
}

th.text-right, td.text-right {
    text-align: right !important;
}

.std-term {
	font-weight: 600;
}
