/* Basics */

.header p {
    margin: 0;
}

#content li p {
    padding: 0;
}

#content p, #content a {
    font-size: 1.25rem;
}

#content p {
    margin-bottom: 0;
    padding-bottom: 15px;
}

#content h1, #content h2 {
    font-size: 2.5rem;
}

a {
    outline: none;
}

/* Basics ENDE */

/* felogin begin */

.tx-felogin-pi1 legend {
    display: none;
}

.callModal {
    text-align: center;
    cursor: pointer;
}

/* felogin end */



/* Header und Main Nav */

#navMain * {
    z-index: 9;

}


.backgroundBlock {
    width: 100%;
    height: 100%;
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 0 !important;
}

.backgroundBlock .backgroundBlock {
    z-index: -1;
}

#navMain .backgroundBlock {
    height: 6rem;
}

#navMain {
    height: 6rem;
    padding-top: 0;
    padding-bottom: 0;
}

#navMain .navbar-brand img {
    height: 5.375rem;
}

#navbarMain ul.mitte {
    margin-left: auto;
    margin-right: auto;
}

#navbarMain ul.rechts {
    margin-left: auto;
    margin-right: unset;
}

#navbarMain ul.links {
    margin-left: unset;
    margin-right: auto;
}

.pipe .nav-item {
    border-right: 1px solid;
}

.pipe .nav-item:last-child {
    border-right: none;
}

.flag {
    width: 32px;
    opacity: .6;
    margin-left: 10px;
}

.flag.active, .flag:hover {
    opacity: 1;
}

#navbarMain .nav-link {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.5rem;
}

#navbarMain .backgroundBlock {
    display: none;
}

@media (min-width: 992px) {
    .navbar-expand-lg #navbarMain .navbar-nav .nav-link {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        margin-left: 0.25rem;
        margin-right: 0.25rem;
    }
}

@media (max-width: 1024px) {

    #navbarMain .nav-link {
        font-size: 1.25rem;
    }

    .navbar-expand-lg #navbarMain .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }

}

@media (max-width: 992px) {

    #navMain .navbar-brand img {
        height: 3.5rem;
    }

    #navbarMain .backgroundBlock {
        display: block;
        height: 100%;
        border-bottom-left-radius: 5px;
    }

    #navbarMain {
        position: absolute !important;
        right: 0;
        top: 6.2rem;
        padding: 1rem;

    }

    .pipe .nav-item {
        border-right: none;
    }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
        color: rgba(0,0,0,0.8) !important;
    }

}

@media (max-height: 400px) {
    #navMain.fixed-topxxx {
        position: absolute;
    }
}


/* Header und Main Nav ENDE*/

/* Footer und Footer Nav */

#footer {
    position: fixed;
    bottom: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    z-index: 999;
}

#footernav {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

#footernav li {
    float: left;

}

#footernav a {
    padding: 0 .5rem;
    text-transform: uppercase;
}


#footer .backgroundBlock {
    height: 6rem;
}


@media (max-width: 1024px) {

}

@media (max-width: 768px) {

}

@media (max-width: 576px) {

    #footer .copyright {
        font-size: .6rem;
        line-height: 1.75rem;
    }

    #footernav a {
        font-size: .75rem;
    }

    #footer .backgroundBlock {
        height: 4rem;
    }

    #footer {
        position: relative;
    }


}

@media (max-width: 576px) {

    #footer .copyright {
        font-size: .55rem;
        line-height: 1.75rem;
    }



    #footernav a {
        font-size: .6rem;
    }

}

/* Footer und Footer Nav ENDE */

/* Cookies begin */

#pxa-cookie-bar div p {
    font-size: 16px;
}

#pxa-cookie-bar.bottom-message-wrap .cookie-warning {
    background-image: none;
}

/* Cookeis ENDE */

/* Content */

#content {
    margin-top: 9rem;
    margin-bottom: 4rem;
    min-height: 800px;
    position: relative;
}


