/*
Theme Name: die-linke-muc
Author: Andrei Yagoubov
Author URI: https://wordpress.org/
Description: Theme für die homepage des Kreisverbandes der Linken in München.
Version: 1.0
*/
body {
    margin:0;
    font-family:"Roboto";
    font-weight:300;
    margin-top:170px;
    overflow-x:hidden;
}

body > header {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:180px;
    background-color:#ffffff;
    z-index:200;
    box-shadow:#000000 2px -30px 40px;
    overflow:hidden;
    transition:height 0.7s ease;
}

body > header.expanded {
    height:230px;
}

body > header #header-container {
    position:absolute;
    margin:auto;
    left:0;
    right:0;
    height:100%;
    width:1200px;
}

body > header #article-title-container {
    position:absolute;
    top:-150px;
    left:0;
    right:320px;
    margin:auto;
    width:820px;
    height:130px;
    z-index:200;
    overflow:hidden;
    display:block;
    transition:top 0.7s ease;
}

body > header #article-title-container.visible {
    top:16px;
}

body > header #article-title-centerer {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    width:100%;
    height:100%;
    display:table;
}

body > header #article-title {
    position:relative;
    font-weight:300;
    line-height:1.6;
    font-size:1.8rem;
    display:table-cell;
    vertical-align:middle;
}

/* ********* */
/* Main menu */
/* ********* */

header #header-container > nav {
    position:absolute;
    top:55px;
    left:0;
    height:35px;
    font-size:1.1rem;
    opacity:1;
    transition:opacity 1.2s ease;
}

header #header-container > nav.hidden {
    opacity:0;
}

#header-line-horizontal {
    position:absolute;
    background-color:#000000;
    left:0;
    width:100%;
    height:1px;
    bottom:-1px;
}

header #header-container > nav a {
    position:relative;
    float:left;
    height:35px;
    left:24px;
    margin-right:24px;
    color:#000000;
    padding:0px 14px;
    line-height:35px;
    transition:color 0.4s ease, background-color 0.2s ease;
    cursor:pointer;
    text-decoration:none;
}

header #header-container > nav a:hover, header #header-container > nav a.expanded {
    background-color:#000000;
    color:#ffffff;
}

header #header-container > nav a.expanded {
    background-color:#df0404;
    height:36px;
    line-height:36px;
    bottom:0px;
    color:#ffffff;
}
/*
header #header-container > nav a:last-child {
    background-color:#df0404;
    color:#ffffff;
    height:36px;
    line-height:36px;
    bottom:0px;
}

header #header-container > nav a:last-child:hover, header #header-container > nav a:last-child.expanded {
    background-color:#000000;
}
*/

/* ********* */
/* Sub menus */
/* ********* */

header #submenu-container {
    position:absolute;
    top:104px;
    left:0;
    right:300px;
    height:60px;
    font-size:0.9rem;
    overflow:hidden;
    opacity:1;
    transition:opacity 1.2s ease;
}

header #submenu-container.hidden {
    opacity:0;
}

header #submenu-container nav {
    position:absolute;
    top:-60px;
    transition:top 0.5s ease;
}

header #submenu-container nav.expanded {
    top:0;
}

header #submenu-container nav a {
    position:relative;
    float:left;
    height:30px;
    left:30px;
    margin-right:16px;
    color:#000000;
    padding:0px 8px;
    line-height:30px;
    transition:color 0.4s ease, background-color 0.2s ease;
    cursor:pointer;
    text-decoration:none;
}

header #submenu-container nav a:hover {
    background-color:#000000;
    color:#ffffff;
}

header #submenu-container nav a.expanded {
    background-color:#df0404;
    color:#ffffff;
}

#logo {
    position:absolute;
    right:50px;
    top:20px;
    width:200px;
    transition:all 0.7s ease;
    transform:rotate(0deg);
}

#logo.rotated {
    transform:rotate(-6deg);
}

#logo img {
    width:100%;
}

#mobile-menu {
    display:none;
}

#header-social-media {
    position: absolute;
    right: 304px;
    height: 30px;
    width: 100px;
    top: 58px;
    transition:right 0.4s ease, top 0.4s ease;
}

#header-social-media.hidden {
    right: 154px;
}

#header-social-media a {
    border:none;
    text-decoration:none;
}

#header-social-media img {
    position:relative;
    height:30px;
    transition:transform 0.4s ease;
    transform:scale(1);
    transform-origin:0.5 0.5;
}

#header-social-media img:hover {
    transform:scale(1.1);
}

/* ************ */
/* Article Menu */
/* ************ */

#article-menu {
    position:absolute;
    top:185px;
    left:40px;
    right:40px;
    margin:auto;
    display:inline-block;
    height:45px;
}

#article-menu .left {
    position:absolute;
    left:0;
    top:0;
    height:50px;
}

#article-menu .right {
    position:absolute;
    right:0;
    top:0;
    height:50px;
}

#article-menu a {
    position:relative;
    display:inline-block;
    font-size:0.8rem;
    height: 30px;
    background-color:#ffffff;
    color: #000000;
    padding: 0px 14px;
    line-height: 30px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    margin:0px 4px;
    border:1px solid #000000;
    text-decoration:none;
}

#article-menu .left a:first-of-type {
    background-color:#df0404;
    color: #ffffff;
    border:1px solid #df0404;
}

#article-menu a:hover {
    background-color:#787878;
    color: #ffffff;
    border:1px solid #787878;
}

