.postfix-toc {
	background-color: var(--postfix-toc-background);
	border-color: var(--postfix-toc-border);
	box-sizing: border-box;
	clear: both;
	color: var(--postfix-toc-text);
	margin: 1.5em 0;
	max-width: 100%;
	padding: 1em 1.25em;
}

.postfix-toc--style-gray {
	background: var(--postfix-toc-background, #f4f4f4);
	border: 1px solid var(--postfix-toc-border, #aaa);
}

.postfix-toc--style-white {
	background: var(--postfix-toc-background, #fff);
	border: 1px solid var(--postfix-toc-border, #ddd);
}

.postfix-toc--style-blue {
	background: var(--postfix-toc-background, #edf6ff);
	border: 1px solid var(--postfix-toc-border, #8cb8dd);
}

.postfix-toc.postfix-toc--style-transparent {
	background: transparent;
	border: 0;
	padding-left: 0;
	padding-right: 0;
}

.postfix-toc--width-auto {
	width: auto;
}

.postfix-toc--width-50 {
	width: 50%;
}

.postfix-toc--width-75 {
	width: 75%;
}

.postfix-toc--width-100 {
	width: 100%;
}

.postfix-toc--align-left {
	clear: left;
	float: left;
	margin: 0 1.5em 1em 0;
}

.postfix-toc--align-center {
	margin-left: auto;
	margin-right: auto;
}

.postfix-toc--align-right {
	clear: right;
	float: right;
	margin: 0 0 1em 1.5em;
}

.postfix-toc__title {
	font-weight: 700;
	margin: 0;
}

summary.postfix-toc__title {
	cursor: pointer;
}

.postfix-toc--title-left .postfix-toc__title {
	text-align: left;
}

.postfix-toc--title-center .postfix-toc__title {
	text-align: center;
}

.postfix-toc--title-right .postfix-toc__title {
	text-align: right;
}

.postfix-toc__list {
	margin: .75em 0 0;
	padding-left: 1.5em;
}

.postfix-toc__list ol,
.postfix-toc__list ul {
	margin: .25em 0 0;
	padding-left: 1.35em;
}

nav.postfix-toc a,
nav.postfix-toc a:visited {
	color: var(--postfix-toc-link);
	text-decoration: none;
}

nav.postfix-toc a:hover,
nav.postfix-toc a:focus,
nav.postfix-toc a:focus-visible {
	color: var(--postfix-toc-link-hover);
	text-decoration: underline;
}

@media (max-width: 782px) {
	.postfix-toc {
		float: none;
		margin: 1.5em 0;
		width: 100%;
	}
}
