/**** definitions ****/
.color1 { color: var(--color1); }
.color2 { color: var(--color2); }
.color3 { color: var(--color3); }
.grey0 { color:var(--bs-light); }
.grey1 { color:var(--grey1); }
.grey2 { color:var(--grey2); }
.grey3 { color:var(--grey3); }

.bg-gradient1 { background:var(--grad) }
.bg-gradient-reverse { background:var(--grad-revers) }
.bg-color1 { background: var(--color1); }
.bg-color2 { background: var(--color2); }
.bg-color3 { background: var(--color3); }
.bg-grey0 { background:var(--grey0); }
.bg-grey1 { background:var(--grey1); }
.bg-grey2 { background:var(--grey2); }
.bg-grey3 { background:var(--grey3); }
.bg-black { background:var(--black); }


body  {
    font-family: 'Font-Body', sans-serif;
}

/**** contao completition  *****/
.content-text img,
.content-image figure img { max-width:100%; height:auto; padding-bottom:2rem; }
.widget { margin-bottom: 1rem }
figure { margin: 0 } 
.invisible { display: none; }
div, a, a.btn { transition: .2s all ; }
.small .rte p { font-size: .85rem; }
a { color:var(--grey2) }
a:hover { color:var(--color1) }
iframe  { width:100% }
.small, small {    font-size: 85%!important; }
p.more a,
.btn {
    border: none;
    border-radius: var(--br);
    color: var(--white);
    font-size: .75rem;
    padding: .75rem 1rem;
    text-transform: uppercase;
    letter-spacing: .15rem;
}

.btn:hover { top:-2px  }
.btn-default { background:var(--color1); }

p.more a,
.btn,
.btn-primary { background: var(--color3); }

p.more a:hover,
.btn:hover,
.btn-primary:hover { background: var(--color1); color: var(--white); }

.btn-secondary { background: var(--color2); }
.btn-secondary:hover { background: var(--grey3); }


.media.media--left .blockInner  { flex-direction: row;}
.media.media--right .blockInner { flex-direction: row-reverse; }
.media.media--above .blockInner { flex-direction: column; }
.media.media--below .blockInner { flex-direction: column-reverse; }

.roundImg figure img {
    border-radius: 50%;
    border: 3px solid var(--color1);
    margin-bottom: 1rem;
}
.roundImg figure img:hover {
    border: 3px solid var(--color2);
}

