@charset "utf-8";

html, body {
    font-size: 16px;
}

/* 1. Clearfix
--------------------------------------------------------------------------------------------------------*/
.clear {
    clear: both;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: block;
}


.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.centered {
    text-align: center;
}

.hidden {
    display: none;
    visibility: hidden;
}



@media only screen and (max-width: 1024px) {
    .desktop {
        display: none
    }
}

@media only screen and (min-width: 1025px) {
    .mobile {
        display: none
    }
}


/* End Clearfix
--------------------------------------------------------------------------------------------------------*/


/* =2. Centering helpers (.parent / .child)
 * Generic table-based centering helpers, also genutzt von Map-Popups
 * (karte.css) und in Content-Pages. Preloader-Block selbst ist entfernt.
--------------------------------------------------------------------------------------------------------*/

.parent {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 0;
    z-index: 11;
    display: table;
}

.child {
    display: table-cell;
    vertical-align: top;
}

.parent .bottom {
    display: table-cell;
    vertical-align: bottom;
}

.parent .top {
    display: table-cell;
    vertical-align: top;
}

/* End Centering helpers
--------------------------------------------------------------------------------------------------------*/


/* =3. Typography
--------------------------------------------------------------------------------------------------------*/
html {
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    font-size: 16px;
    font-family: 'Catamaran', sans-serif;
    color: #000;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    /* background:#fff war hier - style.css macht's identisch (Z.359). */
	line-height: normal;
}

a, a * {
    transition: all 0.2s ease 0s;
}

a:hover, a:focus {
    text-decoration: none;
    outline: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-rendering: optimizeLegibility;
    outline: 0;
    -webkit-font-smoothing: antialiased;
}

*:focus {
    outline: 0;
}

p {
    padding: 0;
    margin: 10px 0;
    transition: all 0.2s ease 0s;
    position: relative;
    line-height: 1.4;
}

a {
    text-decoration: none;
}

p a {
    text-decoration: underline;
    position: relative;
    opacity: 1;
}

p#content1 { /* Trennstriche bei Schlagworten heller */
    color: #777;
}

#content5 .h4 { /* Typo bei Expertinnen größer */
    font-size: 26px;
    line-height: 29px;
}

#content7 .h4 { /* Typo bei Diskussion auch größer */
    font-size: 26px;
    line-height: 29px;
}

.white-text p a, .intro p a {
    color: #fff;
    opacity: 0.7;
}

p a:hover {
    text-decoration: underline;
    opacity: 1;
}

p a:focus {
    text-decoration: underline;
}

.white-text p a:hover, .intro p a:hover {
    color: #fff;
    opacity: 1;
}

.child p.small {
    padding-top: 10px;
}

p.large {
    font-size: 120%;
    padding: 0 0 5px;
}

p.details {
    opacity: 0.7;
    font-size: 85%;
    margin-bottom: 10px;
}

.white-text p {
    color: #fff;
}

.black-text p {
    color: #000;
}

.black-text a,
.black-text a:hover {
    color: #e51b20;
    text-decoration: none;
}

.info-box-content p.large, .header-wrapper p.large {
    max-width: 474px;
    margin-left: auto;
    margin-right: auto;
}

.white-text p.below-button {
    color: #fff;
    opacity: 0.7;
}

.white-text a:hover p.below-button {
    color: #fff;
    opacity: 1;
}

blockquote {
    border: 0;
    position: relative;
    margin: 0 0 65px;
    font-size: 130%;
    color: #fff;
    padding: 0;
    line-height: 1.5;
    font-style: italic;
}

article blockquote {
    margin: 29px 35px 90px;
}

article blockquote p {
    opacity: 1;
}


.button {
    border: 0;
    border-radius: 30px;
    padding: 13px 25px 14px;
    line-height: 1;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 11px !important;
    letter-spacing: 1px;
    margin-right: 10px;
    font-weight: 400;
    text-transform: uppercase;
    background: #fff;
    color: #2b2b2b;
}

.centered .button {
    margin-right: 0;
}

.button i.fa {
    color: #2b2b2b !important; /* !important schlaegt .white-text i.fa { color: #fff } – sonst Icon weiss-auf-weiss in .category2.button (eintrag.php Hochformat) */
    font-size: 115%;
    padding-right: 3px;
}

.button:hover {
    color: #2b2b2b !important;
}

/* End Typography
--------------------------------------------------------------------------------------------------------*/


/* =4. Headings
--------------------------------------------------------------------------------------------------------*/
h1#logo {
    position: relative;
    height: 55px;
    width: 220px;
    padding: 0 !important;
    margin: 0;
    display: block;
    margin-left: 10px;
    top: -2px;
    float: left;
}

