/* basic -------------------------------------------------- */
:root {
	--ww-bg-primary: #fcfcfc;
	--ww-bg-secondary: #fff;

	--ww-a-active: #ff0000;
	--ww-a-hover: #b90022;
	--ww-a-normal: #003399;
	--ww-a-target-bg: #ffeeee;
	--ww-a-visited: #990000;

	--ww-acl-public: #008000;
	--ww-acl-registered: #003399;
	--ww-acl-custom: #ff8a00;
	--ww-acl-private: #ff0000;

	--ww-hover-primary: #ccffcc;
	--ww-hover-secondary: #e7f9ff;

	--ww-buttonface: rgb(233, 233, 237);
	--ww-buttonhighlight: rgb(255, 255, 255);
	--ww-buttonshadow: rgb(160, 160, 160);
	--ww-buttontext: rgb(0, 0, 0);

	--ww-font-color: #000;
	--ww-font-size: 14px;
	--ww-font-serif: "Times New Roman", Times, serif;
	--ww-font-sans-serif: Verdana, Arial, Helvetica, sans-serif;
	--ww-font-monospace: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif;
}

p,
td,
th,
li {
	font-family: var(--ww-font-sans-serif);
	font-size: var(--ww-font-size);
	line-height: 1.3em;
}

/* language specifics */

/* cellspacing */
table {
	border-collapse: collapse;
	border-spacing: 0;
        table-layout: fixed;
	
}
/* cellpadding */
th,
td {
	padding: 0;
}

/* Textareas */

/* hides dummy field for bots and autocomplete */

/* flexible input and textarea fields */

body {
	font-family: var(--ww-font-sans-serif);
	font-size: var(--ww-font-size);
	line-height: 1.3;
	color: var(--ww-font-color);
	background-color: var(--ww-bg-primary);
	margin: 0;
}

img {
	border-width: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

/* Hyperlinks */
a {
	color: var(--ww-a-normal);
	text-decoration: none;
	/* white-space: nowrap; */
}

a:link {
	color: var(--ww-a-normal);
}

a:visited {
	color: var(--ww-a-visited);
}

a:hover {
	color: var(--ww-a-hover);
	text-decoration: underline;
}

a:active {
	color: var(--ww-a-active);
}

a:target {
	background-color: var(--ww-a-target-bg);
}

.heading {
	clear: both;
}
.heading > a.self-link::before {
	content: "§";
	visibility: hidden;
}
.heading:hover > a.self-link::before {
	content: "§";
	visibility: visible;
	text-decoration: none;
}

a.self-link {
	height: 2em;
	float: left;
	/* line-height: 1; */
	margin-left: -15px;
	padding-right: 4px;
}
a.self-link:hover {
	text-decoration: none;
}
.heading > a.self-link {
	font-size: 83%;
}

/* a.self-link::before {
	content: "¶"; 
} */

#mainwrapper::after {
	content: "";
	display: table;
	clear: both;
}

/** message boxes ************************************************************/

/* Debugging information */

header {
	padding: 0;
	width: 96%;
}

article header {
	width: 100%;
}

/** Styles for the main content in the page. *********************************/
	/* Default settings */
	
#mainwrapper {
	/* width: 980px; */
	margin: 0 auto 1rem;
}

@media (min-width: 700px) {
	#mainwrapper {
	width: 980px;
	}
}

main {
	background-color: var(--ww-bg-secondary);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	padding: 9px 20px 0;
	float: left;
	width: 96%;
	clear: both;
}

article,
#section-content,
#page-show
{
	float: left;
	width: 100%;
}

#section-content,
#page-show {
	background-color: var(--ww-bg-secondary);
	min-height: 200px;
}

#section-content {
	padding: 5px 0 20px 0;
}

footer {
	float: left;
	width: 96%;
}

.footer {
	background-color: #f0f4f5;
	padding: 5px 20px;
	border-top: none;
	border-top: 1px dotted #ccc;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	margin: 0;
	float: left;
	height: auto;
	overflow: hidden;
	clear: both;
	width: 100%;
}

.page-meta {
	margin: 0 auto 0;
	overflow: hidden;
}

.page-meta ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-meta li {
	border-left: 1px dotted #ccc;
	float: left;
	line-height: 1.2em;
	margin: 0 .5em 0 -.5em;
	padding: 0 .5em 0 .5em;
	white-space: nowrap;
}

.layout-box {
	margin: .8em 2px 2px;
	padding: 10px;
	border: #ccc 1px dotted;
	border-radius: .1rem;
	background-color: #fcfcfc;
}

.layout-box > p {
	background: transparent;
	margin: -1.5em 0 10px 0;
	padding: 0;
	border: 0;
}

.layout-box > p span {
	background: var(--ww-bg-secondary);
	padding: 0 1px;
}

/* auto-generated footnotes */

*.heading:target,
p:target,
a:target {
	background-color: var(--ww-a-target-bg);
}

ul, ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

/** Header related ***********************************************************/

h1, h2 {
	margin: 0 0 5px;
	padding: 0;
	font-weight: normal;
	line-height: 1.2;
}

/* SYNTAX ==, ===, ====, =====, ======, ======= */

h1 {
	font-size: 24px;
	padding-top: 5px;
	padding-bottom: 2px;
	line-height: 110%;
	color: #235e9a;
}
h2 { font-size: 20px; margin-top: 20px; border-bottom: 3px dotted #ddd; color: #204a87;}


.code {
	background: #fcfcfc;
	border: 1px lightgray solid;
	font-family: var(--ww-font-monospace);
	font-size: 14px;
	border-radius: .1rem;
	padding: 0.25em;
	overflow: auto;
	white-space: pre-wrap;
}

.usertable {
	border: 1px none;
	border-collapse: collapse;
	background-color: #fff;
}

.usertable th {
	background-color: #eee;
}

.usertable td,
.usertable th {
	border: 1px solid #ccc;
	padding: 4px;
	vertical-align: top;
}

.usertable tr:hover {
	background-color: var(--ww-hover-primary);
}

#toc {
	margin: 0;
	padding: 0;
}
#toc li {
	list-style: none;
	font-weight: bold;
}
span.tocnumber {
	margin: 0 0.3em 0 0;
}

/** File-related ************************************************************/

.media-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.media-center {
	margin: .2em auto;
}

p.auto { margin: 0; padding: 0; font-size: 100%; }

span.icon{
	/* ! required for span width -> inline element */
	display: inline-block;
	height: 16px;
	width: 0;
	vertical-align: text-bottom;
}

a.external-link .icon {
	background: rgba(0, 0, 0, 0) url('./../icon/light/web.svg') no-repeat scroll left center;
	padding-left: 17px;
}

@font-face {
	font-family: AtariFont;
	src: url('./../icon/atarifont.ttf') format('truetype');
}
