.bd-main .bd-content .bd-article-container {
    max-width: 100%; /* default is 60em */
}
.bd-page-width {
    max-width: 100%; /* default is 88rem */
}

.green {
    color: green;
}

table.datatable {
    display: block;
    overflow-x: auto;
    width: 100%;
    max-height: 500px;
    font-size: smaller;
    border-bottom: 0px;
}

table.params {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    height: 500px;
    font-size: smaller;
}
table.params td {
    padding-top: 0;
    padding-bottom: 0;
}
table.params thead tr th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fafafa;
}
table.params thead tr th:first-child {
    z-index: 3;
}
table.params th:first-child,
table.params td:first-child {
    background-color: #fafafa;
    z-index: 2;
    position: sticky;
    left: 0;
}
a.hidden:hover,
a.highlighted:hover {
    cursor: pointer;
}
table.datatable thead tr th {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fafafa;
    border-right: 1px solid #ddd;
    border-bottom: 2px solid #ddd;
}
table.datatable thead tr th:first-child {
    z-index: 3;
    border-left: 1px solid #ddd;
}
table.datatable thead tr th:last-child {
    border-right: 1px solid #ddd;
}
table.datatable th:first-child,
table.datatable td:first-child {
    background-color: #fafafa;
    z-index: 2;
    position: sticky;
    left: 0;
}
table.datatable tbody tr:last-child th,
table.datatable tbody tr:last-child td {
    border-bottom: 1px solid #ddd;
}

dl.attribute {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 1rem !important;
}

dl.attribute dt {
    grid-column-start: 1;
}

dl.attribute dd {
    grid-column-start: 2;
}

.nboutput table {
    margin-left: unset;
    margin-right: unset;
}

.grid-item-card h2 span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.grid-item-card h2 img,
.grid-item-card h2 svg {
    width: 20px;
    height: 20px;
}

.sd-dropdown.muted {
    background-color: #fafafa !important;
    border: 1px solid #ddd !important;
    color: #444 !important;
    box-shadow: none !important;
    font-size: 0.9em;
}

.sd-dropdown.muted .sd-summary-content {
    padding: 0.5em 0.8em !important;
}

.sd-card.card-border-primary,
.sd-card.card-border-success,
.sd-card.card-border-warning,
.sd-card.card-border-info {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

/* Add border-top to table elements when details elements are open */
details.foldable:first-child > table {
    border-top: 1px solid black;
}