.roundIcon em.bi {
    font-size: 1.5rem;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

body.error403 h1,
body.error404 h1 {
    font-size: 15rem;
}

.mod_eventlist  div.header, p.info, p.back a, p.time, p.location {
    background: var(--color3);
    padding: .2rem .5rem;
    display: inline;
    font-size: .75rem;
    color: #000;
    border-radius: 0;
    line-height: normal;
    width: fit-content;
    color: var(--grey0);
    margin-bottom: .2rem;
    display: inline-block;
}
p.back, p.back a { margin:0 }
p.back a { display:flex; }
p.back a:before {
    font-family: "Bootstrap-Icons";
    content: "\F12C";
    margin-right: .2rem;
    font-size: 1rem;
}

.col-md-4 {
        padding: 1px;
    }


footer .event {
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding: .25rem 0 .5rem;
    margin: .25rem 0 .5rem;
}
footer .event time {
    display: block;
    color: rgba(255, 255, 255, .3);
}
.footercontainer h3 {
    color: white;
    font-family: unset;
    margin: 0 0 1.7rem;
}

.divider {
    background: var(--grey1);
    width: 100%;
    height: 1px;
    margin: 2rem 0;
}

/**** slider ****/
.h45 .bgStyle { height: 45vh }
.h85 .bgStyle { height: 85vh }
.fullwidth-border {    margin: 0 2vw;}
.bgStyle {
    display: flex;
    align-items: center;
    background-size: cover;
}



.slider-bg h1 {
    font-family: 'Font-Title';
    font-size: 3rem;
}
.slider-bg p {
    font-size: 1.2rem;
}
.slider-bg p:last-child {
    margin-bottom: 0;
}


.slider-control { position:unset; height:unset; }
.ce_sliderStart { position:relative; }
.slider-control .slider-prev,
.slider-control .slider-next {
    position: absolute;
    /*transform: translate(-50%, -50%);*/
    top: 50%;
}

.slider-control .slider-prev { left: 3rem; transform-origin: left; }
.slider-control .slider-next { right: 3rem;  transform-origin: right; }

.slider-control .bi {
    font-size: 1.3rem;
    color: var(--grey1);
    background: rgba(255,255,255, 8);
    line-height: normal;
    padding: 0.3rem;
}

.slider-control a:hover.bi {
    color: var(--color1);
}

.slider-control .slider-menu {
    bottom: 0;
    top: auto;
    display: none;
}
.slider-control .slider-menu b {
    font-size: 3rem;
    color: var(--color1);
}
.slider-control .slider-menu b.active {
    font-size: 3rem;
    color: var(--color2);
}

.blockInner {
    display: flex;
    align-items: center;
}

/**** socials ****/
.socials-top { 
    margin:0; 
    display:flex;     
    align-items: center;
    justify-content: flex-end;
}

.socials-top .bi em { display:none; }
.socials-top a {
    color: var(--white);
    font-size: 1rem;
    margin: 0 .5rem;
}
.socials-top a:hover { color:var(--color1) } 

/**** top row ***/
.topbar-content .rte a,
.topbar-content .rte p {
    color: rgba(255, 255, 255, .4);
}


/**** bootstrap completition  ******/
a { text-decoration:none; }
.py-6 { padding-top: 4rem!important; padding-bottom: 4rem!important;}
.py-7 { padding-top: 5rem!important; padding-bottom: 5rem!important;}
.my-6 { margin-top: 4rem!important; margin-bottom: 4rem!important; }
.my-7 { margin-top: 5rem!important; margin-bottom: 5rem!important; }



/**** custom design ****/
.fs-1,
h1, h2, h3 {
    font-family: 'Font-Title';
    overflow-wrap: anywhere;
    color: var(--black);
}
h2 { font-size: 2rem }
h3 { 
    font-size: 1.6rem; 
    font-family: 'Font-Title2', sans-serif; 
}
h4 { color:var(--grey2);  }

h4, .bold, strong {
    font-family: 'Font-Body', sans-serif
}
h4 {
    font-size:1.15rem 
}

h1.content-headline { margin-bottom:2rem; }

em.fa {
    color:var(--color2);
    font-size: 2rem;
    line-height: 1;
}
p {
    color: var(--grey2);
    font-size: 1rem;
    line-height: normal;
}

.white-bg {
    background: white;
    padding: 2rem;
    border-top: 3px solid var(--color1);
    box-shadow: 0px 0px 22px 0px rgba(0,0,0,0.1);
    position: absolute;
    bottom: 0;
    color: black;
    text-align: center;
    left: 50%;
    transform: translate(-50%, 11%);
    width: 60%;
}

.footercontainer {
    background-color: var(--color3);
    padding: 3rem 0;
}
.footercontainer, .footercontainer a {
    font-size: .85rem;
    line-height: normal;
    color: var(--grey1);
}
.footercontainer  a:hover {
    color: var(--color2);
}
.footercontainer h4 {
    color: var(--white);
    font-size: 1rem;
    font-family: 'Font-Body';
    margin-bottom: 1rem;
}
.footercontainer ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.footercontainer .content-text li a {
    display: block;
    padding: 0.25rem 8px 4px 1px;
}

.footerIcons a {
    padding: 0.2rem .5rem;
    display: inline-block;
}

.footerbottomlinks  ul li a {
    display: block;
    padding: 0 1rem 0 0; 
}

.footerbottomlinks ul {
    display: flex;
}

/**** dark elements ***/
.dark  {     background: var(--color3); }
.dark h1 { color: var(--color2) }
.dark h2 { color: var(--color1) }
.dark h4,
.dark p { color:var(--grey1); font-size:1rem; line-height:normal; }
.dark a { color:var(--color2); }
.dark .btn { background :var(--white); color:var(--color3) }
.dark .btn:hover { background :var(--grey3); color:var(--grey0) }
.dark .textInner { background: rgba(0,0,0, .2)  }

.fullwidth-bg { background: var(--bs-light); }
.gradient { background: var(--grad); } 
.gradient-rev { background: var(--grad-revers); } 


body .fixedTop .topbar,
body.home .topbar {
    width: 100%;
    padding: 2rem 0;
    z-index: 9999;
    top: 3rem;
    box-shadow: 0 0 1rem #666;
}

.overtopbar { background: var(--color3) }
.topbar { 
    background:var(--white); 
    padding: 1.2rem 0; 
    box-shadow: 0 0 .1rem #666;
}

body:not(.home) header#header {
   margin-bottom: 2rem; 
}

