#toc,
#toc-v2 {
	overflow-x: visible;
	overflow-y: auto;
	height: auto;
	max-height: 70vh;
	padding-right: 5px;
}

@media (max-height: 700px) {

	#toc,
	#toc-v2 {
		max-height: 60vh;
	}
}

@media (max-width: 1280px) {

	#toc,
	#toc-v2 {
		max-height: 80vh;
	}
}

#toc li>a,
#toc-v2 li>a {
	font-size: inherit;
}

#toc div.h2,
#toc li.toc-h2,
#toc-v2 div.h2,
#toc-v2 li.toc-h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 8px;
}

#toc div.h3,
#toc li.toc-h3,
#toc-v2 div.h3,
#toc-v2 li.toc-h3 {
	font-weight: normal;
	font-size: 13px;
	margin-bottom: 6px;
}

#toc div.h4,
#toc li.toc-h4,
#toc-v2 div.h4,
#toc-v2 li.toc-h4 {
	font-weight: normal;
	font-size: 12px;
	margin-bottom: 4px;
}

#toc div.h5,
#toc li.toc-h5,
#toc-v2 div.h5,
#toc-v2 li.toc-h5 {
	font-weight: lighter;
	font-size: 11px;
	margin-bottom: 2px;
}

#toc li.toc-h6,
#toc-v2 li.toc-h6 {
	font-size: 10px;
	font-weight: lighter;
}

#toc li,
#toc-v2 li {
	color: #333;
}

#toc li.active,
#toc-v2 li.active {
	color: var(--color-content-link-hover);
}

#toc a,
#toc-v2 a {
	color: inherit;
	display: block;
	line-height: 1.7;
}

#toc a:hover,
#toc-v2 a:hover {
	color: var(--color-content-link-hover);
}

.toc-column {
	position: absolute;
	padding-right: 30px;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: 0.1s;
}

@media (max-width: 1280px) {
	.toc-column {
		left: unset;
		top: 0;
		position: fixed;
		width: 250px;
		right: -250px;
		height: 100%;
		background-color: rgba(255, 255, 255, 0.95);
		box-shadow: 0 -10px 40px 0 rgba(47, 47, 47, 0.1);
		border-radius: 10px;
		z-index: 80;
		padding-right: 0;
		transition: 0.3s cubic-bezier(0.4, 0, 1, 1);
	}
}

.toc-column.initiated {
	opacity: 1;
}

.toc-wrapper {
	position: sticky;
	top: 100px;
	padding-top: 6px;
}

@media (max-width: 1280px) {
	.toc-wrapper {
		
		padding-top: 115px;
		padding-left: 35px;
		padding-right: 20px;
	}
}

.toc-column.disable-sticky .toc-wrapper {
	position: static;
}

.toc-column .vertical-share {
	position: static !important;
}

.toc-column .share-buttons-container-vertical {
	align-items: flex-start;
	flex-direction: row;
	margin-top: 20px;
}

.toc-column .share-buttons-container-vertical a {
	margin-right: 10px;
}

.toc-mobile-trigger {
	display: none;
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 0;
	top: calc(50% - 50px);
	width: 50px;
	height: 50px;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-radius: 10px;
	z-index: 75;
	transition: 0.2s ease 0s;
}

@media (max-width: 1280px) {
	.toc-mobile-trigger {
		display: flex;
	}
}

.toc-mobile-trigger svg {
	width: 32px;
	height: 32px;
	fill: #333;
}

.toc-mobile-trigger:hover {
	cursor: pointer;
}

@media (max-width: 1280px) {
	body.toc-mobile-open .toc-column {
		transform: translateX(-250px);
	}
}

body.toc-mobile-open .toc-mobile-trigger {
	opacity: 0;
}

.toc-mobile-close {
	display: none;
	width: 30px;
	height: 30px;
	margin-bottom: 15px;
	color: #333;
	background-color: rgba(0, 0, 0, 0.05);
	margin-left: auto;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

@media (max-width: 1280px) {
	.toc-mobile-close {
		display: flex;
	}
}

.toc-mobile-close:hover {
	cursor: pointer;
}

#toc-v2 {
	padding-left: 16px;
	margin-left: -16px;
}

#toc-v2 .has-child {
	position: relative;
}

#toc-v2 .has-child>ul {
	display: none;
}

#toc-v2 .has-child.expand>ul {
	display: block;
}

#toc-v2 .has-child.scroll-expand>ul {
	display: block;
}

#toc-v2>ul {
	padding-left: 0;
}

#toc-v2 ul {
	list-style-type: none;
	padding-left: 15px;
	margin-left: 0;
}

#toc-v2>ul {
	padding-left: 0;
}

.expand-all ul {
	display: block !important;
}

.toc-child-caret {
	position: absolute;
	left: -14px;
	transition: 0.2s;
	color: inherit;
	line-height: 1.7;
}

.toc-child-caret:hover {
	cursor: pointer;
}

.has-child.expand>.toc-child-caret,
.has-child.scroll-expand>.toc-child-caret {
	transform: rotate(90deg);
}

#toc-v2::-webkit-scrollbar {
	width: 15px;
	height: 15px;
	background: transparent;
}

#toc-v2::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.15);
	border-radius: 5px;
}

#toc-v2::-webkit-scrollbar-thumb {
	-webkit-box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.15);
	border-radius: 5px;
}