 @font-face {
        font-family: 'Lato Bold';
        src: url('../fonts/Lato-Bold.ttf')  format('truetype') ;
}

@font-face {
        font-family: 'Lato Regular';
        src: url('../fonts/Lato-Regular.ttf')  format('truetype') ;
}

@font-face {
        font-family: 'Lato Light';
        src: url('../fonts/Lato-Light.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,
p.socialIcons 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: 'FontAwesome'; }

p.footerIcons a:after, p.socialIcons a:after {
    display: inline-block;
    color: #fff;
    margin: 0 6px 0 2px;
    font-size: 16px;
    transition: all 0.5s ease 0s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.footer-yt:after {
        content: "\f16a";
}

.footer-gp:after {
        content: "\f0d5";
}

.footer-tw:after {
        content: "\f099";
}

.footer-fb:after {
        content: "\f09a";
}

p.footerIcons em, p.socialIcons em, p.teamIcons em {
        display: none;
}


body, .mobilenavi { font-family: 'Lato Regular', serif; color: rgba(0,0,0,0.6); }
#main .ce_text p  { line-height: 1.5; }

/* font-styles */
h1, h2, h3, h4, .bgStyle h1 { font-family: 'Lato Bold', serif; text-transform: uppercase; letter-spacing: 1px; }

h1 {
        font-size: 40px;
        margin-bottom: 10px;
}

h2 {
        font-size: 30px;
        margin-bottom: 8px;
}

h3 {
        font-size: 22px;
        margin-bottom: 8px;
}

h4 {
        font-size: 20px;
        margin-bottom: 8px;
}

h5 {
        font-size: 18px;
        margin-bottom: 8px;
}

/* button */
.btn, p.more a, p.back a, .submit {
        border-radius: 0;
        color: #fff;
        padding: 10px 23px;
        font-size: 15px;
        text-transform: uppercase;
        font-family: 'Lato 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,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);
        padding: 30px 15px;
}

.mod_navigation {
        padding-top: 10px;
}

.fixedTop {    width: 100%; }


/* slider */
.slider-control .slider-menu b {
        color: #fff;
}

.bgStyle h1 {
        font-size: 60px;
}

.bgStyle h1,
.bgStyle h2,
.bgStyle h3,
.bgStyle h4,
.bgStyle p {
         color: #fff;
}

.slider-control .slider-menu {
    top: -73px;
    left: 61px;
}

.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 {
        height: 0;
}

.overlayContent {
    padding: 0 30px;
}

/* 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: 186px;
        padding: 11px;
        text-align: left;
}

.mainnavi ul.level_1 li a, .mainnavi ul.level_1 > li > a, .mainnavi ul.level_1 > li > strong {
    display: block;
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
}

.mainnavi ul li strong.active { font-weight:normal; text-transform:uppercase; font-size:14px }

/*--- events  --*/
.mod_eventlist .teaser { max-height: 80px; overflow: hidden; font-size:.85rem }

/*---- 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 { position: absolute; left: -28px; top: 5px; font-size: 80%;}

.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 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 .rte p , #main .ce_text p{
    line-height: 1.5;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 5px 0;
}


.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: 21px;
}


/*---- 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;}
.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%;
}

.submit .fa {        color: #fff;}
#footer .form-control, #footer .form-control:focus { background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.8); }
#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 {
        font-size: 30px;
}

.ce_comments {  margin-top: 40px;}
.form-group {
    margin-bottom: 19px;
    padding: 0;
}
label.is_focused { font-size: 10px; right: -5px; top:-5px; opacity: 1; }

.home .topbar {
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1;
        background: rgba(0,0,0, .4);
}

.pic-headline h2 {
    position: absolute;
    color: #fff;
    top: 6%;
    right: 15%;
}

.light-bg .blockInner {
        padding: 10%;
}

.newsletter-padding {
        padding: 3%;
}

.ce_accordion .toggler {
        color: #fff;
        font-size: 17px;
}

.mod_faqlist a {
        font-size: 17px;
}

@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 {
        font-size: 25px;
        position: relative;
}

.slider-control .slider-menu {
    top: auto;
    bottom: 2vh;
    left: 50%;
    right: 50%;
}

.team h4 {
        margin: 0;
}

.team .textInner {
        background: rgba(0,0,0,0.1);
        padding: 6px 17px;
        margin-top: 10px;
}


.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: 0px;
        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; }
.topbar { padding: 30px 45px; }
.blue-bg h1, .blue-bg h2, .blue-bg h3, .blue-bg h4 { color: #fff; }
.blue-bg .btn { background: #fff; color: #111; }
.blue-bg p, .blue-bg a { color: rgba(255,255,255,0.8); }

.text-center h1:after {
    margin-left: auto;
    margin-right: auto;
}

.h1-border h1:after {
    border-top: 3px solid;
    content: " ";
    display: block;
    width: 8%;
    margin-top: 14px;
}

.InsideOut-dark p { color: rgba(255,255,255,0.6); }
.footercontainer a:hover { color: #fff; }
footer a, footer p {
    color: rgba(0,0,0,0.6);
    line-height: 1.4;
}

.slider-control .slider-menu {}

.mainnavi ul.level_1 > li {
  position: relative;
  display: inline-block;
  margin: 2px 10px;
}

.fullwidth .mod_article {
    padding-left: 60px;
    padding-right: 60px;
}

.headerimg figure { background-color: #000; }

.pic-headline figure img {
    display: block;
    width: 100%;
    height: auto;
    opacity: .2;
}

.pic-headline h2 { z-index: 99; }


.fullwidth {
	max-width: 100%;
	overflow: hidden;
}

.submenu .active, .submenu .forward.last {}

.mainnavi ul.level_2 {
        box-shadow: 0 0 20px rgba(57,157,178, .5);
        display: none;
        position: absolute;
        right: 0;
}



.pic-headline figure img:hover {
    opacity: 1;
    transition: all 500ms ease;
}

.pic-headline:hover h2 { opacity: .5; }

a.btn, .submit { border-bottom: 3px solid transparent; }

p.more a, p.back a { font-size: 13px; margin-top: 6px; }

.container-fluid figure img {
	width: 100%;
}

/*** improvements contao 5 */
.flex-row {flex-direction: column!important; }

.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: 'FontAwesome';
    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%;
}

.overlay-menu .mobilenavi li a.trail,
.overlay-menu .mobilenavi li strong.active {
        font-family: 'Lato Bold';
}

.bgStyle { background-position: center ; }

.slider-wrapper, .content-slider .content-text { display: flex; align-items: stretch; }


@media (max-width: 768px) {
        .topbar { padding: 10px; }
        .blockInner { bottom: 30px }
        
        
        h1 {
        font-size: 24px;
        margin-bottom: 10px;
}

h2 {
        font-size: 20px;
        margin-bottom: 8px;
}

h3 {
        font-size: 18px;
        margin-bottom: 8px;
}

h4 {
        font-size: 18px;
        margin-bottom: 8px;
}

h5 {
        font-size: 18px;
        margin-bottom: 8px;
}
}

@media (max-width: 992px) {
        .mod_navigation { padding-top: 0px; }
}


.imgscale {
    width: 100%;
    height: auto;
}
