/*Slider */

#dssiteheader #head {
    position: relative;
}

#headImageMarke {
    z-index: 11;
}

#headImageSuche {
    top: 102px;
}

#dssiteheader #head #headSlide {
    margin-bottom: 50px;
}

#dssiteheader #head #headSlide,
#dssiteheader #head #headSlide .lSSlideWrapper,
#dssiteheader #head #headSlide figure {
    height: auto !important;
}

#headSlide.headImageFrontend.headImageFrontend #headImageSuche a {
    top: -675px !important;
}

#dssiteheader #head #headSlide figure {
    width: auto;
}

.underline {
    text-decoration: underline;
}

#dssiteheader #head #bb_buehne .bb_button {
    position: absolute;
    width: 31.05%;
    left: 54.5%;
    top: 8.3%;
}

#dssiteheader #head #bb_buehne .bb_buehne_text_entw {
    position: absolute;
    width: 45.7%;
    top: 8.7%;
    left: 2.7%;
}

#dssiteheader #head #bb_buehne .bb_buehne_text_pius {
    position: absolute;
    width: 35.6%;
    top: 35.1%;
    left: 2.9%;
}

#dssiteheader #head #bb_buehne .bb_buehne_text_foerderaufruf {
    position: absolute;
    width: 45.6%;
    top: 71.1%;
    left: 3%;
}

#dssiteheader #head #bb_buehne .bb_buehne_text_CO2 {
    position: absolute;
    width: 45.1%;
    top: 84.1%;
    right: 3%;
}

@media (max-width: 480px) {
    #dssiteheader #head #bb_buehne .bb_button {
        width: 62.05%;
        left: 18.3%;
        top: 44.3%;
    }
    #dssiteheader #head #bb_buehne .bb_buehne_text_entw {
        width: 77.5%;
        top: 4.7%;
        left: 6.7%;
    }
    #dssiteheader #head #bb_buehne .bb_buehne_text_pius {
        width: 66.1%;
        top: 15.1%;
        left: 6.7%;
    }
    #dssiteheader #head #bb_buehne .bb_buehne_text_foerderaufruf {
        width: 66.1%;
        top: 28.6%;
        left: 6.7%;
    }
    #dssiteheader #head #bb_buehne .bb_buehne_text_CO2 {
        position: absolute;
        width: 65.1%;
        top: 88.1%;
        right: 100%;
        left: 6.7%;
    }
}

@keyframes rotate_b {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(120deg);
    }
}

@keyframes rotate_l {
    from {
        transform: rotate(128deg);
    }
    to {
        transform: rotate(248deg);
    }
}

@keyframes rotate_r {
    from {
        transform: rotate(-52deg);
    }
    to {
        transform: rotate(68deg);
    }
}

#bb_buehne {
    overflow: hidden;
    position: relative;
    background-color: #a8ba2c;
    padding-top: 38.31%;
}

@media (max-width: 480px) {
    #bb_buehne {
        padding-top: 135%;
    }
}

#bb_buehne .bb_buehne_inner {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

#bb_buehne .bb_scale_text,
#bb_buehne .bb_cover_r,
#bb_buehne .bb_cover_l,
#bb_buehne .bb_button-index {
    position: absolute;
    left: 0;
    top: 0;
}

#bb_buehne .bb_cover_r,
#bb_buehne .bb_cover_l {
    height: 100%;
    width: 100%;
}

#bb_buehne .bb_cover_r-inner,
#bb_buehne .bb_cover_l-inner {
    position: absolute;
    left: -5%;
    top: -49.6%;
    width: 110%;
    height: 100%;
    transform-origin: 50% 100%;
}

@media screen and (min-width: 0\0) and (min-resolution: 72dpi) {
    #bb_buehne .bb_cover_r-inner,
    #bb_buehne .bb_cover_l-inner {
        display: none;
    }
}

#bb_buehne .bb_cover_r {
    -webkit-mask: url("../img/pius_buehne1_scale_mask_r.png") top left/100% auto no-repeat;
    mask: url("../img/pius_buehne1_scale_mask_r.png") top left/100% auto no-repeat;
}

