body {
    font-size: 1em;
    line-height: 1.25;
    /* default 1.65*/
}

/* h1 {
    font-size: 2.2em;
} */

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    /* default 1.3 */
    /* color: #2c3e50; */
    /* default #2c3e50 */
    /* margin-bottom: 0.3em; */
    /* default 0.5em */
    font-weight: 600;
}

/* margin: 2.75rem 0 1.05rem */
h2 {
    /* font-size: 1.75em; */
    font-size: 1.5em;
    font-weight: 500;
    margin: 2rem 0 1.05rem;
}

h3 {
    margin-top: 0.75em;
    /* font-size: 1.35em; */
    font-size: 1.15em;
    font-weight: 500;
}

h4 {
    margin-top: 0.75em;
    font-size: 1.05em;
    font-weight: 500;
}

p {
    font-size: 0.9em;
    margin-bottom: 0.8rem;
}

/* .sd-tab{
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px; 
    margin: 1em 0; 
}
 */

 nav.bd-links p.caption{
    margin-top: 0.45rem !important;
    margin-bottom: 0.15rem !important;
 }


html[data-theme=light] {
    --sbt-color-announcement: #616161;
    /* --pst-color-primary: #176de8; */
    --pst-color-primary: #176de8;
}

.bd-sidebar-primary {
    line-height: 1.25!important;
}   

nav.bd-links li>a {
    padding: .1rem .25rem!important;
}

.bd-content .sd-tab-set>input:checked+label {
    background-color: var(--pst-color-on-background);
    border-color: var(--pst-color-primary) var(--pst-color-primary) transparent;
    border-radius: .125rem .125rem 0 0;
    border-style: solid solid none;
    border-width: .125rem .125rem 0;
    color: var(--pst-color-primary);
    transform: translateY(.125rem);
    /* border: 1px solid var(--pst-color-primary); */
}

pre {
    background-color: #f7f7f7 !important;
    color: #222 !important;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    font-size: 0.8em;
}


/* collapse & width: auto */
table.dataframe,
table {
    border-collapse: collapse !important;
    /* border-collapse: separate !important; */
    width: auto !important; 
    margin: 0 auto 1em auto !important;
}


/* table/pandas table: padding, lh, border */
.dataframe td,
.dataframe th,
table td,
table th {
    padding: 2px 6px !important;
    /* padding: 4px 6px; */
    /* padding: 3px 6px !important; */
    line-height: 1.2 !important;
    /* border-top: 1px solid #eee !important; */
    /* border: 1px solid #ddd !important; */

}

/* font size */
table td p,
table th p,
table.dataframe th,
table.dataframe td  {
    font-size: 0.8rem !important;
    /* tweak: 0.75–0.9rem */
    color: #333 !important;
}

/* Make the blue line above the header row green */
/* Header text color + weight */
table thead tr,
table.dataframe thead tr {
    color: #555 !important;
    /* soft dark gray instead of black */
    font-weight: 500 !important;
    /* medium weight instead of bold */
    background-color: #f9f9f9 !important;
    border-bottom: 2px solid #eee !important;
    /* border-bottom: 1px solid #073207 !important; */
    /* border-bottom: 2px solid #525675 !important; */
}

/* table thead labels no border!!*/
table.dataframe thead th,
table thead th {
    color: #222 !important;
    font-weight: 500 !important;
    background-color: #f9f9f9 !important;
    /* border-bottom: 2px solid #eee !important; */
}

/* index labels */
table.dataframe tbody th,
table tbody th {
    color: #222 !important;
    font-weight: 500 !important;
    /* background-color: #f9f9f9 !important; */
    border-bottom: 1px solid #eee !important;
}

/* Body row text color + weight */
table.dataframe tbody tr,
table tbody tr {
    /* color: #555 !important; */
    /* font-weight: 500 !important; */
    /* background-color: #f9f9f9 !important; */
    /* border-bottom: 1px solid #eee !important; */
    font-weight: 400 !important;
}


/* Change table row hover color to light green */
table.dataframe tbody tr:hover,
table.dataframe tbody tr th:hover,
table tbody tr:hover {
    background-color: #ebf7ee !important;
}

body:has(#bash-for-computational-systems) {
    background: #f5f8fb;
}

body:has(#bash-for-computational-systems) .bd-header,
body:has(#bash-for-computational-systems) .bd-sidebar-primary,
body:has(#bash-for-computational-systems) .bd-sidebar-secondary,
body:has(#bash-for-computational-systems) .bd-header-article,
body:has(#bash-for-computational-systems) .prev-next-footer,
body:has(#bash-for-computational-systems) .search-button__wrapper,
body:has(#bash-for-computational-systems) #pst-back-to-top {
    display: none !important;
}

body:has(#bash-for-computational-systems) .bd-container,
body:has(#bash-for-computational-systems) .bd-container__inner,
body:has(#bash-for-computational-systems) .bd-page-width,
body:has(#bash-for-computational-systems) .bd-main,
body:has(#bash-for-computational-systems) .bd-content,
body:has(#bash-for-computational-systems) .bd-article-container {
    display: block;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

body:has(#bash-for-computational-systems) .bd-article {
    align-items: flex-start;
    background: #f5f8fb;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0 !important;
    max-width: none !important;
    min-height: 100vh;
    padding: 0 8vw 9vh !important;
}

body:has(#bash-for-computational-systems) #bash-for-computational-systems {
    max-width: 92rem;
}

body:has(#bash-for-computational-systems) #bash-for-computational-systems h1 {
    color: #172137;
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 2.2rem;
}

body:has(#bash-for-computational-systems) #bash-for-computational-systems p {
    color: #536072;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.35;
    margin: 0;
}

body:has(#bash-for-computational-systems) #bash-for-computational-systems .headerlink {
    display: none;
}

@media (max-width: 700px) {
    body:has(#bash-for-computational-systems) .bd-article {
        padding: 0 2rem 4rem !important;
    }
}
