﻿@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 0.875em;
    line-height: 1.431em;
    background-image: url(../images/bg.png);
    background-repeat: repeat-x;
    background-color: #F5F5F5;
}

#wrapper {
    position: relative;
    max-width: 49.375rem;
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 0rem;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 0 1.437rem #A6A6A6;
}

header img[alt="logo"] {
    padding: 0.625rem 0 1.688rem 1.25rem;
}
header img[alt="logo2"] {
    position: absolute;
    top: 1%;
    right: 0;
    width: 100%;
    max-width: 15.625rem;
}
article,
footer {
    padding-right: 2rem;
    padding-left: 2rem;
}

p {
    text-align: left;
    padding-bottom: 0.4rem;
}

h2 + p,
h2 + ul {
    margin-top: 0.308rem;
}

h1 {
    text-align: left;
    font-size: 2.392em;
    line-height: 1.1em;
    font-weight: normal;
    color: #0070BA;
    /*	padding-bottom: 1.25rem;*/
    margin-top: 1rem;
    margin-bottom: 0;
}

h1 span {
    font-size: 1.25rem;
}

h2 {
    color: #0070BA;
    font-size: 1.75em;
    line-height: 1.231em;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

/*h2:last-of-type {
    margin-bottom: 2.35rem;
}*/
a:link,
a:active,
a:visited {
    color: #0070BA;
    text-decoration: none;
}

a:hover {
    color: #0070BA;
    text-decoration: underline;
}

a.link:link {
    text-decoration: underline;
    color: #000;
}

a.link:visited {
    text-decoration: underline;
    color: #000;
}

a.link:hover {
    text-decoration: none;
    color: #000;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

hr {
    border-top: thin solid #52BA5A;
}

ul {
    padding-left: 2rem;
}

li {
    padding-bottom: 0.2rem;
}



/*
header {
    position: relative
}

header a:first-of-type {
    float: left;
    padding: 0.625rem 0 1.688rem 1.25rem;
    width: 13.75rem;
    max-width: 100%
}


header a:nth-of-type(2) {
    width: 13.125rem;
    padding: 0.625rem 0 1.688rem 1.25rem;
    max-width: 100%;
    position: absolute;
    top: 0;
    right: .937rem 
} 
*/



article p:first-of-type img {
    float: left;
    padding-right: 0.35rem;
}

/* Hebt Float left/right auf */
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/* Ende Standard */


/* Responsive */
@media only screen and (max-width:49.312rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    
    
    header img[alt="logo"] {
    padding: 0.625rem 0 1.688rem 1.25rem;
}
header img[alt="logo2"] {
    position: absolute;
    top: 2%;
    right: 0;
    width: 100%;
    max-width: 11.25rem
}
    
    @-moz-document url-prefix() {
   header img[alt="logo2"] {
    position: static;
    left: 15%;
       top: -15%;
       
/*
    right: 10px;
    width: 100%;
    max-width: 130px
*/
}
}
    
    

    header,
    article,
    footer {
        padding: 0rem 0.5rem;
    }

    a:link,
    a:active,
    a:visited {
        font-size: 1.063rem;
    }

    article p:first-of-type img {
        float: none;
        padding-right: 0.35rem;
        padding-bottom: 1rem;
    }
}