* {
    margin: 0;
    padding: 0;
}

a img {
    border: none;
}

html,
body {
    height: 100%;
}

body {
    background-color: #9b386d;
    background-image: url(images/pattern.png);
    line-height: 1.2em;
    font-family: Helvetica, Arial, sans-serif;
}

header {
    display: block;
    background-image: url(images/background_header.png);
    background-position: top center;
    background-repeat: no-repeat;
    height: 377px;
    position: relative;
    font-size: 12px;
}

header .wrapper div {
    padding-left: 35px;
    color: #000;
    font-size: 12px;
    /* display: none; */
}

header b {
    color: #4f1736;
}

header table {
    margin-top: 1em;
    margin-bottom: 1em;
}

header td {
    padding-right: 20px;
    line-height: 1.2em;
}

header .sm {
    width: 50px;
}

#logo {
    display: block;
    width: 428px;
}

.wrapper {
    width: 966px;
    margin: 0 auto;
}

.content {
    position: relative;
}

@media screen and (min-width: 1200px) {
    #logo {
        position: relative;
        left: -95px;
    }
}

header .mini {
    list-style: none;
    position: absolute;
    top: 0;
    right: 20px;
}

header .mini li {
    display: block;
    float: left;
}

header .mini li a {
    color: #e6b800;
    text-decoration: none;
    font-size: 11px;
    border-right: #702e51 solid 1px;
    padding-right: 5px;
    margin-right: 5px;
}

header .mini li .last {
    border: none;
}

.mod_customnav {
    position: relative;
}

header .navi {
    height: 42px;
    line-height: 42px;
    list-style: none;
    position: absolute;
    bottom: 0;
    margin-left: 375px;
    z-index: 99;
    right: 180px;
}

header .navi .navi {
    margin-left: 0;
    position: absolute;
    bottom: 42px;
    height: auto;
    background: rgba(209, 60, 139, 0.8);
    border: #A83A74 solid 1px;
    border-bottom: 0;
    padding: 5px;
    padding-bottom: 0;
    display: none;
}

header .navi li:hover .navi {
    display: block;
}

header .navi .navi li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
    padding-bottom: 5px;
}

