.litlist > p{
  padding-left: 2ex;
  text-indent: -2ex;
  /* padding-right: 0ex; */
}

p.bibitem {
    text-align: left;
}

div.abstract > dl > dt {
    font-weight: bold;
}

div.abstract > dl > dd {
    font-size: 90%;
    text-align: justify;
}

.bd-sidebar .nav, .section-nav {
    line-height: 1.2;
}

.bd-sidebar .nav ul {
    list-style: none;
    font-size: .9em;
}

.bd-sidebar .nav ul > li ul li,
.section-nav li
{
    margin-bottom: .5rem;
}

.bd-sidebar .nav .active:hover > a,
.bd-sidebar .nav .active > a {
    font-weight: 600;
    color: #130654;
}

.bd-sidebar .nav a:hover,
.bd-sidebar .nav a {
    color: rgba(0,0,0,.65);

}

div.prev-next p {
    margin: 0;
    display: block;
    padding: 0 .5rem;
    font-size: .9em;
}

div.prev-next a {
    color: rgba(0,0,0,.65);
}

code {
     color: #934444;
}

div.pager {
     margin: 0 auto;
}

div.math p {
     text-align: center;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

pre {
    margin: 0;
}

div.highlight-none pre {
    background-color: white;
}

div.highlight-none + p,
div.highlight-r + p,
div.cbe-header p
{
    margin-top: 1.15rem;
}

pre, tt, code, kbd, samp {
    font-family: 'Hack', monospace;
    font-size: 14px;
}

div.codebook, table.mtable {
    line-height: 1.2;
}

p {
    word-wrap: normal;
    hyphens: auto;
    text-align: justify;
}



.prev-next {
    width: calc(100% - 50px);
}

.navbar-toggler-icon {
    border: 1px solid rgba(0,0,0,.1);
}

@media (min-width:768px) {
    .bd-toc-item {
        display: block !important;
    }

    .prev-next {
        width: 100%;
    }
    
    /* .bd-links {
     *     max-height: calc(100vh - 24rem);
     * } */

    .bd-sidebar, .bd-toc {
        /* max-height: calc(100vh - 14rem); */
        overflow-y: hidden;
    }
} 

.prev-next .nav  > li > a {
    padding: .5rem 0;
}

.navbar-nav-scroll {
    max-width: 100%;
    overflow: hidden;
    height: 1.7rem;
}

.navbar-nav-scroll .navbar-nav {
    padding-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.navbar-expand .container-xl {
    justify-content: flex-start;
}

.preview-image.container {
    padding: 2rem 0;
}

.container {
    margin: 0;
    padding: 0;
}

div.figure {
    margin: 0;
    padding: 6px;
    background-color: #f6f6f6;
    border: 1px solid #C6C6C6;
}

div.figure img {
    background-color: #ffffff;
}

div.figure p.caption span.caption-number {
    font-style: normal !important;
    font-weight: bold;
}

div.figure p.caption  {
    margin-bottom: 0;
    padding: 0.3em 0 0 0;
}

div.frontpage h1 {
    text-align: center;
    margin-bottom: 1.5em;
}

div.frontpage h1,
div.frontpage h2 {
    text-align: center;
}

h5.card-title > ::before {
    height: unset;
    margin: 0
    content: unset;
}

h5.card-title {
    margin-top: 0;
    margin-bottom: 0;
    
}

h5.card-title {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Lato';
    font-weight: bold;
    font-size: 1.1rem;
}

img {
    background-color: white;
}

.preview-image img {
    width: 100%;
}

.page-link {
    color: #676767;
}

.page-item.active .page-link {
    color: white;
    background-color: #676767;
    border-color: #676767;
}

div.figure {
    width: 500px;
    max-width: 100%;
}


.prev-next ul {
    line-height: 1.2;
    padding: .25rem 0.5rem;
    font-size: .9em;
    list-style: none;
    
}

.prev-next ul ul {
    padding-left: 1.5rem
}

.prev-next ul.pagination {
    margin-bottom: 0;
}

.bd-links {
    max-height: calc(100vh - 20rem);
}

.header-style::before, h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
    display: none;
    content: unset;
    height: 0;
    margin: 0;
}

.section p {
    color: black;
}