html, body {
    height: 100%;
}

.dark{
    background: #313131;
    border-color: #313131;
}

body.dark{
    color: white;
}

.dark button{
    color:white;
}

.dark .table-of-contents li a{
    color: white;
}

.book-1{
    background-color: #8a452b;
}
.book-2{
    background-color: #696f64;
}
.book-3{
    background-color: #1c2528;
}
.book-4{
    background-color: #e1ceab;
}
.book-5{
    background-color: #5a3441;
}
.book-6{
    background-color: #1a252a;
}
.book-7{
    background-color: #505153;
}

.fill-screen{
    min-height: 100vh;
}

.sticky{
    position: sticky;
    top: 0;
}

.margin-top-0{
   margin-top: 0;
}

.margin-bottom-0{
    margin-bottom: 0;
}

.full-screen{
    min-height: 100vh;
}

.table-of-contents ul li{
    margin-left: 5px;
    font-size: smaller;
}

.fixed-position{
    position: fixed;
}

.section-wrapper{
    
}

.top-nav{
    height: 60px;
    min-height: 60px;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wordcloud-img{
    height: 80vh;
    width: auto;
    padding-bottom: 50px;
}
.carousel .carousel-item>.wordcloud-img {
    width: auto !important;
}

.wordcloud-img-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    user-select: none;
}

.wordcloud-img-container p{
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.network-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}

.network-container img{
    width: auto;
    height: 100vh;
}

.network-container img.community{
    width: 100%;
    height: auto;
}

.image-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.network-container:hover .image-overlay {
    opacity: 1;
}

.legend {
    color: white;
    font-size: 1.5em;
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    text-align: left;
}

.legend div{
    margin-top: 0.5em;
    display: flex;
    align-items: center;
}

.node-label.gryffindor{
    background: #CE0E00;
    opacity: 0.65;
}

.node-label.slytherin {
    background: #009403;
    opacity: 0.65;
}
.node-label.hufflepuff {
    background: #FFCA52;
    opacity: 0.65;
}
.node-label.ravenlclaw {
    background: #6596BF;
    opacity: 0.65;
}
.node-label.muggle {
    background: white;
    opacity: 0.65;
}
.node-label.default {
    background: #4e0333;
    opacity: 0.65;
}
.node-label.com0{
    background: #1676B6;
    opacity: 0.65;
}

.node-label.com1 {
    background: #FF7F00;
    opacity: 0.65;
}
.node-label.com2 {
    background: #24A121;
    opacity: 0.65;
}
.node-label.com3 {
    background: #D8241F;
    opacity: 0.65;
}
.node-label.com4 {
    background: #FFFF99;
    opacity: 0.65;
}
.node-label.com5 {
    background: #BDAED4;
    opacity: 0.65;
}
.node-label{
    display: inline-block;
    height: 1em;
    width: 1em;
    border-radius: 50%;
    margin-right: 0.5em;
}

.sub-section{
    font-size: small;
    margin-left: 20px;
}

.degree-image{
    width: 100%;
    height: auto;
}

.hidden{
    display: none;
}

.py-1{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.overflow-auto{
    overflow: auto
}

.image-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-container.start{
    align-items: center;
}
.menu-link{
    font-weight: 300;
    color: white;
    padding-left: 16px;
    height: 1.5rem;
    line-height: 1.5rem;
    cursor: pointer;
}


.github-link{
    color: white;
    padding-left: 16px;
}

.github-container{
    position: fixed;
    bottom: 16px;
    left: 0;
}

.menu-link:hover{
    border-left: 1px solid #ee6e73;
    padding-left: 15px;
    user-select: none;
}

.header-tooltip{
    margin-left: 1rem;
    font-size: 1.5rem;
}
.tooltipped{

}

.sequence-image{
    min-height: 33vh;
    width: auto;
}



section{
    margin-left: 10px;
    margin-right: 10px 
}

h2 { 
    width:100%; 
    text-align:center; 
    border-bottom: 1px solid white ; 
    margin:10px 0 20px; } 
h2 span { background:#313131; padding:0 10px; }

.no_underline{
    border-bottom: none
}

.sent-image{
    width: 100%;
    height: auto;
    max-width: 800px
}

.title{
    font-weight: bolder
}