body .fixedTop .topbar {
    position: fixed;
    padding: .75rem 0; 
    top: 0; 
}
.fixedTop {
    position: relative;
    z-index: 99;
}

body.home .cloned.bangb1_clone .topbar { padding: 0; }

.headeruser-right p { margin:0 }
.headeruser-right a {
    color: var(--white);
    padding: 0 .5rem;
    background: var(--color3);
    display: inline-block;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    line-height: normal;
    align-items: center;
    justify-content: center;
    margin: 0 .2rem;
}
.headeruser-right a:hover { background: var(--black);  }

.slider h1, .slider h2 {
    color:var(--white);
    font-size: 2rem; 
 }

.slider p {
    color:var(--white);
    font-size: 1.3rem;
}

.footer-gradient-block p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(0,0,0, .5);
}
.footer-gradient-block h4 {
    color: rgba(255, 255, 255, .8);
    font-size: 0.9rem;
    margin-bottom: .25rem;
    font-family: unset;
}
.footer-gradient-block .fa { font-size: 1.2rem; color:var(--color1) }


/**** newsletter ****/
.newsletter {}
.newsletter p { margin:0 }
.newsletter .fs-1 { color:var(--white) }


.mod_subscribe.newsletter .formbody {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.mod_subscribe.newsletter .widget-text { flex:  0 0 80%; }
.mod_subscribe.newsletter .widget { margin-bottom:0 }

/*** banner home ***/
.h25 .banner-bg {
    height: 25vh;
}

.h50 .banner-bg {
    height: 50vh;
}

.banner-bg {
    display: flex;
    align-items: center;
    background-position: center right;
    background-size: cover;
}

.banner-bg h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: normal;
}
.banner-bg h4 {
    color: var(--white);
    font-size: 1.3rem;
    line-height: normal;
    font-family: Font-Body;
    font-weight: normal;
}
.banner-bg h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-family: 'Font-Title2';
    margin-bottom: 2rem;
}

.banner-bg p { color:var(--grey1); font-size:1.1rem }
.banner-bg .btn { background:var(--color1) }
.banner-bg .btn:hover { background:var(--color3);  }

/***** navi *****/
nav.mainnavi ul { padding:0; margin:0;     list-style-type: none; }
nav.mainnavi ul.level_1 { display: flex; flex-wrap:wrap; justify-content:flex-end; }
nav.mainnavi ul.level_1 > li a, 
nav.mainnavi ul.level_1 > li strong {
    padding: .25rem 0rem;
    margin: 0 .5rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .75rem;
    color: var(--color3); 
    font-weight: normal;
    font-family: 'Bold';
} 


nav.mainnavi ul.level_1 > li .trail,
nav.mainnavi ul.level_1 > li .active {
    color: var(--color1);
    font-family: 'Bold';
}

/*** navi state before ***/
nav.mainnavi ul.level_2 { 
    visibility: hidden;
    border-top: 2px solid var(--color1); 
    padding:.5rem;
    margin-top: .5rem;
    transition: .2s all;
}

/*** navi state after ***/
nav.mainnavi ul.level_1 > li:hover ul.level_2 { 
    visibility: visible;
    margin-top: 0;
} 

ul.level_2 {
    position: absolute;
    background: #efefef;
    z-index: 999;
}

nav.mainnavi ul.level_2 li a, 
nav.mainnavi ul.level_2 li strong {
    padding: .5rem 0;
    display: block;
    font-size: .75rem;
} 
nav.mainnavi ul.level_2 li a:hover {
    color: var(--color1);
}

nav.mainnavi ul.level_2 li strong.active,
nav.mainnavi ul.level_2 li a.active {
    color: var(--color1);
    border: none;
}

/**** mobile navi ****/
.noscroll {
    overflow: hidden;
}
.button-menu em {
    font-size: 2rem;
    color: var(--color2);
}
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--black);
    height: 100vh;
    z-index: 999999;
}
.button-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 99999;
}

