:root {
	--main-color:                 #8000ff;
	--ss-border:                  #7300e6;
	--complementary-color:        #e6d1ff;
	--complementary-color2:       #80f1cb;
	--complementary-color3:       #f9ff82;
	--complementary-color-light:  #ececec;
	--complementary-color-lighter:#efefef;
	--complementary-color-dark:   #262428;
	--contenttext-color:          #000;
	--link-color:                 #007c9f;
	--canvas-text: Arial, Helvetica, sans-serif;
	--content-sans: Arial, Helvetica, sans-serif;
	--content-serif: Arial, Helvetica, sans-serif;
	--figure-background-color:    #F7F7F9;

	--tableborder-color:          var(--complementary-color-dark);
}

body {
	> header {
		border-bottom: 1px solid var(--ss-border);
		background: var(--main-color);
		color: white;

		img {
			max-height: calc(100% - 30px);
		}

		span {
			display: none;
		}

		svg {
			fill: white;
		}
	}
}
body.slim-width > header img {
	max-height: calc(100% - 20px);
}

/* --- Header menu --- */
#full-menu {
	nav {
		li {
			color: white;

			span {
				display: unset;
				cursor: default;
			}

			a {
				color: white;
			}
		}
	}
}
#sub-menu {
	border-top: unset;
	--left: -12px;

	ul {
		margin: 1px;
		padding-block: 15px 6px;
		min-width: 180px;
		background-color: var(--main-color);

		li {
			padding-inline: 15px;
			line-height: 180%;

			span {
				cursor: default;
			}

			a {
				text-decoration: none;
				color: white;

				&:hover {
					text-decoration: underline;
				}
			}
		}
	}
}
/* === Header menu === */

#ssfoot {
	background-color: var(--main-color);
}

.ssfrag > div > .book {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 0 30px;
}

/* ss frontpage */

	/* autoflow of readable books */
#ssrows {
	grid-column: 2;
	.ssfrag:has(span.noaccess) {
		display: none;
	}
}
	/* /autoflow of readable books */

/* mypage */
.ssfrag-account-router {
	fieldset {
		display: grid;
		width: 400px;
		max-width: calc(100vw - 40px);
		margin: 0 auto 20px auto;
		padding: 20px 15px;
		background-color: var(--ss-bg);
		border: 1px solid var(--ss-border);
		border-radius: 4px;
		legend {
			display: none;
		}
		p {
			margin-bottom: 1em;
			svg {
				width: 20px;
				height: 20px;
				vertical-align: bottom;
			}
			&.warning svg {
				fill: orange;
			}
			&.info svg {
				fill: #3295d7;
			}
			&.error svg {
				fill: #ce2029;
			}
		}
		label {
			position: relative;
			height: 32px;
			display: block;
			margin-bottom: 6px;
			width: 100%;
			background-color: #fff;
			svg {
				position: absolute;
				top: 4px;
				left: 4px;
				width: 20px;
				height: 20px;
				fill: #0b5cab;
			}
			span {
				display: none;
			}
			input {
				height: 100%;
				width: 100%;
				padding: 0 0 0 30px;
				border: 0;
				border-bottom: 1px solid #ccc;
			}
		}
		input[type="submit"],
		a.butt {
			display: block;
			width: 100%;
			height: 32px;
			text-align: center;
			line-height: 2;
			background-color: #efefef;
			border: 1px solid #ccc;
			font-size: 1rem;
		}
	}
}

.ssrow.ssrow-1-1-1-1 > div {
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	grid-auto-rows: auto;
	gap: 40px;
	margin-bottom: 40px;
}
.ssrow .ssfrag img {
	max-width: 270px;
}
.ssrow .ssfrag a {
	text-decoration: underline;
}
.ssrow .ssfrag .toc a {
	text-decoration: none;
	color: #000;
}
.ssrow .ssfrag a:hover img {
	transform: scale(1.03);
	transition: all .3s ease;
}
.ssrow .ssfrag h1 {
	margin-top: 1em;
	font-size: 1rem;
}
.ssrow .ssfrag span {
	color: #ccc;
}
.ssrow .ssfrag span img {
	opacity: .5;
}

.ssfrag-account-router {
	.warning,
	.info,
	.error {
		display: none;
	}
}


body > main {
  display: grid;
  grid-template-columns: auto minmax(auto, var(--pageWidth)) auto;
  gap: 20px
}
body > footer,
body > footer a {
	color: #fff;
}