h1, h2, h3, h4, h5, h6 {
    display: block;
    position: relative;
    font-weight: 600;
    font-family: Catamaran, sans-serif;
    /* font-size hier BEWUSST nicht gesetzt - sonst werden alle Headings
     * uniform-groß und ueberschreiben h1=40/h2=36/h3=28/h4=20/h5=18/h6=16
     * (siehe direkt darunter folgende h1-h6-Einzelregeln). */
}

.white-text h1, .white-text h2, .white-text h3, .white-text h4, .white-text h5, .white-text h6 {
    color: #fff;
    padding: 0;
    margin: 6px 0 8px;
}

.black-text h1, .black-text h2, .black-text h3, .black-text h4, .black-text h5, .black-text h6 {
    color: #333;
}

h1 {
    line-height: 1.2;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

h4 {
    font-size: 20px;
    line-height: 1.2em;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

.header {
    margin-top: 0;
}

.header.with-details-above {
    margin-top: -3px;
}

.social-header i.fa {
    opacity: 0.5;
}

.grey-bg.lighter h1 {
    margin-bottom: 24px;
}

/* End Headings
--------------------------------------------------------------------------------------------------------*/


/* (Sektion 5 Navigation -> nav.css, Phase 4.5f.4) */


/* =6. Main Content
--------------------------------------------------------------------------------------------------------*/
#header {
    /* position: relative ist Positioning-Context fuer den abs-positionierten
     * Search-Icon (.has-search .form-control-feedback right: 180px). Fehlt
     * das, klettert der Icon-Anker hoch zum naechsten positionierten Vorfahr
     * (.container, ~1200px breit) - dann landet das Icon im Input-Bereich
     * und ueberlappt den Placeholder. Die Overlay-CSS hat das gefixt, das
     * Base hier hatte den Fix nie, dadurch war's auf den Nicht-Neuerungen-
     * Pages stets kaputt. */
    position: relative;
    width: 100%;
    height: 140px;
    z-index: 98;
    padding: 20px 0;
}

.eintrag_karte #header, .group-blog #header {
    height: auto;
    padding: 25px 0;
}

@media only screen and (max-width: 768px) {
    .seite_karte #header, .eintrag_karte #header, .group-blog #header {
        padding-bottom: 50px;
    }

    #content .category {
        right: 35px;
        top: 15px;
    }

    .button {
        right: 15px;
        left: auto;
    }

    #content {
        padding-right: 10px;
    }

    #home .grey-bg h2, .bottom.boxed h2 {
        text-transform: uppercase;
        font-family: Catamaran;
        font-size: 12.5px !important;
        line-height: 1.76;
        letter-spacing: 0.5px;
        margin: 0;
    }
}


/* .koepfe-start/.koepfe #header verlagert nach koepfe.css (Phase 4.5e).
 * .group-blog ist PM-Theme-only und wird beim Split nach blog.css gehen. */
.group-blog #header {
    margin-top: 0;
    line-height: 1.42857143;
}

#content {
    width: 100%;
    position: relative;
    z-index: 55;
    height: auto;
}

.container {
    position: relative;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    width: auto;
}

header .container {
    margin-top: 0;
}

#container {
    position: relative;
    margin: 0 auto;
    padding: 20px 0 30px;
}

.single-page .no-isotope-container {
    margin-bottom: 30px;
}

.element {
    float: left;
    margin: 10px;
    background: none;
    overflow: hidden;
    transition: none;
}

.element2 {
    float: left;
    margin: 5px;
    background: none;
}

.tile-1 {
    width: 280px;
    height: 420px;
}

/* was tile-3 */
.tile-2 {
    width: 580px;
    height: 420px;
}

.tile-3 {
    width: 880px;
    height: 420px;
}

.tile-5 {
    width: 1180px;
    height: auto;
}

.tile-6 {
    width: 380px;
    height: 450px;
}

.auto {
    height: auto !important;
    min-height: 280px;
}

.connected-to-image {
    margin-top: -10px;
}

.tile-separater {
    height: 20px;
    position: relative;
    display: block;
}

.with-padding {
    padding: 20px 20px 0;
}

.tile-2 .with-padding, .with-padding.more {
    padding: 65px 75px 64px;
}

article.with-padding {
    padding-top: 71px !important;
    padding-bottom: 65px !important;
}

.white-bg {
    background: #fff;
    height: 100%;
    position: relative;
}

.grey-bg {
    background: #f5f5f5;
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
    height: 100%;
    position: relative;
    min-height: 260px;
}