/* Content  ENDE */

/* Grid-System */

.colWrapper {
    height: 100%;
    position: relative;
    z-index: 1;
}

.cols .contentColor {
    height: inherit;
}

@media (min-width: 1400px) {
    #content.container {
        max-width: 1340px;
    }
}

@media (min-width: 1600px) {
    #content.container {
        max-width: 1540px;
    }
}

@media (min-width: 1800px) {
    #content.container {
        max-width: 1740px;
    }
}

@media (min-width: 1900px) {
    #content.container {
        max-width: 1860px;
    }
}

.milchglaswrapper {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 992px){

    .row > div {
        margin-bottom: 1.5rem;
    }

}

@media (max-width: 1600px) and (min-width: 1200px) {
    .col-lg-6 {
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .cekachel .imgWrapper img {
        width: 100%;
    }

}

/* Grid-System ENDE */

/* Carousel */

.startslider {
    z-index: 99;
}

.carousel .carousel-fade .carousel-item {
    transition-duration: 1.0s !important;
}

.carousel .carousel-indicators {
    bottom: 3rem;
    z-index: 999;
}

.carousel .carousel-indicators li {
    height: 24px !important;
    width: 24px !important;
    border-radius: 2rem;
    border: none;
    margin: 0 5px;
    box-shadow: inset 4px 4px 10px #222;

}

.carousel .carousel-indicators li::before {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    box-shadow: inset 4px 4px 10px #222;
}

.carousel .carousel-indicators li.active::before {
    background: rgba(255,255,255,1);
}

.carousel .carousel-indicators li::after {
    display: none;
}

#background .carousel-item-next, #background .carousel-item-prev, #background .carousel-item.active {
    transition: -webkit-transform 1.5s ease;
    transition: transform 1.5s ease;
}

#background .carousel-fade .carousel-item {
    transition-duration: 1.5s;
    transition-property: opacity;
}

.slideblock {
    height: 100vh;
    overflow: hidxxden;
    z-index: 1 !important;
    position: relative;
}

.slideblockBG {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    top: 0;
    left: 0;
    width: 100vw;
    transition: 8s;
    transition-timing-function: linear;
    z-index: 4;
    position: relative;
}

.slideblock img {
    height: 100%;
    width: auto;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 4;
}

.slideblock .transBlock {
    width: 100%;
    height: 100%;
    position: absolute;
}

.slideblock .wrapBlock {
    position: relative;
    z-index: 100;
}

.slideblock .stoerer {
    top: 30vh;
    position: absolute;
    width: 75vw;
    z-index: 999999999 !important;
}

#background .slideblock .stoerer .header * {
    font-size: 6rem;
    font-weight: bold;
    line-height: 1.125em;
    margin-bottom: .5rem;
    position: relative;
    z-index: 110;
}

#background .slideblock .stoerer .subheader * {
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.25em;
}

.slideblock .link {
    position: absolute;
    bottom: -7rem;
    right: 0;
    border-radius: 10px;
}


#background .slideblock .link a {
    font-size: 2.75rem;
    padding: .25rem 2rem;
    border-radius: 10px;
    box-shadow: inset 0 0 6px #ccc;
    text-decoration: none;
    text-shadow: none;
}

#background .slideblock .link > span {
    display: none;
}

@media (max-width: 1024px) {

    #background .slideblock .stoerer .header * {
        font-size: 3rem;
        margin-bottom: .5rem;
    }

    #background .slideblock .stoerer .subheader * {
        font-size: 1.5rem;
    }

    .slideblock .link {
        bottom: -5rem;
    }

    #background .slideblock .link a {
        font-size: 1.75rem;
    }

}


@media (max-width: 768px) {

    .slideblock .stoerer {
        top: 30vh;
        position: absolute;
        width: 100vw;
        z-index: 999999999 !important;
    }

    .slideblock .wrapBlock {
        padding: 1.5rem !important;
    }

    .slideblock .link {
        bottom: -5rem;
        right: 1rem;
    }

}