#article-menu .left a:first-of-type:hover {
    background-color:#000000;
    border:1px solid #000000;
}

#recitation-button.playing {
    background-color:#000000;
    border:1px solid #000000;
    color:#ffffff;
}

/* ******* */
/* Article */
/* ******* */
body > section {
    position:absolute;
    left:0;
    margin:0 auto;
    width:100%;
    top:180px;
    height:calc(100vh - 200px);
    padding-top:0px;
    transition:top 1.1s ease, opacity 1.5s ease, left 1s ease;
    background-color:#ffffff;
}
body > main + section {
    overflow:hidden;
}

#article-container {
    top:-100vh;
    height:calc(100vh - 230px);
    padding-top:50px;
}

body > section > article {
    position:relative;
    left:0;
    right:0;
    margin:0 auto;
    width:1080px;
    top:0;
    padding-top:20px;
    padding-bottom:60px;
}

body > main + section > article {
    overflow:hidden;
}

body > section > article > h1 {
    font-size:1.8rem;
    font-weight:300;
    line-height:1.5;
}

body > main + section > article > h1 {
    display:none;
}

body > section > article > aside {
    position:relative;
    display:inline-block;
    width:30%;
    margin-right:3%;
    margin-bottom:20px;
    height:auto;
    height:100%;
    overflow:auto;
}

body > main + section > article > aside {
    height:calc(100vh - 220px);
    overflow:auto;
}

body > section > article > aside img {
    position:relative;
    float:left;
    width:100%;
    height:auto;
    margin-bottom:1.5rem;
}

body > section > article > aside > ul {
    list-style-type:none;
    padding-left:6px;
    font-size:1rem;
    line-height:1.3;
}

body > section > article > aside > ul li {
    margin-top:1rem;
    padding-left: 2em;
    text-indent:-2em;
}

body > section > article > aside > ul > ul {
    list-style-type:none;
    padding-left:18px;
    font-size:1rem;
    line-height:1.3;
}

body > section > article > aside .manifesto-link.active {
    font-weight:600;
    color:#000000;
}

body > section > article > aside > ul > ul > li {
    margin-top:0.4rem;
}

body > section > article > aside a {
    text-decoration: none;
    color:#232323;
}

body > section > article > main {
    position:relative;
    top:0;
    width:65%;
    line-height:1.8;
    padding-right:16px;
    transition:opacity 0.8s ease;
    opacity:1;
    margin-left:0;
    display:inline-block;
    vertical-align:top;
}

body > main + section > article > main {
    overflow:auto;
    height:calc(100vh - 250px);
    margin-left:0;
}

body > section > article > main.loading {
    opacity:0.3;
}

body > section > article > main > *:first-child {
    margin-top:0;
}

body > section > article > main > h1 {
    font-size:1.8rem;
    font-weight:300;
    line-height:1.5;
}

body > section > article > a:last-of-type {
    display:none;
}

body > main + section > article > a:last-of-type {
    position:absolute;
    display:inline-block;
    font-size:0.8rem;
    height: 30px;
    background-color:#df0404;
    color: #ffffff;
    padding: 0px 14px;
    line-height: 30px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    margin:0px 4px;
    border:1px solid #df0404;
    margin-top:40px;
    right:8px;
    bottom:8px;
    margin-bottom:30px;
}

body > section > article > a:last-of-type:hover {
    background-color:#000000;
    border:1px solid #000000;
}

body > section > article a.manifesto-link {
    position:relative;;
    display:inline-block;
    font-size:0.8rem;
    height: 30px;
    color: #ffffff;
    padding: 0px 14px;
    line-height: 30px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    margin:0px 4px;
    border:1px solid #df0404;
    margin-top:40px;
    text-decoration:none;
    margin-bottom:40px;
}

body > section > article a.manifesto-link.left {
    border:1px solid #000000;
    color:#000000;
    float:left;
    margin-left:16px;
}

body > section > article a.manifesto-link.left:hover {
    background-color: #787878;
    color: #ffffff;
    border: 1px solid #787878;
}

body > section > article a.manifesto-link.right {
    border:1px solid #df0404;
    background-color:#df0404;
    float:right;
    margin-right:16px;
}

body > section > article a.manifesto-link.right:hover {
    background-color:#000000;
    border:1px solid #000000;
}

/* **** */
/* Main */
/* **** */
body > main {
    position:absolute;
    top:180px;
    bottom:0;
    left:0;
    width:100%;
    overflow:auto;
    opacity:1;
    transition:opacity 1.5s ease, left 1s ease;
}

/* ******** */
/* Headline */
/* ******** */

main .headline-overview {
    position:relative;
    width:1080px;
    height:472px;
    margin:auto;
    margin-top:20px;
    margin-bottom:30px;
    overflow:hidden;
    max-width:none;
}

main article.headline {
    position:absolute;
    width:1080px;
    height:452px;
    left:100vw;
    top:0;
    margin:auto;
    overflow:hidden;
    margin-top:20px;
    margin-bottom:30px;
    max-width:none;
    transition:left 1.5s ease;
}

main article.headline:first-child {
    left:0vw;
}

main article.headline figure {
    position:absolute;
    left:0;
    top:0;
    width:700px;
    height:400px;
    margin:0;
    overflow:hidden;
}

main article.headline figure img {
    position:relative;
    height:100%;
    width:100%;
    object-fit: contain;
}