.grey-bg-inverted { /*teaserboxen */
    background: #f5f5f5 !important;
}

a:hover .grey-bg, .grey-bg.lighter, .grey-bg-inverted {
    background: #f5f5f5;
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
}

.grey-bg.darker {
    background: #333;
}

.grey-bg.darker.with-padding.white-text,
.connected-to-image.white-text .grey-bg {
    padding: 0 35px;
}

.grey-bg.darker.with-padding.white-text p,
.connected-to-image.white-text p {
    font-size: 19px;
    line-height: 27px;
}

.grey-bg.darker.with-padding.white-text h1 {
    font-size: 46px;
    line-height: 54px;
}

.grey-bg.darker.with-padding.white-text h2 {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 56px !important;
}

.grey-bg.darker.with-padding.white-text hr,
.connected-to-image.white-text hr {
    border-top: 1px solid transparent;
    margin-top: 30px;
    margin-bottom: 30px;
}



.category2 {
    position: absolute;
    left: 15px;
    top: 15px;
    background: #fff;
    padding: 8px 14px 9px;
    z-index: 10;
    color: #2b2b2b;
    font-size: 115%;
    border-radius: 30px;
}

#content .category {
    position: absolute;
    right: 35px;
    top: 35px;
    background: #fff;
    padding: 14px 20px 15px;
    z-index: 10;
    color: #2b2b2b;
    font-size: 115%;
    border-radius: 30px;
}

#content .category-b2 {
    position: absolute;
    right: 35px;
    top: 85px;
    background: #fff;
    padding: 10px 15px;
    z-index: 10;
    color: #2b2b2b;
    font-size: 115%;
    border-radius: 30px;
}


#content .category-b2 a {
    float: left;
    width: 35px;
    margin: 0 6px
}

/* @media (max-width: 768px) (vormals Z.749) konsolidiert in Block Z.536 */

.category.tags {
    display: inline-block;
    position: relative;
    right: auto;
    top: auto;
    margin: 10px 5px;
}

.category i.fa, .play-button i.fa, a.category.tags:hover {
    color: #2b2b2b !important;
}

/* =End Main Content
--------------------------------------------------------------------------------------------------------*/


/* =7. Content Elements
--------------------------------------------------------------------------------------------------------*/
.white-text {
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.table {
    margin-bottom: 10px;
}

table h5 {
    margin: 0;
    display: block;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 25px 0 0;
    text-align: left;
    vertical-align: middle;
    border: 0 !important
}

.table th {
    width: 50%;
    padding-top: 10px !important;
}

.table td:nth-child(2n-1) {
    padding-right: 0;
}

.table td:nth-child(2n) {
    padding-left: 0;
    padding-right: 50px;
}

.table tr:nth-child(1) td {
    padding-top: 40px;
}

.table tr i.fa-check-square-o {
    padding-left: 0;
    padding-right: 8px;
    top: 1px;
    position: relative
}

.table p.details {
    padding-top: 28px;
    padding-right: 25%;
}

/* =End Content Elements
--------------------------------------------------------------------------------------------------------*/


/* (Sektion 8 Icons + 9 Images & Hover -> widgets-icons.css, Phase 4.5f.5) */
/* (Sektion 10 Footer -> footer.css, Phase 4.5f.3) */


/* =11. Lists
--------------------------------------------------------------------------------------------------------*/
ol {
    font-size: 16px;
    list-style: decimal;
    padding: 0 0 20px 25px;
    margin-bottom: 0;
}

ol li {
    padding-bottom: 5px;
    position: relative;
}

article ol li {
    opacity: 0.7;
}

ol li:last-child {
    padding-bottom: 0;
}

ol li a {
    color: #555;
    text-decoration: underline;
}

ol li a:hover {
    color: #2b2b2b;
    text-decoration: underline;
}

.white-text ul, .white-text ol {
    color: #fff;
}

/* =End Lists
--------------------------------------------------------------------------------------------------------*/


/* =12. Blog
--------------------------------------------------------------------------------------------------------*/


.comment {
    padding: 0 0 25px;
    position: relative;
    text-align: left
}

ul.comments {
    list-style-type: none;
    padding-top: 0;
    margin: 0;
    position: relative;
    margin-top: -2px;
    margin-bottom: -3px;
}

.commenter-avatar {
    float: left;
    padding: 0 30px 30px 0;
    width: auto;
}

.commenter-avatar > img {
    width: 65px;
    height: 65px;
}

.comment-content {
    float: left;
    width: calc(100% - 95px);
    margin: -7px 0 20px;
}


p.small .alignright {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    position: relative;
    top: -4px;
}

/* End Blog
--------------------------------------------------------------------------------------------------------*/


/* =13. Projektspezifische Anpassungen (ehemals demokratie.css)
--------------------------------------------------------------------------------------------------------*/

/* Sticky Header */

#header {
    position: sticky;
    top: 0;
    background: #fff;
}

