* {
    font-family: didotregular;
    /* font-family: 'Courier New', Courier, monospace; */
}

/* */
.title {
    font-weight: bold;
    margin: 0 auto;
}
.author {
    font-style: italic;
}
.text-container {
    background-color: white;
    padding: 2em;
    border-radius: 5px;
}
.text {
    font-size: 1em;
    width: 90%;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-word;
}

/* Navbar styling */

.navbar {
    margin-bottom: 2em;
    padding: .5rem;
}

.nav-logo {
    height: 60px;
}

.navbar-nav
{
    font-size: xx-large;
}
.nav-link.active {
    font-weight: bold;
}


.nav-link:hover {
    color:#2d3d4b !important;
    text-shadow: 0 0 1px #2d3d4b;
    transition:0.3s;
}

/* pure css annotation legend with toggle a*/
span.unselected {
    background: transparent !important;
}
.box.unselected {
    opacity: 20%;
}
.box {
    float: left;
    height: 20px;
    width: 20px;
    margin-right: .5em;
    clear: both;
    border-radius:100%;
}
.sticky-top { top: 30px; }
.annotation-category {
    white-space: nowrap;
    display: inline-block;
}
#sticky-sidebar > .show:not(.btn-wrap) {
    min-width: 260px;
}
#sticky-sidebar > .show:not(.btn-wrap) ~ .card:not(.collapse) {
    min-width: 260px;
}

/* bootstrap theming */
.list-group-item-action-primary,
.bg-primary,
.text-primary
{ color: #e29f36; }
.text-secondary,
.bg-secondary
{ background-color: #1d1d1b;}

.bg-light {
    background-color: #d0dfdf !important;
}
.card, .dropdown-menu {
    background-color:#FFFFFF9F;
    margin: .5em;
}
.link-secondary, .nav-link {
    text-decoration: none;
    color: #1d1d1b!important;
}

/* TODO: for annotation information on hover. problem: an element would need to be created to include all overlapping sections */
[data-tooltip] {
    position: relative;
    cursor: help;
}
[data-tooltip][data-position="right"]::before {
    top: -50%;
    left: 105%;
    transform: translateX(-20px);
}
[data-tooltip][data-position="bottom"]::before {
    top: 150%;
    transform: translateY(-20px);
}
[data-tooltip][data-position="left"]::before {
    top: -50%;
    right: 105%;
    left: auto;
    transform: translateX(20px);
}
[data-tooltip]:hover::before {
    transform: translate(0);
    opacity: 1;
}
[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    display: block;
    background: #fff;
    padding: 10px;
    top: -50px;
    box-shadow: 0px 2px 5px #000 8c;
    border-radius: 3px;
    text-align: center;
    left: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