main article.headline figcaption {
    position:absolute;
    bottom:0;
    right:0;
    background-color:#ffffffd4;
    color:#000000;
    padding:4px;
    font-size:0.7rem;
    line-height:1.5;
}

main article.headline h1 {
    position:relative;
    left:700px;
    width:350px;
    margin:8px 20px;
    font-size:1.2rem;
    line-height:1.4;
}

main article.headline p {
    position:relative;
    left:700px;
    width:350px;
    margin:10px 20px;
    font-size:0.9rem;
    line-height:1.5;
    text-align: justify;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

main article.headline footer {
    position:absolute;
    background-color:#ffffff;
    bottom:20px;
    left:700px;
    width:380px;
    height:54px;
}

main article.headline footer a {
    position:absolute;
    display:inline-block;
    right:24px;
    bottom:0px;
    height: 35px;
    background-color:#ffffff;
    color: #000000;
    padding: 0px 14px;
    line-height: 35px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    border:1px solid #000000;
    text-decoration: none;
}

main article.headline footer a:hover {
    background-color:#787878;
    color: #ffffff;
    border:1px solid #787878;
}

main .headline-slider-buttons {
    position: absolute;
    bottom: 0;
    height: 20px;
    width: 100%;
    text-align: center;
}

main .headline-slider-buttons .headline-slider-button {
    position: relative;
    display:inline-block;
    border: black 1px solid;
    height: 16px;
    width: 16px;
    margin:0;
    margin-left:2px;
    margin-right:2px;
    background-color:#ffffff;
    transition:background-color 0.7s ease, border 1s ease;
    cursor:pointer;
}

main .headline-slider-buttons .headline-slider-button:hover {
    border: #787878 1px solid;
    background-color:#787878;
}

main .headline-slider-buttons .headline-slider-button.visible {
    border: #df0404 1px solid;
    background-color:#df0404;
}

/* *********** */
/* Nachrichten */
/* *********** */

.news-overview {
    position:relative;
    width:1080px;
    height:760px;
    margin:auto;
    padding:30px 0px;
}

.news-overview h2 {
    position:relative;
    display:inline-block;
    font-size:1.8rem;
    font-weight:300;
    height:80px;
    line-height:40px;
    margin:0;
    margin-left:16px;
}

.news-overview h2 hr {
    position:absolute;
    border:none;
    width:100%;
    height:1px;
    background-color:#ffffff;
    left:-8px;
    top:-32px;
    margin:0;
}

.news-container {
    position:absolute;
    width:100%;
    height:600px;
    left:100vw;
    opacity:1;
    transition:left 1s ease, opacity 0.4s ease-in;
}

.news-container.loading {
    opacity:0.6;
}

.news-container-0 {
    left:0;
}

.news-overview article {
    position:absolute;
    width:320px;
    height:600px;
    overflow:hidden;
    margin:auto;
    left:0px;
    right:0px;
}

.news-overview article:first-of-type {
    right:auto;
}

.news-overview article:last-of-type {
    left:auto;
}

.news-overview article figure {
    position:relative;
    width:100%;
    height:320px;
    overflow:hidden;
    margin:0;
}

.news-overview article img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.news-overview article figcaption {
    position:absolute;
    bottom:0;
    right:0;
    background-color:#ffffffd4;
    color:#000000;
    padding:4px;
    font-size:0.7rem;
}

.news-overview article h1 {
    width:auto;
    margin:10px;
    font-size:1rem;
    line-height:1.5;
}

.news-overview article p {
    width:auto;
    margin:10px;
    font-size:0.9rem;
    line-height:1.65;
    text-align: justify;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.news-overview article footer {
    position:absolute;
    background-color:#ffffff;
    bottom:0;
    width:100%;
    height:64px;
}

.news-overview article footer time {
    position:absolute;
    display:block;
    background-color:#a0a0a0;
    color:#ffffff;
    bottom:8px;
    left:8px;
    font-size:1rem;
    height:28px;
    line-height:28px;
    padding:2px 8px;
}

.news-overview article footer a {
    position:absolute;
    display:block;
    background-color:#df0404;
    color:#ffffff;
    bottom:8px;
    right:8px;
    font-size:1rem;
    height:28px;
    line-height:28px;
    padding:2px 8px;
    cursor:pointer;
    transition:background-color 0.2s ease;
    text-decoration:none;
}

.news-overview article footer a:hover {
    background-color:#000000;
}

.news-overview > a {
    position:absolute;
    display:inline-block;
    bottom:40px;
    height: 35px;
    background-color:#ffffff;
    color: #000000;
    padding: 0px 14px;
    line-height: 35px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease, opacity 0.3s ease;;
    cursor: pointer;
    border:1px solid #000000;
}

.news-overview-newer {
    left:24px;
    opacity:0;
}

.news-overview-older {
    left:auto;
    right:24px;
    opacity:1.0;
}

.news-overview > a.visible {
    opacity:1.0;
}

.news-overview > a:hover {
    background-color:#787878;
    color: #ffffff;
    border:1px solid #787878;
}

/* ******** */
/* Calendar */
/* ******** */

#news + .calendar {
    margin-top:20px;
}

main div.calendar {
    position:relative;
    width:1080px;
    height:600px;
    margin:auto;
    padding:30px 0px;
}

main div.calendar h2 {
    display:inline-block;
    position:relative;
    font-size:1.8rem;
    font-weight:300;
    height:80px;
    line-height:40px;
    margin:0;
    margin-left:16px;
}

main div.calendar h2 hr {
    position:absolute;
    border:none;
    width:100%;
    height:1px;
    background-color:#454545;
    left:-8px;
    top:-36px;
    margin:0;
}

main div.calendar table {
    position:absolute;
    left:0;
    top:100px;
    width:490px;
    height:470px;
    border-collapse:collapse;
    text-align:center;
}

main div.calendar th {
    height:50px;
    width:60px;
    border-collapse:collapse;
    margin:0;
    padding:0;
    font-weight:600;
}

main div.calendar td {
    position:relative;
    height:60px;
    width:60px;
    border:1px solid #e0e0e0;
    border-collapse:collapse;
    margin:0;
    padding:0;
}

main div.calendar td.border-right {
    border-right:1px #454545 solid;
}

main div.calendar td.border-bottom {
    border-bottom:1px #454545 solid;
}

main div.calendar td.past {
    background-color:#e0e0e0;
    color:#ffffff;
}

main div.calendar td.past .month {
    color:#000000;
}

main div.calendar td.event {
    background-color:#df0404;
    color:#ffffff;
    font-weight:600;
    transition:all 0.4s ease;
    cursor:pointer;
}

main div.calendar td.event:hover {
    background-color:#000000;
}

main div.calendar td .month {
    position:absolute;
    left:3px;
    top:3px;
    font-size:0.7rem;
    font-weight:600;
}

main div.calendar td hr {
    border:none;
    border-bottom:none;
    position:absolute;
    width:20px;
    top:42px;
    margin:auto;
    left:0;
    right:0;
}

main div.calendar td a {
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    z-index:5;
}

main div.calendar-container-scroller {
    position:absolute;
    left:524px;
    right:0px;
    top:150px;
    bottom:90px;
    overflow:hidden;
}

main div.calendar-container {
    position:absolute;
    left:0px;
    right:0px;
    top:0;
    height:100%;
    opacity:1;
    transition:top 0.8s ease, opacity 0.4s ease;
}

main div.calendar-container.loading {
    opacity:0.7;
}

main div.calendar article {
    position:absolute;
    height:120px;
    overflow:hidden;
    left:0;
    right:0;
    top:0;
    bottom:0;
    margin:auto;
}
/*
main div.calendar article:hover {
    transform:scale(1.05);
    border:1px solid #ffffff;
    box-shadow:8px 8px 15px -6px #787878ff;
}
*/

main div.calendar article:first-of-type {
    bottom:auto;
}

main div.calendar article:nth-of-type(3) {
    top:auto;
}

main div.calendar .past article:first-of-type {
    top:auto;
    bottom:0;
}

main div.calendar .past article:nth-of-type(3) {
    top:0;
    bottom:auto;
}

main div.calendar article figure {
    position:absolute;
    height:120px;
    width:120px;
    overflow:hidden;
    margin:0;
}

main div.calendar article img {
    height:100%;
    width:auto;
}

main div.calendar article figcaption {
    position:absolute;
    bottom:0;
    right:0;
    background-color:#ffffffd4;
    color:#000000;
    padding:4px;
    font-size:0.7rem;
}

main div.calendar article a {
    color:#000000;
    text-decoration:none;
}

main div.calendar article h1 {
    position:relative;
    margin:0;
    margin-bottom:3px;
    font-size:1rem;
    line-height:1.4;
    left:134px;
    width:416px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

main div.calendar article .address {
    position:relative;
    display:block;
    font-weight:600;
    left:138px;
    width:426px;
    color:#343434;
    font-size:0.8rem;
    line-height:1.2;
    margin-bottom:6px;
}

main div.calendar article p {
    position:relative;
    margin:0px;
    font-size:0.9rem;
    line-height:1.5;
    text-align: justify;
    left:134px;
    width:404px;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

main div.calendar article footer {
    position:absolute;
    background-color:#ffffff;
    bottom:0px;
    left:134px;
    right:0;
    height:32px;
}

main div.calendar article footer time {
    position:absolute;
    display:block;
    background-color:#a0a0a0;
    color:#ffffff;
    bottom:2px;
    left:0px;
    font-size:0.8rem;
    height:14px;
    line-height:16px;
    padding:6px 6px;
}

main div.calendar article footer a {
    position:absolute;
    display:block;
    background-color:#df0404;
    color:#ffffff;
    bottom:0px;
    right:0px;
    font-size:0.8rem;
    height:14px;
    line-height:16px;
    padding:6px 6px;
    cursor:pointer;
    transition:background-color 0.2s ease;
    text-decoration:none;
}

main div.calendar article footer a:hover {
    background-color:#000000;
}

main div.calendar > a {
    position:absolute;
    display:inline-block;
    bottom:20px;
    height: 35px;
    color: #000000;
    padding: 0px 14px;
    line-height: 35px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    border:1px solid #000000;
}

.fax {
    left:548px;
}

.calendar-later {
    left:auto;
    right:24px;
}

main div.calendar > a:hover {
    background-color:#787878;
    color: #ffffff;
    border:1px solid #787878;
}

/* ********* */
/* Positions */
/* ********* */

#positions {
    position:relative;
    width:1080px;
    height:1260px;
    margin:auto;
    padding:30px 0px;
}

#positions h2 {
    position:relative;
    display:inline-block;
    font-size:1.8rem;
    font-weight:300;
    height:80px;
    line-height:40px;
    margin:0;
    margin-left:16px;
}

#positions h2 hr {
    position:absolute;
    border:none;
    width:100%;
    height:1px;
    background-color:#454545;
    left:-8px;
    top:-32px;
    margin:0;
}

