.debug		{border:1px solid black;}
.debug *	{border:1px solid;}
.debug *	{border-color:red;}
.debug div	{border-color:blue;}
.debug span	{border-color:aqua;}
.debug table,
.debug frame,
.debug iframe	{border-color:green;}
.debug tr,
.debug ul,
.debug ol,
.debug details	{border-color:lime;}
.debug th,
.debug td,
.debug li,
.debug summary	{border-color:yellow;}
.debug a	{border-color:pink;}
.debug p	{border-color:grey;}
.debug article	{border-color:black;}

*		{box-sizing: inherit;}	/* CSS bug: box-sizing does not inherit. */
html, body	{box-sizing: border-box;	/* CSS bug: box sizing calculation does not accout for padding, border or margin. */
		padding:0px;border:0px;margin:0px;
		 font-family:Verdana, Helvetica, Arial,"Microsoft Sans Serif",sans-serif;
		 font-size:16px;
		 border-collapse:collapse;
		 background-color:white;color:black;}	/* background-image:linear-gradient(to right,#FFFFCC,#99CCFF); */

h1	{margin:0px;border:0px;padding:0px;text-align:center;break-after:avoid;font-weight:bold;font-size:2rem   ;text-transform:uppercase;}
h2	{margin:0px;border:0px;padding:0px;text-align:center;break-after:avoid;font-weight:bold;font-size:1.75rem;text-transform:uppercase;}
h3	{margin:0px;border:0px;padding:0px;text-align:center;break-after:avoid;font-weight:bold;font-size:1.25rem;text-transform:uppercase;}
h4	{margin:0px;border:0px;padding:0px;text-align:left  ;break-after:avoid;font-weight:bold;font-size:1rem   ;}

