.toc {
  top: 50%;
  transform: translateY(-50%);
  transition: top .25s ease 0s !important;

}

.toc ol {
  max-height: calc(45vh - 30px);
  overflow-y: auto;
}

.toc ol > li {
  font-size: 16px;
}