#positions article {
    position:absolute;
    width:320px;
    height:600px;
    overflow:hidden;
    margin:auto;
    left:0px;
    right:0px;
}

#positions article:nth-of-type(3n+1) {
    right:auto;
}

#positions article:nth-of-type(3n+3) {
    left:auto;
}

#positions article:nth-of-type(3) ~ article {
    top:780px;
}

#positions article figure {
    position:relative;
    width:100%;
    height:300px;
    overflow:hidden;
    margin:0;
}

#positions article:nth-of-type(1) figure {
    background-color:#fff200;
}

#positions article:nth-of-type(2) figure {
    background-color:#56c1b6;
}

#positions article:nth-of-type(3) figure {
    background-color:#ed1d25;
}

#positions article:nth-of-type(4) figure {
    background-color:#00bef3;
}

#positions article:nth-of-type(5) figure {
    background-color:#7cc45c;
}

#positions article:nth-of-type(6) figure {
    background-color:#ec008c;
}

#positions article img {
    max-width:90%;
    max-height:90%;
    position:absolute;
    margin:auto;
    left:0;
    top:0;
    right:0;
    bottom:0;
}

#positions article figcaption {
    position:absolute;
    bottom:0;
    right:0;
    background-color:#ffffffd4;
    color:#000000;
    padding:4px;
    font-size:0.7rem;
}

