/* Style the photos in the team cards with wrap around text */

img.team-photo {
    float: left;
    width: 60px;
    padding-right: 10px;
    background-color: transparent !important;
}

/* CSS for configuration settings definition lists generated by myst.*/

dl.myst>dt {
    font-weight: bold;
    font-family: monospace;
    font-size: 14px;
    border-left: 3px solid #ccc;
    width: fit-content;
    padding: 6px;
}

dl.myst>dd {
    text-align: left !important;
}

/* Turning off bold text for glue pasted data in myst markdown */

span.pasted-text {
    font-weight: normal;
}

/* Style the dropdown child details row in the variables DataTable */

td.child {
    text-align: left !important;
    background-color: gainsboro;
}

/* Variable table styling::
* Override the pydata-sphinx-theme top margin for H5 elements used as card headers 
* Change the opacity of the disabled buttons used as filter set labels back to 1.0.
*/

h5.card-header {
    margin-top: 0px;
}

div.btn-group>button.btn {
    opacity: 1.0;
}

/* Override the pydata-sphinx-theme default bright blue background in anchors, treating
light mode and dark mode separately*/

/* Light mode */
html[data-theme="light"] img.bg-primary,
a.bg-primary {
    background-color: white !important;
}

/* Dark mode */
html[data-theme="dark"] img.bg-primary,
a.bg-primary {
    background-color: inherit !important;
}