@font-face {
font-family: 'NotoSans Bold';
src: url('../fonts/NotoSans-Bold.ttf')  format('truetype') ;
}

@font-face {
font-family: 'NotoSans Regular';
src: url('../fonts/NotoSans-Regular.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Bold';
src: url('../fonts/SourceSansPro-Bold.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Light';
src: url('../fonts/SourceSansPro-Light.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Regular';
src: url('../fonts/SourceSansPro-Regular.ttf')  format('truetype') ;
}


.form-control  { border: 1px solid rgba(0, 0, 0, .2); }

.sidenavi ul li a:before , .scrolltop a:after,
.mainnavi ul.level_1 > li.submenu a:after,
footer#footer  ul li a:before,
p.footerIcons a:after,
header#header .socials-top a,
.mod_calendar table.calendar td.days .event:before ,
.ui-accordion-icons:after ,
p.recurring:before,
p.location:before
{font-family: 'Bootstrap-Icons'; }

p.footerIcons a:after, p.socialIcons a:after {
        display: inline-block;
        color: #fff;
        margin: 0 10px;
        font-size: 18px;
        transition: all 0.5s ease 0s;
        -moz-transition: all .5s;
        -webkit-transition: all .5s;
        transition: all .5s;
}

.footer-fb:after {
  content: "\F344";
}

.footer-tw:after {
  content: "\F5EF";
}

.footer-pi:after {
  content: "\F663";
}

.footer-ig:after {
  content: "\F437";
}

.footer-yt:after {
  content: "\F62B";
}

p.footerIcons em, p.socialIcons em, p.teamIcons em {
        display: none;
}


body, .mobilenavi { font-family: 'SourceSansPro Regular', sans-serif; color: rgba(0,0,0,0.7); }
#main .ce_text p  { line-height: 1.5; }

/* font-styles */
h1, h2, h3, h4, .bgStyle h1 { font-family: 'SourceSansPro Regular', sans-serif; }

h1 {
        font-size: 40px;
        margin-bottom: 10px;
}

h2 {
        font-size: 30px;
        margin-bottom: 8px;
}

h3 {
        font-size: 20px;
        margin-bottom: 0px;
}

h4 {
        font-size: 18px;
        margin-bottom: 8px;
}

h5 {
        font-size: 16px;
        margin-bottom: 8px;
}

/* button */
.btn, p.more a, p.back a, .submit {
        border-radius: 0;
        color: #fff;
        padding: 10px 23px;
        margin-top: 27px;
        font-size: 17px;
        font-family: 'SourceSansPro Bold', serif;
}

.recurring, .location {
        font-size: 15px !important;
}

.submit {
        border: none;
        cursor: pointer;
}



/* topbar */
.topbar p, .topbar a, .topbar .fa { color: rgba(255,255,255,1.0); }

.topbar .fa {
        position: absolute;
        font-size: 44px;
}

.fixedTop .button-menu .fa {
        top: 30%;
}

.topbar .first  .fa-padding {   padding-left: 40px; }
.topbar .last .fa-padding {   padding-right: 15px; }

.bangb1 .topbar .container {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 10px 15px 20px 0;
}

.mod_navigation {
        padding-top: 10px;
}

.fixedTop { 
        width: 100%; 
}
.topbar { 
        box-shadow: 0 0 20px rgba(0,0,0, .5);
        background: white !important;
        opacity:.7;
}

.logo figure a img {width:200px;}

/* slider */
.slider-control .slider-menu b {
        color: #fff;
}

.bgStyle h1 {
        font-size: 36px;
        line-height: 40px;
}

.bgStyle h1,
.bgStyle h2,
.bgStyle h3,
.bgStyle h4,
.bgStyle p {
         color: black!important;
}

div.bgStyle div.overlayContent.container h1 {}

.overlayContent {
    max-width:450px;
    float:right;
    margin-right:5%;
    top:10%;
    padding:30px;
    background-color: rgba(255, 255, 255, 0.8);
}

    }


.slider-control .slider-menu {
        top: -150px;
        width: 50%;
        left: 50%;
        margin-left: -25%;
        font-size: 40px;
        text-align: center;
}

.slider-bg {
        background: rgba(255,255,225,0.2);
        padding: 23px 45px;
}

.clients .slider-control .slider-menu {
        top: 0;
}

.clients .slider-control .slider-menu b {
        color: #161514;
}

.slider-control {
    display:none;
        height: 0;
}

/* footer */
footer#footer h1, footer#footer h2, footer#footer h3, footer#footer h4 { color: #fff; }
footer#footer  ul { padding:0; list-style-type: none;}
footer#footer  ul li a { display: block; }

header#header .socials-top a { margin: 0 5px; }
header#header .socials-top a.footer-yt:before {content:"\f166 ";}
header#header .socials-top a.footer-gp:before {content:"\f0d5 ";}
header#header .socials-top a.footer-tw:before {content:"\f081 ";}
header#header .socials-top a.footer-fb:before {content:"\f082 ";}
header#header .socials-top a em { display: none; }

#footer .submit:hover { background: #fff; }

/* copyright */

.top-links ul { margin:0; padding:0; list-style:none; text-align:right; }
.top-links ul li { display: inline-block; }
.top-links ul li a { display: block; padding: 0 2px; }



/* MAINNAVI */
.mainnavi ul.level_2, .mainnavi ul.level_3 {
        width: 207px;
        padding: 0;
        text-align: left;
}

.mainnavi ul.level_1 li a,
.mainnavi ul.level_1 li span {
        display: block;
        text-transform: none;
        font-size: 17px;
        font-family: 'SourceSansPro Bold', serif;
        font-weight: normal;
}
.mainnavi ul.level_2 li a, .mainnavi ul.level_2 li span {
    background: rgba(0,0,0, .5);
    font-size: 1rem;
    padding: .25rem .5rem;
    border-bottom: 1px solid rgba(0,0,0, .6);
}



/*--- events  --*/

.mod_eventlist .teaser { max-height: 80px; overflow: hidden; }


/*---- news  ----*/
.mod_newslist figure.image_container {    margin-right: 15px; }

/*--- accordeon ---*/
.ui-accordion-content {
    background: #e7e7e7;
    padding: 1rem;
    margin-bottom: 10px;
}

/*--- contact -----*/
.contact-icons h3 { position: relative; }
.contact-icons em { position: absolute; left: -28px; top: 5px; font-size: 80%;}

/*---- downloads ---*/
.download-element {    /* padding: 3px 6px 3px 22px; */
    background-size: contain;
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
}

.sidenavi  ul{ padding: 0; }
.sidenavi ul li { }
.sidenavi ul li a, .sidenavi ul li strong {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: .25rem 0;
}
.sidenavi ul li a:before {
    content: "\F285";
    font-size: .75rem;
    margin-right: .25rem;
}


.absolute-pic {
        position: absolute;
        top: -19%;
        right: 45%;
}

.absolute-pic img {
        -webkit-filter: drop-shadow(-1px 6px 17px #606060);
        filter: drop-shadow(-1px 6px 17px #606060);
}

.small-text {
        max-width: 715px;
        margin: 0 auto;
}


/*---- insideout ---*/
.InsideOut-dark .full-bg {
        padding: 90px 0;
}

.InsideOut-dark, .InsideOut, .InsideOut-nobg { position: relative; }

.InsideOut-dark h1, .InsideOut-nobg h1,
.InsideOut-dark h2, .InsideOut-nobg h2,
.InsideOut-dark h3, .InsideOut-nobg h3,
.InsideOut-dark h4, .InsideOut-nobg h4,
.InsideOut-dark h5, .InsideOut-nobg h5 {
         color: #fff;
}

.InsideOut-dark p, .InsideOut-dark td, .InsideOut-nobg p  {
         color: rgba(255,255,255,0.6);
}

.InsideOut-dark td {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 8px 0;
}

.InsideOut {
        padding: 70px 0;
}


/*---- news ---*/
.form-control, .layout_latest p.info, .news .info { border-radius: 0; }

.formbody label {
        display: inline-block;
        margin-bottom: .5rem;
        position: absolute;
        color: rgba(0,0,0,0.6);
        padding: 9px 14px;
        right: 0;
}

#lbl_notify_0 { padding: 0 9px; }

p.info { padding: 0; }

.newstxt a {
        font-size: 18px;
}


.layout_latest p.info, .news .info,
.event p.info,
.mod_eventlist div.header,
.mod_eventlist .header,
.mod_newsreader .info,
.mod_eventreader .info {
         color: #545352;
         padding: 0;
         font-size: 14px;
         background: rgba(0,0,0,0.1);
         padding: 8px 18px;
         margin: 10px 0;
}

.layout_latest p.info { margin-top: 0; }

.startnews .teaser {
        height: 64px;
        overflow: hidden;
}

.newstxt h3 {
        line-height: 0.9;
        padding: 10px;
}

#main .ce_text p {
        line-height: 1.5;
        font-size: 17px;
}


.search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.search .widget-submit .btn {
        margin: 0;
        padding: 6px 16px;
}

.mod_login .widget-submit {
        margin-top: 14px;
}


/*---- search ---*/
.mod_search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.mod_search .fa {
        font-size: 18px;
}


/*---- newsletter ---*/
.newsletter input {
        padding: 10px;
        width: 100%;
        border: 1px solid rgba(0,0,0,0.1);
}

.newsletter .submit {
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
}

.mod_subscribe {
        margin-top: 12px;
}

/*---- main ---*/
.vp-center { display: block!important; }

.divider {
        margin-bottom: 20px;
        margin-top: 20px;
        z-index: 99;
}

#footer .divider {        background: rgba(255, 255, 255, .2);}
 .dark-bg {
        padding: 46px;
        position: absolute;
        top: 27%;
        left: 7%;
}

.ce_sliderStart {        position: relative;max-height: 600px;}
.pull-right {        float: right;}

.clients .fa {        color: #fff;}

/*** pricing box ****/
.media.pricing-box {
    position: relative;
}
.pricing-box figure {
    margin: 0;
    padding: 0;
}
.pricing-box figure img {
    width: 100%;
}
.pricing-box pre {
    position: absolute;
    margin: 0;
    padding: 1rem;
    color: white;
    font-family: inherit;
    top: 0;
    left: 12px;
    font-size: 1rem;
}

.pricing-box ul li {
    display: block;
    border-bottom: 1px dotted;
    padding: .5rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.pricing-box ul li:before {
    font-family: 'Bootstrap-Icons';
    content: "\F633";
    font-size: 2rem;
    margin-right: .5rem;
}
/*********/


#main ul {        padding: 0;}

.no-gutters .overlayContent {
        position: relative;
        z-index: 4;
        padding: 5% 15%;
}
 .form-control { padding: .75rem }
.submit .fa {        color: #fff;}
#footer .form-control, #footer .form-control:focus {        background: rgba(0,0,0,0.2);}
#footer label, #footer .form-control {        color: rgba(255,255,255,0.8);}
label:focus, .formbody label:focus { display: none!important;}
.newsitem img {        padding-bottom: 12px;}

.ce_comments {  margin-top: 40px;}
.form-group {   margin-bottom: 19px;}

label.is_focused { font-size: 10px; right: -5px; top:-5px; opacity: 1; }

.home .topbar {
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1;
        background: #fff;
        opacity:.7;
}

.pic-headline { position:relative; }

.pic-headline h2 {
    position: absolute;
    color: #fff;
    bottom: 0;
    left: 12px;
    width: calc(100% - 24px);
    padding: 1rem;
    margin: 0;
}

.pic-headline:hover h2 {
        padding: 1rem 1rem 2rem 1rem;
}


.light-bg .blockInner {
        padding: 10%;
}

.ce_accordion .toggler {
        color: #fff;
        font-family: 'SourceSansPro Bold', serif;
        font-size: 22px;
}

.mod_faqlist a {
        font-size: 17px;
        font-family: 'SourceSansPro Bold', serif;
}


@media (max-width: 992px) {
        h1 { line-height:1 }

        .bgStyle h1 {
                font-size: 30px;
        }
        .pic-headline h2 {

                font-size: 1.3em;
        }

        .slider-bg {
                margin: 11% 0;
        }
        .pic-headline h2 {
            position: relative;
            left: 0;
            width: 100%;
            line-height: 1;
            margin: 0;
            padding: .5rem!important;
        }

}

.mod_calendar .event a,
.mod_calendar .head a {
        color: rgba(0,0,0,0.6);
}

.slider-control .slider-menu b {
    padding: 0;
    margin: 0 .5rem;
    display: inline-block;
    transition: .2s all;
}
.slider-control .slider-menu b:hover {
    transform: scale(1.5);
}

.slider-control .slider-menu .active {
    position: relative;
    transform: scale(2);
}

.team h4 {
        margin: 0;
}

.team .textInner {
    background: rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: -16px;
}


.darkbg .banner-bg {
        border: none;
        background: #000;
        color: #f2f2f2;
        padding: 10px;
        font-size: 18px;
        position: relative;
        box-sizing: border-box;
        transition: all 500ms ease;
}

.darkbg .banner-bg:before {
        content:'';
        position: absolute;
        top: 0px;
        left: 0px;
        width: 0px;
        height: 100%;
        background: rgba(0,0,0,0.8);
        border-radius: 5px;
        transition: all 2s ease;
}

.darkbg .banner-bg:hover:before {
        width: 100%;
}

.darkbg .banner-bg { background-size: cover; }

.mod_article { overflow: hidden; }

.mod_login .widget {
        position: relative;
}



/*** improvements contao 5 */
a:hover { text-decoration:none; }
.img-responsive { 
  width:100%;
  max-width:100% ;
  height: auto;
}

.media.content-text img {
    max-width: 100%;
    height: auto;
    /* width: 100%; */
}

/** bootstrap icon indent because of nbsp **/
em.bi:before { text-indent: 13%; }

.flex-row {flex-direction: column!important; }

.bgStyle,
.banner-bg  { 
    width: 100%; 
}

.no-gutters .col, .no-gutters [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/*---- downloads ---*/
.content-downloads ul { padding:0; list-style-type:none; }
.content-downloads li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-downloads  li a:before {
    content: "\F295 ";
    font-family: 'bootstrap-icons';
    font-size: 2rem;
    line-height: normal;
    display: block;
}
.content-downloads  li a:hover:before {
    content: "\F294 ";
}

.media.right-socials { flex-direction: column; }


table.calendar tbody tr > td {
    background: #e7e7e7;
    position: relative;
    height: 150px;
    width: 15%;
    vertical-align: top;
}
table.calendar tbody tr > td.today .header {
    font-weight: bold;
}
table.calendar .empty { background:white }
table.calendar .weekend { background:#efefef }

.events {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mod_calendar .event a {
    text-align: left;
    padding: 5px;
    background: white;
    margin: 0.1rem 0;
    display: inline-block;
    font-size: .75rem;
}

.bgStyle { background-position: center ;}
.slider-wrapper, .content-slider .content-text { display: flex; align-items: stretch; }

.mod_newslist figure {
        padding-bottom: 1rem;
}

.content-gallery ul.customgal1 { list-style: none; padding:0;margin:0 }

.media--above figure { padding-bottom: 1rem ; }

.footercontainer .mod_eventlist {
        position: relative;
}

.gallery .gallery-item:hover figure {
    opacity: 0.4;
}
.gallery .gallery-item:hover:after {
    opacity: 1;
    pointer-events: none;
    font-family: Bootstrap-Icons;
    content: "\F62C";
    color: #fff;
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    border: 1px solid #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-indent: 5px;
    padding: 5px;
    cursor: pointer;
}