.toc_desktop {
	padding: 20px;
	background-color: rgba( 176,202,227,.25 );
	overflow: hidden;
	margin-bottom: 2em;
}
html .toc_desktop {
	display: none;
}
.toc_desktop li .expand {
	display: none;
}
.toc_desktop .title {
	margin: 6px 0;
	margin-bottom: 15px;
	font-size: 21px;
    font-weight: 700;
    line-height: 1.4em;
    font-weight: bold;
    text-align: center;
}
.toc_desktop .toc_link_list {
	margin: 0;
	overflow: hidden;
}
.toc_desktop.can_expand .toc_link_list {
	max-height: 10em;
}
.toc_desktop.expanded .toc_link_list {
	max-height: none;
}

.toc_desktop .toc_link_list ul {
	font-size: 16px;
}


.toc_desktop.expanded .toc_link_list li:last-child {
	margin-bottom: 20px;
}
body .toc_desktop .toc_link_list li {
	padding-left: 0;
	margin-left: 20px;
	line-height: 1.5em;
	list-style: disc;
	color: var( --link-color );
	list-style: none;
	margin-bottom: 0.5em;
}
.toc_desktop .expand_buttons a {
	margin-top: -9px;
}


body .toc_desktop .toc_link_list li.toc_h3 {
	margin-left: 49px;
}
body .toc_desktop .toc_link_list li.toc_h4 {
	margin-left: 80px;
}
body .toc_desktop .toc_link_list li.toc_h5 {
	margin-left: 110px;
}
body .toc_desktop .toc_link_list li.toc_h6 {
	margin-left: 140px;
}


@media( max-width: 1024px ){
	html .toc_desktop {
		display: block;
	}
}


@media( max-width: 500px){
	.toc_desktop .expand_buttons a {
		margin-top: -2px;
	}
	body .toc_desktop .toc_link_list li {
		margin-left: 0;
	}
}















.toc_mobile {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #eeeeee;
	z-index: 12;
	color: #111111;
	font-size: 16px;
	max-height: 100%;
	overflow: hidden;
	display: none;
}
.toc_mobile .toc_link_list {
	display: none;
	margin: 0;
	list-style: none;
	max-height: 300px;
	overflow: auto;
}
.toc_mobile.open .load_bar {
	display: none;
}
.toc_mobile.open .toc_link_list {
	display: block;
}
.toc_mobile .toc_link_list li {
	border-bottom: 1px solid rgba( 255,255,255,0.1 );
	margin: 0;
	padding-left: 15px;
	position: relative;
}
.toc_mobile .toc_link_list li:last-child {
	border-bottom: 0;
}
.toc_mobile .toc_link_list a {
	color: inherit;
	padding: 10px 0;
	display: block;
	max-width: calc( 100% - 40px );
}
.toc_mobile .toc_link_list li.active a {
	color: var( --link-color );
}
.toc_mobile .buttons {
	height: 50px;
	line-height: 50px;
}
.toc_mobile .buttons .nav {
	float: right;
}
.toc_mobile .buttons .nav .icon {
	margin-right: 10px;
}
.toc_mobile button {
	color: inherit;
	padding: 0 10px;
	transition: opacity 0.2s ease;
}
.toc_mobile button:hover {
	opacity: 0.6;
}
.toc_mobile button[disabled] {
	opacity: 0.5;
}
.toc_mobile .open_menu {
	width: calc( 100% - 165px );
	text-align: left;
}
.toc_mobile .close_menu {
	width: 100%;
	display: none;
	border-top: 1px solid #dddddd;
}
.toc_mobile .close_menu .icon {
	margin-left: 5px;
	font-size: 14px;
}
.toc_mobile .open_menu .icon {
	float: left;
	margin-top: 18px;
}
.toc_mobile .open_menu span {	
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	width: calc( 100% - 30px );
	float: right;
}
.toc_mobile .load_bar {
	background-color: white;
	margin-left: -10px;
	width: calc( 100% + 20px );
}
.toc_mobile .load_bar .at {
	background: #116ace;
	height: 5px;
	width: 0;
}
.toc_mobile.open {
	border-radius: 5px 5px 0 0;
}
.toc_mobile.open .close_menu {
	display: block;
}
.toc_mobile.open .open_menu,
.toc_mobile.open .nav {
	display: none;
}