#bb_buehne .bb_cover_r-inner {
    background-color: #5aab33;
    transform: rotate(-52deg);
    /*transform: rotate(1deg);*/
}

#bb_buehne.inview .bb_cover_r-inner {
    animation: rotate_r 5s ease-in-out forwards;
}

#bb_buehne .bb_cover_l {
    -webkit-mask: url("../img/pius_buehne1_scale_mask_l.png") top left/100% auto no-repeat;
    mask: url("../img/pius_buehne1_scale_mask_l.png") top left/100% auto no-repeat;
}

#bb_buehne .bb_cover_l-inner {
    background-color: #0095db;
    transform: rotate(128deg);
    /*transform: rotate(1deg);*/
}

#bb_buehne.inview .bb_cover_l-inner {
    animation: rotate_l 5s ease-in-out forwards;
}

#bb_buehne .bb_button-index {
    transform-origin: 50% 50%;
}

#bb_buehne.inview .bb_button-index {
    /*transform: rotate(128deg);*/
    animation: rotate_b 5s ease-in-out forwards;
}

@media (max-width: 780px) {
    #headSlide picture img {
        height: auto;
    }
}

#kampagne .bb_head_1 {
    font-family: 'Avenir_next_regular', sans-serif;
    line-height: 1.4;
}

#kampagne strong {
    font-family: 'Avenir_next_LT_bold', sans-serif;
    font-weight: bold;
}


/*content*/

.greenBox {
    padding: 50px;
    color: #fff;
    background-color: #a8ba2c;
}

.greenBox .importantTitle {
    margin-bottom: 2rem;
}

.greenBox p {
    font-size: 20px;
    line-height: 32px;
}

.greenBox .importantMessage {
    font-weight: 600;
    line-height: 45px;
}

#kampagne .bb_content,
#kampagne ul li {
    font-size: 18px;
    line-height: 28px;
}

#kampagne ul li {
    margin: 0 0 1em 0;
    padding: 0 0 0 1%;
}

.bb_sections section {
    border-top: 1px solid #e0e0e0;
    padding-top: 50px;
    padding-bottom: 50px;
}

#kampagne .bb_head_2 {
    font-size: 1.5em;
    vertical-align: baseline;
    font-family: 'Avenir_next_regular', sans-serif;
    line-height: 1.2;
    margin-top: 0;
    color: inherit;
}

#kampagne .bb_sub_2 {
    font-size: 1.5em;
    vertical-align: baseline;
    font-family: 'Avenir_next_regular', sans-serif;
    line-height: 1.2;
    margin-bottom: 50px;
    color: inherit;
}

#kampagne .bb_head_2 span {
    font-size: 2em;
}

#kampagne .bb_head_3 {
    margin-bottom: .3em;
}

.bb_img_center {
    text-align: center;
}


/*paperfold*/

.bb_papef_head {
    font-weight: normal;
    font-size: 145%;
    line-height: 1.5;
    position: relative;
}

.bb_paperfold_innner *:last-child {
    margin-bottom: 0;
}

.bb_paperfold_innner {
    padding-top: 50px;
}

.bb_paperfold {
    cursor: pointer;
}

.bb_papef_head .toggler {
    width: 31px;
    height: 31px;
    background: url("../img/plus.png") no-repeat top left;
    cursor: pointer;
    float: right;
    margin-left: 17px;
    margin-top: 7px;
}

.bb_papef_head_blue .toggler {
    background-image: url("../img/plus2.png");
}

.bb_paperfold.open .bb_papef_head .toggler {
    background-image: url("../img/plus_open.png");
}

.bb_paperfold.open .bb_papef_head_blue .toggler {
    background-image: url("../img/plus2_open.png");
}

.bb_green {
    /*#707c05 AABB05*/
    color: #9bba2f;
}

.bb_open {
    padding-right: 24px;
    position: absolute;
    right: 52px;
    top: 5px;
    font-size: 0.8em;
    text-transform: none;
}

.bb_open:after {
    content: " ";
    position: absolute;
    right: 0;
    top: -3px;
    width: 19px;
    height: 46px;
    background: url("../img/pfeil_oeffnen2.svg") no-repeat top right;
    background-size: 16px auto;
}

