﻿:not(:checked) > .toctogglespan:before {
	content: ' [';
}

:not(:checked) > .toctogglespan:after {
	content: ']';
}

.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after {
	content: 'hide';
}

.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
	content: 'show';
}

.toctogglecheckbox:checked ~ ul {
	display: none;
}

.toc ul li:before, .toc ul ul li:before {
	content: counters(tocitem,".") " ";
	counter-increment: tocitem;
}

.toc {
	background-color: transparent;
	display: table;
	margin: 1em 0;
	padding: 5px;
	border: 1px solid #404040;
}

	.toc input {
		display: none;
		position: absolute;
	}

	.toc label {
		cursor: pointer;
		font-size: 12px;
		display: inline;
	}

	.toc h2 {
		display: inline;
		font-size: 14px;
		padding: 0 5px 3px 0;
	}

	.toc ul {
		padding: 0px;
		margin: 0;
		list-style: none;
		counter-reset: tocitem;
	}

		.toc ul ul {
			margin-left: 2em;
			counter-reset: tocitem;
		}



	.toc a {
		text-decoration: none;
		color: #00ad5b;
	}
	.toc a:hover {
		color: white;
	}

.tocnumber {
	display: none;
}
