#morningstar-data-versions-dropdowns>h3 {
    box-sizing: border-box;
    display: inline-block;
    line-height: var(--sidebar-item-line-height);
    text-decoration: none;
    margin-top: 0;
    height: 100%;
    width: 100%;
    padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal);
    font-weight: normal;
}

#morningstar-data-versions-dropdowns>label>.icon {
    color: white;
}

/* display the morningstar-data version tags in descending order */
#version-tag-list {
    transform: rotate(180deg);
}

#version-tag-list>li {
    transform: rotate(-180deg);
}

.current-tag {
    color: #2b8cee !important;
}

span.versionmodified.added::before {
    content: "ⓘ";
    display: inline-block;
    margin-bottom: 2px;
    margin-right: 0.4em;
    color: #4caf50;
    vertical-align: middle;
    font-style: normal;
}

div.versionadded {
    background-color: #e7f4e4;
    border-left: 4px solid #4caf50;
    padding: 5px 10px;
    margin: 1em 0;
}

span.versionmodified.added {
    font-weight: bold;
    color: #2e7d32;
}

a {
    text-decoration-style: dotted;
}

a:hover,
a:hover:visited {
    border-color: #006fba;
    color: #006fba;
}

a:focus {
    box-shadow: none;
}

article table.align-default {
    margin-left: 0;
}

th.head {
    font-weight: normal;
}

/* This wild selector helps us indent lists which are part of paragraph text
   and not standalone list page sections like function param lists */
dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) .field-list dd>ul:not(:first-child) {
    margin-left: 1.2px;
}

/* Params/Returns/etc headers under function defs */
dl.field-list dt {
    font-weight: bold;
}

dl.field-list dt .colon {
    display: none;
}

.sidebar-tree:first-child {
    margin-bottom: 0;
}

.sidebar-tree:not(:first-child) {
    margin-top: 0;
}

.sidebar-tree .reference {
    font-size: 14px;
    line-height: 18px;
}

.sidebar-tree .reference:hover {
    color: #006fba;
}

.sidebar-tree .versions .label {
    box-sizing: border-box;
    display: inline-block;
    line-height: 18px;
    height: 100%;
    width: 100%;
    padding: 8px 32px 8px 16px;
}

.sidebar-tree .current>.reference,
.sidebar-tree .current>.reference:hover {
    background: none;
}

.toc-drawer {
    background-color: var(--color-background-secondary);
    border-left: 1px solid var(--color-background-border);
}

@media (min-width: 83em) {
    .toc-drawer {
        /* Use all remaining right-side space to avoid line-splitting long func names
           and having the background create a vertical bar */
        min-width: 15em;
        width: 100%;
    }
}

.toc-tree {
    border: none;
}

.toctree-l1>.reference {
    font-weight: unset;
}

.theme-toggle {
    display: none;
}

/* Function signatures */
.sig-prename,
.sig-name {
    color: #2a5adf;
}

.sig-object dl {
    margin: 5px 0;
}

.sig:not(.sig-inline) {
    font-weight: normal;
    text-indent: 0;
    margin-bottom: 1em;
}

@media (prefers-color-scheme: dark) {

    .sig-prename,
    .sig-name {
        color: #008dde;
    }
}
