/* +AMDG */
@counter-style smalldoz {
	system:  numeric;
	symbols:  '0' '1' '2' '3' '4' '5' '6' '7' '8' '9' 'X' 'E';
}
.newpart {
	counter-reset:  question !important;
	counter-reset:  article;
	counter-increment:  newpart;
	font-size:  275%;
	text-align:  center;
	color:  var(--heading-color);
	font-variant:  small-caps;
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
	text-shadow:  1px 1px 1px #000000;
}
h1.newpart::before {
	content:  "Part " counter(newpart,upper-roman) ":  ";
}
.frontchap {
	font-size:  250%;
	text-align:  left;
	color:  var(--heading-color);
	font-variant:  small-caps;
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
	text-shadow:  1px 1px 1px #000000;
}
h1.question {
	counter-reset:  article;
	counter-increment:  question;
	text-align:  left;
	font-size:  250%;
	color:  var(--heading-color);
	font-variant:  small-caps;
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
	text-shadow:  1px 1px 1px #000000;
}
h1.question::before {
	content:  "Question " counter(question,smalldoz) ":  ";
}
h2.article {
	counter-increment:  article;
	text-align:  left;
	font-size:  200%;
	color:  var(--heading-color);
	font-variant:  small-caps;
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
	text-shadow:  1px 1px 1px #000000;
}
h2.article::before {
	content:  "Q. " counter(question,smalldoz) ", A. " counter(article,smalldoz)  ":  ";
}
h3.smallsect {
	counter-increment:  smallsect;
	display:  inline;
	text-align:  left;
	font-size:  100%;
	color:  var(--main-fg-color);
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
}
h3.smallsect::before {
	content:  "" counter(smallsect, smalldoz) ".  ";
}
h1.appendix {
	counter-reset:  article;
	counter-reset:  smallsect;
	counter-increment:  appendix;
	text-align:  left;
	font-size:  250%;
	color:  var(--heading-color);
	font-variant:  small-caps;
	font-weight:  bold;
	margin:  0;
	margin-top:  2%;
	text-shadow:  1px 1px 1px #000000;
}
h1.appendix::before {
	content:  "Appendix " counter(appendix, upper-alpha) ": ";
}