#positions article h1 {
    margin-top:10px;
    margin-bottom:10px;
    font-size:1rem;
    width: 100%;
    line-height:1.5;
}

#positions article p {
    width: 100%;
    margin:0px;
    font-size:0.9rem;
    line-height:1.5;
    text-align: justify;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#positions article footer {
    position:absolute;
    background-color:#ffffff;
    bottom:0;
    width:100%;
    height:64px;
}

#positions article footer time {
    position:absolute;
    display:block;
    background-color:#a0a0a0;
    color:#ffffff;
    bottom:8px;
    left:8px;
    font-size:1rem;
    height:28px;
    line-height:28px;
    padding:2px 8px;
}

#positions article footer a {
    position:absolute;
    display:block;
    background-color:#df0404;
    color:#ffffff;
    bottom:8px;
    right:8px;
    font-size:1rem;
    height:28px;
    line-height:28px;
    padding:2px 8px;
    cursor:pointer;
    transition:background-color 0.2s ease;
    text-decoration:none;
}

#positions article footer a:hover {
    background-color:#000000;
}

/* ******** */
/* Personen */
/* ******** */

.personen {
    position:relative;
    width:720px;
    margin:auto;
    padding:30px 0px;
}

.personen .personen-container > br {
    display:none;
}

.personen h2 {
    position:relative;
    display:inline-block;
    font-size:1.8rem;
    font-weight:300;
    height:80px;
    line-height:40px;
    margin:0;
    margin-left:16px;
}

.personen .person {
    position:relative;
    width:200px;
    display:inline-block;
    margin-right:54px;
    vertical-align:top;
    margin-bottom:48px;
}

.personen .person:nth-of-type(3n) {
    margin-right:0px;
}

.personen .person img {
    width:100%;
    height:200px;
    object-fit:cover;
}

.personen .personName {
    position:relative;
    color:black;
    text-decoration: none;
    left:6px;
    top:8px;
    font-size:1.2rem;
    display:block;
}

.personen .personRole {
    position:relative;
    color:#454545;
    left:10px;
    top:8px;
    margin-top:4px;
    font-size:1.0rem;
}

.personen.two-columns .person {
    width:300px;
}

.personen.two-columns .person img {
    height:300px;
}

.personen.two-columns .person:nth-of-type(3n) {
    margin-right:54px;
}

main .wp-block-cover {
    width: 150vw;
    transform: rotate(-6deg);
    transform-origin: 0 0;
    left: calc(-75vw + 50%);
    position: relative;
}

main .wp-block-cover .wp-block-cover__inner-container {
    transform: rotate(6deg);
    text-align:center;
    width:1080px;
}

main .wp-block-cover__inner-container h1 {
    font-size:2.5rem;
    margin-top:8vw;
    font-family: "futura-pt";
    font-weight:900;
}

body > main > article {
    position:relative;
    max-width:720px;
    left:0;
    right:0;
    margin:auto;
    line-height:1.5;
}

body > main > footer, body > section > footer {
    position:relative;
    border-top:1px solid #787878;
    /*height:300px;*/
    width:100%;
    top:200px;
    background-color:#787878;
    color:#ffffff;
    padding-top:20px;
    padding-bottom:20px;
    text-align:left;
    line-height:1.6;
}

body > main > footer a, body > section > footer a {
    color:#ffffff;
}

body > main > footer > div, body > section > footer > div {
    width:1080px;
    top:0;
    margin:auto;
    position:relative;
}

body > main > footer > div p:first-of-type, body > section > footer > div p:first-of-type {
    /*width:1080px;*/
    top:0;
    left:0;
    display:inline-block;
    margin-top:1rem;
}

body > main > footer > div p:last-of-type, body > section > footer > div p:last-of-type {
    top:0;
    right:0;
    position:relative;
    display:inline-block;
    margin:0;
    float:right;
    text-align:right;
    margin-top:1rem;
}

/* ******* */
/* General */
/* ******* */
main.main h1,
main.main h2,
main.main h3,
main.main h4,
main.main h5,
main.main h6,
main.main p,
main.main hr,
main.main > div,
main.main ul {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: left;
    line-height: 1.6;
}