@media (max-width: 576px) {

    #background .slideblock .stoerer .header * {
        font-size: 2rem;
        margin-bottom: .5rem;
    }

    #background .slideblock .stoerer .subheader * {
        font-size: 1.25rem;
    }

    #background .slideblock .link a {
        font-size: 1.25rem;
        padding: .25rem 1.5rem;
    }

}


@media (max-height: 400px) {

    .slideblock .stoerer {
        top: 25vh;
        width: 100vw;
    }

    .slideblock .wrapBlock {
        padding: 1rem !important;
    }

}





/* Carousel ENDE */

/* Hintergrund */

.background {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.bg {
    position: relative;
}

.bg_width100 {
    width: 100vw;
    height: auto;
}

.bg_height100 {
    height: 100vh;
    width: auto;
}



/* Hintergrund ENDE */

/* Content Elemente */


.ceanmeldungen .d-flex div {
    padding: 3px 6px;
}

.ceanmeldungen {
    font-size: 16px;
}

.ceelement {
    display: block;
    position: relative;
}

.ceelement * {
    z-index: 9;
    position: relative;
}


.header {
    position: relative;
    line-height: 1.25em;
    margin-bottom: 0.5em;
}

.backgroundInner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
}

.ceheaderbanner {
    position: relative;
    font-weight: bold;
    margin-left: -4rem;
    padding-left: 4rem;
}

.spacer {
    position: relative;
}

#content .cetext p, #content .cetext a, #content .cetext li {
    font-size: inherit !important;
}

.cetext img.topleft {
    float: left;
    margin: 6px 2rem 2rem 0;
}

.cetext img.topright {
    float: right;
    margin: 6px 0 2rem 2rem;
}

.cetext img.topcenter {
    margin: 0 auto 2rem;
    display: block;
}

.cetext h2, .cetext h1 {
    margin-bottom: 1rem;
}

.cetext h3 {
    margin-bottom: 1rem;
}

.cetext h2 + h3 {
    margin-top: -.5em;
}

.cetext .link, .cekachel .link {
    position: absolute;
    bottom: 1.5rem;
    width: 100%;
    display: block;
}

.cetext .link.untenlinks a, .cekachel .link.untenlinks a {
    float: left;
}

.cetext .link.untenmitte, .cekachel .link.untenmitte {
    text-align: center;
}

.cetext .link.untenrechts a, .cekachel .link.untenrechts a {
    float: right;
}

@media (max-width: 576px) {
    .cetextxxx .link, .cekachelxxx .link {
        position: relative;
        bottom: .5rem;
    }
}


#content .link a {
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: inset 0 0 6px #ccc;
    text-decoration: none;
    display: inline-block;
}

#content .link a div {
    border-radius: 10px;
}

.cebild h2 {
    position: absolute;
}

.cebild img {
    height: auto;
}

.cetogglebox {
    position: relative;
    width: 100%;
    display: inline-block;
}

.toggle {
    float: left;
    width: 100%;
    height: 6rem;
    position: relative;
}

.toggle .backgroundBlock {
    height: 100%;
    z-index: auto;
    border-radius: inherit;
}

.toggle a {
    color: inherit !important;
    text-decoration: none;
    border-radius: inherit;
}

.togglebild {
    float: left;
    display: block;
    height: 100%;
    max-width: 35%;
    margin-right: 2rem;
    overflow: hidden;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    position: relative;
}

