﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: inherit;
    display: inline-block;
    text-decoration: none;
    white-space: nowrap;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

u {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    color: #000;
    font-family: 'Sarabun', sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 57.5rem;
    margin: 1rem auto;
    border: solid thin #000;
    box-shadow: .125rem .125rem .625rem #000;
    padding: 1.25rem 2.5rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: justify;
    margin: 0 0 1.25rem;
}

h1 {
    color: #00998B;
    font-size: 1.75rem;
    line-height: 1.2;
    margin: 1.25rem 0;
    font-style: italic;
}

h1 span {
    font-size: 1.437rem;
}

h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0 0 0;
    font-style: italic;
}

h3 {
    font-size: .937rem;
    line-height: 1.4;
    margin: 0 0 0;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 15px;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 6px;
    height: 6px;
    background: #00998B;
    margin-left: -15px;
    top: 6px;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    margin: -1.25rem -2.5rem 1.188rem;

}

.grau {
	font-size: 1.231em;
	color: #706F6F;
	font-style: italic;
	font-weight:bold;
}


article > p:first-of-type,
article > p:nth-of-type(2) {
    font-size: .937rem;
}

element > p {
    font-size: .937rem;
    margin: 0 0 .625rem;
}

element > p a {
    font-weight: bold;
}

article > section {
    display: flex;
    justify-content: space-between;
}

article > section > aside {
    flex: 1;
    padding: 0 1.25rem 0 0;
}

article > section > aside:last-of-type {
    padding: 0;
}


footer {
    margin: 0 -2.5rem -2.5rem;
    padding: 0 2.5rem 1.25rem;
}

footer > aside:nth-of-type(1) {
    float: right;
    width: 32%;
}

footer > aside:nth-of-type(2) {
    float: left;
    width: 64%;
    display: flex;
    justify-content: flex-start;
    margin: 2rem 0 0 0;
}

footer > aside:nth-of-type(2) > section p {
    margin: 0 0 0 0;
}

footer > aside:nth-of-type(2) > section:nth-of-type(2) p span {
    display: inline-block;
    width: 4.062rem;
}

/*
footer > aside:nth-of-type(2) > section:nth-of-type(2) p a {
   display: inline-block;
    
}
*/


footer > aside:nth-of-type(2) > section:nth-of-type(1) {
    margin: 0 2.5rem 0 0;
}



footer > aside:nth-of-type(1) a img {
    width: 100%;
    max-width: 17.5rem;
}


@media only screen and (max-width: 57.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }

    p {
        text-align: left;
    }

    li br,
    article br {
        display: none;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;

    }

    article > p:first-of-type,
    article > p:nth-of-type(2) {
        font-size: .875rem;
    }


    article > section {
        display: block;
    }

    article > section > aside {
        padding: 0 0 0 0;
    }

    article > section > aside:last-of-type {
        padding: 0;
    }

    element > p {
        font-size: .875rem;
    }


    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    footer > aside:nth-of-type(1) {
        float: none;
        width: auto;
    }

    footer > aside:nth-of-type(2) {
        float: none;
        width: auto;
        margin: .625rem 0 0 0;

    }

    footer > aside:nth-of-type(2) > section:nth-of-type(1) {
        margin: 0 1.25rem 0 0;
    }


}

@media only screen and (max-width:29.937rem) {
    h1 {}

    footer > aside:nth-of-type(2) {
        display: block;
    }

    footer > aside:nth-of-type(2) > section:nth-of-type(1) {
        margin: 0 0 0 0;
    }

    footer > aside:nth-of-type(2) > section p:first-of-type {
        margin: 0 0 1.25rem 0;
    }
}