main.main figure,
main.main img,
main.main .wp-block-image {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: left;
    line-height: 1.6;
}

main.main figure > img {
    max-width:100%;
}

main.main figcaption {
    font-size:0.7rem;
    color:#676767;
}

#ortsverbaende-content-container {
    max-height:600px;
    transition:max-height 1s ease;
    margin-bottom:40px;
    overflow:hidden;
}

#ortsverbaende-container {
    width:720px;
    height:600px;
    position:relative;
    margin:auto;
    left:0;
    right:0;
    margin-bottom:40px;
    display:block;
}

#ortsverbaende {
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:100%;
    transition:all 1s ease;
}

#ortsverband-overlay {
    position:relative;
    width:100%;
    min-height:800px;
    padding-top:60px;
    background-color:white;
    box-shadow:-5px -40px 60px #ffffff;
}

#ortsverband-overlay > footer:last-of-type {
    display:none;
}

#ortsverband-overlay > h1:first-of-type {
    display:none;
}

/* ********* */
/* Manifesto */
/* ********* */
#manifesto {
    position:relative;
    left:0;
    right:0;
    margin:0 auto;
    width:1080px;
    top:0;
    overflow:hidden;
    padding-top:0px;
    padding-bottom:0px;
    max-width:100%;
}

#manifesto > h1 {
    font-size:1.8rem;
    font-weight:300;
    line-height:1.5;
}

body > main + section > article > h1 {
    display:none;
}

#manifesto > aside {
    position:relative;
    float:left;
    width:30%;
    margin-right:3%;
    margin-bottom:0px;
    height:auto;
    height:calc(100vh - 180px);
    overflow:auto;
}

#manifesto > aside > h2 {
    width:auto;
}

#manifesto > aside img {
    position:relative;
    float:left;
    width:100%;
    height:auto;
}

#manifesto > aside > ul {
    list-style-type:none;
    padding-left:6px;
    font-size:1rem;
    line-height:1.3;
    width:auto;
}

#manifesto > aside > ul li {
    margin-top:1rem;
    padding-left: 2em;
    text-indent:-2em;
}

#manifesto > aside > ul > ul {
    list-style-type:none;
    padding-left:18px;
    font-size:1rem;
    line-height:1.3;
    width:auto;
}

#manifesto > aside .manifesto-link.active {
    font-weight:600;
    color:#000000;
}

#manifesto > aside > ul > ul > li {
    margin-top:0.4rem;
}

#manifesto > aside a {
    text-decoration: none;
    color:#232323;
}

#manifesto > main {
    position:relative;
    top:0;
    width:65%;
    line-height:1.8;
    font-size:1.2rem;
    overflow:auto;
    height:calc(100vh - 180px);
    padding-right:16px;
    transition:opacity 0.8s ease;
    opacity:1;
}

#manifesto > main.loading {
    opacity:0.3;
}

#manifesto > main > *:first-child,
#manifesto > main > ol > *:first-child {
    margin-top:0;
}

#manifesto > main > h1,
#manifesto > main > ol > h1 {
    font-size:1.8rem;
    font-weight:300;
    line-height:1.5;
    padding-top:20px;
}

#manifesto > main > ol > h1 {
    position:relative;
    left:-40px;
}

#manifesto > a.menu-back:last-of-type {
    transform:rotate(0deg);
    display:inline-block;
    width:auto;
    right: 2rem;
    left: auto;
    top: 1rem;
    font-size: 1rem;
    font-weight: 300;
    background-color:#ffffff;
    border:solid 1px #000000;
    color:#000000;
}

#manifesto > a.menu-back:last-of-type:hover {
    transform:rotate(0deg);
    background-color:#000000;
    color:#ffffff;
}

#manifesto > a:last-of-type {
    position:absolute;
    display:inline-block;
    font-size:0.8rem;
    height: 30px;
    background-color:#df0404;
    color: #ffffff;
    padding: 0px 14px;
    line-height: 30px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    margin:0px 4px;
    border:1px solid #df0404;
    margin-top:40px;
    right:8px;
    bottom:8px;
    margin-bottom:30px;
}

#manifesto > a:last-of-type:hover {
    background-color:#000000;
    border:1px solid #000000;
}

#manifesto a.manifesto-link {
    position:relative;;
    display:inline-block;
    font-size:0.8rem;
    height: 30px;
    color: #ffffff;
    padding: 0px 14px;
    line-height: 30px;
    transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
    cursor: pointer;
    margin:0px 4px;
    border:1px solid #df0404;
    margin-top:40px;
    text-decoration:none;
    margin-bottom:40px;
}

#manifesto a.manifesto-link.left {
    border:1px solid #000000;
    color:#000000;
    float:left;
    margin-left:16px;
}

#manifesto a.manifesto-link.left:hover {
    background-color: #787878;
    color: #ffffff;
    border: 1px solid #787878;
}

#manifesto a.manifesto-link.right {
    border:1px solid #df0404;
    background-color:#df0404;
    float:right;
    margin-right:16px;
}

#manifesto a.manifesto-link.right:hover {
    background-color:#000000;
    border:1px solid #000000;
}

#manifesto-container h1,
#manifesto-container h2,
#manifesto-container h3,
#manifesto-container h4,
#manifesto-container h5,
#manifesto-container h6,
#manifesto-container p,
#manifesto-container ul {
    width:auto;
}

