@font-face {
    font-family: 'BerlinType';
    font-style: normal;
    font-weight: 400;
    src: url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Regular.eot');
    /* IE9 Compat Modes */
    src: url('/typo3conf/ext/rwr/Resources/Public/Fonts/BerlinTypeWeb-Regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Regular.woff') format('woff');
    /* Modern Browsers */
}



@font-face {
    font-family: 'BerlinType';
    font-style: normal;
    font-weight: 700;
    src: url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Bold.eot');
    /* IE9 Compat Modes */
    src: url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Bold.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Bold.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('/typo3conf/ext/rw/Resources/Public/Fonts/BerlinTypeWeb-Bold.woff') format('woff');
    /* Modern Browsers */
}

.h1,h1,.h2, h2,.h3, h3,.h4, h4,.h5, h5, .load-more a{
    font-family: 'BerlinType';}


.h3, h3 {

    font-weight: bold;
    font-size: 2.5rem;
    margin: 0 0 2rem 0;
    line-height: 1;
}

.frame-type-text a  {
  
    cursor: pointer;
        color: #dc0c19;
    text-decoration: none;
}

.header-trailer, .topping{display:none;}

#c431 h1, #c350 h1{font-weight: bold;
    font-family: 'BerlinType';
    font-size: 3rem;

    line-height: 1;
    margin-top: 0;
    margin-bottom:1rem;
}
#c431{padding-top:2rem;}
@media (max-width: 1240px) {
    #c431 {padding:2rem}
}


.header {box-shadow:none}


@media (min-width: 1400px) {
    .main > .container {
        box-shadow: 0px 0px 0px 2px #EAEAEA inset;
    }
}

.footer {
    background: #000;
    color: #fff;
    padding: 2rem;
    font-size: 1.6rem;
}

.footer a {
    color: #fff;
}

