/* Make article content grow/shrink */
.bd-content {
    flex-grow: 10;
    max-width: 5000px;
}

.bd-sidebar-primary {
    flex-grow: 1;
    max-width: 270px;
}

.bd-sidebar-secondary {
    flex-grow: 1;
    max-width: 220px;
}

i.fa-youtube:before {
    color: #FF0000;
}

ul.nav.bd-sidenav {
    margin-right: 20px;
}

div#navbar-menu {
    padding-left: 10px;
}

input#search-input {
    border-radius: 10px;
}

/* nav#bd-docs-nav a.current {
    background-color: rgb(197, 197, 197);
    border-radius: 0px;
} */

.toctree-l1 {
    font-weight: 400;
}

.toctree-l3 {
    font-weight: 400;
}

.toctree-l4 {
    font-weight: 400;
}

/* .bd-sidenav {
     font-family: "Roboto Mono" !important;
 } */

a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

nav .toctree-l1>ul {
    /* border-left: 2px solid lightgray; */
    margin-left: 20px;
    padding-left: 0px !important;
}

nav .toctree-l2>ul {
    /* border-left: 2px dashed lightgray; */
    margin-left: 20px;
    padding-left: 0px !important;
}

nav .toctree-l3>ul {
    /* border-left: 2px dotted lightgray; */
    margin-left: 20px;
    padding-left: 0px !important;
}

.toctree-l3>ul>li>a {
    line-height: 125% !important;
}

.bd-sidenav a {
    padding-left: 0px !important;
}

.sd-tab-content>.toctree-wrapper>ul {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

section#examples>div>ul>li.toctree-l1>a {
    font-size: 150%;
    font-weight: 500;
    border-bottom: solid 1px lightgray;
    width: 100%;
    float: left;
    padding-bottom: 5px;
    margin-bottom: 10px;
    margin-top: 15px;
}

section#examples li.toctree-l2>a {
    font-size: 1em !important;
}

.sd-tab-content li.toctree-l1>a {
    font-size: 1em !important;
}

.sd-tab-content a {
    font-size: 1em !important;
}

img#banner {
    float: left;
    opacity: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 85px;
    border-radius: 10px;
}

img#montage {
    /* float: left; */
    opacity: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
    border-radius: 10px;
}

/* img.logo__image {
     background-color: white; 
     border-radius: 10px;
 } */

/* So that there's no redundant Tutorials/Reference heading in the tabbed section */
section:not(#generators) li.toctree-l1>a,
section:not(#filters) li.toctree-l1>a,
section:not(#metrics) li.toctree-l1>a,
section:not(#networks) li.toctree-l1>a,
section:not(#simulations) li.toctree-l1>a,
section:not(#tools) li.toctree-l1>a,
section:not(#visualization) li.toctree-l1>a {
    display: none;
}

section#examples li.toctree-l1>a {
    display: flex !important;
}

/* So that Tutorials/Reference are not clickable in the sidebar */
li.toctree-l2.has-children>a {
    pointer-events: none;
}