.wp-block-image img {
    height:auto;
}

.cli-style-v2 .cli-bar-message {
    font-weight:300;
    font-size:16px;
    line-height:1.6;
}

.wp-block-die-linke-muc-accordion {
    max-height:3rem;
    overflow:hidden;
    transition: max-height 500ms ease;
}

.wp-block-die-linke-muc-accordion:hover {
    max-height:auto;
}

.wp-block-die-linke-muc-accordion::before {
    content:"+ ";
    color:#df0404;
    font-size:1.6rem;
    line-height:1.6rem;
    font-weight:900;
}

.wp-block-die-linke-muc-accordion h3 {
    line-height:1.6rem;
    display:inline-block;
    margin-top:0.7rem;
    margin-bottom:0.7rem;
    cursor:pointer;
}

@media(max-width:1239px) {
    body > header {
        height:128px;
    }

    body > header > #header-container {
        width:800px;
    }

    header #header-container > nav {
        top:35px;
        font-size:0.9rem;
    }

    header #header-container > nav a {
        left:12px;
        margin-right:12px;
    }

    header #submenu-container {
        top:70px;
        font-size:0.7rem;
        right:200px;
    }
    
    header #submenu-container nav a {
        height:24px;
    }

    body > header #article-title-container {
        height:90px;
        width:520px;
        right:260px;
    }

    #header-social-media {
        right:204px;
        top:10px;
    }

    #header-social-media.hidden {
        right:204px;
        top:-40px;
    }

    #logo {
        width:140px;
        right:25px;
    }

    body > main {
        top:128px;
    }
    
    main .headline-overview {
        width:700px;
        height:640px;
    }

    main article.headline {
        width:700px;
        height:auto;
    }

    main article.headline figure {
        position:relative;
    }

    main article.headline h1 {
        left:0;
        width:660px;
        top:0;
        margin-top:24px;
        margin-bottom:16px;
    }

    main article.headline p {
        left:0;
        width:660px;
        top:0;
    }

    main article.headline footer {
        position:relative;
        left:0;
        height:42px;
        width:700px;
        bottom:0;
    }

    .news-overview {
        width:700px;
        height:1100px;
    }

    .news-overview article {
        top:340px;
        height:300px;
        width:600px;
    }

    .news-overview article:first-of-type {
        top:0px;
        right:0;
    }

    .news-overview article:last-of-type {
        top:680px;
        left:0;
    }

    .news-overview article figure {
        width:300px;
        height:300px;
        float:left;
        margin-right:16px;
    }

    .news-overview article:nth-of-type(2) figure {
        float: right;
        margin-right: 0;
        margin-left: 16px;
    }

    .news-overview article h1 {
        margin-top:0;
    }

    .news-overview article footer {
        width:294px;
        left:306px;
        bottom:-4px;
        height:56px;
    }

    .news-overview article:nth-of-type(2) footer {
        left:0;
    }

    .news-overview > a {
        bottom:0;
    }

    main div.calendar {
        width:700px;
        height:auto;
        padding-bottom:140px;
    }

    main div.calendar table {
        position:relative;
        left:0;
        right:0;
        top:0;
        margin:auto;
    }

    main div.calendar-container-scroller {
        position: relative;
        top: 40px;
        left: 0;
        height: 440px;
    }

    main div.calendar article h1 {
        width:566px;
    }

    main div.calendar article p {
        width:566px;
    }

    .calendar-earlier {
        left:24px;
    }

    #positions {
        width:700px;
        height:2000px;
    }

    #positions article:nth-of-type(2n+1) {
        left:0;
        right:auto;
    }

    #positions article:nth-of-type(2n+2) {
        right:0;
        left:auto;
    }

    #positions article:nth-of-type(2) ~ article {
        top:780px;
    }

    #positions article:nth-of-type(4) ~ article {
        top:1460px;
    }

    body > section > article {
        width:780px;
    }

    body > section > article > main {
        width:60%;
    }

    main .wp-block-cover .wp-block-cover__inner-container {
        width:800px;
    }

    body > main > footer > div, body > section > footer > div {
        width:780px;
    }

    main.main h1,
    main.main h2,
    main.main h3,
    main.main h4,
    main.main h5,
    main.main h6,
    main.main p,
    main.main hr,
    main.main > div,
    main.main ul {
        max-width: 720px;
    }

    main.main figure,
    main.main img,
    main.main .wp-block-image {
        max-width: 720px;
    }
}

