/**** vars ****/
:root {
        --white: #fff;
        --black: #050B18;
        --grad: linear-gradient(146deg, #0078D0 38%, #8FDEFE 100%);
        --grad-revers: linear-gradient(146deg, #8FDEFE 0%, #0078D0 60%);
        --lila: #8F8FEF;
        --orange: #009DEA;
        --darklila: #005898;
        --grey1: #D7D8DA;
        --grey2: #5A6170;
        --grey3: #2E3645;
        --blue: #007CD3;
        --lightblue: #88DDFF;
}


/**** definitions ****/

.color1 { color: var(--lila); }
.color2 { color: var(--lightblue); }
.color3 { color: var(--blue); }
.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(--lila); }
.bg-color2 { background: var(--lightblue); }
.bg-color3 { background: var(--blue); }
.bg-grey0 { background:var(--bs-light); }
.bg-grey1 { background:var(--grey1); }
.bg-grey2 { background:var(--grey2); }
.bg-grey3 { background:var(--grey3); }
.bg-black { background:var(--black); }


/***** fonts ****/
@font-face {
        font-family: 'Font-Body';
    src: url('../fonts/Manrope/Manrope-Regular.ttf')  format('truetype') ;
}
@font-face {
    font-family: 'Font-Title';
    src: url('../fonts/Manrope/Manrope-ExtraBold.ttf')  format('truetype') ;
}

@font-face {
    font-family: 'Bold';
    src: url('../fonts/Manrope/Manrope-Bold.ttf')  format('truetype') ;
}

body  {
    font-family: 'Font-Body', sans-serif;
}

/**** contao completition  *****/
.content-text img,
.content-image figure img { max-width:100%; height:auto; }
.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(--blue) }
a:hover { color:var(--lightblue); font-weight: bold; }

iframe  { width:100% }

.btn {
    border: none;
    border-radius: 0; 
    color: var(--white);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05rem;
}
.btn:hover { box-shadow:0 0 2rem rgba(0,0,0, .3); top:-2px }
.btn-default { background:var(--lila); }
.btn-primary { background: var(--grad-revers); }
.btn-primary:hover { background: var(--grad); }

.btn-secondary { background: var(--orange); }


.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(--lila);
    margin-bottom: 1rem;
}
.roundImg figure img:hover {
    border: 3px solid var(--orange);
}

.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(--black);
    padding: .2rem .5rem;
    display: inline;
    font-size: .75rem;
    color: #000;
    border-radius: 0;
    line-height: normal;
    width: fit-content;
    color: wheat;
    margin-bottom: 1rem;
    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;
}


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);
}

.divider {
    background: var(--grey1);
    width: 100%;
    height: 1px;
    margin: 2rem 0;
}

/**** slider ****/
.slider-control { position:unset; }
.ce_sliderStart { position:relative; }

.slider-control .slider-prev,
.slider-control .slider-next {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
}
.slider-control .bi {
    font-size: 3rem;
    color: var(--white);
    background: rgba(0,0,0, .2);
}

.slider-control a:hover.bi {
    transform: scale(1.01);
}

.slider-control .slider-menu {
    bottom: 0;
    top: auto;
}
.slider-control .slider-menu b {
    font-size: 3rem;
    color: var(--lila);
}
.slider-control .slider-menu b.active {
    font-size: 3rem;
    color: var(--orange);
}

.blockInner {
    display: flex;
    align-items: center;
}

/**** bootstrap completition  ******/
a { text-decoration:none; }
.py-4 { padding-top: 2rem!important; padding-bottom: 2rem!important;}
.py-6 { padding-top: 4rem!important; padding-bottom: 4rem!important;}
.py-7 { padding-top: 5rem!important; padding-bottom: 5rem!important;}
.py-8 { padding-top: 8rem!important; padding-bottom: 4rem!important;}
.my-6 { margin-top: 4rem!important; margin-bottom: 4rem!important; }
.my-7 { margin-top: 5rem!important; margin-bottom: 5rem!important; }



/**** custom design ****/
h1, h2, h3 {
    font-family: 'Font-Title', sans-serif;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    color: var(--black);
}

.btn,
.bold, strong {
    font-family: 'Bold';
}
h4 {
    font-family: 'Bold', sans-serif;
    font-size:1.15rem 
}

em.fa {
    color:var(--orange);
    font-size: 2rem;
    line-height: 1;
}
p {
    color: var(--grey2);
    font-size: 0.9rem;
    line-height: normal;
}

