/* Have contents take up entire browser window width. */
.wy-nav-content {
    max-width: none !important
}

.wy-side-nav-search .version {
    color: #000000 !important;
}

.wy-side-nav-search>div.switch-menus>div.version-switch select {
    color: #000000;
}

/* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal !important;
}

.wy-table-responsive {
    overflow: visible !important;
}

.custom-code-block {
    border: 1px solid #CCCCCC;
    background-color: #F9F9F9;
    padding: 10px;
    font-family: monospace;
    overflow: auto;
}

/* https://github.com/readthedocs/sphinx_rtd_theme/issues/1301#issuecomment-1876120817 */
.py.property {
    display: block !important;
}

/* Tighten the result_action reference table (issue #896). The RTD theme wraps
   each code sample in a bordered box with a large 24px bottom margin, which
   pools whitespace at the bottom of every row. Drop the box and the extra
   margins so the code sits flush with the rest of the row. Scoped to this one
   table via :class: result-action-modes so other code blocks are unaffected. */
.rst-content table.result-action-modes td,
.rst-content table.result-action-modes th {
    padding: 6px 10px;
    vertical-align: top;
}
.rst-content table.result-action-modes td p {
    margin-bottom: 0;
}
.rst-content table.result-action-modes div[class^="highlight"],
.rst-content table.result-action-modes div[class^="highlight"] pre {
    /* The theme sets overflow-x:auto here; leaving overflow-y unset makes the
       browser force it to auto too (CSS spec), which fires a spurious vertical
       scrollbar on single-line cells from subpixel line-height rounding. Pin
       overflow-y:hidden on BOTH the wrapper div and the pre so only horizontal
       scrolling (for the odd long line) remains. */
    overflow-x: auto;
    overflow-y: hidden;
}
.rst-content table.result-action-modes div[class^="highlight"] {
    margin: 0;
    border: none;
    background: transparent;
}
.rst-content table.result-action-modes div[class^="highlight"] pre {
    padding: 0;
    background: transparent;
}

/* Make links blue inside code blocks to make it clear they are links. */
.rst-content a > code.literal {
    color: unset;
}
.rst-content a > code.xref {
    color: unset;
}