/* default CSS */
#content.library article img,
#content.library article .placeholder {
	box-shadow: 0 0 10px #00000066;
	transition: all .2s ease;
}
#content.library article .placeholder {
	width: 100%;
	height: 200px;
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55.45 66"><title>publication</title><path d="M55.44,17s0,0,0-.05,0,0,0-.07,0,0,0-.06,0,0,0-.06,0,0,0-.06l-.06-.11,0,0,0-.06,0,0,0,0L43,.53l0,0L42.93.43l0,0a.52.52,0,0,0-.11-.1h0L42.67.22s0,0,0,0-.05,0-.1,0l0,0-.09,0h0a.19.19,0,0,0-.1,0h0a.18.18,0,0,0-.1,0H1.35A1.36,1.36,0,0,0,0,1.35v63.3A1.36,1.36,0,0,0,1.35,66H54.1a1.36,1.36,0,0,0,1.35-1.35V17.12h0v0S55.44,17,55.44,17Zm-4.09-1.11h-8l0-10.52Zm1.4,47.42H2.7V2.72H40.57l0,14.52A1.36,1.36,0,0,0,42,18.6h10.8Z"/><path d="M8.43,24.76a1.35,1.35,0,0,0,1.35,1.36h36a1.36,1.36,0,0,0,0-2.71h-36A1.35,1.35,0,0,0,8.43,24.76Z"/><path d="M9.78,17.87H33.3a1.36,1.36,0,0,0,0-2.71H9.78a1.36,1.36,0,0,0,0,2.71Z"/><path d="M9.78,34.37h36a1.36,1.36,0,0,0,0-2.71h-36a1.36,1.36,0,0,0,0,2.71Z"/><path d="M9.78,50.6h36a1.36,1.36,0,0,0,0-2.71h-36a1.36,1.36,0,0,0,0,2.71Z"/><path d="M33.3,42.62a1.36,1.36,0,0,0,0-2.71H9.78a1.36,1.36,0,0,0,0,2.71Z"/></svg>') no-repeat center center;
	background-size: 90% 90%;
}
#content.library article a:hover img,
#content.library article a:hover .placeholder { transform: scale(1.02); }
#content.library article a:hover h1 { text-decoration: underline; }
#content.library {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(164px, 1fr));
	grid-auto-rows: min-content;
	grid-gap: 20px;
}
#content.library a {
	text-decoration: none;
	color: var(--contenttext-color);
}
#content.library article h1 { font-size: 100%; }


/* toc */
.toc ol {
	margin: 1ex 0 ;
	list-style: none;
}
.toc ol ol {
	display: none;
	padding-left: 18px;
}
.toc li.active ol,
.toc li.selected ol {
	display: block;
}
.toc li {
	margin: 0 !important;
	padding: 0 !important;
}
.toc a {
	position: relative;
	display: block;
	margin-bottom: 5px;
	padding-left: 15px;
	text-decoration: none;
	color: var(--contenttext-color);
	cursor: pointer;
}
.toc a:hover { color: #000; }
.toc a:before {
	position: absolute;
	top: 3px;
	left: 0;
	width: 10px;
	height: 10px;
	content: ' ';
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66"><polygon style="fill:%236f6f6f" points="33,66 24.4,57.4 48.8,33 24.4,8.6 33,0 66,33 "/></svg>') no-repeat -3px 0;
	line-height: 0;
	color: #999;
	transition: all 200ms ease;
}
.toc li.active > span a:before,
.toc li.selected > span a:before,
.toc a:hover:before,
.toc .active > span a:before { left: 5px; color: #000; }
.toc li.selected > span a,
.toc li.active > span a { font-weight: bold; }

.mP.toc h2 { font-size: 18px; }



#content p {
	font-family: var(--content-serif);
	color: var(--contenttext-color);
	line-height: 1.8;
	-webkit-hyphens: auto;
	hyphens: auto;
}
/* headings */
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
	margin: 1.2em 0 .5em 0;
	font-family: var(--content-sans);
	font-weight: 700;
	line-height: 1.2;
}
#content h5,
#content h6 {
	font-size: 100%;
	font-style: italic;
}
#content h1 {
	margin-top: 0;
	font-size: 250%;
}
#content .partitle {
	text-transform: uppercase;
	font-family: var(--content-sans);
	color: var(--contenttextlight-color);
}

.mP.toc .part > h1 {
	margin: 10px 0 0 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--complementary-color-light);
	font-size: 100%;
	font-weight: 400;
	text-transform: uppercase;
}