/* body.admin-bar #header / #menu-button -> nav.css (Phase-4.5f-Followup,
 * gehoert thematisch zur Navigation - #menu-button ist dort gesetzt). */

/* Outline Homepage */

.grey-bg.outline {
    background: #f5f5f5;
    color: black;
}

/* .tile-1.outline / .tile-2.outline border-bottom siehe weiter unten
 * im Section-14-Block (#home-Kontext) – Wert war hier 1px solid #aaa,
 * wurde aber durch die spaetere Definition (border-bottom: 0) ueberschrieben.
 * Doppeldefinition entfernt. */


.bg-grey.connected-to-image, .connected-to-image article {
    background: #333;
    color: white;
}


.button.orte {
    margin-top: 120px;
}

/* .button.koepfe + .with-padding.koepfe verlagert nach koepfe.css (Phase 4.5e) */

/* (#home h4 -> home.css, definiert dort mit Catamaran/600/1.3 wie der
 * Phase-4.5c-Customizer-Import festlegt - main.css's Alegreya-500-Variante
 * wurde von home.css's Cascade-Position eh ueberschrieben.) */

@media only screen and (max-width: 730px) {

    .imgcredit-right {            /* ex vormals zweiter 730px-Block */
        bottom: 180px !important;
    }

    /* .button.koepfe verlagert nach koepfe.css */

    .category {
        right: 0;
        border-radius: 15px;
        top: 5px;
        padding: 8px 8px 10px;
    }

    .button {
        font-size: 11px !important;
        line-height: 0.8;
    }

}


/* Suche
 * Vorher hat Bootstrap 3 (.form-control + .form-group) die Basis-Styles
 * geliefert, wir haben sie ueberschrieben. BS3 ist raus - hier inlinen
 * wir die BS3-Werte die wir wirklich brauchen.
 */

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    /* BS3-default war 1px solid #ccc + radius 4px + inset box-shadow.
     * Wir wollen nur die Bottom-Border - daher hier direkt: */
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out;
}

.form-group.has-search {
    position: relative; /* Positioning-Context für abs. positionierten Search-Icon */
    width: 220px;
    float: right;
    padding-top: 16px;
}

.has-search .form-control {
    padding-left: 2.375rem;
    width: 200px;
    float: left;
    margin-top: 10px;
}

.has-search .form-control-feedback {
    position: absolute;
    left: 0;
    /* Input startet bei: form-group padding-top(10) + input margin-top(10) = 20px
     * Input-Mitte: 20 + 34/2 = 37px. Icon (24px) zentriert: top = 37 - 24/2 = 25px */
    top: 25px;
    z-index: 99;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    color: #aaa;
    pointer-events: inherit;
}


#gosend {
    cursor: pointer;
}


/* Kacheln */

.entrymeta {
    margin: 5px;
}

.tile-2 .with-padding {
    padding: 30px 35px 20px;
}

.red::after {
    color: #666;
}

/* Kachellinks: Page-spezifische Breiten
 * (vorher inline in projekte/index.php, karte/a-z.php) */

body.orte-az .kachellinks {
    position: absolute;
    bottom: 25px;
    width: calc(100% - 30px);
}

body.projekte .kachellinks {
    position: absolute;
    bottom: 25px;
    width: 340px;
    height: 30px;
}

body.projekte .tile-6 {
    height: 480px;
}


/* Themenseiten */

.home.white-text .boxed-wrapper p {
    font-size: 1.05em;
    font-weight: 500;
}

.home.white-text li {
    list-style-type: none;
}


/* Print */

@media print {
    #header, #container2, .button, .imgcredit-right, .imgcredit-left {
        display: none;
    }

    .element {
        position: relative;
    }

    #koetitle {
        margin-top: 50px;
    }

    .comment-content {
        width: 100%;
    }

    ul {
        list-style: none;
        padding-left: 0;
    }

}


/* Responsive — Medium devices (landscape tablets) */