a	{text-decoration:none;transition:background-color 0.5s, color 0.5s;color:#76c1b3;}
a:hover,
a:active	{color:LightSkyBlue;}
img	{object-fit:contain;}
button:disabled	{text-decoration:line-through;}
iframe	{padding:0px;border:0px;margin:0px;}
form	{display:inline;}
/* input	{font-family:Arial,sans-serif;font-size:12px;}*/
/* textarea	{font-family:Arial,sans-serif;font-size:12px;}*/
table	{padding:0px;border:0px;margin:0px;
	 border-collapse:collapse;border-spacing:0px;}
caption	{border:1px solid grey;margin:3px;
	 font-size:1.5rem;font-weight:bolder;}
th, td	{padding:1px 3px;border:0px;margin:0px; vertical-align:top;}
table.border th,
table.border td	{border:1px solid black;border-collapse:collapse;}
details	{margin:0px;}
summary {margin:1rem 0px 1rem 0px;font-weight:bold;cursor:pointer;}
ul, ol	{margin:0px;padding:0px;text-align:left;}
li	{list-style-position:inside;}
li li	{padding-left:1.5em;} /* nested li */
p	{margin:0.5rem 0px;padding:0px;text-align:justify;text-align-last:left;}
.flex	{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;text-align:center;align-items:flex-start;}
.inbl	{display:inline-block;}
.pad	{display:inline-block;}
.full	{width:100%;}
.fl	{float:left;}
.fr	{float:right;}
.r	{text-align:right;}
.l	{text-align:left;}
.c	{text-align:center;}
.j	{text-align:justify;}
.b	{font-weight:bold;}
.i	{font-style:italic;}
.top	{vertical-align:top;}
.mid	{vertical-align:middle;}
.bot	{vertical-align:bottom;}
.sp	{padding-top:2em;}
.err	{font-weight:bolder;background-color:red;color:yellow;}
.warn	{font-weight:bolder;background-color:yellow;color:red;}
.ok	{font-weight:bolder;background-color:lime;color:green;}
.stat	{font-weight:bolder;background-color:lightblue;color:blue;}
.enh	{background-color:lightblue;}
.white	{color:white;}
.mono	{font-family:Terminus,'Lucida Console',Fixedsys,monospace;}
.note	{font-size:0.8rem;}
.nowrap	{white-space:nowrap;}
.wrap	{white-space:normal;}
.border	{border:1px solid black;border-collapse:collapse;}

p + h1	{margin-top:2rem;}
p + h2	{margin-top:2rem;}
p + h3	{margin-top:2rem;}
h1 + p	{margin-top:1rem;}
h2 + p	{margin-top:1rem;}

 .btn			{display:inline-block;padding:1rem 2rem;border-radius:2rem;}
 .btnPEbg		{background-color:white;color:black;}
 .btnPEbg:hover,
 .btnPEbg:active	{background-color:LightSkyBlue;color:white;}
 .PEfg			{color:#76c1b3;}
a.PEfg			{font-weight:bold;background-color:white;color:black;}
a.PEfg:hover,
a.PEfg:active		{background-color:LightSkyBlue;color:white;}
a.PEblk:hover,
a.PEblk:active		{background-color:black;}
 .PEbg			{background-color:#76c1b3;color:white;}
a.PEbg			{font-weight:bold;color:white;}
a.PEbg:hover,
a.PEbg:active		{background-color:LightSkyBlue;color:white;}

 .title			{background-color:#539588;color:white;}
 .title	> div		{max-width:80rem; margin:0 auto; padding:4rem;}
 .title > div > h1	{text-align:left; padding:1rem 2rem; font-size:3rem;}
 .title > div > div	{padding:0 2rem; font-weight:bold; text-transform:uppercase;}

article					{display:block;width:100%;}	/* the full-width box */
article.invert				{padding:2rem 0;}
article        > div			{max-width:80rem;padding:2rem 4rem;margin:0 auto;}	/* the smaller center box */
article.split  > div			{display:grid;grid-gap:4rem;grid-template-columns: 1fr 1fr;}	/* the smaller center box */
article.s23    > div 			{grid-template-columns: 2fr 3fr;}
article.s14    > div			{grid-template-columns: 1fr 4fr;}
article.s41    > div			{grid-template-columns: 4fr 1fr;}
article.invert > div			{padding:4rem;border-radius:2rem;background-color:#76c1b3;color:white;}
article          img			{width:100%;}	/* the article image in one of the boxes of split articles */
article          h2			{text-align:left;margin-bottom:1rem;}
article          h3                     {text-align:left;}
article.invert > h2                     {text-align:center;}
/*article > h2				{} /* title above the article box */
/*article > div > h2			{margin-top:2rem;}	/* title inside simple article box */
/*article > div > div > h2		{margin-bottom:2rem;}	/* title inside split article box */

iframe.header	{width:100%;height:8rem;resize:both;} /* used when JS disabled; ATTENTION! ADJUST TO FIT HEADER HEIGHT! */
iframe.footer	{width:100%;height:2rem;resize:both;} /* used when JS disabled; ATTENTION! ADJUST TO FIT FOOTER HEIGHT! */

/* header and footer elements can't be embedded in their respective files, because the body (not header) are js-imported into the including page */
/* use line-height and separate padding-left/right because absolute-positioned submenus will appear relative to line, not padding */

header					{padding:1.5rem 0px;text-align:center;}
header > div				{display:flex;flex-direction:row;justify-content:space-around;flex-wrap:wrap;text-align:center;align-items:start;}
header a				{background-color:white;color:black;}

footer   h4				{text-align:left;}
footer > div				{max-width:80rem;margin:0px auto;}
footer > div:first-child		{padding:1rem;gap:1rem;display:grid;grid-template-columns: 1fr 1fr 1fr 1fr;text-align:center;}
@media (max-width:66rem){ footer > div:first-child	{grid-template-columns: 1fr 1fr;} }
@media (max-width:33rem){ footer > div:first-child	{display:block;} }

footer   a				{color:white;}	/* all links in footer */
footer   a:hover,
footer   a:active			{color:#76c1b3;}
footer > div > div			{text-align:left;}
footer > div > div > hr			{border:#76c1b3 solid 2px;width:4rem;margin-left:0px;}

nav					{z-index:100;position:sticky;top:0px;width:100%;background-color:white;border:solid 0.1px white;} /* pull-down menus must appear over the carousel */ /* border is a Firefox bugfix for background color */
nav   a					{background-color:white;color:black;}
nav > div				{width:100%;max-width:1000px;margin:1rem auto;
					 display:flex;flex-direction:row;justify-content:space-around;align-items:start;flex-wrap:wrap;text-align:center;
					 font-weight:bold;text-transform:uppercase;}
nav > div   *				{display:block;}
nav > div > *:hover,
nav > div > *:active			{color:#76c1b3;}	/* elements in menu bar: links and submenu headerss */
nav > div > *:first-child		{display:none;width:1.5em;}	/* hamburger button */
nav > div > *        > *		{display:none;position:absolute;text-align:left;} /* submenus */
nav > div > *:hover  > *,
nav > div > *:active > *		{display:block;z-index:101;}	/* show submenus when menu clicked or hovered */
nav > div > *        > * > a		{margin:0px;border:solid 1px lightgrey;padding:1rem;font-size:0.85rem;}	/* links in submenu */
nav > div > *        > * > a:hover,
nav > div > *        > * > a:active	{background-color:#76c1b3;color:white;}

@media (max-width:700px){ /* ATTENTION! ADJUST ACCORDING TO MENU WIDTH! */
 html, body				{font-size:14px;}
 h2					{font-size:1.25rem;}
 article.split  > div			{display:block;}	/* the smaller center box for horizontal-split articles => vertical split on small screens */
 article.split  > div > *:first-child	{width:auto; text-align:center;}	/* the box on the left => box on top */

 header					{padding:0.5rem 0px 0px 0px;}
 header > div				{margin-left:11vw;} /* move logo to make space for hamburger button */
 header   hr				{display:none;}

 nav					{display:contents;}	/* no need for background anymore */
 nav > div				{display:block;z-index:100;position:fixed;width:auto;top:0px;left:0px;margin:0px;padding:0.5rem 1vw;background-color:transparent;}	/* position hamburger to top-left corner and use block display (flex not needed) */
 nav > div:active,
 nav > div:hover			{display:flex;flex-direction:column;}	/* show menu when hamburger activated/hovered */
 nav > div   *				{width:100%;background-color:white;}	/* without this, submenus wrap */
 nav > div > *				{display:none;padding:0.5rem 0px;text-align:left;}	/* hide menu */
 nav > div > *:first-child		{display:block;max-width:12vw;}	/* keep hamburger visible */
 nav > div:active > *,
 nav > div:hover  > *			{display:block;transition-delay:0.5s;}	/* show submenus when menu activated/hovered */
}
@media (max-width:360px){
 html, body				{font-size:12px;}
 header > div				{display:block;margin-left:1vw;margin-right:1vw;text-align:left;}
 .pad					{display:none;}
}

nav.blog			{max-width:80rem;margin:0 auto;border:none;padding:2rem 4rem;background-color:transparent;color:black;}
nav.blog h2			{font-size:1.2rem;text-align:left;}
nav.blog ul			{font-weight:bold;}
nav.blog li			{margin:0.5rem 0;}