.overlay-menu { display:none; }
.mobilenavi {
    margin: 1.5rem;
}
.mobilenavi  ul { 
    padding:0; margin:0; list-style:none;
    background: transparent;
    position: relative;
    text-transform: uppercase;
}
.mobilenavi  ul li a.trail,
.mobilenavi  ul li strong.active { color: var(--color2); }
.mobilenavi  ul li a,
.mobilenavi  ul li strong {
    color: var(--white);
    font-size: 1rem;
    display: block;
    padding: .25rem .5rem;
}
.mobilenavi  ul.level_2 { margin-left:1rem }
/***** navi end ******/


/*** calendar table ****/
table.calendar thead th.current { text-align:center; }
table.calendar thead th.next { text-align:right; }
table.calendar td {
    width: 14.28%;
    font-size: .75rem;
    line-height: normal;
}
table.calendar td.weekend { background:rgba(0,0,0, .05) }
table.calendar td.active { background: #efefef; }
table.calendar thead th.current { font-size: 1.3rem; }
table.calendar thead th.previous, table.calendar thead th.next {  font-size: .75rem; }

/**** accordeon ***/
section.ce_accordion  { margin: 0 0 .3rem; }
.toggler {
    cursor: pointer;
    padding: .8rem 0;
    background: none;
    color: var(--grey2);
    font-size: 1rem;
    position: relative;
    border-bottom: 1px solid var(--grey0);
}

.toggler:hover {
    color: var(--color1);
}

.toggler.active {
    color: var(--color2);
}

.toggler:after {
    font-family: Bootstrap-Icons;
    content: "\F2EA";
    position: absolute;
    right: 1rem;
}

.accordion {
    padding: 1rem;
    background: var(--grey0);
    transition: none!important;
}

.toggler.active:after {
    content: "\F4FE";
}

/**** text gradient ***/
body.error403 h1,
body.error404 h1 {
    background: var(--grad);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}


/*** news ***/
.mod_eventlist img,
.mod_newslist img {
    width: 100%;
    height: auto;
}
.mod_eventlist h2,
.mod_eventlist h2 a,
.mod_newslist  h2 a { 
    font-size:1.2rem; 
    display:block; 
    color: var(--grey3); 
    min-height: 3rem;
}
.mod_eventlist h3 { font-size: 1rem }
.newsitem h2 a {
    display: block;
    margin: 1rem 0 .5rem 0;
}
.event.layout_teaser .ce_text {
    position: relative;
}
.flags {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
}

/**** pagination ****/
nav.pagination {
    margin: 0 15px;
    border-top: 1px solid rgba(0,0,0, .1);
    padding-top: 1rem;
}
.pagination {
    justify-content: space-between;
}

.pagination ul { padding: 0; margin: 0; list-style: none; display:flex; flex-wrap:wrap; }
.pagination ul strong, .pagination ul a {
    display: inline-block;
    padding: .1rem 0.5rem;
    background: var(--grey1);
    margin: .1rem;
    line-height: normal;
}
.pagination ul li a:hover { color:var(--color3) }
.pagination ul strong {
    background: var(--color3);
    color: white;
}

nav.pagination p {
    padding: 0.2rem 0;
    margin-right: 1rem;
}

/*** search control ***/
.search-control {
    display: flex;
    margin: 0;
    border-radius: var(--br);
    border: 1px solid rgba(0,0,0, .2);
}
.widget.search-control { margin-bottom:2rem }

.search-control input {
    border: 0;
}
.search .formbody {
    display: flex;
    margin-bottom: 2rem;
}
.search .widget-text { flex: 0 0 85%; }
.search input { border-radius: var(--br) 0 0 var(--br); }
.search button.submit { border-radius: 0 var(--br) var(--br) 0; }


/***** rightblock ****/
.rightblock { 
    background: var(--bs-light);
    padding: 1rem;
    border-left: 3px solid var(--color3);
}

/*** downloads ***/
.content-downloads ul { list-style:none; margin:0; padding:0; }
.card-header.download-container { margin-bottom: 1rem; }
.card-header.download-container a {
    display: flex;
    flex-direction: column;
}
.content-downloads .download-container a:before {
    font-family: Bootstrap-Icons;
    content: "\F295";
    color: var(--color3);
    font-size: 2rem;
}


/**** faq ****/
.mod_faqlist ul {    list-style:  none; margin: 0; padding: 0; }
.mod_faqlist ul li a {
    display: block;
    padding: .4rem;
    border-bottom: 1px solid rgba(0,0,0, .1) ;
}

/*** gallery ***/
.content-gallery ul { list-style:none; margin:0; padding:0 }
.content-gallery ul img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transform: scale(1.0);
    position: relative;
    z-index: 0;
    transition: .2s all;
}
.content-gallery ul img:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
    z-index: 1;
    box-shadow: 0 0 1rem #666;
}