@media only screen and (max-width: 1100px) {
    .form-group.has-search {
        margin: 10px auto;
        border-top: 1px solid #ccc;
        width: 220px;
        margin-bottom: 20px;
        height: 50px;
        float: none;
    }

    .has-search .form-control-feedback {
        left: 0;
        top: 13px; /* Input-Mitte: mt8 + 17 = 25px, Icon-top = 25-12 = 13px */
    }

    .has-search .form-control {
        width: 220px;
        margin-top: 8px;
    }

    h2 {
        font-size: 22px;
    }

    footer img {
        margin: 0 auto;
    }

    .slidercontainer {
        margin-top: -60px;
    }

    .tile-5 {
        width: 100%;
    }

    .boxed-wrapper {
        position: relative;
    }

    .connected-to-image {
        margin-top: 10px;
    }

    .imgcredit-right {
        bottom: 80px !important;
        background-color: #33333396;
    }
}

/* Image Credits */

.imgcredit-right {
    position: absolute;
    right: 16px;
    z-index: 100;
    width: fit-content;
}

.imgcredit-left {
    position: absolute;
    bottom: 0;
    left: 16px;
    background: rgba(0, 0, 0, .5);
    padding: 7px;
    width: fit-content;
}

.imgcredit-left a, .imgcredit-right a {
    color: #fff !important;
}

.imgcredit-left p, .imgcredit-right p {
    font-size: 9px;
    margin: 0 !important;
    color: #fff !important;
}

@media only screen and (min-width: 993px) {

    .imgcredit-left p, .imgcredit-right p {
        font-size: 11px;
    }

    .imgcredit-right {
        bottom: 0;
        background: rgba(0, 0, 0, .5);
        padding: 5px 10px 0;
    }

}


/* Responsive — Small devices (portrait tablets) */

@media only screen and (max-width: 668px) {
    .home-kachel-1 img {       /* ex vormals zweiter 668px-Block */
        min-height: 227px;
        object-fit: cover;
    }

    h4 {                        /* ex vormals zweiter 668px-Block */
        font-size: 14px;
    }

    .container {
        width: 100%;
        max-width: none;
    }

    .tile-1, .tile-3, .tile-2, .tile-5:not(.lowcontainer) {
        width: calc(100% - 20px);
        min-height: 205px;
        position: relative;
    }

    .slidercontainer {
        width: 100%;
    }

    .boxed-wrapper {
        width: 100%;
        height: auto;
        position: relative;
    }

    .image-wrapper {
        min-height: 227px;
    }

    .grey-bg {
        min-height: 205px;
    }

    h1, h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .tile-5 h1 {
        font-size: 30px;
    }

    .outline h4, .grey-bg h4 {
        font-size: 20px;
    }


    .boxed {
        padding: 2px;
    }

    .tile-2 .with-padding, .with-padding.more, .boxed-wrapper {
        padding: 30px 35px 20px !important;
    }

    .tile-5 .boxed-wrapper {
        padding-bottom: 0 !important;
    }


    article blockquote {
        margin: 19px 0 80px;
    }

    ul.comments {
        margin: 0 !important;
    }

    .comment-content {
        width: 100%;
        float: none;
    }

    .commenter-avatar {
        padding-bottom: 10px;
        padding-right: 20px;
    }

    .comment {
        padding-bottom: 15px;
    }

    article .button {
        margin-top: 17px;
        margin-bottom: 17px;
    }

    header .social-list li {
        padding: 0 4px;
    }

    .grey-bg .parent {
        position: relative;
    }


    .child .social-list {
        padding-top: 0;
        padding-bottom: 8px;
    }

    .social-list.custom li a i {
        top: 11px;
    }

    .form-part {
        position: relative;
        margin-bottom: 4px;
        margin-top: -24px;
    }

    .single-page.contact .tile-2 .with-padding, .single-page.contact .with-padding.more, .single-page.contact .boxed-wrapper {
        padding: 30px 20px !important;
        background: #000;
    }
}

/* Responsive — Extra small devices (phones) */

@media only screen and (max-width: 480px) {
    footer p {
        text-align: left !important;
        float: left !important;
        padding-left: 0 !important;
    }

    footer.align-right {
        float: left !important;
    }

    footer .alignright {        /* ex vormals zweiter 480px-Block */
        float: left !important;
    }
}


/* Fancybox-Galerie auf Detail-Pages (koepfe/eintrag.php + karte/eintrag.php).
 * Vorher inline in beiden Files dupliziert. */
img.fancygallery {
    width: 21%;
    float: left;
    margin: 10px;
    position: relative;
    z-index: 2;
    border: 2px solid white;
    margin-top: -80px;
}

article img.fancygallery:nth-child(1n+3) {
    display: none;
}

@media only screen and (max-width: 800px) {
    img.fancygallery {
        margin-top: -55px;
    }
}