.footercontainer {
    background-color: var(--blue);
    padding: 2rem 0;
}
.footercontainer, .footercontainer a, .footercontainer p {
    font-size: .85rem;
    line-height: normal;
    color: var(--grey1);
}
.footercontainer  a:hover {
    color: var(--blue);
}
.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 li a {
    display: block;
    padding: .25rem 0;
}

.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 h1 { color: var(--orange) }
.dark h2 { color: var(--blue) }
.dark h4,
.dark p { color:var(--grey1); font-size:1rem; line-height:normal; }
.dark a { color:var(--orange); }

.fullwidth-bg { background: var(--bs-light); }
.gradient { background: var(--grad); } 
.gradient-rev { background: var(--grad-revers); } 


body .fixedTop .topbar,
body.home .topbar {
    background: transparent;
    position: fixed;
    width: 100%;
    padding: 2rem 0;
    z-index: 9999;
    top: 0;
}

.topbar { 
    background:var(--grad); 
    padding: 1rem 0; 
}
body:not(.home) header#header {
   margin-bottom: 2rem; 
}

body .fixedTop .topbar {
    background: var(--black); padding:.75rem 0; 
}

.headeruser-right p { margin:0 }
.headeruser-right a {
    color: var(--white);
    padding: 0 .5rem;
    background: var(--darklila);
    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;
}

.slider p, .slider h1, .slider h2 { color:var(--white) }

.footer-gradient-block p {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(0,0,0, .5);
}
.footer-gradient-block h4 {
    color: var(--blue);
    font-size: 0.9rem;
    margin-bottom: .25rem;
    font-family: unset;
}
.footer-gradient-block .fa { font-size: 1.2rem; color:var(--blue) }


.mod_subscribe.newsletter { margin-top:2rem }
.mod_subscribe.newsletter .formbody {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.mod_subscribe.newsletter .widget-text { flex:  0 0 80%; }


/***** navi *****/
nav.mainnavi ul { padding:0; margin:0;     list-style-type: none; }
nav.mainnavi ul.level_1 {  }
nav.mainnavi ul.level_1 { display: flex; flex-wrap:wrap; }
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(--white);
    font-weight: normal;
    font-size: .85rem;
} 


nav.mainnavi ul.level_1 > li .trail,
nav.mainnavi ul.level_1 > li .active {
    color: var(--orange);
    font-family: 'Bold';
}

nav.mainnavi ul.level_2 { display:none; background:var(--black); padding:.5rem }
nav.mainnavi ul.level_1 > li:hover ul.level_2 { display:block; } 
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 .25rem;
    display: inline-block;
    font-size: .75rem;
} 
nav.mainnavi ul.level_2 li a:hover {
    color: var(--lila);
}

nav.mainnavi ul.level_2 li strong.active,
nav.mainnavi ul.level_2 li a.active {
    color: var(--orange);
    border: none;
}

/**** mobile navi ****/
.noscroll {
    overflow: hidden;
}
.button-menu em {
    font-size: 2rem;
    color: var(--orange);
}
.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(--orange); }
.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.active { background: #efefef; }


/**** accordeon ***/
section.ce_accordion  { margin: 0 0 .3rem; }
.toggler {
    cursor: pointer;
    padding: .8rem .8rem;
    background: var(--black);
    color: var(--white);
    font-size: 1rem;
    position: relative;
}
.toggler:hover {
    background: var(--lila);
    color: var(--white);
}

.toggler.active {
    background: var(--darklila);
    color: var(--white);
}

.toggler:after {
    font-family: Bootstrap-Icons;
    content: "\F282";
    position: absolute;
    right: 1rem;
}

.accordion {
    padding: 1rem;
    border: 1px solid #efefef;
}

.toggler.active:after {
    content: "\F285";
}

/**** 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 {
    max-width: 100%;
    height: auto;
}
.mod_eventlist h2,
.mod_eventlist h2 a,
.mod_newslist  h2 a { font-size:1.2rem; display:block; }
.mod_eventlist h3 { font-size: 1rem }


/**** pagination ****/
nav.pagination {
    margin: 0 15px;
}
.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(--darklila) }
.pagination ul strong {
    background: var(--darklila);
    color: white;
}

nav.pagination p {
    padding: 0.2rem 0;
    margin-right: 1rem;
}

/*** search control ***/
.search-control {
    display: flex;
    margin: 0;
    border: 1px solid rgba(0,0,0, .2);
}

.search-control input {
    border: 0;
}

/***** rightblock ****/
.rightblock { 
    background: var(--bs-light);
    padding: 1rem;
    border-left: 3px solid var(--darklila);
}

/*** 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(--darklila);
    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 img {
    max-width: 100%;
    height: auto;
}

/**** 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(--darklila);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    background-size: cover;
}