html, body {
    height: 100%;

    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size:15px;
    color:#262626;
    line-height:27px;
    text-align:left;
}

a {
    color: #81b524;
}

a:hover {
    text-decoration: none;
}

body {
    padding-top: 200px;
}

.navbar > .container-fluid .navbar-brand {
    margin: 25px;
}

nav.navbar {
    background: #e6007e;
    box-shadow: 0 2px 21px 0 rgba(0, 0, 0, 0.25);
    height: 200px;
    margin-bottom: 0;
    border: none;
}

ul.nav {
    background: #e6007e;
}

.navbar-default .navbar-nav > li > a {
    color: #fefefe;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    background-color: #000000;
    color: #fefefe;
}


.navbar-toggle {
    margin-top: 105px;
}

@media(min-width:768px) {
    ul.topnav {
        display: block;
        position: absolute;
        right: 20px;
        font-size: 15px;
    }

    ul.mainnav {
        display: block;
        position: absolute;
        right: 20px;
        bottom: 20px;
        font-size: 25px;
    }
}

.glyphicon.navigation {
    font-size: 2.5em;
    background-color: #000;
    color: #fefefe;
    padding: 8px;
}

div.carouselnav {
    margin-top: 3px;
}

.jumbotron {
    height: 100vh;
    margin-top: -200px;
    padding-top: 300px;
    background-color:#e6007e;
    position: relative;
}

h1 {
    margin: 0 auto 50px;
}

h1 {
    font-weight: 800;
    font-size: 75px;
    color:#e6007e;
    line-height:87px;
    text-align:center;
}

h2 {
    font-weight: 800;
    margin: 0 auto;
}

h1.block {
    text-align:center;
    font-size: 50px;
    line-height: 75px;
}

h2.block, h2.block + h1.block {
    text-align:center;
    font-size: 40px;
    line-height: 60px;
}


h1.block span, h2.block span, h3.block span {
    padding: 0 20px;
}

h3.block {
    margin: 0 auto;
    text-align:center;
    font-weight: 800;
    font-size: 30px;
    line-height: 45px;
}

/* for news header */
.news .header h3.block {
    margin: 0 auto;
    margin-top: -30px;
}

.news .footer, .news-single .footer {
    border-top: none;
    text-align: center;
}

.news-list-view .header p {
    text-align: center;
}

.jumbotron h1.block, .jumbotron h2.block, .jumbotron h2.block + h1.block {
    text-align:left;
    font-size: 84px;
    line-height: 132px;
    transform: rotate(-5deg);
    left: -50px;
    position: relative;
}

.jumbotron h1.block span, .jumbotron h2.block span {
    padding-left: 100px;
}

.jumbotron a.navigation {
    bottom: 0;
    left: 50%;
    position: absolute;
}

.jumbotron + section {
    padding-top: 300px;
}

nav + .container {
    padding-top: 100px;
}



.block {
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
}

