html,button,input,select,textarea {
    font-family: 'Droid Sans', sans-serif;
    font-weight: normal;
    font-style: normal;
    color: #4d4d4d;
}
html,body,div,h1,h2,h3,h4,h5,h6,p,table,img,ul,ol,li,haeader,main,footer,nav,address {
    border: 0;
    padding: 0;
    margin: 0;
}
html {
    height: 100%;
    font-size: 62.5%;
    line-height: 1.0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
ul {
    list-style: disc outside;
    padding-left: 1em;
}
address {
    font: inherit;
}
a, a:hover {
    text-decoration: none;
    color: inherit;
}
input, textarea {
    font-size: 1em;
    line-height: 1.5em;
}
textarea {
    margin: 0;
    padding: 0.5em;
}
h3,h4,h5,h6{
    font-size: inherit;
    font-weight: bold;
}
h3,h4,h5,h6{
    margin-bottom: 1em;
}
p, ul, ol {
    margin-bottom: 1em;
    margin-top: 1em;
}
.accordion-content :last-child {
    margin-top: 0;
    margin-bottom: 0;
}
strong {
    font-weight: bold;
    font-style: inherit;
}
em.timespan {
    font-weight: bold;
    font-style: inherit;
}
body {
    background: no-repeat center center / cover fixed;
}
#wrapper {
    width: 1080px;
    margin: 180px auto 150px;
}
header, main, footer {
    padding: 50px;
    background: white;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.5em;
    position: relative;
}
header {
    float: left;
    width: 185px;
    line-height: 1.0;
}
main {
    float: right;
    width: 645px;
    line-height: 1.6;
}
footer {
    clear: right;
    float: right;
    width: 645px;
    margin-top: 50px;
    line-height: 1.4;
}
.title, h1 {
    font-family: 'Droid Serif', serif;
}
.secondary-nav a[href]:hover, footer a[href]:hover, main a[href]:hover {
    text-decoration: underline;
}
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.nav-menu-button {
    display: none;
}
header .logo {
    float: right;
}
.primary-nav {
    clear: both;
    padding-top: 50px;
}
.primary-nav a > .number{
    display: inline-block;
    width: 2em;
}
.primary-nav ol a:hover, .primary-nav ol a.active {
    color: #dc313a;
}
.primary-nav li {
    white-space: nowrap;
    overflow: visible;
}
.primary-nav ol {
    list-style: none;
    border-top: 1px solid #ddd;
}
.nav-list-1 > li {
    border-bottom: 1px solid #ddd;
}
.nav-list-1 > li > a, .nav-list-1 > li > .a {
    display: block;
    padding: 0.7em 0;
    font-weight: bold;
}
.nav-list-2 {
    padding: 0.3em 0;
}
.nav-list-2 > li > a, .nav-list-2 > li > .a {
    display: block;
    padding: 0.4em 0;
}
.secondary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    font-size: 0.8em;
    color: white;
    text-align: center;
    padding-top: 1em;
    text-shadow: 1px -1px 3px rgba(76, 76, 76, 0.7);
}
.title {
    position: absolute;
    right: 0;
    bottom: 100%;
    color: #f0e8e6;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
    text-shadow: 1px -1px 5px rgba(76, 76, 76, 0.7);
    line-height: 1;
    margin-bottom: 1em;
}
.title > .number {
    font-size: 5.5em;
    vertical-align: middle;
    position: relative;
    top: -0.1em;
    font-weight: normal;
    margin-left: 0.15em;
}
main a {
    text-decoration: underline;
}
main a:hover {
    text-decoration: underline;
    color: #dc3232;
}
main .portrait {
    float: left;
}
main .column-right {
    float: right;
    width: 310px;
}
main .single-column {
    padding-right: 100px;
}
main .banner {
    width: 100%;
    display: block;
}
h1 {
    color: #dc3232;
    font-weight: normal;
    font-size: 1.8em;
    line-height: 1.6;
    margin-bottom: 1em;
}
main h2 {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    border-bottom: 1px solid #dc3232;
    text-transform: uppercase;
    padding-bottom: 0.7em;
    margin: 1.5em 0 0.9em;
}
.button {
    color: white;
    background-color: #98302f;
    padding: 0 1em;
}
.button:hover {
    color: white;
}
.palette {
    margin: 0 -8px -8px;
    padding: 0;
    line-height: 60px;
}
.palette > li {
    display: inline-block;
    background-color: #6c6a6b;
    color: #fff;
    margin: 0 8px 8px;
}
.palette > li > a {
    display: inline-block;
    width: 116px;
    height: 60px;
    line-height: 60px;
    text-align: center;
}
.palette > li > a > span {
    display: inline-block;
    line-height: 1.2em;
    vertical-align: middle;
    text-decoration: inherit;
}
.palette a {
    text-decoration: none;
}
.palette a:hover {
    color: inherit;
}
.accordion {
    font-size: 0.9em;
}
.accordion-heading {
    background-color: #6c6a6b;
    color: #fff;
    font-size: inherit;
    font-weight: bold;
    margin-top: 0.8em;
    padding: 0.8em 1.5em;
    position: relative;
    margin-bottom: 0;
}
.accordion-control {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.accordion-control i {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 19px;
    height: 19px;
    margin-top: -10px;
    background: url('/img/controls.png') no-repeat;
}
.accordion-content {
    padding: 1em 1.5em 1.2em;
    line-height: 1.6em;
    border: 1px solid #ccc;
    border-top: 0;
}
.expanded .accordion-control i {
    background: url('/img/controls.png') no-repeat -19px 0;
}
.sentence_begin:after {
    content: '\2026';
    padding-left: 0.1em;
}
.sentence_endings > li:before {
    content: '\2026';
    padding-right: 0.3em;
    position: absolute;
    right: 100%
}
.sentence_endings > li{
    list-style: none;
    margin-left: 1.6em;
    padding-left: 0;
    position: relative;
}
footer > .portrait {
    vertical-align: top;
    padding-right: 40px;
    float: left;
    padding-right: 40px;
    border-right: 1px solid #dc3232;
}
footer > .portrait > img {
    display: block;
}
footer > .vita, footer > .kontakt {
    box-sizing: border-box;
    padding: 0 0 25px 40px;
    min-height: 190px;
}
footer > .vita {
    margin-left: 188px;
    position: relative;
}
footer > .kontakt {
    float: right;
    margin-left: 40px;
    border-left: 1px solid #dc3232;
    position: relative;
    white-space: nowrap;
    z-index: 1;
}
footer > .kontakt .profile, footer > .vita > .button {
    position: absolute;
    left: 40px;
    bottom: 0;
}
footer > .vita > .button {
    padding: 0.3em 1em;
}
footer h2 {
    font-size: 1.2em;
    margin-bottom: 0.9em;
}
h1.column-right {
    margin: 160px 0 0.8em;
    padding-bottom: 0.7em;
    border-bottom: 1px solid #dc3232;
}
footer.two-column > .vita {
    border-left: 0;
    margin-left: 0;
}
footer.two-column > .kontakt {
    padding-left: 80px;
    width: 50%;
    margin-left: 80px;
}
footer.two-column > .kontakt .profile {
    left: 80px;
}
.profile > a > img {
    vertical-align: bottom;
}
#ueber main h2 {
    font-family: 'Droid Serif', serif;
    color: #dc3232;
    font-weight: normal;
    font-size: 1.5em;
    line-height: 1.6;
    margin: 1.3em 0 0.7em;
    border: 0;
    padding: 0;
    text-transform: none;
}

