/* Zur Beachtung: Um nicht hunderttausend verschiedene Eventualitäten (gemeint
   ist hier insbesondere der IE) berücksichtigen zu müssen, werden hier keine
   Browserweichen implementiert! */

/* Zu ladende Schrifttypen */

@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: normal;
  src: local('Open Dyslexic'), local('OpenDyslexic-Regular'), url(https://www.robidu-static.de/fonts/OpenDyslexic-Regular.otf);
  }

@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: bold;
  src: local('Open Dyslexic'), local('OpenDyslexic-Bold'), url(https://www.robidu-static.de/fonts/OpenDyslexic-Bold.otf);
  }

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: normal;
  src: local('Open Dyslexic'), local('OpenDyslexic-Italic'), url(https://www.robidu-static.de/fonts/OpenDyslexic-Italic.otf);
  }

@font-face {
  font-family: 'OpenDyslexic';
  font-style: italic;
  font-weight: bold;
  src: local('Open Dyslexic'), local('OpenDyslexic-Bold-Italic'), url(https://www.robidu-static.de/fonts/OpenDyslexic-Bold-Italic.otf);
  }

/* Allgemeine Style-Festlegungen */

/* html {
  filter: url(/cgi-bin/svg/dalton.pl#$p_dalton);
  } */

p {
  text-align: justify;
  }

p:not(.plain) {
  min-height: 3.5em;
  }

p:not(.plain)::first-letter {
  font-size: 300%;
  font-weight: bold;
  margin: 0.05em 0.1em 0 0;
  padding: 0.1em;
  float: left;
  }

a[rel~="external"]:hover::before {
  content: url(https://www.robidu-static.de/png/icons/globe.png)" ";
  }
a[href*="wikipedia.org"]:hover::before {
  content: url(https://www.robidu-static.de/png/icons/Wikipedia-icon.png)" ";
  }
a[rel~="glossary"] {
  font-weight: bold;
  }
a.danger::before {
  content: url(https://www.robidu-static.de/png/icons/zeichen101.png)" ";
  }
a.Lang_not_found {
  filter: grayscale(100%);
  }

a {
  font-style: italic;
  }
a:link, a:visited {
  text-decoration: none;
  }
a:hover, a:active {
  text-decoration: underline;
  }
a.rework {
  text-decoration: line-through;
  }

:focus {
  outline: none;
  }

h1 {
  font-weight: bold;
  }
h2 {
  font-weight: bold;
  }
h3 {
  font-weight: bold;
  }
h4 {
  font-weight: bold;
  }
h5 {
  font-weight: bold;
  font-style: italic;
  }

.negative {
  font-weight: bold;
  }

div.notify {
  max-width: 40em;
  margin: auto;
  z-index: 1;
  padding: 0.5em;
  }

aside {
  float: left;
  }

main {
  width: calc(100% - 21.5em);
  position: absolute;
  margin-right: 0.5em;
  margin-left: 20em;
  padding-bottom: 1em;
  z-index: -1;
  counter-reset: chapternum;
  }

main > h3:not(.plain) {
  counter-reset: subchapter;
  }

main > h3:not(.plain)::before {
  content: counter(chapternum)'. ';
  counter-increment: chapternum;
  }

main > h3:not(.plain) ~ h4::before {
  content: counter(chapternum)'.'counter(subchapter)'. ';
  counter-increment: subchapter;
  }

navigation {
  display: block;
  }

div.Misc {
  width: 19em;
  padding: 0.2em;
  clear: left;
  border: none;
  }

input[type="submit"], input[type="reset"] {
  min-width: 10em;
  height: 2em;
  }

input[type="submit"].transparent, input[type="submit"].transparent:hover, input[type="submit"].transparent:active {
  font-family: Arial, sans-serif;
  border: none;
  }

form .preformat {
  font-family: Monospace;
  }

textarea {
  resize: none;
  padding: 0.4em;
  }

input[type="text"], input[type="password"] {
  font-family: Monospace;
  padding: 0.2em;
  }

div.Tooltip {
  position: absolute;
  max-width: 40em;
  min-height: 1.5em;
  padding: 2pt;
  z-index: 1;
  box-shadow: 5px 5px 2px;
  text-align: justify;
  }

.Toolterm {
  cursor: help;
  }

.sic::after {
  content: '(sic!)';
  font-weight: normal;
  font-style: italic;
  font-size: smaller;
  vertical-align: super;
  }

div.important {
  padding: 5px;
  }

div.motd {
  min-height: 5em;
  max-height: 40em;
  max-width: 60em;
  padding: 5px;
  overflow-y: scroll;
  margin: 0.5em;
  }

div.formbox {
  min-width: 40pc;
  min-height: 10pc;
  }

/* Zitate */

table {
  caption-side: bottom;
  border-spacing: 0;
  empty-cells: show;
  }

caption {
  margin-left: 0.5em;
  text-align: left;
  font-style: italic;
  }

th, td {
  padding: 2px;
  }

table.plain, table.invis {
  border: none;
  }

table.plain th, table.invis th, table.plain td, table.invis td {
  border: none;
  padding-right: 0.75em;
  }

table.plain th + th, table.plain td + td, table.invis th + th, table.invis td + td {
  padding-left: 0.75em;
  }

td > ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 1.5em;
  }

blockquote {
  display: block;
  clear: left;
  max-width: calc(100% - 1.5em);
  overflow-x: auto;
  white-space: pre;
  font-family: Monospace;
  padding: 0.5em;
  margin: 0.5em;
  cursor: not-allowed;
  }

blockquote[cite] {
  cursor: pointer;
  }

blockquote > ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0.5em;
  }

blockquote > ul > li {
  display: inline-block;
  }

.emph {
  font-weight: bold;
  }

.value {
  font-style: italic;
  }

.default {
  text-decoration: underline;
  }

.del {
  text-decoration: line-through;
  }

.bigger {
  font-size: 200%;
  font-weight: bold;
  }

.langsel-preface {
  float: left;
  font-size: 125%;
  margin: 0.5em;
  }

.Syntax, .fixed {
  font-family: Monospace;
  }

.inv {
  display: none;
  }

blockquote + .caption {
  margin-top: -0.5em;
  margin-left: 1em;
  font-style: italic;
  }

div.code + .caption {
  margin-bottom: 0.5em;
  margin-left: 1em;
  font-style: italic;
  }

blockquote + p.caption::first-letter {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  float: inherit;
  }

input[type="text"].numeric {
  text-align: right;
  }

select {
  padding: 0.2em;
  }

div.code::before {
  margin-top: -2.5em;
  margin-bottom: 0.2em;
  padding-top: 0.5em;
  padding-bottom: 0.2em;
  width: calc(100% - 3.5em);
  content: 'Code:';
  display: block;
  text-shadow: none;
  position: absolute;
  background: inherit;
  }

div.code {   
  padding: 2.5em 0.5em 0.5em 0.5em;
  margin: 0.75em;
  max-height: 25em;
  max-width: calc(100% - 1.5em);
  overflow: auto;
  white-space: pre;
  font-family: Monospace;
  }

div.screenshot {
  width: 200px;
  height: auto;
  margin: 0.5em;
  }

img.sign {
  float: left;
  }

div.screenshot > img {
  width: 200px;
  position: absolute;
  clear: left;
  cursor: zoom-in;
  }

div.screenshot > div {
  width: 200px;
  position: relative;
  }

div.screenshot > img:active {
  position: fixed;
  top: 0;
  left: 21em;
  width: calc(100% - 22em);
  z-index: 2;
  cursor: auto;
  }

/* Definitionen für Mitteilungen, die auf den Seiten eingeblendet werden */

div#Message {
  z-index: 1;
  position: absolute;
  text-align: center;
  top: 3em;
  left: 4em;
  width: calc(100% - 8em);
  height: calc(100% - 6em);
  padding: 1em;
  cursor: pointer;
  }

div#Message.noclose {
  cursor: not-allowed;
  }