.block span {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.block-white-green span {
    color:#fefefe;
    background-color:#81b524;
}

.block-white-magenta span {
    color:#fefefe;
    background-color:#e6007e;
}

.block-magenta-white span {
    color:#e6007e;
    background-color:#fefefe;
}



div.block {
    font-size: 15px;
    line-height: 25px;
}

div.block span {
    padding: 0 5px;
}

.text2col{
    margin-top: 30px;

    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
}

article.candidate {
    margin-bottom: 30px;
    position: relative;
}

article.candidate .name {
    transform: rotate(-5deg);
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    color:#fefefe;
    background-color:#81b524;
    padding: 0 10px;
    font-size: 15px;
    position: absolute;
    font-weight: 800;
    bottom: 105px;
    left: -1px;
    line-height: 25px;
}

article.candidate .name.basta {
    background-color:#e6007e;
}

article.candidate .name.jgb {
    background-color:#fff;
    color:#e6007e;
}

article.candidate .bisher {
    transform: rotate(-5deg);
    font-family: "Open Sans", sans-serif;
    text-transform: uppercase;
    color: #000;
    background-color: #fff;
    padding: 0 10px 0 12px;
    font-size: 12px;
    position: absolute;
    font-weight: 400;
    top: 15px;
    left: -1px;
    line-height: 20px;
}


article.candidate .party {
    position: relative;
    float: right;
    bottom: 50px;
    width: 90px;
    height: 45px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 75px;
}

article.candidate .party.gruene {
    background-image: url('/typo3conf/ext/gruene_basta/Resources/Public/images/gruene.png');
}

article.candidate .party.basta {
    background-image: url('/typo3conf/ext/gruene_basta/Resources/Public/images/basta.png');
}

article.candidate .party.jgb {
    background-image: url('/typo3conf/ext/gruene_basta/Resources/Public/images/jgb.png');
}

article.candidate .caption {
    color:#fefefe;
    background-color:#81b524;
    padding: 5px 10px;
    margin-top: 2px;
    line-height: 1.5;
    height: 80px;
    font-size: 13px;
}

article.candidate .image {
    position: relative;
}

article.candidate .links {
    color: #fefefe;
    font-size: 20px;
    position: absolute;
    right: 10px;
    top: 5px;
}

article.candidate .links a {
    color: #fefefe;
}

article.candidate .links a:hover {
    color: #000;
}


div.votebox {
    font-size: 30px;
    line-height: 40px;
    background-color:#81b524;
    transform: rotate(-5deg);
    color: #fefefe;
    height: 300px;
    padding: 20px;
    box-shadow:0px 7px 8px 0px rgba(0,0,0,0.31);
}

div.votebox-wrapper {
    overflow: hidden;
    margin: 60px auto 0px;
    width: 396px;
    padding: 20px 20px 0px;
    height: 300px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

[type="email"], [type="number"], [type="text"], textarea {
    display: block;
}

@media(max-width:768px) {

    html, body {
        padding-top: 75px;
    }

    nav.navbar {
        height: 150px;
    }

    .navbar > .container-fluid .navbar-brand {
        margin: 0 20px 0;
    }

    .navbar-brand img {
        width: 200px;
    }

    .navbar-default .navbar-collapse,
    .navbar-default .navbar-form {
        background-color: #fff;
    }

    .jumbotron h1.block, .jumbotron h2.block, .jumbotron h2.block + h1.block {
        font-size: 30px;
        line-height: 45px;
    }

    .jumbotron + section {
        padding-top: 200px;
    }

    nav + .container {
        padding-top: 50px;
    }

    .glyphicon.navigation {
        font-size: 2em;
    }

    h1 {
        font-size: 45px;
        line-height: 50px;
    }

    h1.block {
        margin: 0 auto 0;
    }

    h2.block {
        margin: 30px auto 0;
    }

    h1.block, h2.block {
        font-size: 25px;
        line-height: 40px;
    }

    h2.block, h2.block + h1.block {
        font-size: 25px;
        line-height: 40px;
    }

    h1.block span, h2.block span {
        padding: 0 10px;
    }

    div.block {
        font-size: 12px;
        line-height: 20px;
    }

    .text2col{
        -webkit-column-count: 1; /* Chrome, Safari, Opera */
        -moz-column-count: 1; /* Firefox */
        column-count: 1;
    }



    div.votebox {
        font-size: 20px;
        line-height: 30px;
        height: 200px;
    }

    div.votebox-wrapper {
        overflow: hidden;
        width: 300px;
        height: 200px;
    }
}

button.collapse-button {
    border: 0;
    padding: 0;
    color: #e6007e;
    background: transparent;
    display: block;
    margin-top: 2rem;
}
.well .col-lg-12 {
    float: none;
}

.ce-bodytext h3:first-of-type {
    margin-top: 0;
}

@media(max-width:475px) {
    article.candidate .name {
        padding: 0 10px;
        font-size: 12px;
        line-height: 20px;
        bottom: 90px;
    }

    article.candidate .bisher {
        font-size: 10px;
        line-height: 15px;
        padding: 0 5px 0 7px;
    }

    article.candidate .caption {
        font-size: 11px;
    }
}