header .navi .navi a {
    border: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

header .navi .navi a:hover {
    text-decoration: underline;
    color: #ffd942;
}

header .navi li {
    display: block;
    float: left;
    font-size: 17px;
    line-height: 17px;
    padding-top: 12px;
}

header .navi a,
header .navi span {
    color: #ffd942;
    text-decoration: none;
    display: block;
    padding-left: 7px;
    padding-right: 7px;
    border-right: #4f1736 solid 1px;
}

header a.first {
    padding-left: 0;
}

header a.last {
    border: none;
}

header span,
header a:hover {
    color: #e6b800;
}

.content article {
    background-color: #fcffc3;
    width: 945px;
    margin: 0 auto;
    /* padding-top: 3em; */
    display: block;
    /* padding-left: 415px; */
    font-size: 12px;
    color: #333333;
    padding-right: 20px;
    /* padding-bottom: 200px; */
    position: relative;
    min-height: 400px;

}

article h1,
article h3 {
    font-size: 20px;
    color: #962d65;
    margin-bottom: 1em;
    font-weight: normal;
    font-family: Georgia, serif;
}

article h3 {
    font-family: inherit;
    font-size: 12px;
    font-weight: bold;
}

article p {
    /* margin-top: 1em; */

    /* z-index: 3; */
    /* position: relative; */
    margin: 110px 120px;
    margin-bottom: 1em;
}

article img {
    margin: 0px 115px;
    width: 20%;
}

article .note {
    background: url(images/note-img.png) no-repeat center;
    background-size: contain;
    position: relative;
    top: -61px;
    height: 600px;
    padding: 20px 129px;
    box-sizing: border-box;
    z-index: 9;
}

article .highlight {
    display: block;
    background-color: #f9eade;
    padding: 10px;
}

article .highlight ul,
table ul {
    margin-left: 10px;
    list-style: none;
}

table ul li {
    padding-bottom: 5px;
}

article li:before {
    content: "- ";
}

footer {
    display: block;
    background-image: url(images/background_footer.png);
    background-position: top center;
    background-repeat: no-repeat;
    height: 215px;
    /* position: absolute; */
    position: relative;
    bottom: 215px;
    width: 100%;
    z-index: 2;
    overflow: hidden;
}

footer .wrapper {
    margin-top: 200px;
    font-size: 12px;
    line-height: 12px;
    color: #333;
    padding-left: 40px;
    position: relative;
}

footer a {
    position: absolute;
    top: -50px;
    left: 440px;
    display: block;
    height: 25px;
    background: url(images/butterfly.png) left top no-repeat;
    padding-left: 30px;
    padding-top: 15px;
    width: 130px;
    color: #d13c8a;
}

article .sidebar {
    position: absolute;
    left: -95px;
    top: -50px;
    width: 504px;
    height: 658px;

    font-size: 12px;
    line-height: 1.05em;
}

.sidebar .postit {
    background-image: url(images/post-it.png);
    width: 238px;
    height: 214px;
    position: absolute;
    top: 0;
    left: 100px;
    padding-top: 35px;
    padding-left: 150px;
    z-index: 2;
}

.ce_text td {
    vertical-align: top;
}

.ce_text td p {
    margin: 0;
    padding: 0;
}

.postit h3 {
    font-weight: regular;
    font-family: Georgia, serif;
    font-weight: normal;
    font-size: 16px;
}

.postit b {
    font-weight: normal;
}

.postit span {
    display: block;
    margin-bottom: 1em;
}

.sidebar b {
    display: block;
    color: #962d65;
}

.sidebar a {
    position: absolute;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}

.sidebar a:before {
    content: ">> ";
}

.postit a:before {
    content: "";
}

.sidebar .telefon {
    top: 32px;
    left: 25px;
    width: 100px;
}

.invisible {
    display: none;
}

/* ---------------------------------------------------- */
.sidebar div.team {
    width: 100%;
    left: 0;
    top: 0;
    height: 660px;
    background-image: url(images/team2016.png);
    background-repeat: no-repeat;
    background-position: 0 185px;
    z-index: 1;
}

.sidebar .team a {
    top: 343px;
    left: 353px;
    width: 60px;
}

td img {
    margin-right: 20px;
}

#team table {
    position: relative;
    left: -220px;
    width: 750px;
}


#team .einzug table {
    position: static;
    width: auto;
}
@media screen and (max-width:968px){
    .wrapper{
        width: auto !important;
    }
    article{
        width: 100% !important;
    }
    .content article{
        padding-right: 0;
    }
    article p{
        margin: 0 15%;
        margin-top: 18%;
    }
    article img{
        margin: 0 14%;
    }
    header .navi {
        height: 42px;
        line-height: 42px;
        list-style: none;
        position: absolute;
        bottom: 0;
        /* margin-left: 375px; */
        z-index: 99;
        right: 28px;
    }
}
@media screen and (max-width:575px) {
    .wrapper{
        width: auto !important;
    }
        article{
        width: 100% !important;
    }
    header{
        background-size: contain;
        height: 100px;
    }
    header .navi{
        bottom: -16px;
        right: 80px;
        margin: 0;

    }
    header .navi li{
        font-size: 12px;
       
    }
    #logo{
        width: 50%;
    }
    #logo img{
        width: 100%;
    }
    article{
        width: 100% !important;
        padding-right: 0 !important;
        height: 75vh;
    }
    article .note p {
        margin: 0;
        margin-bottom: 1em;
        /* font-size: 22px; */
        /* line-height: 25px; */
    }
    article .note{
        top: 0;
        /* height: 65vh; */
        padding: 25px !important;
        height: auto !important;
        background: none;
    }
    article img{
        margin: 0;
    }
    footer{
        background-position: bottom center;
        height: 215px;
        bottom: 215px;
        background-size: contain;
    }

    }