div#Message > table {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  }

div#Message > table td:first-of-type {
  width: 100px;
  }

div#Message > table td + td {
  text-align: left;
  }

div.notifier {
  padding: 0.5em 1em;
  position: fixed;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  z-index: 256;
  }

div.help {
  padding: 1em;
  position: fixed;
  width: 50%;
  height: 50%;
  min-width: 40em;
  min-height: 20em;
  overflow-y: scroll;
  z-index: 3;
  outline: none;
  }

div.help > div {
  margin-top: 2em;
  font-size: 12pt;
  font-family: monospace;
  white-space: pre;
  }

/* Definitionen für die Fehlerberichterstattung */

div#ErrorReport {
  font-family: Verdana, sans-serif;
  padding: 0.2em;
  position: absolute;
  min-width: 20em;
  max-width: 70em;
  min-height: 20em;
  max-height: 50em;
  overflow-x: auto;
  z-index: 1;
  }

span.cbox {
  display: inline-block;
  cursor: pointer;
  width: 10px;
  height: 10px;
  float: left;
  margin-top: 0.5em;
  margin-left: 0.75em;
  }

[aria-hidden="true"] {
  display: none;
  }

.backdrop {
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  z-index: 255;
  position: fixed;
  }

.modal {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  }

a[disabled] > img {
  filter: brightness(25%);
  }

div.tab {
  }

div.tab.selected {
  }

div.tab + div {
  display: none;
  }

div.tab.selected + div {
  display:block;
  }

dt {
  font-weight: bold;
  font-style: normal;
  text-decoration: underline;
  }

dd {
  margin-bottom: 0.5em;
  margin-left: 1.5em;
  font-style: italic;
  }

div.Power {
  position: fixed;
  left: 1em;
  bottom: 1em;
  }

div.gridcoords {
  position: fixed;
  font-size: 7pt;
  border: none;
  bottom: 3em;
  left: 1em;
  }

div#objviewer {
  opacity: 1;
  position: fixed;
  height: calc(100% - 4em);
  width: calc(100% - 6em);
  margin: auto;
  overflow-y: auto;
  }

div#objviewer dt {
  display: block;
  width: 6em;
  float: left;
  }

div#objviewer dd {
  display: block;
  margin-left: 3em;
  }

.do-debug a {
  cursor: url(https://www.robidu-static.de/png/icons/Lupe.png) 17 17, pointer;
  }

.message {
  position: fixed;
  }

.message a {
  float: right;
  }