#content .suptitle {
	margin-bottom: 10px;
	font-family: var(--content-sans), sans-serif;
	font-size: 137%;
	font-weight: 400;
	line-height: 1.2;
}
#content .subtitle {
	margin: -.5em 0 1em 0;
	font-family: var(--content-sans), sans-serif;
	font-size: 137%;
	font-weight: 400;
	line-height: 1.2;
}
#content h2 + section > h3,
#content h3 + section > h4 { margin-top: 0; }
#content :not(section) h1 {
	font-weight: 700;
	font-size: 150%;
}
#content figure h1 {
	margin-bottom: .5em;
	font-weight: 700;
	font-size: 100%;
	text-transform: none;
}
#content .lead {
	font-family: var(--content-sans), sans-serif;
	font-size: 120%;
	line-height: 1.5;
}
#content .persons {
	margin: 1em 0;
	border: 1px solid var(--complementary-color);
	border-width: 1px 0;
	font-family: var(--content-sans), sans-serif;
	font-size: small;
}
#content .person {
	margin: 10px 0;
	line-height: 1.2;
}
#content .persons span[class$="name"] { font-weight: 600; }
#content .persons p { margin: 0; }
#content .persons .misc,
#content .persons .misc-2 { display: inline; }
#content p { margin: 0 0 1em 0; }
#content p.blank { margin-top: 2em; }
#content p.unindented { margin-top: -1em; }
#content h2 + p.unindented { margin-top: 0; }
#content p.hanging {
	padding-left: 2.2em;
	text-indent: -2.2em;
}
#content p.left { text-align: left; }
#content p.center { text-align: center; }
#content p.right { text-align: right; }
#content p.justify { text-align: justify; }
#content p.source {
	text-align: right;
	font-size: 90%;
}
#content p a {
	word-wrap: break-word;
	line-break: anywhere;
}

#content em {
	font-weight: inherit;
	font-style: normal;
	text-decoration: none;
}
#content em.strong { font-weight: bold; }
#content em.italic { font-style: italic; }
#content em.underline { text-decoration: underline; }

#content ol,
#content ul { margin: .5em 0 1em 1.2em; }
#content ol.d { list-style: decimal; }
#content ol.A { list-style: upper-alpha; }
#content ol.a { list-style: lower-alpha; }
#content ol.I { list-style: upper-roman; }
#content ol.i { list-style: lower-roman; }
#content ul.circle { list-style: circle; }
#content ul.bullet { list-style: initial; }
#content ul.free { list-style: none; }
#content li { margin: .5em 0; }
#content li p { margin: 0; }

#content figure { margin: 1.5em 0; }
#content figure.table {
	overflow-x: auto;
	overflow-y: hidden;
}
#content figure img { max-width: 100%; }
#content figure img[style*="height"] { width: unset; }
#content figure.var-a {
	width: 100%;
}
#content figure.var-b {
	width: 100%;
}
#content figure.var-c {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}
#content figure.var-d {
	float: left;
	width: 50%;
	margin-top: .5em;
	padding-right: 20px;
}
#content figure.var-e {
	float: right;
	width: 50%;
	margin-top: .5em;
	padding-left: 20px;
}
#content figure.var-f {
	width: 25%;
	float: left;
	margin-top: .5em;
	margin-right: 20px;
}
#content figure.var-g {
	width: 25%;
	float: right;
	margin-left: 20px;
	margin-top: .5em;
}
#content figure.var-h {
	width: 12.5%;
	float: left;
	margin-right: 20px;
	margin-top: .5em;
}
#content figure.var-i {
	width: 12.5%;
	float: right;
	margin-left: 20px;
	margin-top: .5em;
}
#content figure.var-j {
	width: 75%;
	margin-left: auto;
	margin-right: auto;
}
#content figure img.b {
	padding: 10px;
	border: 1px solid var(--tableborder-color);
}

