.post-wrapper {
    display: flex;
    justify-content: center;
}

.post-content {
    width: 100%;
    padding-left: 20px;
}

.post-content p {
    padding: 0;
    margin: 0;
}

.post-toc {
    transition: all 300ms;
}

.post-toc.active {
    background: #072A5b;
    overflow-y: auto;
    overflow-x: hidden;
    width: 320px !important;
    position: fixed;
    height: 100vh;
}

.js-toc-content {
    margin-left: 27rem !important;
}

.nav-link.childless.active, .nav-link.active {
    color: #ff8700 !important;

}

#sidebarCollapse {
    position: sticky;
    margin-bottom: 1rem;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.post-toc:not(.active) {
    background-color: #072a5b;
    height: 100%;
    position: absolute;
    left: 300px;
    width: 4rem;
}

.sticky-top {
    overflow: hidden;
}

.navcontent {
    transform: translateX(100%);
    transition: all 300ms;
}

#sideMenu:after {
    height: 400px;
    width: 30%;
    pointer-events: all;
}

.post-toc.active .navcontent {
    transform: translateX(0%);
}

.post-toc.active .inhaltsverzeichnis {
    color: #fff;
    font-size: 20px;
    position: absolute;
    margin-top: 4rem !important;
    top: -8px;
    font-style: normal;
    left: 288px;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
}

.navcontent {
    margin-top: 5rem;
    pointer-events: all;
}

.sticky-top {
    pointer-events: none;

}

.btn-container {
    width: 100%;
    text-align: left;
    margin-top: 27px;
    position: fixed !important;
}

.container {
    margin-left: 20rem !important;
}

#sidebarCollapse span {
    display: block;
    width: 26px;
    height: 1.5px;
    margin-right: 5rem;
    margin-bottom: 5px;
    position: relative;
    background: #fff;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease,
    top 0.55s ease,
    left 0.55s ease;
}

#sidebarCollapse span:first-child {
    transform-origin: 0% 0%;
}

#sidebarCollapse span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

.post-toc.active #sidebarCollapse span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, -4px);
    background: #fff;
    left: 55px;
    top: 1px;
}

.post-toc.active #sidebarCollapse {
    position: relative;
    left: 210px;
    top: -15px;
}


.sticky-top {
    margin-top: 2rem;
}


.post-toc:not(.active) .inhaltsverzeichnis {
    display: none;
}

/*
 * But let's hide the middle one.
 */
.post-toc.active #sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
.post-toc.active #sidebarCollapse span:nth-of-type(3) {
    transform: rotate(-45deg) translate(0, -1px);
}

.nav > li > a {
    font-size: var(--font-size-body) !important;
    font-weight: var(--font-weight-normal) !important;
    font-family: var(--font-sans-serif) !important;
}


nav[data-toggle=toc] .nav > li > a {
    display: inline !important;
}

nav[data-toggle=toc] .nav-link + ul {
    display: hidden !important;
}

nav[data-toggle=toc] .nav-link + ul li button {
    margin-left: 0px;
}

nav[data-toggle=toc] .nav-link.active + ul.tshow {
    display: block !important;
}

nav button {
    border: none;
    background: none;
}

.tshow {
    display: block !important;
}

.navcontent > ul li {
    list-style-type: none;
    text-indent: -30px;
}

.navcontent > ul li:before {
    content: none;
}


.navcontent > ul > li > ul > li > ul {
    margin-left: 30px !important;
}

.navcontent > ul li ul li {
    text-indent: -30px !important;
}

.logo-right {
    max-width: 100px;
}

.metadata {
    margin: 1rem 0;
}

button {
    min-width: 40px;
}

