a {
    color: #307082;
}
a:hover {
    color: #D60808;
}
acronym {
    border: none;
}

div.menu {
  margin: 0;
  padding-left: 24px;
  padding-top: 4px;
  padding-right: 9px;
}

body {
    margin: 0;
    padding: 0;
    color: #333;

    font: 12px Trebuchet MS, Lucida Sans Unicode, Arial, sans-serif;
    text-align: center;

    background: #e3dfdc;
}

div.container {
    margin: 0 auto;
    padding: 0 auto;
    width: 940px;
    position: relative;
    text-align: left;

    margin-top: 2%;
    margin-bottom: 2%;
    border-radius: 10px;

    background: white;

    -moz-box-shadow: 0 0 10px 10px #999999ff;
    -webkit-box-shadow: 0 0 10px 10px #999999ff;
    box-shadow: 0 0 10px 10px #999999ff;
}

div.allmenu {
    font-size: 11px;
    width: 890px;
    height: 205px;
    margin-left: 30px;
}

div.allmenu p {
  /* work arround Mozilla/Safari issue - they puts the links in an own
     paragraph - maybe feature ... */
  margin: 0em;
  /* margin-bottom: 0em; */
}

div.allmenu a:link, div.allmenu a:visited {
  color: inherit;
  text-decoration: none;
}

div.allmenu a:hover {
  background: #4dc4c4;
  color: #000000;
}

div.sidemenu {
    position: absolute;
    top: 72px;
    left: 45px;
    width: 150px;
    text-align: left; /* right; */
}

div.sidemenu p {
  margin: 0;
  padding-right: 25px;
  color: #09345f;
  font-size: 20px;
}

div.sidemenu ul {
  padding-left: 10px;
}

div.sidemenu a:link, div.sidemenu a:visited {
  font-size: 95%;
  font-weight: normal;

  color: inherit;
  text-decoration: none;
}

div.sidemenu a:hover {
  background: #4dc4c4;
  color: #000000;
}

div.page {
    margin: 0 20px 0 192px;
    margin-right: 30px;
    margin-bottom: 5px;

    min-height: 400px;

    clear: both;
    line-height: 150%;
}

div.page img {
  float: left; 
  padding-right: 1em;
  padding-bottom: 1em;

  /* Mozilla has a rather ugly default of borders around any-link-img */
  border-style: none;
}

div.left img {
  float: left;
  padding-left: 0px;
  padding-right: 1em;
  padding-top: 0px;
  padding-bottom: 1em;
}

div.right img {
  float: right;
  padding-left: 1em;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 1em;
}

div.page p {
  /* width: 80%; */
  text-align: justify;
}

div.p {
  clear: both;
}

div.page table {
  /* width: 80%; */
}

div.page h1 {
  font-size: 18px;

  font-weight: bold;
/* text-transform: uppercase; */
  color: #09345f;
}

div.page h3 {
  font-size: 16px;

  font-weight: bold;
/* text-transform: uppercase; */
  color: #09345f;
}

div.code {
  margin-top: 1em;
  margin-bottom: 1em;

  background-color: #DDDDDD;

  font-family: monospace, mono, monotype, serif, sans-serif;
}

pre {
  margin-top: 1em;
  margin-bottom: 1em;

  background-color: #DDDDDD;

  font-family: monospace, mono, monotype, serif, sans-serif;
}

div.screen {
  margin-top: 1em;
  margin-bottom: 1em;

  background-color: #000;
  color: #FFF;

  font-family: monospace, mono, monotype, serif, sans-serif;

  /* width: 80%; */
}

div.footer {
  width: 100%;
  text-align: center;
  font-style: italic; 
  font-size: 10px;
  
  margin: 0;
  padding: 0;

  height: 40px;
  padding-bottom: 8px;
  
  /*background-position: left bottom; */
}

div.head {
  font-size: 112%;
  font-weight:bold;
}

div.cont {
  text-align: justify;

  margin-left: 2em;
  margin-bottom: 1.5em;
  /* or better: text-indent: ... */
  /* width: 540px; */
}

div.side {
  margin-left: 2em;
  margin-bottom: 1.5em;
}

article p {
  text-align: justify;

  margin-left: 2em;
  margin-bottom: 1.5em;
}

article h2 {
  font-size: 150%;
  font-weight:bold;
}

article time {
  font-size: 72%;
}

article:target {
	background: #e3dfdc;
	-moz-box-shadow: 0 0 5px 10px #999999ff;
	-webkit-box-shadow: 0 0 5px 10px #999999ff;
	box-shadow: 0 0 5px 5px #999999ff;
	border-radius: 10px;
	padding: 2px;
}

#newslinkid {
	color: #333 !important;
	text-decoration: none;
}
#newslinkid:hover {
	color: grey !important;
	text-decoration: none;
}

div.subentry {
  font-size: 80%;
  margin-left: 1em;
}

/*@media (min-width:800px) {
    .dslot_1 {
        width: 468px;
        height: 60px;
     }
}*/

/* Mobile optimizations, sigh */
@media only screen and (max-device-width: 480px) {
    body,
    html {
	font-size: 14px;
    }

    div.allmenu {
	width: 0;
	/*visibility: hidden;*/
	height: 0;
    	margin-left: 0;
    }

    div.container {
	width: 100%;
	background: #FFF;
    }

    div.sidemenu {
	position: static;
	top: 0;
	left: 0;
	width: 100%;
    }

    div.page {
	margin: 0 10px;
    }

    div.sidemenu li {
	display: inline;
	list-style-type: none;
	padding-right: 8px;
    }

    div.footer {
	height: auto;
	padding-bottom: 0;
	background: #FFF;
    }
}

article h2 {
	margin-bottom: 1px;
}

@media (prefers-color-scheme: light) {
	div.allmenu { background: #ffffff url("t2logo.png") no-repeat; background-size: contain; background-position: center; }
}

@media (prefers-color-scheme: dark) {
	body { background: #000000; color: #cad3f5; }
	div.container { background: #232323; }
	div.page h1 { color: #39648f; }
	div.page h2 { color: #b31b1b; }
	div.page h3 { color: #39648f; }
	#newslinkid { color: #808080 !important; text-decoration: none; }
	#newslinkid:hover { color: #a78080 !important; text-decoration: none; }
	article time { color: yellow; }
	pre { background-color: #363a4f; }
	div.code { background-color: #363a4f; }
	div.screen { background-color: #363a4f; color: #61c192; }
	div.allmenu { background: #232323 url("t2logo.png") no-repeat; background-size: contain; background-position: center; }
}
