.teaching .article-container,
.list-container {
    max-width: unset;
}
.list-container {
    padding: 1rem 20px 0 20px;
    margin: 0 auto 0 auto;
}
.teaching .body-footer {
    border-top: 1px solid #e8e8e8;
    margin-top: 30px;
    margin-left: 1rem;
    padding-top: 10px;
    font-size: 14px;
    color: #707070;
}
.teaching h2 {
    padding-top: 1rem;
}
.book {
    margin: 0 auto !important;
}
#teaching-subnavbar {
    font-size: 12px;
    width: 175px;
    margin-left: -15px;
    padding-top: 15px;
    padding-bottom: 15px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

#docs-subnavbar h4 {
    padding-left: 10px;
    margin-top: 0;
}

#teaching-subnavbar.affix {
    position: fixed;
    top: 85px; /* Consider navbar height. */
}
nav[data-toggle="toc"] .nav > li > a {
    display: block;
    padding: 4px 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #767676;
}
nav[data-toggle="toc"] .nav > li > a:hover,
nav[data-toggle="toc"] .nav > li > a:focus {
    padding-left: 19px;
    color: #3f51b5;
    text-decoration: none;
    background-color: transparent;
    border-left: 1px solid #3f51b5;
}
.article-toc-top li a {
  color: #707070;
  padding-left: 20px;
}

.nav.article-toc-top > li > a:focus,
.nav.article-toc-top > li > a:hover {
  text-decoration: none;
  background-color: transparent;
}
#schedule ~ table ul {
    list-style-type: none;
    padding-left: 0;
}
#schedule ~ table td:nth-child(3) {
    white-space: nowrap;
}
@media print {
    #teaching-subnavbar, .site-footer {
        display: none;
    }
    .body {
        width: 100%;
    }
    body {
        margin-top: 0;
    }
    .body-content {
        margin: 0;
    }
}