@media(max-width:799px) {
    body > header > #header-container {
        width:100%;
    }

    #header-social-media {
        right:164px;
        top:30px;
    }

    #logo {
        width:90px;
        top:12px;
        right:5px;
    }

    #mobile-menu {
        position:absolute;
        display:inline-block;
        top:20px;
        left:20px;
        height: 35px;
        color: #000000;
        padding: 0px 14px;
        line-height: 35px;
        transition: color 0.4s ease, background-color 0.2s ease, border 0.3s ease;
        cursor: pointer;
        border:1px solid #000000;
    }

    #mobile-menu:hover {
        background-color:#787878;
        color: #ffffff;
        border:1px solid #787878;
    }

    body > main {
        top: 80px;
    }

    #header {
        height:80px;
    }

    #header.mobileExpanded {
        height:500px;
    }

    header #header-container > nav {
        top:100px;
    }

    header #header-container > nav.hidden {
        opacity:1;
    }

    header #submenu-container {
        right:30px;
        left:auto;
        width:150px;
        top:120px;
        height:500px;
    }

    header #submenu-container.hidden {
        opacity:1;
    }

    header #submenu-container nav {
        width:100%;
        text-align:right;
        top:0;
        right:-160px;
        transition:right 0.5s ease;
    }

    header #submenu-container nav.expanded {
        right:0px;
    }

    #header-line-horizontal {
        display:none;
    }

    body > header #article-title-container {
        display:none;
    }

    header #header-container > nav a {
        float:none;
        display:table;
    }

    header #submenu-container nav a {
        float:none;
        display:block;
        left:auto;
        margin-right:0;
    }

    #header-social-media {
        right: 74px;
        top: 80px;
    }

    #header-social-media.hidden {
        right:74px;
        top:80px;
    }

    /* Enable later */
    #article-menu {
        display:none;
    }

    main .headline-overview {
        width:300px;
        height:700px;
    }

    main article.headline {
        width:300px;
    }

    main article.headline figure {
        width:300px;
        height:300px;
    }

    main article.headline h1 {
        width:300px;
        margin-left:0;
    }

    main article.headline p {
        width:300px;
        margin-left:0;
    }

    main article.headline footer {
        width:300px;
        bottom:0px;
    }

    main article.headline footer a {
        right:0;
    }

    .news-overview {
        width:300px;
        height:2100px;
    }

    .news-overview article {
        top:650px;
        width:300px;
        height:600px;
    }

    .news-overview article:first-of-type {
        top:0px;
        right:0;
    }

    .news-overview article:last-of-type {
        top:1300px;
        left:0;
    }

    .news-overview article figure {
        width:300px;
        height:300px;
        float:none;
        margin:0;
    }

    .news-overview article:nth-of-type(2) figure {
        float:none;
        margin:0;
    }

    .news-overview article h1 {
        margin-top:10px;
        margin-left:0px;
        margin-right:0;
    }

    .news-overview article p {
        margin-left:0px;
        margin-right:0;
    }

    .news-overview article footer {
        width:100%;
        left:0px;
        bottom:0;
        height:64px;
    }

    .news-overview article:nth-of-type(2) footer {
        left:0px;
    }

    .news-overview > a {
        bottom:40px;
    }

    .news-overview-older {
        left:0;
        right:0;
        text-align:center;
    }

    .news-overview > a:first-of-type {
        left:0;
        right:0;
        bottom:90px;
        text-align:center;
    }

    main div.calendar {
        width:300px;
    }

    main div.calendar table {
        width:300px;
        height:287px;
    }

    main div.calendar th {
        height:40px;
    }

    main div.calendar td {
        height:42px;
    }

    main div.calendar-container-scroller {
        height:840px;
    }

    main div.calendar article {
        height:260px;
    }

    main div.calendar article figure {
        top:24px;
    }

    main div.calendar article h1 {
        width:300px;
        left:0;
    }

    main div.calendar article .address {
        width:162px;
    }

    main div.calendar article p {
        width:162px;
    }

    main div.calendar article footer {
        left:0;
        right:180px;
    }

    main div.calendar article footer time {
        height:auto;
        bottom:30px;
        left:auto;
        right:0;
    }

    main div.calendar > a.calendar-earlier {
        bottom:0;
        left:0;
        right:0;
        text-align:center;
    }

    main div.calendar > a.calendar-later {
        bottom:50px;
        left:0;
        right:0;
        text-align:center;
    }

    #positions {
        width:300px;
        height:3750px;
    }

    #positions article {
        position:relative;
        width:300px;
        margin-bottom:40px;
    }

    #positions article:nth-of-type(2) ~ article {
        top:0;
    }

    #positions article:nth-of-type(4) ~ article {
        top:0;
    }

    main .wp-block-cover .wp-block-cover__inner-container {
        width:300px;
        margin-left:-70px;
    }

    main.main h1, 
    main.main h2, 
    main.main h3, 
    main.main h4, 
    main.main h5, 
    main.main h6, 
    main.main p, 
    main.main hr,
    main.main > div,
    main.main ul {
        max-width:300px;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    main.main figure, main.main img, main.main .wp-block-image {
        max-width:300px;
    }

    #ortsverbaende-container {
        width:300px;
        height:240px;
    }

    .personen {
        width:300px;
    }

    .personen h2 {
        margin-top: -2rem;
        margin-bottom: 3rem;
    }

    .personen .person {
        width:300px;
        margin-bottom:40px;
    }

    .personen .person img {
        height:300px;
    }

    #article-container {
        margin-top:-180px;
        overflow:auto;
        height: calc(100vh - 50px);
    }

    body > header #article-title {
        display:none;
    }

    body > section {
        top:80px;
    }

    body > section > article {
        width:300px;
    }

    body > main + section > article > aside {
        height:auto;
    }

    body > section > article > aside {
        width:300px;
    }

    body > section > article > main {
        width:300px;
        height:auto;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body > main + section > article > main {
        height:auto;
        width:300px;
    }

    body > main + section > article > h1 {
        display:block;
    }

    body > main > article {
        max-width:100vw;
        overflow:hidden;
    }

    body > main > footer > div, body > section > footer > div {
        width:300px;
    }

    body > main > footer > div p:first-of-type, body > section > footer > div p:first-of-type {
        width:300px;
        text-align: center;
    }

    body > main > footer > div p:last-of-type, body > section > footer > div p:last-of-type {
        width:300px;
        text-align:center;
        float:none;
        margin-bottom:20px;
    }
}
