.sidebar-main-head {
    position: relative;
    padding-bottom: 2rem;
    z-index: 2;
}

.sidebar-main-head:after {
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    content: "";
    top: 0;
    background: #F5FAFA;
    z-index: -1;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.sidebar-main-head .table-contents h3{
    margin: 0 !important;
    position: relative;
    padding: 1rem 0;
    z-index: 1;
    color: #ffffff;
    font-size: 23px !important;
    font-weight: 400 !important;
}

.sidebar-main-head p {
    border-top-right-radius: 1rem;
}

.sidebar-main-head ul {
    margin: 0;
    padding: 0 2rem 0 0;
    height: 100%;
    overflow-y: auto;
}

.sidebar-main-head ul li {
    margin: 0 !important;
    padding: .5rem 0;
    border-bottom: .111rem solid #D0D7D8;
}

.sidebar-main-head ul li a {
    color: #115763 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}
.sidebar-main-head ul li a:hover {
    color: #852A19 !important;
}

.sidebar-main-head ul li a[aria-current="page"] {
    border-bottom: 0 !important;
}

@media screen and (min-width: 782px) {
    .sidebar-main-head:after {
        width: 100vw;
    }
}

.sticky-sidebar {
    z-index: 5;
}
.table-contents {
    position: relative;
    padding-bottom: 1rem;
}
#sticky-sidebar-wrap {
    position: relative;
}
@media screen and (min-width: 782px) {
    #sticky-sidebar-wrap:after {
        position: absolute;
        right: 0;
        width: 100vw;
        height: 100%;
        content: "";
        top: 0;
        background: #F5FAFA;
        z-index: -1;
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }
}

@media screen and (max-width: 781px) {
    .table-contents:after {
        width: 100%;
        border-radius: 0;
    }
}
.sticky-sidebar .table-contents h3{
    margin: 0 !important;
    position: relative;
    padding: 1rem 0;
    z-index: 1;
    color: #ffffff;
    font-size: 23px !important;
    font-weight: 400 !important;
}
.table-contents h3:after{
    position: absolute;
    right: 0;
    width: 100vw;
    height: 100%;
    content: "";
    top: 0;
    background: #115763;
    z-index: -1;
    border-top-right-radius: 1rem;
}
@media screen and (max-width: 781px) {
    .table-contents h3:before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23DF7A1C' d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E");
        content: "";
        position: absolute;
        right: 1rem;
        top: 0;
        width: 2rem;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center;
        transition: .2s;
    }
    .table-contents h3:after {
        width: 100%;
        border-radius: 0;
    }
    .sticky-sidebar .table-contents h3{
        padding: 1rem;
    }
    .sticky-sidebar .table-contents h3.active:before {
        transform: rotate(180deg);
    }
}
.table-contents-list {
    margin: 0;
    padding: 1rem 2rem 1rem 0;
    height: 100%;
    overflow-y: auto;
}
@media screen and (max-width: 781px) {
    height: 25rem;
}
@media screen and (max-width: 781px) {
    .table-contents-list:not(.open) {
        height: 0;
        padding: 0;
    }
    .table-contents-list.open {
        padding: 1rem;
    }
}
.table-contents-list > li {
    margin: 0;
    padding: .5rem 0;
    border-bottom: .111rem solid #D0D7D8;
}
.table-contents-list li:after {
    display: none;
}
.table-contents-list > li > a {
    color: #115763;
    text-decoration: none;
    font-weight: 700;
    display: block;
    position: relative;
    padding-right: 1.5rem;
}
.table-contents-list > li a:hover {
    color: #852A19 !important;
}
.table-contents-list li a.dropdown-icon-wrap {
    position:relative;
}
.table-contents-list li .dropdown-icon {
    position: absolute;
    top: .35rem;
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='12px' height='8px' viewBox='0 0 12 8' version='1.1'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='WA-DRS-side-TOC' transform='translate(-439, -471)' fill='%2334767E'%3E%3Cg id='expand-less' transform='translate(445, 475) scale(1, -1) translate(-445, -475)translate(439, 471.5)'%3E%3Cpolygon id='Shape' points='6 -8.8817842e-16 0 6 1.4 7.4 6 2.8 10.6 7.4 12 6'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 1rem;
    height: 1rem;
    z-index: 1;
    content:"";
    transition: transform .2s;
}
.table-contents-list li .active.dropdown-icon {
    transform: rotate(180deg);
}
.table-contents-list > li > ul > li {
    padding: .25rem 0;
    margin: 0;
}
.table-contents-list > li > ul > li a {
    color: #115763;
    font-weight: 600;
    text-decoration: none;
}
.table-contents-list > li > ul > li a:hover {
    color: #852A19 !important;
}