@media all and (max-width: 1110px) {
    #wrapper {
        width: auto;
        margin-left: 2.6%;
        margin-right: 2.6%;
        background-color: rgba(255, 255, 255, 0.9);
    }
    header, main, footer {
        background: none;
    }
    header {
        padding-right: 30px;
    }
    main {
        padding-left: 30px;
        float: none;
        margin-left: 265px;
        width: auto;
    }
    main {
        padding-bottom: 30px
    }
    main .single-column {
        padding-right: 0;
        max-width: 545px;
    }
    main .portrait {
        margin: 0 5% 5% 0;
        width: 45%;
        height: auto;
    }
    main .column-right {
        float: none;
        width: auto;
        margin-left: 50%;
    }
    h1.column-right {
        margin-top: 20%;
        margin-left: 0;
        float: right;
        width: 50%;
    }
    footer {
        clear: both;
        margin: 0 auto;
        float: none;
        padding-left: 0;
        padding-right: 0;
    }
    .secondary-nav {
        margin-top: 40px;
        position: static;
        color: inherit;
        text-align: center;
        text-shadow: none;
    }
}

@media all and (max-width: 930px) {
    main .column-right {
        margin-left: 0;
    }
    h1.column-right {
        margin-top: 10%;
        font-size: 1.6em;
    }
}

@media all and (max-height: 800px) {
    #wrapper {
        margin-top: 130px;
    }
}

@media all and (max-width: 740px) {
    body {
        padding-bottom: 40px;
    }
    #wrapper {
        margin: 0 0 40px 0;
        background: none;
        position: relative;
    }
    footer {
        display: block;
        float: none;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
    }
    header, main, footer > .portrait, footer > .vita, footer > .kontakt, footer.two-column > .vita, footer.two-column > .kontakt {
        display: block;
        float: none;
        width: auto;
        background-color: rgba(255, 255, 255, 0.9);
        margin: 25px auto;
        padding: 25px;
        border: 0;
        box-sizing: border-box;
        width: 90%;
        max-width: 400px;
        min-height: 0;
    }
    header {
        margin-top: 40px;
        position: static;
        overflow: auto;
    }
    .nav-menu-button {
        display: inline-block;
        float: left;
        padding: 16px 13px;
        border: 1px solid #aaa;
        background-color: #fff;
        cursor: pointer;
    }
    .primary-nav.collapsed {
        display: none;
    }
    .secondary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0;
        color: white;
        text-shadow: 1px -1px 3px rgba(76, 76, 76, 0.7);
    }
    main {
        margin-top: 90px;
    }
    .title {
        margin-bottom: 0.5em;
    }

    .title > .number {
        font-size: 4em;
    }
    h1, h1.column-right {
        width: auto;
        float: none;
        font-size: 1.4em;
        margin: 0.8em 0 2em;
        padding-bottom: 0.7em;
        border-bottom: 1px solid #dc3232;
    }
    main .portrait {
        display: block;
        float: none;
        width: 100%;
        margin: 0 0 1em;
    }
    footer > .portrait > img {
        display: block;
        width: 80%;
        max-width: 296px;
        margin: auto;
    }
    footer > .vita > .button, footer > .kontakt .profile {
        position: static;
    }

}
