@media all {
header,nav,main,aside,footer,section,article,figure,figcaption,audio,video { display: block; }
}

* { box-sizing: border-box; }

html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Verdana,Tahoma,Arial,Helvetica,sans-serif;
    font-size: 1em;
    background-image: url(bilder/niceblue.gif);
    background-attachment: fixed;
}

body, header  { max-width: 62em; }

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0 auto;
    overflow-y: scroll;
}

header {
    width: 100%;
    top: 0;
    background-image:url(bilder/kupfer1.jpg);
    border: 1px solid silver;
}

header p {
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 1.25em;
    letter-spacing: .0625em;
}

.sticky {
    position: fixed;
    top: 0;
    max-width: 62em;
    z-index: 1;
}

.sticky + .informationen {
  padding-top: 55px;
}

#menu {
    width: 100%;
}

.horizontal {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: stretch;
    background-color: #E9E9E9;
    border-bottom: 1px solid #B6543E;
}

.horizontal a {
    color: #B6543E;
    text-decoration: none;
    font-size: 1em;
    text-align: center;
    padding: 6px;
    flex: 1 1 auto;
    min-width: 150px;
}

.horizontal a:hover {
    color: #B6543E;
    text-decoration: underline;
}

.horizontal a.zweireihig {
    font-size: 0.75em;
}

.horizontal a.aktiv {
    color: #000;
    text-decoration: none;
}

.suchitem {
    padding: 6px 6px;
}

.zentriert {
    padding: 10px 25px 6px 25px;
}

.suchitem button {
    background: #e9e9e9;
    color: #B6543E;
    font-size: 1em;
    border: none;
    cursor: pointer;
}

.suchitem button:hover {
    text-decoration: underline
}

main {
    flex: 1 0 auto;
    background-color: #FBFBFB;
    border: 1px solid #C0C0C0;
    padding-bottom: 10px;
}

article, section {
    padding-left: 1em;
    padding-right:1em;
    line-height: 1.5em;
    text-align: left;
    word-wrap: break-word;
    hyphens:auto;
}

article h1, section h1 {
    background: linear-gradient(#a0d8ec,#55B9DD);
    border-radius: 0.375em 0.375em 0 0;
    color: #000000;
    font-size: 1.25em;
    padding: .25em 0;
    font-weight: normal;
    letter-spacing: .0625em;
    text-align: center;
    word-wrap: normal;
    hyphens: none;
}

article h2, section h2 {
    background: linear-gradient(#a0d8ec,#55B9DD);
    border-radius: 0.375em 0.375em 0 0;
    color: #000000;
    font-size: 1em;
    padding: .25em 0;
    font-style: italic;
    letter-spacing: .0625em;
    text-align: center;
    word-wrap: normal;
    hyphens: none;
}

article h3, section h3 {
    font-size: 0.875em;
 }

article p, address, ul {
    font-size: 0.875em;
}

/* für LaTeX-Formeln mit mehr als 480 px */
span.math {
    font-size: 0.875em;
}

section p, address, ul {
    font-size: 0.875em;
}

article a, section a {
    color: #A04A37;
    text-decoration: underline solid;
}

article a:focus, article a:hover {
    text-decoration: underline double;
}

section a:focus, section a:hover {
    text-decoration: underline double;
}

p.sachregister {
    padding-left: 1.375em;
    font-size: 1em;
    font-weight: bold;
}

dl.sachregister {
    font-size: 0.875em;
    line-height: 1.5em;
}

a.top {
    float: right;
    margin-top: -15px;
    font-size: 1.375em;
}

footer {
    background-image: url(bilder/kupfer1.jpg);
    border-top: 0.125em solid #DE9479;
}

footer ul {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
    margin: 0;
    padding: 0;
    font-size: 1em;
    list-style-type: none;
    overflow:hidden;
}

footer li {
    font-size: 0.875em;
    font-weight: normal;
    color: #FFF;
    align-self: center;
}

footer span {
     font-size: 1.5em;
}

footer a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

footer a:focus, footer a:hover {
    background-color: #757575;
}

ul {
    list-style-type: none;
    font-size: .875em;
}

li > ul { font-size: 1em; }

ol { font-size: .875em; }

dl {
    font-size: .875em;
    line-height: 1.75;
}

dl.liste { font-size: 1em; }

dt.liste { font-weight: bold; }

hr {
    height: 0.25em;
    color: #fff;
    background-color: #DE9479;
}

.mittig {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.zentriert { text-align: center; }

.rechts {
    text-align: right;
    padding-right: .875em;
}

span.tief { font-size: 0.75em; }

span.formel { font-style: italic; }

img {
    max-width: 100%;
    height:auto;
}

video {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

object {
    max-width: 100%;
    height: auto;
}

video.links {
    float: left;
    margin-right: 20px;
}

img.posleft {
    float: left;
    margin-right: 10px;
}

.memo {
    width: 100%;
    text-align: center;
    border: 1px solid #FF4D4D;
}

.memoblock {
    width: 100%;
    border: 1px double #FF4D4D;
    padding:.5em;
}

.zitat {
    font-style: italic;
    font-weight: bold;
}

.table-scroll { overflow-x:auto; }

table {
    margin: 0 auto;
    margin-bottom: .5em;
    border-collapse: collapse;
    font-size: 0.875em;
    word-break: normal;
    line-height: normal;
}

th {
    padding: 0 .5em;
    border: 1px solid #CCC;
}

td {
    padding: 0 .5em;
    border: 1px solid #CCC;
}

table.links {
    margin-left: 0;
    font-size:.875em;
}

.underline { text-decoration: underline; }

span.tooltip {
    color: #090;
    text-decoration: underline;
}

ul.reihe {
    background: #CCC;
    padding: 2px;
}

li.reihe {
    margin-left: 50px;
    display: inline;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.flex-item {
    padding-right: 1em;
}

@media only screen and (max-width: 38em) {
    header p {font-size: 1em;}
}

@media only screen and (max-width: 28em) {
    header p { font-size: 0.875em; }
    main h1 {
        font-size: 0.875em;
        font-weight: bold;
    }
    footer ul {
        display: flex;
        flex-direction: column;
    }
}