#content figure:not([class^="var-"]) {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	grid-gap: 10px;
}
#content figure:not(.textflow).left.w100 > *   { grid-column: 1 / span 8; }
#content figure:not(.textflow).left.w75 > *    { grid-column: 1 / span 6; }
#content figure:not(.textflow).left.w50 > *    { grid-column: 1 / span 4; }
#content figure:not(.textflow).left.w25 > *    { grid-column: 1 / span 2; }
#content figure:not(.textflow).left.w12½ > *   { grid-column: 1 / span 1; }
#content figure:not(.textflow).center.w100> *  { grid-column: 1 / span 8; justify-self: center; }
#content figure:not(.textflow).center.w75> *   { grid-column: 2 / span 6; }
#content figure:not(.textflow).center.w50> *   { grid-column: 3 / span 4; }
#content figure:not(.textflow).center.w25> *   { grid-column: 4 / span 2; }
#content figure:not(.textflow).center.w12½> *  { grid-column: 4 / span 1; }
#content figure:not(.textflow).right.w100 > *  { grid-column: 1 / span 8; justify-self: end; }
#content figure:not(.textflow).right.w75 > *   { grid-column: 3 / span 6; }
#content figure:not(.textflow).right.w50 > *   { grid-column: 5 / span 4; }
#content figure:not(.textflow).right.w25 > *   { grid-column: 7 / span 2; }
#content figure:not(.textflow).right.w12½ > *  { grid-column: 8 / span 1; }
#content figure:not(.textflow).left.w75 figcaption[class^="side-"]   { grid-column: 7 / span 2 !important; grid-row: 1; }
#content figure:not(.textflow).left.w50 figcaption[class^="side-"]   { grid-column: 5 / span 4 !important; grid-row: 1; }
#content figure:not(.textflow).left.w25 figcaption[class^="side-"]   { grid-column: 3 / span 6 !important; grid-row: 1; }
#content figure:not(.textflow).left.w12½ figcaption[class^="side-"]  { grid-column: 2 / span 7 !important; grid-row: 1; }
#content figure:not(.textflow).center figcaption.full-width          { grid-column: 1 / span 8 !important; grid-row: 1; }
#content figure:not(.textflow).right.w75 figcaption[class^="side-"]  { grid-column: 1 / span 2 !important; grid-row: 1; }
#content figure:not(.textflow).right.w50 figcaption[class^="side-"]  { grid-column: 1 / span 4 !important; grid-row: 1; }
#content figure:not(.textflow).right.w25 figcaption[class^="side-"]  { grid-column: 1 / span 6 !important; grid-row: 1; }
#content figure:not(.textflow).right.w12½ figcaption[class^="side-"] { grid-column: 1 / span 7 !important; grid-row: 1; }
#content figure:not(.textflow) figcaption.side-top { align-self: start; }
#content figure:not(.textflow) figcaption.side-bottom { align-self: end; }
#content figure:not(.textflow) figcaption.full-width { grid-column: 1 / span 8 !important; }
#content figure.right figcaption { text-align: left; }
#content figure.center figcaption { text-align: center; }

#content figure.textflow {
	display: block;
	margin-top: 0.5em;
}
#content figure.textflow.left { float: left; margin-right: 20px; }
#content figure.textflow.center { margin-left: auto; margin-right: auto; text-align: center; }
#content figure.textflow.right { float: right; margin-left: 20px; }
#content figure.textflow.w75  { width: 75%; }
#content figure.textflow.w50  { width: 50%; }
#content figure.textflow.w25  { width: 25%; }
#content figure.textflow.w12½ { width: 12.5%; }

#content figure.imbed iframe {
	width: 100%;
	height: 415px;
}
#content figcaption {
	margin-top: 0;
	font-family: var(--content-sans), sans-serif;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
}
#content figcaption .note,
#content .origin {
	font-style: normal;
	font-size: 90%;
}
#content figcaption p { margin-bottom: .5em; }

#content .gallery {
	margin: 2em 0;
}
#content .gallery a { display: inline-block }
#content .gallery .item {
	display: inline-block;
	width: 100px;
	height: 100px;
	margin: 10px;
	background-size: cover;
}
#content .gallery .item img {
	width: 1px;
	height: 1px;
}


