@font-face {
    font-family: 'Righteous Regular';
    src: url('../fonts/Righteous-Regular.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') ;
}

@font-face {
    font-family: 'SourceSansPro Bold';
    src: url('../fonts/SourceSansPro-Bold.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 6px;
    font-size: 16px;
    transition: all 0.5s ease 0s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.footer-yt:after {
        content: "\F62B";
}

.footer-tw:after {
        content: "\F5EF";
}

.footer-inst:after {
        content: "\F437";
}

.footer-fb:after {
        content: "\F344";
}

p.footerIcons em, p.socialIcons em, p.teamIcons em {
        display: none;
}


body, .mobilenavi { font-family: 'SourceSansPro Regular', serif; color: #000; }
#main .ce_text p  { line-height: 1.5; }

/* font-styles */
h1, .bgStyle h1, h2 { font-family: 'Righteous Regular', serif; }

h1 {
        font-size: 40px;
        margin-bottom: 10px;
}

h2 {
        font-size: 28px;
        margin-bottom: 8px;
}

h3 {
        font-size: 24px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Regular', serif;
}

h4 {
        font-size: 18px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Bold', serif;
}

h5 {
        font-size: 16px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Bold', serif;
}

/* button */
.btn, p.more a, p.back a, .submit {
    color: #fff;
    padding: 9px 20px;
    font-size: 15px;
    font-family: 'SourceSansPro Regular', serif;
    text-transform: uppercase;
    border-radius: 5px;
}


.recurring, .location {
        font-size: 15px !important;
}

.submit {
        border: none;
        cursor: pointer;
        border-radius: 4px;
}

.footercontainer .submit { margin-top: 17px; }

/* topbar */
.topbar p, .topbar a, .topbar .bi { color: rgba(255,255,255,0.8); }

.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);
}

.mod_navigation {
    flex: 0 0 75%;
}

.fixedTop {    width: 100%; }


/* slider */
.slider-control .slider-menu b {
    color: #222;
}

.bgStyle h1 {
        font-size: 60px;
}


.slider-control .slider-menu {
    top: -61px !important;
    width: 50%;
    left: 50%;
    margin-left: -25%;
    font-size: 40px;
    text-align: center;
}


.clients .slider-control .slider-menu {
        top: 0;
}

.clients .slider-control .slider-menu b {
        color: #161514;
}

.slider-control {
        height: 0;
}

/* footer */
footer#footer h1, footer#footer h2, footer#footer h3, footer#footer h4 { color: #fff; }
footer#footer  ul { margin: 10px 0 0 ; 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: 16px;
    text-align: left;
    border-radius: 5px;
}

.mainnavi ul.level_1 li a, 
.mainnavi ul.level_1 > li > a, 
.mainnavi ul.level_1 > li > strong, 
.mainnavi ul.level_1 > li > a.active,
.mainnavi ul.level_1 > li > span.active,
.mainnavi ul.level_1 > li > span.forward,
.mainnavi ul.level_1 > li > span.trail {
	display: block;
	text-transform: uppercase;
	font-size: 16px;
	font-family: 'SourceSansPro Bold', serif;
	font-weight: normal;
	padding: 0 10px;
}


/*.mainnavi ul.level_1 > li > a,
.mainnavi ul.level_1 > li > strong { text-transform: uppercase; font-size: 18px; } */


/*--- 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: 10px;
    margin-bottom: 10px;
}

/*--- contact -----*/
.contact-icons h3 { position: relative; }
.contact-icons em { font-size: 80%;}

/*---- downloads ---*/
.download-element {    /* padding: 3px 6px 3px 22px; */
    background-size: contain;
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
}
.ce_download .blockInner {
    text-align: center;
}

.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)}
.sidenavi ul li a:before  {
    content: "\f054";
    padding-right: 10px;
    font-size: 10px;

}


.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 a, .InsideOut-dark td, .InsideOut-nobg p  {
         color: rgba(255,255,255,0.8);
}

.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: 25px;
}


.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;
}


#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: 23px;
}


