div.body p,
div.body dd,
div.body li,
div.body blockquote {
    -moz-hyphens: none;
    -ms-hyphens: none;
    -webkit-hyphens: none;
    hyphens: none;
}

/*
    apply format to code definitions (items within ``<code>``),
    but don't match other code elements generated by autodoc of source code
*/
code.docutils.literal:not(.xref) {
    /* same as original */
    color: #222222;
    font-size: 1.1em;
    font-family: monospace;

    /* overrides and additions */
    background-color: #DBDBDD;  /* slightly darker than original to make more obvious */
    padding: 0.1em;             /* pad so that background color encapsulate letters going 'lower' (eg: g, j, y) */
    white-space: nowrap;        /* don't allow breaking on non-word items such as dot in value */
}

/*
    Force table list summary of package functions to be better aligned such that they don't overflow on the page
    when long list of parameters and type hints make their definitions very long.
*/
#functions > table {
    word-wrap: anywhere;
}

#functions > table > colgroup > col {
    width: 75% !important;  /* need to make important as style is defined inline */
}

/* imitate the automatically generated container by directive code-block */
div.bordered-caption {
    background-color: #DDDDDD;
    border: 1px solid #C6C9CB;
    padding: 0 1em 1em 0;
    font-size: small;
}

div.bordered-caption > p {
    margin: 0 0 0 0.25em;
}

div.bordered-content {
    border: 1px solid #C6C9CB;
    padding: 0 1em 1em 0;
}

/* apply the parent list number prefixed to the current list numbers
    https://stackoverflow.com/a/13841818
*/
div.parent-list-numbers ol {
    counter-reset: item;
}

div.parent-list-numbers ol li {
    counter-increment: item;
}

div.parent-list-numbers ol ol > li::before {
    content: counters(item, ".") ")";
    margin-left: -3em;
}

div.parent-list-numbers > ol > li > ol > li {
    list-style: none;
    display: inline-flex;
    display: -webkit-box;
}