#content table {
	width: 100%;
	margin: .5em 0;
	border-collapse: collapse;
}
#content table caption {
	margin-bottom: .5em;
	font-family: var(--content-sans), sans-serif;
	font-size: 100%;
	font-weight: 600;
	text-align: left;
	line-height: 1.2;
}
#content table th,
#content table td {
	padding: 5px;
	border: 1px var(--tableborder-color) solid;
	font-family: var(--content-sans), sans-serif;
	font-size: 90%;
	line-height: 1.2;
}
#content table th.left,
#content table td.left { text-align: left; }
#content table th.center,
#content table td.center { text-align: center; }
#content table th.right,
#content table td.right { text-align: right; }
#content table th,
#content table td { vertical-align: top; } /* default */
#content table th.top,
#content table td.top { vertical-align: top; }
#content table th.middle,
#content table td.middle { vertical-align: middle; }
#content table th.bottom,
#content table td.bottom { vertical-align: bottom; }
#content table p { margin: 0 0 .5em 0; }
#content table th p:last-child,
#content table td p:last-child { margin: 0; }
#content table td p.unindented { margin-top: -.5em; }
#content table p.blank { margin-top: .5em; }
#content table th { background-color: var(--tablehead-color) }
#content table.var-a tr:nth-child(even) td { background-color: var(--tablestripe-color); }
#content table.var-b tr th,
#content table.var-b tr td { background-color: transparent; }
#content table.var-c tr > * { border: none; }
#content table.var-c th { background-color: unset; }
#content table.var-d { margin: 0; }
#content table.var-d tr > * {
	padding: 0;
	border: none;
}
#content table.var-d tr > * > p {
	font-size: initial;
	font-family: var(--content-serif);
	line-height: 1.8;
}
#content table tr.under > * { border-bottom: 1px solid var(--tableborder-color); }
#content table tr.over > * { border-top: 1px solid var(--tableborder-color); }
#content table tr.overunder > * {
	border: 1px solid var(--tableborder-color);
	border-width: 1px 0;
}
#content table tr > *.border { border: 1px solid var(--tableborder-color); }
#content table tr > *.border-t { border-top: 1px solid var(--tableborder-color); }
#content table tr > *.border-r { border-right: 1px solid var(--tableborder-color); }
#content table tr > *.border-b { border-bottom: 1px solid var(--tableborder-color); }
#content table tr > *.border-l { border-left: 1px solid var(--tableborder-color); }
#content table th.rotate p,
#content table td.rotate p {
	writing-mode: vertical-lr;
	writing-mode: vertical-rl;
	white-space: nowrap;
	margin: 0 auto;
}

#content blockquote {
	margin: 2em 0;
	padding: 30px 50px 5px 65px;
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 39.4"><path style="fill: %238e44ad" d="M19.93,0V3.13c-4.48,2.24-7.62,4.71-9.63,7.39a13.19,13.19,0,0,0-3.14,8.29,6.63,6.63,0,0,0,.68,3.58,2.28,2.28,0,0,0,1.79,1.12,7.89,7.89,0,0,0,2.68-.67,8.78,8.78,0,0,1,3.14-.68,7.31,7.31,0,0,1,5.37,2.24A7.43,7.43,0,0,1,23.06,30a8,8,0,0,1-2.91,6.27A9.63,9.63,0,0,1,13.21,39C9.85,39,6.72,37.39,4,34.48a15.8,15.8,0,0,1-4-11A23.43,23.43,0,0,1,5.15,9.18,32.1,32.1,0,0,1,19.93,0ZM56.42.22V3.13Q48.7,7.5,46.34,11.19a14.54,14.54,0,0,0-2.46,8.29,4.33,4.33,0,0,0,.9,3.13,2.28,2.28,0,0,0,1.79,1.12A8.09,8.09,0,0,0,49,23.06a9,9,0,0,1,3.36-.67,7.27,7.27,0,0,1,5.37,2.24A7.4,7.4,0,0,1,60,30.22a8.4,8.4,0,0,1-2.91,6.5,10.57,10.57,0,0,1-7.16,2.68,12.18,12.18,0,0,1-9.18-4.25,15.41,15.41,0,0,1-4-11A23.09,23.09,0,0,1,41.87,9.63C45.22,5.15,50.15,2,56.42.22Z"/></svg>') no-repeat 0 5px;
	background-size: auto 30px;
	border-top: 1px solid var(--complementary-color-light);
	border-bottom: 1px solid var(--complementary-color-light);
	font-size: 130%;
	font-style: italic;
	font-weight: 400;
}
#content blockquote .origin { font-size: 85%; }

#content .footnote {
	vertical-align: baseline;
	position: relative;
	padding: 0 0 0 3px;
	cursor: help;
	font-weight: bold;
	font-size: 150%;
	line-height: 0;
}
#content .footnote span {
	display: none;
	position: absolute;
	bottom: 25px;
	left: -150px;
	z-index: 666;
	width: 300px;
	padding: 5px;
	background-color: var(--complementary-color-light);
	border: 1px var(--complementary-color) solid;
	border-radius: 3px;
	box-shadow: 1px 1px 6px var(--complementary-color);
	text-indent: 0;
	font-weight: normal;
	font-size: initial;
	line-height: normal;
}
#content .footnote:hover span,
#content .footnote.active span {
	display: unset;
}