@media (max-width: 480px) {
    .bb_paperfold.entf .bb_papef_head:after {
        background-size: 77% auto;
    }
    .bb_open {
        font-size: 0.7em;
    }
    .bb_open:after {
        width: 19px;
        height: 46px;
        background-size: 14px auto;
    }
}

@media (max-width: 1279px) {
    .bb_open {
        padding-right: 36px;
        right: 10px;
        top: -35px;
    }
    .bb_open:after {
        right: 0;
        top: -10px;
        transform: rotate(90deg);
    }
}


/*box*/

.bb_box {
    position: relative;
    background-color: #0F3F78;
}

.bb_box_left {
    padding: 33px 35px;
    width: 60%;
    min-height: 527px;
    color: #FFF;
}

#kampagne .bb_box_left a {
    color: inherit;
}

#kampagne a:after {
    color: inherit;
}

.bb_box_right {
    width: 40%;
    padding: 33px 35px 33px 0;
}

#kampagne .lSPager {
    margin: 0 !important;
    line-height: 2em;
}

#kampagne .contentImage {
    margin: 0;
    width: 100%;
}

@media (max-width: 780px) {
    .bb_box_left,
    .bb_box_right {
        width: 100%;
        float: none;
    }
    .bb_box_left {
        min-height: 667px;
    }
    .bb_box_right {
        padding: 0 35px 33px 35px;
    }
}


/* counter */

.bb_counter {
    padding: 9% 4% 4% 12%;
    background-color: #a8ba2c;
    /*border: 10px solid #e1e9f4;*/
    position: relative;
    color: #fff;
    text-align: right;
    margin-top: 72px;
    margin-bottom: 50px;
}

.bb_counter_number {
    font-family: 'Avenir_next_LT_bold', sans-serif;
    padding: 4% 4% 4% 13%;
    background-color: #FFF;
    font-weight: bold;
    font-size: 2.8em;
    color: #000;
    margin-bottom: 10px;
    line-height: 1;
}

.bb_counter_text {
    margin-left: 29%;
}

.bb_counter_co2 {
    position: absolute;
    width: 19%;
    top: -5%;
    left: 2%;
}

@media (max-width: 1280px) {
    .bb_counter_number {
        font-size: 1.7em;
    }
}

@media (max-width: 767px) {
    .bb_counter_number {
        font-size: 1.2em;
    }
    .bb_counter_text {
        margin-left: 14%;
    }
}

@media (max-width: 480px) {
    .bb_counter {
        padding: 41px 4% 8px 4%;
    }
    .bb_counter_number {
        padding: 7%;
        font-size: 1.5em;
        text-align: left;
    }
    .bb_counter_text {
        margin-left: 30%;
    }
    .bb_counter_co2 {
        position: initial;
        width: 27%;
        float: left;
        margin-bottom: 3%;
        margin-top: 2%;
    }
}


/*Contentnavi*/

.row {
    border-bottom: 2px solid #ddd;
    padding-bottom: 30px;
}

#filterButtonContainer {
    display: flex;
    flex-wrap: wrap;
}


/* The "show" class is added to the filtered elements */

.hide {
    display: none !important;
}


/* Style the buttons */

.filter_btn {
    border: none;
    outline: none;
    margin: 0 10px 10px 0;
    padding: 1rem 2rem;
    background-color: #f1f1f1;
    cursor: pointer;
    display: block !important;
    font-size: 14px;
}


/* Add a light grey background on mouse-over */

.filter_btn:hover {
    background-color: #ddd;
}


/* Add a dark background to the active button */

.filter_btn.active {
    background-color: #666;
    color: white;
}

#filter_searchbar {
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    padding: 5px;
}

#filter_searchbar+i {
    position: absolute;
    right: 5px;
    top: 6px;
}


/*Schaufenster*/

.SchaufensterContainer {
    clear: both;
    display: flex;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
}

.SchaufensterContainer .flip-container {
    width: 22.5%;
    width: 31.3%;
    height: 397px;
    /* background: #004996; */
    margin: 0 2% 32px 0;
    margin: 0 0 32px 0;
    display: block;
}


