body {
  color: black;
  background-color: white;
  font-family: 'Times New Roman', serif;
  font-size: 115%;
  line-height: 1.4;
  margin: 0;
}


/* ------------- Links --------------- */

nav a {
  text-decoration: none;
}
a {
  color: #0066bb;
}

a:visited {
  color: #666666;
}

@media (hover: hover) {
  nav a {
    text-decoration: underline;
  }
  a:hover  {
    color: #348fdf;
  }
  a:active {
    color: #e3be3e;
  }
}


/* ------------- Header / Logo --------------- */


header {
  padding-bottom: 5px;
  border-bottom: 1px solid #e3be3e;
}

@media screen {
  header {
    background-color: #e3be3e;
    padding: 15px 15px 5px 15px;
  }
}

header a {
  display: block;
  text-decoration: none;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 550px) {
  header a {
    border-right: 20px solid transparent;
  }
}

header a:before {
  display: inline-block;
  height: 0;
  width: 0;
  padding-bottom: 5.5769231%;
}

header img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}


/* ------------- Navigation --------------- */


nav {
  color: #666666;
}

body > nav {
  border-bottom: 1px solid #e3be3e;
}

nav ul {
  list-style: none;
  padding-left: 0;
}

nav.alpha-nav {
  letter-spacing: -1px;
}

nav.alpha-nav a {
  text-decoration: none;
}


body > nav ul {
  max-width: 540px;
  padding: 0 15px;
  margin: 0 auto;
}


nav li {
  display: inline-block;
}

body > nav a {
  display: inline-block;
  padding: 5px 0;
}

nav li:not(:first-child):before {
  content: '| ';
}


@media (max-width: 640px) { /* 640px: reichlich für Android, da serif dort breiter läuft */
  body > nav ul {
    padding: 10px 15px;
  }

  body > nav li {
    display: block;
  }

  body > nav li:not(:first-child):before {
    display: none;
  }
}


/* ------------- main --------------- */

@media screen {
  main {
    max-width: 540px;
    padding: 0 15px 1.5em 15px;
    margin: 0 auto;
  }
}

h1 {
  font-size: 1.2em;
  margin: 1em 0 0.6em 0;
}

h2 {
  font-size: 1em;
  margin: 1em 0 0.3em 0;
}

main > p, main > ul, main > dl {
  margin: 0 0 1em 0;
}

main > ul {
  list-style: none;
  padding-left: 0;
}


/* ------------- Tabellen --------------- */

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #e0e0e0;
}

th, td {
  padding: 3px 8px;
  border: 1px solid #ccc;
  vertical-align: top;
}


.alpha thead th:nth-child(1) {
  width: 130px;
  text-align: left;
}
.alpha thead th:nth-child(2) {
  width: 390px;
  text-align: left;
}



h2 a[href="#top"] {
  display: inline-block;
  width: 20px;
  text-align: center;
}
h2 a[href="#top"]:before {
  content: '';
  display: inline-block;
  border-style: solid;
  border-width: 12px 5px;
  border-color: transparent transparent currentColor transparent;
  margin-top: -6px;
}

.streets thead th:nth-child(1) {
  width: 90px;
  text-align: left;
}
.streets thead th:nth-child(2) {
  width: 430px;
  text-align: left;
}


.stat thead th:nth-child(1),
.stat tbody td:nth-child(1) {
  width: 55px;
  text-align: right;
}
.stat thead th:nth-child(2),
.stat tbody td:nth-child(2) {
  width: 55px;
  text-align: right;
}
.stat thead th:nth-child(3) {
  text-align: left;
  width: 410px;
}


/* --------------------- Inhaltsverzeichnisse -------------------- */

main dd {
  margin-left: 0;
  margin-bottom: 1em;
}


/* --------------------- Counter -------------------- */

body {
  background-image: url('https://dosware.de/counter/count.php?id=plbg1925');
  background-repeat: no-repeat;
}