﻿@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: Helvetica, Arial, sans-serif;
    font-size: .875rem;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 52.5rem;
    margin: 1rem auto;
    border: 2px solid #EAEEE7;
    padding: 1.25rem;
    /* für Hintergund
	background:url() top left no-repeat;
	background-size:100%;
	*/
    background-color: #fff;
    overflow: hidden;
}

p {
    text-align: left;
    margin: 0 0 1.25rem;
}

p a:hover {
    color: #1e4000;
}

h1 {
    font-size: 2rem;
    line-height: 1.1;
    margin: 1.25rem 0;
    font-weight: 400;
}

h2 {
    color: #1e4000;
    font-size: 1.187rem;
    line-height: 1.4;
    margin: 0 0 .312rem;
    font-weight: 400;
}

h3 {
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 1.25rem;
}

hr {
    border-top: 1px solid #52BA5A;
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: .937rem;
    margin: 0 0 .312rem 0;
}

ul li:before {
    content: "+";
    float: left;
    position: relative;
    font-size: 18px;
    border-radius: 50%;
    color: green;
    margin-left: -.937rem;
    top: -.125rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

header {
    margin: -1.25rem -1.25rem 1.25rem;
    padding: 1.25rem;
    border-bottom: 2px solid #EAEEE7;
}

header a {}

header a img {
    width: 100%;
    max-width: 32.187rem;
}

element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -1.25rem 1.25rem;
    padding: 1.25rem;
    border-bottom: 2px solid #EAEEE7;
}

element > img {
    display: none;
}

element > figure {
    display: block;
    margin: 0 0 0 0;
    position: relative;
    z-index: 0
}

element > figure > aside {
    background: url(../images/img_bg.png) no-repeat;
    background-size: 100%;
    width: 9.375rem;
    height: 9.375rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    margin: 0 0 0 0;
}

element > figure > img {
    position: relative;
    z-index: 1;
    max-width: 9.375rem;
    width: 99%;
}

footer {
    margin: 0 -1.25rem -1.25rem;
    padding: 1.25rem;
    border-top: 2px solid #EAEEE7;
}

footer > p:last-of-type {
    margin: 0 0 0 0;
}


@media only screen and (max-width: 52.437rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 0.625rem;
    }

    a {
        font-weight: bold;
    }
    
    p a {
        white-space: normal;
        display: inline;
    }

    header {
        margin: -0.625rem -0.625rem 0.625rem;
        padding: 0.625rem;
    }

    element {
        margin: 0 -.625rem 1.25rem;
        padding: .625rem;
    }

    element > figure {
        display: none;

    }

    element > img {
        display: block;
        max-width: 50.25rem;
        width: 100%;
    }


    footer {
        margin: 0 -0.625rem -0.625rem;
        padding: 0.625rem;
    }

}

@media only screen and (max-width:29.937rem) {
    h1 {
        font-size: 1.75rem;
    }
}