/*.flip-container:nth-child(n+4) {
    display: none;
}*/

.show-flip-container .flip-container {
    display: inline;
}

.SchaufensterContainer .flipper {
    height: 100%;
}

.SchaufensterContainer .front,
.SchaufensterContainer .back,
.SchaufensterContainer .front *,
.SchaufensterContainer .back * {
    display: block !important;
}

.SchaufensterContainer .flipper:hover .front {
    width: 0;
    opacity: 0;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    -webkit-transition: opacity .7s .1s, width .1ms .7s, -webkit-transform .8s;
    transition: opacity .7s .1s, width .1ms .7s, -webkit-transform .8s;
    -o-transition: transform .8s, opacity .7s .1s, width .1ms .7s;
    transition: transform .8s, opacity .7s .1s, width .1ms .7s;
    transition: transform .8s, opacity .7s .1s, width .1ms .7s, -webkit-transform .8s;
}

.SchaufensterContainer .front,
.SchaufensterContainer .back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    position: absolute;
    top: 0;
    left: 0;
    /* font-size:0.9em; */
    line-height: 1.25em;
}

.SchaufensterContainer .front {
    color: #fff;
    font-size: 2em;
    font-family: 'Avenir_next_bold', sans-serif;
    -webkit-transition: opacity .35s, width .1ms, -webkit-transform .7s;
    transition: opacity .35s, width .1ms, -webkit-transform .7s;
    -o-transition: transform .7s, opacity .35s, width .1ms;
    transition: transform .7s, opacity .35s, width .1ms;
    transition: transform .7s, opacity .35s, width .1ms, -webkit-transform .7s;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    z-index: 1;
    /* width: 100%; */
    background: #AABB05;
    pointer-events: none;
}

.SchaufensterContainer .front .name {
    display: block;
    font-size: 75%;
    text-transform: uppercase;
    font-family: 'Avenir_next_regular', sans-serif;
    line-height: 1.2;
    margin: 5%;
}

.SchaufensterContainer .front sub,
.SchaufensterContainer .back sub {
    display: initial !important;
}

.SchaufensterContainer .back {
    background: #fff;
    font-size: 18px;
    border: 10px solid #E6EBB5;
    padding: 5%;
    transform: unset;
    overflow: hidden;
    /* height: 207px; */
    color: #000;
}

.block-with-text {
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 16.4em;
    padding-right: 1.5em;
}

.block-with-text:before {
    content: '...';
    position: absolute;
    right: 5%;
    bottom: 0;
}

.block-with-text:after {
    content: '';
    position: absolute;
    right: 5%;
    width: 1em;
    height: 1em;
    margin-top: -1.15em;
    background: #fff;
}

.SchaufensterContainer .back p {
    font-size: 90%;
}

.SchaufensterContainer .back a,
.SchaufensterContainer .back a span.idef {
    text-decoration: none !important;
}

.SchaufensterContainer .back a span.idef {
    display: inline-block !important;
}

.SchaufensterContainer .back a span {
    text-decoration: underline;
}


/*.SchaufensterContainer .back a{
	position: absolute;
	bottom:10px;
	right: 10px;
}*/

.SchaufensterContainer .back a {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 5%;
    top: 0;
    left: 0;
    color: inherit;
}

.SchaufensterContainer a:after {
    display: none;
}

.SchaufensterContainer .back a span.download-link {
    display: block;
    position: absolute;
    right: 28px;
    bottom: 28px;
    color: #AABB05;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 82%;
}

.SchaufensterContainer .back a span:after {
    font-family: Fontawesome;
    content: "\f08e ";
    margin: 0 3px 0 5px;
    padding: 0 0 0 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 19px;
}

.SchaufensterContainer .back .back-title {
    font-size: 1em;
    margin: 0.5em 0;
}

.SchaufensterContainer .imgCropCon {
    margin-bottom: 0;
}

.SchaufensterContainer .front img {
    margin: 0 0 37px 0;
    width: 100%;
    display: block;
}