.toc_mobile .heading {
	padding: 15px 0;
    text-align: center;
    display: none;
	font-size: 20px;
}
.toc_mobile.open .heading {
	display: block;
	border-bottom: 1px solid #dddddd;
	font-weight: bold;
	color: #444;
}


.toc_mobile li.toc_h3 {
	padding-left: 30px;
}
.toc_mobile li.toc_h4 {
	padding-left: 45px;
}
.toc_mobile li.toc_h5 {
	padding-left: 65px;
}
.toc_mobile li.toc_h6 {
	padding-left: 85px;
}

.toc_mobile .expand {
	position: absolute;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	right: 0;
	top: 0;
    display: none;
}

.toc_mobile li.toc_h2:not( :first-child ) {
	border-top: 1px solid #dddddd;
}

.toc_mobile li.toc_h2 .expand {
	display: block;
}

.toc_mobile li:not( .toc_h2 ):not( .open ) {
	display: none;
}

.toc_mobile li:not( .toc_h2 ) a::before {
	content: '-';
	position: absolute;
	margin-left: -15px;
}

.toc_mobile li:not( .toc_h2 ) a {
	color: #5e5e5e;
	padding: 5px 0;
}











.toc_sidebar {
	color: #737373;
	margin-top: 20px;
	user-select: none;
	margin-top: 20px;
	margin-bottom: 20px;
}

.toc_sidebar:first-child {
	margin-top: 0;
}

.toc_sidebar:last-child {
	margin-bottom: 0px;
}

.toc_sidebar .title {
	border: 1px solid rgba( 0,0,0, 0.1 );
	background-color: #fcfcfc;
	padding: 9px 16px;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
	height: 41px;
	line-height: 21px;
}

.toc_sidebar .toc_link_list {
	border: 1px solid rgba( 0,0,0, 0.1 );
	border-top: 0;
	font-size: 14px;
	padding: 10px 0;
	overflow-y: auto;
	max-height: calc( 100% - 50px );
	box-sizing: border-box;
	max-height: 375px;
}

.toc_sidebar .toc_link_list a {
	color: inherit;
	padding: 0 16px;
	display: inline-block;
	line-height: 1.3em;
}

.toc_sidebar .toc_link_list .toc_parent_tag a {
	max-width: calc( 100% - 40px );
}

.toc_sidebar .toc_link_list a:hover {
	color: var( --link-color )!important;
}

.toc_sidebar .toc_link_list li {
	padding: 2px 0;
	position: relative;
}

.toc_sidebar .toc_link_list li.active a {
	color: var( --link-color )!important;
}

.toc_sidebar .toc_link_list li:not( .toc_h2 ) {
	display: none;
}

.toc_sidebar .toc_link_list li:not( .toc_h2 ) a {
	color: #8B8B8B;
	font-size: 13px;
}

.toc_sidebar .toc_link_list li:not( .toc_h2 ) a::before {
	content: '-';
	position: absolute;
	margin-left: -15px;
}

.toc_sidebar .toc_link_list li:not( .toc_h2 ) .expand {
	display: none;
}

.toc_sidebar .toc_link_list li.toc_h2 .expand {
	position: absolute;
	right: 16px;
	margin-top: -4px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
}

.toc_sidebar .toc_link_list li.toc_h2 .expand:hover {
	font-weight: bold;
}

.toc_sidebar .toc_link_list li.toc_h3 {
	margin-left: 25px;
}

.toc_sidebar .toc_link_list li.toc_h4 {
	margin-left: 40px;
}

.toc_sidebar .toc_link_list li.toc_h5 {
	margin-left: 55px;
}

.toc_sidebar .toc_link_list li.toc_h6 {
	margin-left: 70px;
}





.toc_background_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 11;
    display: none;
}





@media( min-width: 1025px){
	.toc_background_overlay {
		display: none!important;
	}
}



@media( max-width: 768px){
	body:not(.keep_list_view_for_mobile) .toc_mobile {
		display: block;
	}
	body:not(.keep_list_view_for_mobile) .toc_desktop {
		display: none;
	}
	.toc_sidebar {
		display: none;
	}
	.toc_mobile button:not([disabled]):hover {
		opacity: 1;
	}
}


