﻿@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: 'PT Sans', sans-serif;
    font-size: .812rem;
    line-height: 1.4;
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.3) 30%, rgba(245, 245, 245, 1) 80%), url(../images/bgBody.jpg) no-repeat top center;
    background-size: 100%;
    background-attachment: fixed;
}

#wrapper {
    position: relative;
    max-width: 45rem;
    margin: 1rem auto;
    padding: 0;
    /* 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: #003d7c;
    font-size: 1.687rem;
    line-height: 1.1;
    margin: 0 0 1.25rem;
    font-weight: 700;

}

h2 {
    color: #009d3c;
    font-size: .875rem;
    line-height: 1.4;
    margin: 0 0 .312rem;
    font-weight: 700;
}

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;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .375rem;
    height: .375rem;

    background: #003d7c;
    margin-left: -.937rem;
    top: .375rem;
}

ul + p {
    margin: 2.5rem 0 1.25rem;
}

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

main {
    display: block;
}

header,
article,
footer {
    margin: 0;
    padding: 1.562rem 2.187rem;

}

/*
header {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
*/



header > a {}

header > a img {
    width: 100%;
    max-width: 14.187rem;
}

#wrapper > figure {
    margin: 0 0 0 0;
    border-top: 25px solid #DADADA;
}

/*
article {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
*/

article > element {
    display: block;
    border-top: 1px solid #009d3c;
    border-bottom: 1px solid #009d3c;
    padding: 1rem 5%;
    margin: 0 -2.187rem 1.25rem;
    background: url(../images/bg_footer.png);
    background-size: contain;
}

article > element p {
    margin: 0 0 0 0;
}

article > section:nth-of-type(1) {
    float: left;
    width: 48%;
}

article > section:nth-of-type(2) {
    float: right;
    width: 48%;
}

footer {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    background-color: #DADADA;
    padding: 1.562rem 2.187rem;
    border-top: 1px solid #009d3c;
}

footer p {
    margin: 0 0 0 0;
}

footer p a {}

footer p a:hover {
    text-decoration: none;
    color: #009d3c;
}

/*-------- buton -------*/

article > a {
    margin: 0 auto 0;
    padding: .625rem 1.25rem;
    text-align: center;
    background-color: #fff;
    border: 1px solid #003d7c;
    transition: all 140ms ease 0s;
    color: #003d7c;
    font-weight: 700;
    width: 10.312rem;
    display: block;
}

article > a:hover {
    text-decoration: none;
    border: 1px solid #009d3c;
    color: #009d3c;
}

/*------------ buton end ----------*/


@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

.slider figure img {
    width: 25%;
    float: left;
}

@media only screen and (max-width: 44.937rem) {
    #wrapper {
        margin: 0 auto;
        border: 0;

    }

    a {
        font-weight: bold;
    }

    p {
        text-align: left;
    }

    ul + p {
        margin: 1.25rem 0 1.25rem;
    }


    h1 > br,
    article > br,
    p > br,
    li > br {
        display: none;
    }

    header,
    article,
    footer {
        margin: 0;
        padding: .625rem;

    }

    article > element {

        padding: .625rem;
        margin: 0 -.625rem 1.25rem;
    }

    article > section:nth-of-type(1) {
        float: none;
        width: auto;
    }

    article > section:nth-of-type(2) {
        float: none;
        width: auto;
    }

    footer {
        padding: .625rem;
        margin: 1.25rem 0 0 0;
    }

}

@media only screen and (max-width:29.937rem) {
    h1 {
        /*        font-size: 1.75rem;*/
    }
}
