.modal-table-of-contents_wrap {
    margin: 0 !important;
    padding: 0 !important;
}
.modal-table-of-contents_link {
    color: rgb(51, 51, 51);
}
.p-toc__list.is-style-index {
    margin-bottom: 0 !important;
}

@media screen and (min-width: 960px) {
    .modal-table-of-contents_link:hover {
        text-decoration: underline;
    }
}