.newnewslist h3,
.fullwidthheader,
.frame-type-ce_columns2 h2,
.frame-type-ce_columns2 h3,
.fullwidthfooter .frame-type-text header h3,
.teaserpp1 .frame-type-textpic header h3,
.slider-services ul li a,
.load-more a{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.frame-type-ce_columns2 {
    font-family: 'BerlinType', sans-serif;
    font-weight: 400;
}


.frame-type-ce_columns2 p {
    font-size: 1.8rem;
    line-height: 1.33em;
}

.frame-type-ce_columns2 h2,
.frame-type-ce_columns2 h3 {
    font-family: 'BerlinType', sans-serif;
    font-weight: bold;
    font-weight: bold;
    line-height: 1.2;
}

.frame-type-ce_columns2 h3 {
    font-size: 24px;
    text-transform: uppercase;
}

.fullwidthheader {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
}

.fullwidthheader {

    max-width: 1400px;
}

.fullwidthheader header {
    position: absolute;
    color: white;
    left: 12%;
    height: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}


.h1, h1 {
  font-weight: bold;
    font-family: 'BerlinType';
font-size: 50px;
    text-align: unset;

}

.fullwidthheader header h1 {
    margin: 0;
    font-weight: bold;
    font-family: 'BerlinType';
}

.frame-background-light > .frame {
    color: #212121;
    background: #e9e9e9;
    padding: 2rem;
}

.frame-background-rosa > .frame {
    color: #fff;
    background: #F4B3CA;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.frame-background-rosa > .frame h3 {
    margin-bottom: 0;
    text-transform: uppercase;
}



.frame-background-light > .frame h2 {
    color: #E4001F;
    font-size: 1.625em;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.66rem;
}


.ce-column img.image-embed-item {
    max-width: 100%;
    height: auto;
}

.ce-image.ce-right .image {
    float: right;
}

.align-content-center .frame{display: flex;
    align-items: center;}
.contactbox .frame{min-height:130px;}
.@media (min-width: 1400px) {

.row.equalheight {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row.equalheight > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row.equalheight > [class*='col-'] > .frame {
    height: 100%
}
    
}
.frame-space-before-large {
    margin-top: 5rem
}


.frame-space-before-extra-large {
    margin-top: 10rem
}

main > .container {
    max-width: 1400px;
    padding-right: 0;
    padding-left: 0;
}

main > .container > .frame:not(.frame-type-news_pi1, .frame-layout-3),
main > .container > .frame.frame-type-news_pi1 > div {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.frame-background-light a i.fa-external-link {
    display: none;
}

.frame-background-light a {
    color: #E4001F;
    position: relative
}

.frame-background-light p:last-child a {
    background-size: 45px;
    width: 45px;
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/Arrow-up-red.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    height: 45px;
    border: 0;
    color: transparent;
    position: absolute;
    right: 15px;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}



.fullwidthfooter {
    margin-top: 7rem;
    margin-bottom: -3rem;
}


.fullwidthfooter .frame-type-text {
    margin-bottom: -130px;
    max-width: 400px;
    background: #fff;
    margin-left: auto;
    position: relative;
    font-family: 'BerlinType', sans-serif;
}


.fullwidthfooter .frame-type-text header {
    font-size: 1rem;
    font-weight: normal;
    color: #fff;
}

.fullwidthfooter .frame-type-text header h3 {
    background: #E4001F;
    padding: 1.5rem 2rem;
    align-items: center;
    display: flex;
    height: 120px;
    font-size: 24px;
    margin-bottom: 0;
    font-family: 'BerlinType', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.fullwidthfooter .frame-type-text p:not(:last-child) {
    color: #000;
    padding: 0.5rem 8rem 0.5rem 1.5rem;
    margin: 0;
    height: 120px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

.fullwidthfooter .frame-type-text p:last-child a {
    background-size: 45px;
    width: 45px;
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/Arrow-red.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    height: 45px;
    border: 0;
    color: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

@media (min-width: 1400px) {
    .fullwidthfooter .frame-type-text {
        margin-right: 100px;
    }
}

/* News */


main > .container > .frame.frame-type-news_pi1.frame-layout-2,
main > .container > .frame.frame-type-news_pi1.frame-layout-3 {
    background: #E9E9E9;
}



.newnewslist,
.news-menu-view,
.teaserpp1 .frame-type-textpic .ce-textpic .ce-bodytext {
    font-family: 'BerlinType', sans-serif;
    font-weight: 400;
}

.newnewslist .article-list-aktuelles .linkbutton a,
.newnewslist a.link-arrow,
.article-list-aktuelles a.link-file,
.teaserpp1 .frame-type-textpic .ce-textpic .ce-bodytext p:last-child a {
    background-size: 45px;
    width: 45px;
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/Arrow.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    height: 45px;
    border: 0;
    color: transparent;
    position: absolute;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}


.newnewslist .article-list-aktuelles .frame-inner .frame-header,
.newnewslist .article-list-mediathek .frame-inner .frame-header {
    padding: 0.5rem 1.5rem;
    align-items: center;
    display: flex;
    min-height: 30%;
}


.newnewslist .row .article.has-cat .article-list-aktuelles .frame-inner .frame-header {
    position: relative;
}


.newnewslist .row .article.has-cat .article-list-aktuelles .frame-inner .frame-header {
    background: #0A4F9F;
    color: #fff;
}





.newnewslist .row .article.has-cat.kat-12 .article-list-aktuelles .frame-inner .frame-header {
    background: #F49303;
    color: #fff;
}
.newnewslist .row .article.has-cat.kat-13 .article-list-aktuelles .frame-inner .frame-header {
    background: #032856;
    color: #fff;
}

.newnewslist .row .article.has-cat.kat-7 .article-list-aktuelles .frame-inner .frame-header {
    background: #107156;
    color: #fff;
}


 .newnewslist.showthepagination .row .article.has-cat.kat-7 .article-list-aktuelles .frame-inner .frame-header {
    background: #777;
    color: #fff;
}


.newnewslist .row .article.has-cat.kat-7 .article-list-aktuelles .frame-inner .frame-header {
    padding-right: 33%;
}

.newnewslist .row .article.has-cat.kat-7 .article-list-aktuelles .frame-inner .frame-header h3 {}

.newnewslist .row .article.has-cat .article-list-aktuelles .frame-inner .frame-header .event-list-date {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #00AA83;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
}
.newnewslist.showthepagination .row .article.has-cat .article-list-aktuelles .frame-inner .frame-header .event-list-date {
      background: #999;
}


.newnewslist .article-list-aktuelles .frame-inner .teaser,
.newnewslist .article-list-mediathek .frame-inner .teaser {
    padding: 1.5rem;
    padding-right: 3.5rem;
    position: absolute;
    bottom: 0;
    font-size: 17px;
    line-height: 1.375;
    background: rgba(0, 0, 0, 0.5);
        padding: 0.5rem 5rem 0.5rem 2.5rem;
    margin-bottom: 0;
    min-height: 30%;
    align-items: center;
    display: flex;
    width: 100%;
    color: #fff;
}


.newnewslist .article.has-cat .article-list-aktuelles.frame-has-backgroundimage .frame-inner .teaser {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 4rem 0.5rem 2rem;
    margin-bottom: 0;
    min-height: 30%;
    align-items: center;
    display: flex;
    width: 100%;
}


.newnewslist .article-list-aktuelles h3,
.newnewslist .article-list-aktuelles .h3 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    font-family: 'BerlinType', sans-serif;
    font-style: normal;
}

.newnewslist .article.has-cat .article-list-aktuelles .news-list-date {
    position: absolute;
    font-size: 1rem;
    color: white;
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    height: 20px;
    line-height: 20px;
    display: inline-table;
    padding: 0 5px;
    font-weight: bold;
    right: 0;
    bottom: 0;
}

.newnewslist .row .article-list-aktuelles .frame-inner .frame-header .news-list-date {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
}

.newnewslist .article-list-aktuelles .frame-inner,
.newnewslist .article-list-mediathek .frame-inner {
    margin-top: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}


.newnewslist .article-list-aktuelles .frame-group-inner {
    aspect-ratio: 1;
    position: relative;
}

.newnewslist .row .article.has-cat.kat-7 .article-list-aktuelles .frame-inner .teaser {
    min-height: 45px;
}


.pp-tile .frame-container,
.pp-tile .frame-backgroundimage-container {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    margin: 0;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.frame-backgroundimage-container,
.frame-backgroundimage {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 70%;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.newnewslist .frame-backgroundimage-container {
    background-color: #0A4F9F;
}

.newnewslist .article {
    padding-top: 0;
    margin-bottom: 30px;
}


.newnewslist .news-list-date {
    display: none
}



.load-more a {
    position: relative;
    display: block;
    color: #212121;
    background-color: #ffffff;
    border: 2px solid #000;
    padding: 8px 16px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-right: 1rem;
    margin-bottom: 0;
    text-decoration: none;
    font-size:16px;
}
.load-more a:hover{background:#eee}


.load-more {
    padding-top: 0;
    margin: 0 auto;
    font-weight: bold;
}
.load-more a.active{background:black;color:white;}

.newnewslist .load-more a {
    background-color: white;
    color: #000;
    border-radius: 0;
    padding: 20px 35px;
    margin-top: 2rem;
    border: 2px solid #000;
    font-weight: bold;
    margin-bottom: 50px;
}


a.post__load-button:hover {
    color: #E40422;

}

.pagination, .f3-widget-paginator {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.news-menu-view ul {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
}

.news-menu-view ul {
    padding-left: 0;
    list-style: none;
}

.frame-type-news_pi1.frame-layout-2 {
    margin-top: 8rem;
    box-shadow: 0px -30px 0px white inset;
}

.frame-type-news_pi1.frame-layout-2 > header {
    max-width: 1200px;
    margin: 0 auto;
    position: relative
}

.frame-type-news_pi1.frame-layout-2 > header > h5 {
    position: absolute;
    top: -30px;
    text-transform: uppercase;
    font-size: 16px;
    color: white !important;
    background: #000;
    height: 30px;
    line-height: 30px;
    display: inline-table;
    padding: 0 12px;
    font-weight: bold;
}

/* teaser */

.teaserpp1 .frame-type-textpic {
    position: relative;
}

.teaserpp1 .frame-type-textpic header {
    position: absolute;
    z-index: 2;
    padding: 0.5rem 1.5rem;
    align-items: center;
    display: flex;
    height: 30%;
    max-height: 120px;
    width: 100%;
}

.teaserpp1.teaserblue .frame-type-textpic header {
    background: #032856
}

.teaserpp1.teasergreen .frame-type-textpic header {
    background: #9BCFAE
}

.teaserpp1.teaserrosa .frame-type-textpic header {
    background: #F4B3CA
}

.teaserpp1 .frame-type-textpic header h3 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 0;
    font-family: 'BerlinType', sans-serif;
    font-style: normal;
    color: #fff;
}

.teaserpp1 .frame-type-textpic .ce-textpic {
    position: relative;
    z-index: 1
}

.teaserpp1 .frame-type-textpic .ce-textpic .ce-gallery {}

.teaserpp1 .frame-type-textpic .ce-textpic .ce-bodytext {
    padding: 1.5rem;
    padding-right: 3.5rem;
    position: absolute;
    bottom: 0;
    font-size: 17px;
    line-height: 1.375;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 4rem 0.5rem 2rem;

    margin-bottom: 0;
    min-height: 120px;
    align-items: center;
    display: flex;
    width: 100%;
    color: #fff;
}

.teaserpp1 .frame-type-textpic .ce-textpic .ce-bodytext p {
    margin-bottom: 0;
    font-size: 17px;
}

/* owl slider */




@media (min-width: 600px) {
    .pe-0 {
        padding-right: 0 !important
    }

    .ps-0 {
        padding-left: 0 !important
    }

    .p-0 {
        padding: 0 !important
    }

    .row-center {
        margin: 0 auto;
        padding-right: 30px !important;
        padding-left: 30px !important
    }

    .blockspacebefore {
        padding-top: 120px !important
    }
}




@media (min-width: 1200px) {
    .container {
        width: 100%;
    }
    
 /*    header .container {
       max-width: 1200px;
    }
*/
.frame-type-news_pi1.frame-layout-2 {
    border-left:2px solid #EAEAEA;
     border-right:2px solid #EAEAEA;
}
    
}

@media (min-width: 1400px) {
    .body-bg {
        /* box-shadow: 0px 0px 0px 2px #EAEAEA inset;*/
    }
}



/* slider */




.slider-services .owl-item {
    padding-top: 3rem;
    padding-bottom: 3rem;
}


.slider-services .caption-title {
    display: none;
}


.slider-services ul li > p:last-child {
    margin-top: auto;
}

.slider-services ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin-left: 6rem;
    margin-right: 6rem;
}

@media (min-width: 1400px) {
    .slider-services ul {
        margin-left: 100px;
        margin-right: 100px;
    }

}

.slider-services ul li {
    text-align: center;
    background: #fff;
    margin: 1rem;
    padding: 8rem 2rem 6rem 2rem;
    flex: 1 1 0px;
    font-size: 1.0625rem;
    line-height: 1.33;
}

.slider-services ul li {
    text-align: center;
    background: #fff;
    margin: 1rem;
    padding: 18% 2rem 2rem 2rem;
    flex: 1 1 0px;
    font-size: 17px;
    line-height: 1.33;
    background-position: center 10%;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    aspect-ratio: 1;
}


.slider-services ul li a .fa-external-link {
    display: none;
}

.slider-services ul li a {
    font-family: 'BerlinType', sans-serif;
    font-weight: bold;
    font-size: 24px;
    text-decoration: underline;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+1) {
    background: #4F91CD;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+2) {
    background: #4F91CD;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) {
    background: #4F91CD;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) {
    background: #9085BC;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+5) {
    background: #9085BC;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+6) {
    background: #032856;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+7) {
    background: #F49303
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+8) {
    background: #0B4533
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+1) li a {
    color: #4F91CD
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+2) li a {
    color: #4F91CD
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) li h4 {
    color: #00AA83
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) li h4 {
    color: #F4B3CA
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+5) li h4 {
    color: #9085BC
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+6) li h4 {
    color: #9085BC
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+7) li h4 {
    color: #F49303
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+8) li h4 {
    color: #0B4533
}


.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) ul li a {
    color: #4F91CD;
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) ul li a {
    color: #9085BC
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) li:nth-child(1) {
    background-image: url(/fileadmin/images/slider-icon1.png);
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) li:nth-child(2) {
    background-image: url(/fileadmin/images/slider-icon2.png);
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+3) li:nth-child(3) {
    background-image: url(/fileadmin/images/slider-icon3.png);
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) li:nth-child(1) {
    background-image: url(/fileadmin/images/slider-icon4.png);
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) li:nth-child(2) {
    background-image: url(/fileadmin/images/slider-icon5.png);
}

.slider-services .owl-theme .owl-stage .owl-item:nth-child(5n+4) li:nth-child(3) {
    background-image: url(/fileadmin/images/slider-icon6.png);
}


.owl-theme .owl-nav [class*='owl-'] {
    width: 20px;
    height: 20px;
}

.owl-nav div:before {
    width: 20px;
    height: 20px;
}

.owl-nav div.owl-next {
    right: 5px;
}

.owl-nav div.owl-prev {
    left: 2px;
}

.owl-nav div {
    position: absolute
}

.owl-nav div:hover {
    opacity: 0.7
}

.owl-nav div:before {

    display: inline-block;
    content: ' ';
    text-shadow: none;
    width: 30px;
    height: 30px;
    background-position: center;
    /* background-size: contain; */
    background-repeat: no-repeat;
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/arrowrightwhite.svg);
}

.owl-nav div.owl-prev:before {
    content: ' ';
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/arrowleftwhite.svg);
}

.owl-nav div.owl-prev {
    left: 0
}

.owl-nav div.owl-next {
    right: 0
}

.owl-theme .owl-nav [class*='owl-'] {
    color: #FFF;
    font-size: 14px;
    margin: 5px;
    padding: 0;
    background: transparent;
    display: inline-block;
    cursor: pointer;
    border-radius: 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
}

.owl-theme .owl-nav {
    margin-top: 0;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    position: absolute;
    top: 45%;
    width: 100%;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: transparent;
    color: #FFF;
    text-decoration: none;
}

.owl-nav div.owl-prev {
    left: 10px
}

.owl-nav div.owl-next {
    right: 10px
}


.owl-theme .owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin-top: -35px;
    z-index: 100;
    position: relative;
}

@media (min-width: 1300px) {
    .owl-nav div.owl-prev {
        left: -55px
    }

    .owl-nav div.owl-next {
        right: -55px
    }

    .slider-services .owl-nav div.owl-prev {
        left: 20px
    }

    .slider-services .owl-nav div.owl-next {
        right: 20px
    }

    .slider-schwerpunkte .owl-nav div.owl-prev {
        left: 30px
    }

    .slider-schwerpunkte .owl-nav div.owl-next {
        right: 30px
    }
}





.frame-type-ce_container.frame-layout-3 > header {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}


.frame-type-ce_container.frame-layout-3 > header > h5 {
    position: absolute;
    top: -30px;
    text-transform: uppercase;
    font-size: 16px;
    color: white !important;
    background: #000;
    height: 30px;
    line-height: 30px;
    display: inline-table;
    padding: 0 12px;
    font-weight: bold;
}


/* headerslider */

.headerslider  .flex-direction-nav a,  .tx_newsslider .flex-direction-nav a{font-size:0}

.headerslider .flex-direction-nav a:before,  .tx_newsslider .flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 0;
    display: inline-block;
    content: '\f001';
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}


.headerslider .flex-direction-nav a:before,  .tx_newsslider .flex-direction-nav a:before {
    opacity:1;
     content: '';
    display: inline-block;
    content: ' ';
    text-shadow: none;
    width: 35px;
    height: 35px;
    background-position: center;
    /* background-size: contain; */
    background-repeat: no-repeat;
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/arrowrightwhite.svg);
}

.headerslider .flex-direction-nav a.flex-prev:before,  .tx_newsslider .flex-direction-nav a.flex-prev:before  {
    content: ' ';
    background-image: url(/typo3conf/ext/rw/Resources/Public/Images/arrowleftwhite.svg);
}



.headerslider .flexslider:hover .flex-direction-nav .flex-next, .tx_newsslider .flexslider:hover .flex-direction-nav .flex-next  {
    opacity: 1;
    right: 20px;
}

.headerslider .flexslider:hover .flex-direction-nav .flex-prev,  .tx_newsslider .flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 20px;
}