#content .box {
	margin: 1em 0;
	padding: 20px 30px;
	border-radius: 3px;
}
#content .box h2 {
	margin-top: 0;
	font-size: 110%;
	text-transform: uppercase;
}
#content .box h3 {
	margin-top: 0;
	font-size: 105%;
}
#content .box p {
	font-family: var(--content-sans), sans-serif;
	line-height: 1.4;
}
#content .box section + p { margin-top: 1.2em; }

#content .petit {
	margin-left: 20px;
	font-style: italic;
}

#content .example {
	padding-left: 15px;
	border-left: 15px var(--complementary-color-lighter) solid;
}
#content .variant p {
	font-weight: 700;
	font-style: italic;
	color: var(--main-color);
}

#content .poem { margin: 1em 0; }
#content .poem h1 {
	margin-top: 1.5em;
	font-size: 22px;
	font-style: italic;
}
#content .verse { margin: 1em 0;  }
#content .verse p { margin: 0; }

#content code {
	white-space: pre-wrap;
	font-family: 'Courier New', Courier, monospace;
}

#content nav.prevnext {
	display: flex;
	clear: both;
	padding-top: 10px;
	border-top: 1px solid var(--complementary-color);
	font-family: var(--canvas-text);
	line-height: 1.2;
}
#content nav.prevnext a {
	position: relative;
	display: block;
	width: 50%;
	margin: 0 15px;
	text-decoration: none;
	color: var(--contenttext-color);
}
#content nav.prevnext a.next {
	text-align: right;
	align-self: flex-end;
	flex-grow: 1;
}
#content nav.prevnext a:before {
	position: absolute;
	top: 2px;
	left: -15px;
	width: 10px;
	height: 10px;
	content: ' ';
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66"><polygon style="fill:%236f6f6f" points="33,0 41.6,8.6 17.2,33 41.6,57.4 33,66 0,33"/></svg>') no-repeat 3px 0;
	line-height: 0;
	color: #999;
	transition: all 200ms ease;
}
#content nav.prevnext a.next:before {
	left: unset;
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66"><polygon style="fill:%236f6f6f" points="33,66 24.4,57.4 48.8,33 24.4,8.6 33,0 66,33"/></svg>') no-repeat -3px 0;
	right: -15px;
}
#content nav.prevnext a:hover:before { left: -20px; }
#content nav.prevnext a.next:hover:before {
	left: unset;
	right: -20px;
}
#content nav.prevnext a.noprev { visibility: hidden; }
#content nav.prevnext label {
	display: block;
	font-weight: normal;
	font-size: smaller;
	text-transform: uppercase;
	color: var(--contenttextlight-color);
	cursor: pointer;
}

/* site CSS */

#content nav.path {
	display: flex;
	justify-content: left;
	white-space: nowrap;
	overflow: hidden;
	margin-bottom: 1em;
}
#content nav.path a {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 33%;
	padding: 0 10px 0 13px;
}
#content nav.path a::before {
	position: absolute;
	top: 3px;
	left: 0;
	width: 10px;
	height: 10px;
	content: ' ';
	background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 66 66"><polygon style="fill:%236f6f6f" points="33,66 24.4,57.4 48.8,33 24.4,8.6 33,0 66,33 "/></svg>') no-repeat -3px 0;
	line-height: 0;
	color: #999;
	transition: all 200ms ease;
}
#content nav.path a:hover::before { left: 5px; color: #000; }

#content > section > h1,
#content > section > h2,
#content > section > h3 { margin-top: 0; }
.result #content article h1 { border-top: none; }
@keyframes highlight {
	from { background: yellow; }
	to { background: lightgoldenrodyellow; }
}
#content .searchhighlight {
	background: lightgoldenrodyellow;
	animation-name: highlight;
	animation-duration: 5s;
}
#content span.paragraph:after { content: ' '; }

#content.library {
	flex-direction: column;
	justify-content: initial;
}
#content.library a article {
	display: flex;
	align-items: flex-end;
	max-width: 100%;
}
#content.library a article img,
#content.library a article .placeholder {
	order: 1;
	max-width: 164px;
	margin-right: 20px;
}
#content.library a article h1 { order: 2; }

#content ul.free { margin-left: 0; }
#content ul.free > li {
	display: grid;
	grid-template-columns: 3em auto;
	padding-left: 0;
}
#content ul.free li div.listbullet {
	grid-column: 1;
	line-height: 1.8;
}
#content ul.free li p,
#content ul.free li ul,
#content ul.free li ol,
#content ul.free li figure,
#content ul.free li .variant { grid-column: 2; }
#content ul.free li ul,
#content ul.free li ol { list-style: initial; }

