﻿/* reset all */

html {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

a,
img {
    outline: none;
    border: none;
}

img {
    max-width: 100%;
    display: inline-block;
}

/* body set-up */

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.431;
    color: #000;
    font-weight: normal;
    background-color: #CCC;
}

/* main style */

a {
    color: rgb(0, 0, 0);
    display: inline;
    text-decoration: none;
    font-weight: bold;
}

a.link:link {
    text-decoration: none;
    color: #FFF;
    font-weight: normal;
}

a.link:visited {
    text-decoration: none;
    color: #FFF;
    font-weight: normal;
}

a.link:hover {
    text-decoration: underline;
    color: #FFF;
    font-weight: normal;
}

u {
    text-decoration: underline;
}

a:hover,
a:focus {
    outline: none;
    text-decoration: underline;
}

p {
    text-align: left;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 25px;
    margin-left: 0;
}

h1 {
    color: rgb(0, 0, 0);
    display: block;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    width: 90%;
    margin: 10px auto 30px;
}

h1 span {
    font-size: 0.7em;
    font-weight: normal;
}

h2 {
    text-align: left;
    font-size: 14px;
    line-height: 1;
    color: rgb(0, 0, 0);
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 14px;
}

ul {
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
}

ul li {
    padding-left: 35px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -20px;
    font-size: 18px;
    line-height: 19px;
    color: #000;
}

/* layout  */

#wrapper {
    display: block;
    max-width: 790px;
    border: none;
    margin-top: 10px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-left: auto;
    padding-top: 20px;
    padding-right: 65px;
    padding-bottom: 20px;
    padding-left: 65px;
    background-color: #FFF;
}

header {
    margin: -15px -15px 10px;
}

header {
    margin: -15px -15px 10px;
}

header a {
    display: block;
    margin: 0 auto 10px;
    width: 460px;
}

header img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

header p {
    font-weight: bold;
    text-align: center;
}

/*--use clearfix when float get's overflowed--*/

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

article section {
    float: left;
    width: 50%;
}

/*----------------- footer --------------------*/

footer {
    color: #fff;
    text-align: center;
    padding: 15px;
    background-color: #474747;
    margin-top: 40px;
    margin-right: -65px;
    margin-bottom: -20px;
    margin-left: -65px;
}

footer img {
    display: block;

}

footer p {
    margin-bottom: 0;
}


.contentEN header,
.contentDE header {
    display: block;
    width: auto;
    margin: -16px -20px 20px;

}

.flag {
    display: inline-block;
    text-align: left;

}

.flag1 {
    display: inline-block;
    text-align: right;
    float: right;

}

.flag a {
    padding-right: 15px;
}

.contentEN,
.contentDE {
    display: none;
    padding-left: 0%;
    padding-top: 2%;
}

.active {
    display: block;
}

.fixed {
    display: block;
    height: auto;
}

.slider {
    margin-left: -65px;
    margin-right: -65px;
    margin-bottom: 15px;
}

@media only screen and (max-width:799px) {
    #wrapper {
        margin: 0 auto;
        border: 0;
        padding: 10px;
    }

    a {
        font-weight: bold;
    }

    footer {
        margin: 0 -10px -10px;
        padding: 10px;
    }

    header {
        margin: -10px -10px 0px;
        padding: 10px 10px 0;
    }

    h1 {
        font-size: 22px;
        margin: 10px auto
    }

    h2 {
        font-size: 14px;
        margin-bottom: 10px
    }

    header a {
        width: 230px;
    }

    header p {
        margin-top: 20px
    }

    footer section:nth-child(1) {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        margin-left: 0rem;
        border-right-width: 0px;
        border-right-style: none;
        border-right-color: none;
    }

    footer section:nth-child(2) {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        padding-left: 0rem;
        border-right-width: 0px;
        border-right-style: none;
        border-right-color: none;
    }

    footer section:nth-child(3) {
        display: inline-block;
        width: 100%;
        vertical-align: top;
        padding-left: 0rem;

    }

}

@media only screen and (max-width:479px) {
    body {
        font-size: 13px;
    }

    h1 {
        font-size: 18px;
        width: 100%;
    }

    ul li:before {
        font-size: 16px;
        line-height: 18px;
    }

    p {
        text-align: left;

    }

    article br {
        display: none;
    }
}