.togglebild img {
    position: relative;
    max-height: 100%;
    width: auto;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.toggletext {
    max-width: calc(65% - 2rem);
    float: left;
    display: flex;
    text-align: left;
    justify-content: center;
    height: 100%;
    z-index: 99999;
    position: relative;
    flex-direction: column;
}

@media (max-width: 1600px) {

    .toggletext .header {
        font-size: 26px !important;
        line-height: 1.125em;
        margin-bottom: 4px;
    }

    .toggletext .subheader {
        font-size: 20px !important;
        line-height: 1.125em;
    }

}

@media (max-width: 1024px) {

    .toggletext .header {
        font-size: 24px !important;
    }

    .toggletext .subheader {
        font-size: 18px !important;
    }

}

@media (max-width: 576px) {

    .toggle {
        height: auto !important;
    }

    .togglebild {
        display: none;
    }

    .toggletext {
        padding: 1rem;
        max-width: unset;
    }

    .toggletext .header {
        font-size: 20px !important;
    }

    .toggletext .subheader {
        font-size: 16px !important;
    }

}

#content .nav-tabs .nav-item .nav-link {
    color: #fff;
    border: none;
}

#content .nav-tabs .nav-item.show .nav-link, #content .nav-tabs .nav-link.active {
    color: #ddd;
    border-color: #eee #eee #fff;
}

#content .tab-content {
    position: relative;
}

#content .tab-content .tab-pane {

}

#content .cefeldliste .nav .nav-link > div  {
    margin: -0.5rem -1rem;
    padding: .5rem 1rem;
    border-radius: 0.25rem;
    color: #fff;
}

#content .cefeldliste .nav .nav-link.active > div {
    background: transparent !important;
}

@media (max-width: 400px) {

    #content .cefeldliste .nav .nav-link {
        padding: 0;
    }

    #content .cefeldliste .nav .nav-link > div  {
        margin: 0;
        padding: 0.125rem;
        border-radius: 0.25rem;
        color: #fff;
    }

}

.cediagramm {
    max-width: 100%;
    overflow: hidden;
}

.backgroundsrc, .backgroundsrc div {
    background-repeat: no-repeat;
    background-position: -1000rem;
    background-image: inherit;
}

.backgroundsrc ul {
    background-position: -1000rem;
    background-image: inherit;
    background-repeat: no-repeat;
    padding-left: 2px;
}

.backgroundsrc li {
    padding-bottom: 0;
    background-image: inherit;
                               list-style-type: none;
                               padding-left: 20px;
                               background-repeat: no-repeat;
                               background-position: left .34em ;
    display: flex;
}

.cekachel {
    position: relative;
    overflow: hidden;
}

.cekachel a, .cekachel a * {
    text-decoration: none !important;
}

.cekachel .overlaycontent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cekachel .header {
    margin-bottom: 0;
}

.cekachel .overlaycontent .header.left, .cekachel .overlaycontent .kacheltext.left {
    text-align: left;
    width: 100%;
}

.cekachel .overlaycontent .header.right, .cekachel .overlaycontent .kacheltext.right {
    text-align: right;
    width: 100%;
}

.cekachel .overlaycontent .header.center, .cekachel .overlaycontent .kacheltext.center {
    text-align: center;
    width: 100%;
}

.cekachel .overlaycontent {
    position: absolute;
    z-index: 9999999;
    width: 100%;
    top: 0;
    left: 0;
}

.cekachel .bildoverlay {
    position: absolute;
    z-index: 9999999;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

.cekachel .imgWrapper.unten {
    position: absolute;
    width: 100%;
    bottom: 0;
}

#content .cekachel .kacheltext * {
    font-size: inherit;
}

.card .cekachel .imgWrapper.float-left img, .card .cekachel .imgWrapper.float-right img {
    width: unset;
}


.cekacheltext {
    box-shadow: inset 0 0 5px #fff;
    height: 280px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.cekachelvollbild .imgWrapper {
    overflow: hidden;
}

@media (min-width: 1800px) {

    .cekachel .imgWrapper img {
        width: 100%;
    }

}

@media (max-width: 1199px) {

    .cekachel .imgWrapper img {
        width: 100%;
    }


}

@media (min-width: 1600px) and (max-width: 1800px) {
    .header {
        font-size: 28px !important;
    }

    #content .link a div {
        font-size: 18px !important;
    }
}