#content .footnote { color: blue; }
#content .footnote span { color: var(--contenttext-color); }

#content .rotate th {
	vertical-align: bottom;
	text-align: -webkit-center;
}
#content .rotate th p {
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	/*text-align:center;*/
	-ms-writing-mode:tb-rl;
  writing-mode: tb-rl;
	max-height: 150px;
	text-align: left;
	line-height: 1.2;
	hyphens: unset;
}
#content ul.subsections { margin: 1em 0; }
#content ul.subsections a { color: var(--link-color); }
#content ul.subsections a span:after { content: ' '; }

#content blockquote {
	margin: 1em 0;
	padding: 1em 20px 0px 20px;
	background: none;
	border-top: 1px solid var(--complementary-color-light);
	border-bottom: 1px solid var(--complementary-color-light);
	font-size: 120%;
	font-style: italic;
	font-weight: 400;
}
#content .box p:last-child { margin-bottom: 0; }
#content .box.var-a { border: 1px solid var(--main-color); }
#content table.Tabell-D th,
#content table.Tabell-D td {
	padding: 0 1ex 0 0;
	border-width: 0;
	font-size: 100%;
}
#content .component.var-f { margin-left: 1em; }

/* widetablefix */
#content figure:not(.textflow).center.w100> * {
	justify-self: unset;
}

/* NEK */
#content.nek figure.img {
	padding: 10px;
	background-color: var(--figure-background-color);
}

#content.nek table th { border-width: 0 1px 0 0; }
#content.nek table td { border-width: 1px 1px 0 0; }
#content.nek table th:last-child,
#content.nek table td:last-child { border-right-width: 0 ; }

#content.nek table.Tabell-A td { background-color: var(--figure-background-color); }
#content.nek table.Tabell-A thead { border-bottom: 2px solid #00965e; }
#content.nek table.Tabell-D { margin: 0; }
#content.nek table.Tabell-D th,
#content.nek table.Tabell-D td { border-width: 0; }

#content.nek figure img[src$="svg"] { width: 100%; }

#content.nek figure:not(.textflow).center figcaption.full-width { grid-row: 2; } /* moving figcaption to bottom */

#content.nek figure + figure { margin-top: 3em; }

#content.nek figcaption p {
	font-style: normal;
	font-weight: bold;
}

#content.nek .box.var-a,
#content.nek .box.var-b,
#content.nek .variant.var-a,
#content.nek .variant.var-b {
	padding: 5px;
	background-color: var(--figure-background-color);
}
#content.nek .box.var-c {
	background-color: var(--figure-background-color);
	border: 1px solid var(--main-color);
}
#content.nek figure:not(.textflow).center.w100 > figcaption { justify-self: unset; }
#content.nek figure.center figcaption { text-align: left; }
#content.nek td aside.var-a,
#content.nek figcaption .note {
	padding: 5px;
	background-color: #fff;
}
#content.nek td aside.var-a p { line-height: 1.2; }
#content.nek .box p:last-child,
#content.nek .variant p:last-child,
#content.nek figcaption p:last-child { margin-bottom: 0; }
/* /NEK */

.ssrow:has(.ssfrag-signin), .ssrow:has(.ssfrag-account) {
	height: 100%;
}
.ssfrag-signin, .ssfrag-account {
	display: grid;
}
:is(.ssfrag-signin, .ssfrag-account) > div {
	display: grid;
	width: 400px;
	max-width: calc(100vw - 40px);
	margin: auto;
	background-color: var(--ss-bg);
	padding: 20px 15px;
	border: 1px solid var(--ss-border);
	height: auto;
	border-radius: 4px;
}

:is(.ssfrag-signin, .ssfrag-account) svg {
	width: 20px;
	height: 20px;
	fill: #0b5cab;
	align-self: center;
	position: absolute;
	top: 4px;
	left: 4px;
}
:is(.ssfrag-signin, .ssfrag-account) label:has(input[type="text"], input[type="email"], input[type="password"]) span {
	display: none;
}
:is(.ssfrag-signin, .ssfrag-account) label:has(input[type="text"], input[type="email"], input[type="password"]) {
	position: relative;
	height: 32px;
	display: block;
	margin-bottom: 6px;
	width: 100%;
}
:is(.ssfrag-signin, .ssfrag-account) :is(input[type="text"], input[type="email"], input[type="password"]) {
	height: 100%;
	width: 100%;
	padding: 0 0 0 30px;
	border: 0;
	border-bottom: 1px solid #ccc;
}
:is(.ssfrag-signin, .ssfrag-account) :is(input[type="text"], input[type="email"], input[type="password"]):focus {
	border-bottom: 1px solid #000;
}
:is(.ssfrag-signin, .ssfrag-account) button {
	border: 1px solid #ccc;
	width: 100%;
	height: 32px;
}
:is(.ssfrag-signin, .ssfrag-account) .links {
	margin-top: 10px;
	display: grid;
    grid-template-columns: 1fr auto;
}
:is(.ssfrag-signin, .ssfrag-account) p:not(:last-child) {
	padding-bottom: 10px;
}



