/* nj */

.content.nj p {
	text-align: left;
}
.content.nj > ul {
  padding: 0;
  margin: 0 auto var(--gap) auto;
  max-width: var(--content-col-max);
  line-height: 1.4;
	list-style: none;
}

.nj-page[data-view=text] img,
.nj-page[data-view=small-scan] :where(.text, .large-scan),
.nj-page[data-view=large-scan] :where(.text, .small-scan) {
  display: none;
}

.nj-page > .text {
	padding: var(--gap);
	max-width: var(--content-col-max);
	margin: 1rem auto;
	background-color: #eee;
	color: black;
}
.nj-page > .text > * {
	width: auto;
}
.nj-page > .text.intro {
	border: 0;
	padding: 0;
	width: auto;
	margin: 0;
}
.nj-page > .text.intro > * {
	max-width: var(--content-col-max);
}
.nj-page > .text.intro:first-child > *:first-child {
	margin-top: 0;
}
.nj-page > img {
	/*display: none;*/
	width: auto;
	border: 0;
	margin: var(--gap) auto;
}
.nj-page > .text > img {
	display: inline;
	border: none;
	margin: 0;
}
.sketch {
	color: #777;
}
.note {
	color: #777;
}
.content.nj [aria-description] {
	border: dashed #555;
	border-width: 0 0 1px 0;
  position: relative;
}
.content.nj [aria-description]:not(.text [aria-description]) {
  border-color: #aaa;
}
.content.nj [aria-description]:hover::after {
  background-color: #fff;
  border: solid 1px #aaa;
  color: #000;
  content: attr(aria-description);
  display: block;
  left: 0;
  max-width: 15em;
  padding: 0.25em;
  position: absolute;
  /*right: 0;*/
  top: 100%;
  width: max-content; /*min(30em, max-content);*/
}

.content.nj .heading {
	font-weight: bold;
}
.content .large {
	font-size: x-large;
	text-align: center;
}
.content.nj [id=gpop-wrapper] {
  display: grid;
	position: fixed;
	top: 0;
	left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  place-content: center;
  z-index: 2;
}
.content.nj [id=gpop-wrapper][hidden] {
  display: none;
}
.content.nj [id=gpop] {
	border: solid 0.5rem black;
  max-height: 100%;
  pointer-events: initial;
	/*
	padding: 0;
	margin: 0;
  display: none;
	overflow: auto;
	z-index: 4;
  */
}



.content.nj .text a {
  text-decoration: underline;
  color: #46b;
}
.content.nj .text a:visited {
  color: #35a;
}
.content.nj .text a:is(:hover, :focus-visible) {
 /*text-decoration: underline;*/
  color: #57c;
}
.content.nj .text a:active {
  color: #68d;
}

.content [id=gtext] {
  background-color: black;
	border: solid #555;
  border-radius: 0 0 0 0.25rem;
	border-width: 0 0 1px 1px;
	/*display: none;*/
	font-weight: bold;
	margin: 0;
	padding: 0.25rem;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 6;
}
.content [id=gtext][hidden] {
  display: none;
}
/*[id=gtext] a {
	font-weight: bold;
}*/
[id=gtext] a:active {
	color: var(--text-color);
}