@media (max-width: 400px) {
    .header {
        font-size: 26px !important;
    }

    #content .link a div {
        font-size: 18px !important;
    }

    .cekachel .imgWrapper img {
        width: unset;
    }

    .cekachel .kacheltext {
        line-height: 1.25em;
    }
}

.overlaycontent video {
    width: 100%;
}

.imgWrapper {
    z-index: 8;
    position: relative;
    overflow: hidden;
}

.imgShadow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}


.cecustomlinkbild {
    width: 100%;
    position: relative;
}

.cecustomlinkbild img {
    width: 100%;
    height: auto;
}

.cecustomlinkbild .linkoverlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.cecustomlinkbild .linkoverlay .linkfield {
    width: 100%;
    height: 100%;
}

/* Content Elemente ENDE */


/* Projekte mit Slider */

#content .carousel-inner {
    z-index: 99;
}

#content .carousel-control-next, #content .carousel-control-prev {
    width: 50px;
    z-index: 999;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

#content .projektslider {
    overflow-y: auto;
    margin-right: 30px;
}

#content .projektslider .news-list-item .header {
    font-size: 32px;
    margin-top: -6px;
}

.projektslider .news-list-item .subheader {
    font-size: 18px;
    margin-bottom: .5rem;
}

.projektslider .news-list-item .header + .subheader {
    margin-top: -.5rem;
}

.projektslider .news-list-item .longcontentwrapper .ceelement {
    padding-top: 0 !important;
}

.projektslider .news-list-item .longcontentwrapper {
    margin-right: 30px;
}

.projektslider .news-list-item .longcontentwrapper h2, .projektslider .news-list-item .longcontentwrapper h1 {
    margin-top: -5px;
}

.projektslider .news-list-item .longcontentwrapper h3 {
    margin-bottom: .5rem;
}

@media (max-width: 768px) {
    #content .projektslider .news-list-item .header {
        font-size: 28px;
        margin-top: -9px;
    }
}

/* Projekte mit Slider ENDE */





/* Content-Slider */

.cecontentslider .backgroundInner {
    height: 100%;
}

.contentslide img {
    margin-bottom: 16px;
}

/* Content-Slider ENDE */

/* NEWS Standardlayout */

.news {
    padding: 22px 16px 16px;
}

.standardlayout a, .standardlayout a:hover {
    color: black;
    text-decoration: none;
}

.standardlayout h3 {
    font-weight: bold;
}

.standardlayout p {
    font-style: italic;
}

.standardlayout .news-list-item {
    margin-bottom: 1rem;
}

.backlink {
    position: relative;
    z-index: 99999;
}


/* NEWS Standardlayout ENDE */


/* NEWS Modul */

.news div:not('.ceelement') ul {
    list-style-type: none;
    padding: 0;
}


.news ul ul {
    padding-left: 1rem;
}

#content .news ul li a, #content .news a {
    text-decoration: none;
    color: #000;
}

#content .news ul li a span {
    width: 1.125rem;
    display: inline-block;
}


/* NEWS Modul ENDE */

/* Flipping Tiles */

.flip, .front, .back, .card, .cekachel, .backgroundInner, .overlaycontent {
    height: inherit;
}

.card-flip {
    -webkit-perspective: 1000px;
    perspective: 1000px;
}
.card-flip:hover .flip, .card-flip.hover .flip {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.card-flip .card {
    border-radius: 0;
    border: none;
}

.card-flip,
.front,
.back {
    width: 100%;
    max-heighxt: 320px;
}

.flip {
    transition: 0.6s;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    position: relative;
}

.flip .card {
    display: block;
}

.flip .card a {
    color: inherit;
}

.front,
.back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}

.back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}


/* Flipping Tiles ENDE */