.SchaufensterContainer .front figcaption {
    display: none;
}

.kampagneSchaufenster {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    gap: 0 3%;
}


/*Video*/

.responsive-iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 4rem;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}


/* Then style the iframe to fit in the container div with full height and width */

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}


/*@media (max-width: 480px){
	.SchaufensterContainer .flip-container {
    width: 100%;
    height: 395px;
  }
  .SchaufensterContainer .front .name {
    line-height: 1.5em;
  }
  .SchaufensterContainer .front, .SchaufensterContainer .back {
    width: 100%;
    min-height: 395px;
    height: 100%;
  }
}*/


/*@media (max-width: 767px) and (min-width: 481px){*/

@media (max-width: 1280px) {
    .SchaufensterContainer .flip-container {
        width: 48%;
        /* height: 423px; */
    }
    .SchaufensterContainer .front,
    .SchaufensterContainer .back {
        /* height: 100%; */
        /*min-height: none;*/
    }
}

@media (max-width: 767px) {
    .SchaufensterContainer .flip-container {
        /* height: 397px; */
    }
}

@media (max-width: 480px) {
    .kampagneSchaufenster {
        justify-content: center;
    }
    .SchaufensterContainer .flip-container {
        width: 90%;
        /*height: 433px;*/
    }
    .SchaufensterContainer .front,
    .SchaufensterContainer .back {
        /*width: 100%;
height: 100%;
min-height: 433px;*/
    }
    .SchaufensterContainer .flip-container .flipper {
        /*height:433px;*/
    }
}


/*
@media (max-width: 1600px){
	.SchaufensterContainer .flip-container {
    width: 31.3%;
    height: 395px;
  }
	.SchaufensterContainer .front, .SchaufensterContainer .back {

    height: 100%;
    min-height: 395px;
  }
	.SchaufensterContainer .front .name {
    width: 95%;
    display: block;
    margin: auto;
  }
	.SchaufensterContainer .flip-container .flipper{
		height:395px;
	}
}
*/


/*video*/

#kampagne .MedienStream {
    margin: 0;
}


/*zitate*/

#kampagne .Zitat {
    margin: 0;
    padding: 0;
    max-height: 581px;
    width: 100%;
    float: none;
}


/*common*/

#kampagne a {
    font-size: inherit;
    line-height: inherit;
    /* color: inherit; */
    /* text-decoration: underline; */
}


/*
#kampagne a[target=_blank]:after{
	content:"";
}
*/

.bb_fl {
    float: left;
}

.bb_fr {
    float: left;
    text-align: right;
}

.bb_cfl {
    clear: both;
}

.bb_mr {
    margin-right: 30px;
}

.bb_mt {
    margin-top: 50px;
}

.bb_mb {
    margin-bottom: 50px;
}

#kampagne .bb_nmb {
    margin-bottom: 0;
}

.bb_70p {
    width: 70%;
}

.bb_30p {
    width: 30%;
}

.bb_50p {
    width: 50%;
}

.bb_mw750 {
    max-width: 750px;
}

.bb_pr {
    position: relative;
}

.bb_h100p {
    height: 100%;
}

.bb_table {
    display: table;
}

.bb_tc {
    display: table-cell;
}

.bb_tr {
    display: table-row;
}

.bb_ab {
    vertical-align: bottom;
}

.bb_xs {
    font-size: 9px;
    line-height: 1em;
}

.bb_name {
    font-size: 26px;
    line-height: 38px;
}


/*flex*/

.bb_dfl {
    display: flex;
}

.bb_fl_d_c {
    flex-direction: column;
}

.bb_fl_jc_sb {
    justify-content: space-between;
}


/*
/*
.bb_fli_ae{
	align-self:flex-end;
}
.dd_fl_acspb{
	align-content: space-between;
}
.dd_fl_ai_s{
	align-items: stretch;
}
*/

@media (max-width: 480px) {
    .bb_mo_nf {
        float: none;
    }
    .bb_mo_mb {
        margin-bottom: 30px;
    }
    .bb_mo_dbl {
        display: block;
    }
    .bb_mo_100p {
        width: 100%;
    }
}