#searchaside {
	margin-top: 10px;
	h3 {
		margin-top: 10px;
		margin-bottom: 6px;
	}
	ul {
		list-style-type: none;
		margin: 0;
		li {
			margin: 0;
			line-height: 180%;
			a {
				display: inline-block;
				width: 100%;
				padding-left: 6px;
				color: #000;
				text-decoration: none;
				&:hover {
					background-color: #eee;
				}
			}
			.count {
				color: #888;
				font-size: 13px;
			}
			.check {
				border: 1px solid #999;
				background-color: #eee;
				width: 16px;
				height: 16px;
				display: inline-block;
				border-radius: 3px;
				margin-right: 6px;
				position: relative;
				margin-bottom: -2px;
			}
			&.selected .check:before {
				content: '✓';
				font-size: 26px;
				position: absolute;
				top: -9px;
				left: -1px;
			}
		}
	}
}
.ssfrag-search .results {
	display: grid;
	grid-template-columns: 220px auto;
	gap: 20px;
	font-family: arial;
	> div {
		container-type: inline-size;
	}
	&:not(.filter) {
		grid-template-columns: 1fr;
		aside {
			display: none;
		}
	}
	.head {
		display: grid;
		grid-template-columns: 1fr auto;
		margin: 20px 0;

		> span:first-child {
			color: #777;
		}

		> span:last-child {
			span {
				color: #000;
			}
			a {
				color: #777;
				text-decoration: none;

				&:hover {
					color: #000;
					text-decoration: underline;
				}
			}
		}
	}
	.result {
		clear: both;
		margin-bottom: 20px;
		padding-bottom: 10px;
		a {
			text-decoration: none;
			color: #1a0dab;
			&:visited {
				color: #681da8;
			}
			&:hover h3 {
				text-decoration: underline;
			}
		}
		h3 {
			font-size: 20px;
			font-weight: normal;
		}
		.articleimg {
			float: left;
			margin: 0 16px 6px 0;
			border: 1px solid #ccc;
			border-radius: 4px;
			img {
				width: min(30cqw, 180px);
				aspect-ratio: 16 / 10;
				object-fit: cover;
				border-radius: 4px;
			}
			@container (max-width: 400px) {
				float: unset;
				margin-right: 0;
				img {
					width: 100%;
					aspect-ratio: 32 / 9;
				}
			}
		}
		em {
			font-style: normal;
			font-weight: bold;
		}
	}
	.more {
		display: grid;
		justify-content: center;
		padding: 20px 0 30px 0;
		div {
			display: grid;
			width: 240px;
			height: 36px;
			background-color: #eaf2ff;
			justify-content: center;
			align-content: center;
			border-radius: 4px;
			border: 1px solid #ccc;
			cursor: pointer;
		}
	}
}

.ssfrag-search .showfilters {
	border: 1px solid #999;
	text-align: center;
	padding: 6px;
	background-color: #eaf2ff;
	border-radius: 4px;
	display: none;
	cursor: pointer;
}

.ssfrag-search form {
	display: grid;
	grid-template-columns: 1fr auto;
	font-size: 20px;
	margin: 10px 0;
	input {
		border: 1px solid #ccc;
		font-size: inherit;
		padding: 6px 10px;
		border-radius: 4px 0 0 4px;
		min-width: 80px;
	}
	button {
		font-size: inherit;
		border: 1px solid #ccc;
		border-left: 0;
		padding: 0 15px;
		background-color: #eaf2ff;
		border-radius: 0 4px 4px 0;
		svg {
			height: 16px;
			width: 16px;
		}
	}
}

#mini-menu #searchaside {
	h3 {
		padding: 0 10px;
	}
	li a {
		padding: 0 10px 0 16px;
	}
}

@container (max-width: 700px) {
	.ssfrag-search .results {
		grid-template-columns: 1fr;
	}
	.ssfrag-search .results > aside {
		display: none;
	}
	.ssfrag-search .showfilters {
		display: block;
	}
}