/*---- 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;
}


/*---- 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;}
.pull-right {        float: right;}

.clients .fa {        color: #fff;}
.pricing-box h1 {         color: #fff;}
#main ul {        padding: 0;}

.no-gutters .overlayContent {
    position: relative;
    z-index: 4;
    padding: 5% 15%;
    opacity: 0;
}

.no-gutters .overlayContent:hover {
    opacity: 1;
}

.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;}
.button-menu .fa {
        color: #232325;
        font-size: 2.1rem;
}


.ce_comments {        margin-top: 40px;}
.form-group {        margin-bottom: 19px;}

label.is_focused { font-size: 10px; right: -5px; top:-5px; opacity: 1; }

.home .topbar {
        top: 0;
        width: 100%;
        z-index: 1;
        background: none;
}

.pic-headline h2 {
        position: absolute;
        color: #fff;
        bottom: 6%;
        left: 13%;
        width: 60%;
}

.light-bg .blockInner {
        padding: 10%;
}

.newsletter-padding {
        padding: 3%;
}

.ce_accordion .toggler {
        color: #fff;
        font-family: 'SourceSansPro Regular', serif;
        font-size: 17px;
}

.mod_faqlist a {
    font-size: 1.3rem;
    font-family: 'SourceSansPro Regular', serif;
    padding: .6rem 0;
    display: block;
    border-bottom: 1px solid rgba(0,0,0, .1);
}

.mod_faqlist li:last-child a {
    border: 0;
}


@media (max-width: 764px) {
        .bgStyle h1 {
                font-size: 30px;
        }
        .pic-headline h2 {

                font-size: 2em;
        }

        .slider-bg {
                margin: 11% 0;
        }
}

.mod_calendar .event a,
.mod_calendar .head a {
        color: rgba(0,0,0,0.6);
}

.slider-control .slider-menu b {
        padding: 4px;
}

.slider-control .slider-menu .active {
        position: relative;
}

.team h4 {
        margin: 0;
}

.team .textInner {
    background: #fff;
    padding: 6px 17px;
    position: absolute;
    top: 66%;
    right: 15px;
    border-radius: 5px 0 0 5px;
}

.team:hover .textInner { background: #fff; }


.darkbg .banner-bg {
        border: none;
        background: #000;
        color: #f2f2f2;
        padding: 10px;
        font-size: 18px;
        border-radius: 5px;
        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;
}

.mainnavi .level_1 a.trail, .mainnavi .level_1 a:hover,
.mainnavi .level_1 span.active,
.mainnavi .level_1 a:active,
.mainnavi .level_1 span.trail,
.submenu.trail > span,
.level_1 .active,
.forward.trail.submenu,
.mainnavi .level_1 a:hover { color: #fff; }

.fixedTop .topbar { background: rgba(255, 255, 255, .9); }

.topnavi p, .topnavi .fa { color: #fff; }

.topnavi {
    padding: 12px;
}

.featuresblock  .featuresblock-item .rte { display:flex; }
.features {
    margin-left: 1rem;
}

.featuresblock .bi {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 7px;
    color: white;
    font-size: 1.8rem;
}

.pink-bg .btn { background: #fff; }

.footercontainer p,
.footercontainer a,
.footercontainer li { color: rgba(255,255,255,0.7); }

.newsletter-footer .submit {
    position: relative;
}

.newsletter-footer .formbody .text {
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
}

.contact-text li {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
}

.footercontainer .bi {
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-padding {
    margin-left: 1rem;
    line-height: normal;
}

/*
#header .mainnavi ul.level_2,
#header .mainnavi ul.level_3 { background: rgba(0,0,0,0.8); }
*/

.layout_latest p.info, .news .info, .mod_eventlist .event p.info, .mod_eventlist div.header, .mod_eventlist .header {
    margin-top: 0;
    position: absolute;
    top: 0; left: .7rem;
    background: rgba(255,255,255,0.9);
    font-size: 14px;
    padding: 12px;
    font-family: 'SourceSansPro Regular', serif;
}
.mod_eventlist .more,
.mod_newslist .more {
    margin: 22px 0;
}

.mod_eventlist h3 {
    margin-top: 15px;
}

.pagination ul li strong, .pagination ul li a {
    border-radius: 5px;
}


.pagination .last {
    margin-right: 8px;
}

.round-img img { border-radius: 5px; }


.mainnavi .level_2 a:hover, .level_2 .active, .level_2 .submenu.trail > span {
    background: none!important;
}

.topbar {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pagination .next{
    margin-right: 8px;
}

.mod_faqreader p.info {
    padding-bottom: 30px;
}

.mod_newsreader p.back a,
.mod_eventreader p.back a
 { margin-top: 20px; }

.ce_comments h2 {
    font-size: 20px;
}

.widget-submit .btn {
    margin: 0;
    padding: 10px 18px;
}


.mod_newslist h2, .mod_eventlist h2 { font-size: 22px; padding-top: 15px; }

.widget-checkbox label {
    position: relative;
}

.mainnavi ul.level_1 > li > span, .mainnavi ul.level_1 li a, .mainnavi ul.level_1 > li > a, .mainnavi ul.level_1 > li > strong, .level_1 .active {
	border-radius: 0 6px 0 6px;
}

.container-fluid img {

	width: 100%;
	display: flex;
}

/*** improvements contao 5 */
.flex-row {flex-direction: column!important; }
.content-image, .media { position:relative; }
.bgStyle,
.banner-bg  { 
    width: 100%; 
}
.slider-control .slider-menu b { margin: 0 .4rem; }

.no-gutters .col, .no-gutters [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/*---- downloads ---*/
.content-downloads li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-downloads  li a:before {
    content: "\f019 ";
    /* position: absolute; */
    font-family: 'Bootstrap-Icons';
    font-size: 2rem;
    line-height: normal;
}
.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: .1rem 0;
    font-size: .8rem;
    display: inline-block;
    position: initial;
    width: 100%;
    font-size: .7rem;
}

.blue-bg {
    display: flex;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.bgStyle { background-position: center ; }
.slider-wrapper, .content-slider .content-text { display: flex; align-items: stretch; }


@media (max-width: 768px) {
        .blockInner { bottom: 30px }
}

@media (max-width: 992px) {
        .mod_navigation { padding-top: 0px; }
}


.ce_gallery figure {
    overflow: hidden;
}

.ce_gallery figure img {
    transition: .2s transform;
}
.ce_gallery figure:hover img {
    transform: scale(1.05);
}

.mainnavi ul.level_1 li ul.level_2 li:first-child * {
    padding-top: 0;
}

.mainnavi ul.level_1 li ul.level_2 li:last-child * {
    border: none;
    padding-bottom: 0;
}

.mainnavi ul.level_1 li ul.level_2 li a, .mainnavi ul.level_1 li ul.level_2 li span {
    font-size: 1rem;
    text-transform: none;
    border-bottom: 1px dotted rgba(0,0,0, .2);
    border-radius: 0;
    font-family: 'SourceSansPro Regular', serif;
    padding: 0.4rem 0;
}



.event.layout_teaser {
    position: relative;
}