.toc_menu {
    display: block;
    position: fixed;
    z-index: 10;
    top: 20vh;
}
article.wrap .toc_menu .burger, article .toc_menu .burger {
    padding: 12px !important;
}
article.wrap .toc_menu .burger_close, article .toc_menu .burger_close {
    padding: 14px !important;
}
.toc_menu .burger, .toc_menu .burger_close {
    background: #000;
    border-radius: 4px;
    cursor: pointer;
}
.toc_menu .burger:hover, .toc_menu .burger_close:hover {
    background: #383838;
}
@media (min-width:768px) {
    .toc_menu {
        left: 1vw;
    }
}

@media (min-width:1600px) {
    .toc_menu {
        left: 8vw;
    }
}

.burger_close, article div.toc_menu div.toc_list {
    display: none;
}
article div.toc_menu div.toc_list a, #static_toc_list a {
    font-weight: 600;
    color: #676767;
    text-decoration: none;
}
article div.toc_menu div.toc_list a p, #static_toc_list a p {
    font-size: 13px !important;
}
article div.toc_menu div.toc_list a:hover p,
article div.toc_menu div.toc_list a:active p,
#static_toc_list a:hover p,
article div.toc_menu div a.active_toc_item p {
    background: rgba(215, 187, 164, 0.1);
    border: 1px solid rgba(215, 187, 164, 0.1);
}
article div.toc_menu div.toc_list a:hover,
article div.toc_menu div.toc_list a:active p,
#static_toc_list a:hover,
article div.toc_menu div a.active_toc_item {
    color: #bd884f;
    text-decoration: none;
}

article div.toc_menu div.toc_list p, #static_toc_list p {
    line-height: 1;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 3px;
    padding: 13px 15px !important;
    margin: 3px 16px 3px 0;
    background: #fff;
}
article div.toc_menu div.toc_list {
    width: 350px;
    position: absolute;
    background: #fbfbfb;
    box-shadow: 25px 25px 50px 0 rgba(0,0,0,0.4);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    padding-left: 25px !important;
    margin-left: 15px;
}
#static_toc_list {
    width: auto;
    padding: 10px 10px 20px 40px;
    background: #f0f0f0;
    /*height: 340px;*/
    margin-bottom: 20px;
    margin-top: 20px;
}
article.wrap > div .toc_list_list, article.wrap > div #static_list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px !important;
}
article.wrap > div #static_list {
    max-height: 270px;
}
.toc_menu h5, #static_toc_list h5 {
    margin: 15px 0;
    font-size: 19px;
}
article.wrap > div.toc_menu h5 img, article.wrap div#static_toc_list h5 img,
article > div.toc_menu h5 img, article div#static_toc_list h5 img {
    padding: 0 8px 1px !important;
    display: inline-block;
    margin: 0;
}

.simplebar-scrollbar::before {
    background: #797979; }

.simplebar-scrollbar.simplebar-visible::before {
    opacity: .8;
    width: 6px;
}

.simplebar-track.simplebar-vertical {
    width: 8px;
    margin-right: 8px;
}

article.wrap > div .simplebar-content {
    padding-right: 8px !important;
}
#subscription {
    z-index: 9;
}
.single article.wrap {
    word-wrap: break-word;
}
@media (max-width: 767px) {
    body.open_toc {
        max-height: 100vh;
        overflow: hidden;
    }
    .optin__title {
        width: 75vw !important;
    }
    #static_toc_list {
        padding: 0 2px 14px 20px !important;
    }
    .toc_menu {
        right: 3%;
        top: 135px;
        left: auto;
    }
    #static_toc_list h5 {
        padding: 18px 0 6px !important;
        margin: 0;
    }
    article div.toc_menu div.toc_list {
        position: fixed;
        width: calc(100% - 55px);
        height: calc(50vh + 75px);
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-left: 0;
    }
    article.wrap > div .toc_list_list {
        height: 50vh;
    }
    .layout {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .2);
    }
    .close {
        display: none;
        position: absolute;
        right: 20px;
        top: 20px;
        width: 15px;
        height: 15px;
        opacity: 0.3;
    }
    .close:hover {
        opacity: 1;
    }
    .close:before, .close:after {
        position: absolute;
        left: 6px;
        content: ' ';
        height: 15px;
        width: 2px;
        background-color: #333;
    }
    .close:before {
        transform: rotate(45deg);
    }
    .close:after {
        transform: rotate(-45deg);
    }
}