/**** search ***/
.mod_search input {
    padding: 0.6rem;
    font-size: 1.4rem;
}
.mod_search p.header {
    background: var(--grey3);
    padding: 1rem;
    border-bottom: 1px solid;
    color: var(--grey1);
}

.search_default {
    background: var(--bs-light);
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0, .2);
    margin: 0 0 1rem;
}

.scrolltop a {
    display: inline-block;
    font-size: 2rem;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background: var(--color3);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/**** service ***/
.service .bi {
    font-size: 3rem;
}

.service .bi,
.service h3, .service h3 a,
.service p { color: var(--color3) }


.service .content-text:hover .bi {    color: var(--color1); }
.service .content-text:hover h3, .service .content-text:hover h3 a { color: var(--color1) }
.service .content-text:hover p { color: var(--color2) }


/**** box  shadow ohne border ***/
.textInner { padding:2rem }
.labelblock img { filter: grayscale(100%); }
.labelblock .textInner  p:last-child { margin: 0; }

.labelblock .textInner {
    background: white;
    position: relative;
    z-index: 1;
    margin: -2rem 3rem 0;
}

.block-shadow .textInner {
    box-shadow: 0 0 1rem rgba(0,0,0, .2);
}

.block-shadow .textInner h3 {
    font-family: Font-Title2;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/**** testimonial ****/
.testimonial .textInner {
    background-color: var(--white);
    padding: 2rem;
}
.testimonial .textInner .bottomline {
    display: flex;
    align-items: center;
}

.testimonial .textInner .bottomline .imagewrapper {
    flex: 0 0 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    height: 90px;
}

.testimonial .textInner .bottomline .imagewrapper img {
    max-width: fit-content;
    height: auto;
    position: relative;
    left: -3.3rem;
    filter: grayscale(100%);
}
.testimonial:hover .textInner .bottomline .imagewrapper img {
    filter: grayscale(0%);
}

/**** box  shadow mit border ***/
.block-border .textInner {
    border-top: 5px solid var(--color1);
    height: 100%;
}

.block-shadow-hover.block-shadow .textInner { visibility: hidden; }
.block-shadow-hover .media:hover .textInner { visibility: visible; top:-11rem }

table.table-tdright td:last-child {
    text-align: right;
}
.form-control  { border-radius:0; padding:.475rem .75rem }

.fullblockscenter {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.fullblockcenterText {
    background: red;
    display: flex;
    align-items: center;
}
.fullblockscenter .content-image img {
    width: 100%;
    filter: grayscale(100%);
}
.fullblockscenter .textInner h3 {
    font-family: 'Font-Title2';
    font-size: 2rem;
    letter-spacing: -.05rem;
}

.fullblockscenter .textInner { padding:4rem }

/**** greyblocks: small cards ****/
.greyblock .textInner {
    background: var(--grey0);
}
.addressIcons {
    display: flex;
}

.addressIcons em {
    margin-right: .5rem;
    color: var(--color2);
}

.event figure {
	margin-bottom: 10px;
}

.content-gallery ul {
    list-style: none;
    margin-bottom: 1rem;
}

@media (min-width: 800px) {
    
    .mb-4 {
    margin-bottom: 1.5rem !important;
    float: left;
    margin-right: 1.5rem;
}
    .col-md-4 {
        flex: 0 0 auto;
        width: 25% !important;
    }
}

@media (max-width: 800px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 50% !important;
    }
    
    #article-200 {
        display: none;
    }
    
    .mb-4 {
    margin-bottom: 1.5rem !important;
    float: left;
    margin-right: 1.5rem;
}
    .socials-top {
        display:none;
    }
}

@media (max-width: 600px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 100% !important;
    }
    
    .blockInner {
    display: block;
}
}