.flexslider .flex-direction-nav .flex-next, .flexslider .flex-direction-nav .flex-prev {
    opacity: 1 !important;
  
}




.headerslider .flex-control-nav,.tx_newsslider  .flex-control-nav,  .tx_newsslider .flex-control-nav,.tx_newsslider  .flex-control-nav  {
    width: 100%;
    position: absolute;
    bottom: 20px;
    text-align: center;
    z-index:10
}

.headerslider .flex-control-paging li a, .tx_newsslider .flex-control-paging li a {
    background: #FFF;
}
.headerslider .flex-control-paging li a.flex-active, .tx_newsslider .flex-control-paging li a.flex-active {
    background: #E40422;
}


.flex-control-paging li a:hover{ background:#fff !important}

.headerslider .slides li div.caption-wrapper, .tx_newsslider .flex-caption , .tx_newsslider .slides li div.caption-wrapper{
        position: absolute;
        width: auto;
        top: 0;
    display:flex;
        bottom: 0;
    flex-direction: column;
    justify-content: center;
    padding-left:12%;
        padding-right: 10%;
        width: 100%;
    background:unset;
    }

.headerslider .caption-text{color:#fff}
.headerslider .caption-text h1, .headerslider .caption-title,.tx_newsslider  .caption-text h1 p{   
        font-weight: bold;
    font-family: 'BerlinType';
    font-size: 50px;
    text-transform: uppercase;   
        line-height: 1;
    margin-top: 0;
   -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.headerslider .caption-text h5, .tx_newsslider .flex-caption .caption-title {
    font-weight: bold;
    font-size: 20px;
    margin: 0;
    margin-left: 0.1em;
    margin-bottom: 0;
        font-family: 'BerlinType';
    color:white;
       -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


 .tx_newsslider .flex-caption .caption-title    {padding-bottom: 10px;}

.tx_newsslider a{color:white;text-decoration:none;}

.headerslider .flexslider, .tx_newsslider.flexslider {
    margin: 0 0 30px;
    background: #fff;
    border: 0;
    box-shadow: unset;
}

.headerslider .caption-link a, .tx_newsslider .caption-link a{position:absolute;left:0;top:0;right:0;bottom:0;font-size:0;}


.tx_newsslider .slides img{filter: brightness(80%);
}


footer{position:relative}

footer .scrollup{ position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
    height: 120px;
}

footer .scrollup a{ background-image: url(/typo3conf/ext/rw/Resources/Public/Images/scroll_up.svg);
   width:100%;
    height:100%;
    background-size:contain;
    display:inline-block;
}


/* responsive */

@media (max-width: 991px) {
    
    .teaserblue .frame-type-image, .teasergreen .frame-type-image{display:none;}
    .teaserpp1{margin-bottom:6rem;}
    
    .headerslider .caption-text h1, .headerslider .caption-title,h1, .tx_newsslider .caption-text h1 p  {
    font-size: 30px;
}
    
    .frame-type-ce_columns2 p {
    font-size: 16px;
    line-height: 1.33em;
}
    .fullwidthfooter .frame-type-text header h3 {
    height: 120px;
}
    
    .slider-services ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin-left: 6rem;
    margin-right: 6rem;
    flex-direction: column;
}
    .slider-services ul li {
    display: flex;
    background-repeat: no-repeat;
    aspect-ratio: 1;
    flex-direction: column;
           justify-content: flex-end;
}
    .frame-space-before-extra-large {
    margin-top: 16rem;
}
    
    .load-more a {
    padding: 8px 14px;
    font-size: 14px;
}
    
    .footer{margin-bottom:9rem;}
}


@media (max-width: 767px) {
.headerslider .flexslider .slides img,  .tx_newsslider .slides img {
    height: 200px !important;
    width: auto;
}
    

    .tx_newsslider .flex-caption .caption-title {
    padding-bottom: 6px;
    font-size: 16px;
}
    
    .headerslider .caption-text h1, .headerslider .caption-title h1 p, h1, .tx_newsslider .caption-text h1 p  {
        font-size: 23px;
    }
    
    .headerslider .slides li div.caption-wrapper,    .tx_newsslider .slides li div.caption-wrapper{
        padding-left:13%;
        padding-right:10%;
    }
    .headerslider .flex-direction-nav a:before,   .tx_newsslider .flex-direction-nav a:before {
    width: 25px;
    height: 25px;
}
}

