﻿@charset "utf-8";

/* Standard */

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

a {
    color: blue;
    display: inline-block;
    text-decoration: underline;
    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: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 52.5rem;
    margin: 1rem auto;
    box-shadow: .125rem .125rem .625rem #000;
    padding: 2.5rem;
    background-color: #fff;
    overflow: hidden;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    color: #0F507D;
    text-align: center;
    font-size: 2.592em;
    line-height: 1.2;
    margin: 0 0 1.875rem;
}

h1 span {
    font-size: 0.531em;
    display: block;
}

h2 {
    font-size: .875rem;
    line-height: 1;
    margin: 0 0 .937rem;
}

h3 {
    text-align: center;
    color: #0F507D;
    font-size: 1.1rem;
    line-height: 1;
    margin: 15px 0 .312rem;
}

h4 {
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 .312rem 0;
}

h4:after {
    content: "";
    background: url(../images/text.svg) no-repeat;
    background-size: 100%;
    width: 3.312rem;
    height: 1rem;
    display: inline-block;
    position: relative;
    top: .062rem;
}

h5 {
    font-size: .875rem;
    line-height: 1;
    margin: 1.25rem 0 .625rem 2.5rem;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
	padding-left:2rem;
}

li {
	padding-bottom:0.2rem;
	padding-left:0.3rem;
	/* Für List GFX
	list-style-type:none;
	list-style-image:url();
	*/
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

header {
    margin: 0 0 .625rem;
    padding: 0 0;
    position: relative;
}

header a {
    position: absolute;
    top: 7%;
    right: 0%;
    width: 45%;
    height: 53%;
    /*    border: .125rem solid red;*/
}

element {
    display: block;
    margin: .937rem 0 .625rem 0;
}



footer {
    margin: 0 -1.875rem 0;
    padding: 0 1.875rem 1.875rem;
}

footer > a {
    float: right;
    max-width: 14.375rem;
    margin: 0 0;
}


p span {
    color: rgb(255, 0, 0);
}


/*article p:last-of-type {
    margin: 0 0 .312rem
}*/

nav {
    display: block;
    margin: 0 3.562rem .312rem 0;
}

nav img {
    display: block;
}

/*
article p:last-of-type a {
    text-decoration: none;
    color: inherit;
}
*/

article section:nth-of-type(1) {
	display:inline-block;
	width:52%;
	vertical-align:top;
	padding-right:0.5rem;
	padding-bottom:0.5rem;
}

article section:nth-of-type(2) {
	display:inline-block;
	width:48%;
	vertical-align:top;
}


article p:nth-of-type(1) {}

article p:nth-of-type(2) {
    margin: 0 0;
}

@media only screen and (max-width: 40.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: .625rem;
        box-shadow: none;
    }

    a {
        font-weight: bold;
    }



    h2,
    h5 {
        margin: 0 0 .625rem 0;
    }

    p {
        text-align: left;
    }

    header {}

    element {
        margin: 0 0 1.25rem 0;
    }

article section:nth-of-type(1) {
	display:inline-block;
	width:100%;
	vertical-align:top;
	padding-right:0rem;
	padding-bottom:0rem;
}

article section:nth-of-type(2) {
	display:inline-block;
	width:100%;
	vertical-align:top;
}

    article > p:nth-last-of-type(3) br {
        display: none;
    }

    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

    p,
    ul {
        margin: 0 0 .625rem;
    }


    h3 {
        margin: 0 0;
        font-size: .875rem;
        display: block;
        line-height: 1;
    }

    h2 {
        font-size: .875rem;
    }

    h1 {
        margin: 0 0 .625rem;
        line-height: 1.3;
        font-size: 1.25rem;
    }

    p{
        margin: 0 0 .625rem;
    }

    h1 span {
        font-size: .875rem;
    }

    h5 {}

    nav {
        margin: 0;
    }

    article > br {
        display: none;
    }

    ul br {
        display: none;
    }
}

@media only screen and (max-width:29.937rem) {

    h2 {}

    h3 {
        font-size: .875rem;
    }

    h5 {
        font-size: 1rem;
    }


}
