
#table-of-contents .toc-heading {
	color: rgba(81, 106, 128, 1);
	font-family: "Open Sans";
	font-size: 18px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: .05px;
	text-transform: uppercase;
}

#table-of-contents ul {
	padding-right: 10px;
	margin-top: 0;
	padding-left: 0;
}

#table-of-contents ul::-webkit-scrollbar {
	width: 6px;
}

#table-of-contents ul::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, .3);
	border-radius: 3px;
}

#table-of-contents ul {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

#table-of-contents ul li {
	font-family: "Open Sans";
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	/* 150% */
	list-style: none;
}

#table-of-contents ul li a {
	color: #516a80;
	text-decoration: underline;
	text-decoration-color: #516a80;
	transition-duration: .4s;
}

#table-of-contents ul li a:hover {
	color: #00c8ff;
	text-decoration-color: #00c8ff;
}

#table-of-contents {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 24px;
}

.sidebar-column .video-sidebar-inner {
	position: initial;
	top: 100px;
	overflow-y: auto;
	display: block;
}

#main-section .video-sidebar {
	position: relative;
	min-height: 100vh;
	/* Confirm this is effective */
	display: block;
}

#main-section .video-sidebar .video-sidebar-inner {
	position: initial;
	top: 100px;
	/* Adjust this value based on your header or any top space needed */
	min-height: 100vh;
	overflow-y: auto;
	/* Allows scrolling within the table of contents */
	display: block;
}

.admin-bar #main-section .video-sidebar .video-sidebar-inner {
	top: 132px;
}

/* Ensure children fill the space */
#main-section .video-sidebar .video-sidebar-inner > * {
	flex: 1;
	/* This makes children fill the available space */
	overflow: hidden;
}

@media screen and (max-width: 1023px) {
	.video-sidebar-inner, .video-sidebar {
		display: initial !important;
	}
}
