/* Komplett eigenes CSS für das Menü-Modul seitlich */
@import "custom_sidemenu.css";

/* Überschriften */
@font-face {
    font-family: 'BreraCondensedLight';
    src: url('../fonts/brera/brecnlt-webfont.eot');
    src: url('../fonts/brera/brecnlt-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/brera/brecnlt-webfont.woff') format('woff'),
         url('../fonts/brera/brecnlt-webfont.ttf') format('truetype'),
         url('../fonts/brera/brecnlt-webfont.svg#BreraCondensedLight') format('svg');
    font-weight: normal;
    font-style: normal;
}
h1, h2, h3, h4 {
 font-weight:300;
 font-family: BreraCondensedLight,'Open Sans';
}
h1 {
 font-size:38.5px;
 margin-bottom: 30px;
 color: #788c9c;
}
h2 {
 font-size:27px;
 margin-bottom:30px;
}
.article-header h2 {
 font-size:27px !important;
}
h3 {
 font-size:22px;
 margin-top:25px;
 margin-bottom:15px;
}
h4 {
 font-size:18px;
 margin-top:10px;
}
h5 {
    font-size:16px;
    font-weight:600;
}
h2.subheading {
	text-align: center;
}
ul.mod-menu.mod-list.menu
{
justify-content: flex-start !important;
}
/* Allgemeine Gestaltung */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 160%;
    color: #000000;
}
#sp-main-body {
    padding: 20px 0;
}

footer .mod-menu.mod-list.menu
{
justify-content: left;
}

div.narrow-article {
    max-width: 700px;
}

figure {
    margin: auto;
    display: table;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
figure img {
    max-height: 550px;
}
figcaption {
    display: table-caption;
    caption-side: bottom;
    margin: 5px 4px 0 4px;
	font-size: 85%;
	line-height: 145%;
	font-style: italic;
}

/* Mediabox (Bilder bildschirmfüllend öffnen) */
p#wf-mediabox-modal-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
}

table {
    margin-bottom: 1rem;
}
td, th {
	padding:0 30px 10px 0px;
    vertical-align:top;
}
td:last-child, th:last-child {
	padding:0 0 10px 0;
}

table.big {
    width:100%;
}
table.big .erklaerung {
	font-size:11px;
}
table.big td, table.big th {
	padding-top: 15px;
    padding-bottom: 15px;
    border-bottom:1px solid #bbbbbb;
    /*border-top:1px solid #bbbbbb;*/
}

div.article-details li {
    margin-bottom: 4px;
}

/* Für größere Abstände zwischen Untermenüpunkten im Hamburgermenü */
ul.menu-child > li {
    padding: 6px 0;
}
/* Für vernünftige Abstände bei der Pfadangabe auf den Unterseiten */
li.breadcrumb-item {
    padding-left: 0.5rem;
}

/* Einrückung weg */
ol.mod-breadcrumbs {
	padding-left: 0 !important;
}

/* MENÜ */

@media (min-width: 1200px) {
/* (erst ab 1200Pixeln, sonst erfolgt eventuell Umbruch bei IPADs im Querformat, da Menü zu viel Platz einnimmt*/
/* Anmerkung: nach Umstellung auf Joomla5 wird Font Awesome 6 Free verwendet, daher wirds generell etwas breiter dargestellt*/ 
    .sp-megamenu-parent > li > a {
        padding: 0 20px;
    }
}
.sp-megamenu-parent > li > a {
    font-weight: 400;
}
.sp-megamenu-parent > li.active > a {
    font-weight: 600;
}

.offcanvas-menu .logo {
    display: none !important; /* Logo nicht im Menü anzeigen (schaut furchtbar aus) */
}
.burger-icon > span {
    background-color: #ccc; /* Vernünftiger Kontrast fürs Burger-Icon vom mobilen Menü */
}

/* SEITENKOPF */
.layout-boxed .body-innerwrapper {
    /* Damit bei schmalem Bildschirm auch oben der Mondhintergrund-Streifen verschwindet (nicht nur links und rechts) */
    margin-top: calc(min(25px, max(0px, (100vw - 1317px) / 2)));
}
@media (max-width: 767px) { /** grauer Menü-Balken etwas schmaler */
    #sp-header {
        height: 40px;
    }
    #offcanvas-toggler {
        height: 40px;
    }
}
.logo-image-phone { /* Titelbild nicht verzerren */
    height: auto !important;
}
.tp-simpleresponsive ul { /* Damit die Schrift im Bilderslider oben nicht ganz so erschlagend wirkt */
    font-style: italic;
}

/* STARTSEITE */
div.ankuendigung_trenner {
	height:30px;
	border-bottom: 1px solid #bbbbbb;
    margin-bottom: 30px;
}
div.trenner_schmal {
	height:15px;
	border-bottom: 1px solid #bbbbbb;
    margin-bottom: 15px;
}
ul.newsfeed {
    padding-left:0;
    list-style-type:none;
}
div.feed-item-description, div.mod-articlesnews__item {
    margin-bottom:15px;
    font-size:13px;
    line-height: 20px;
}

/* Damit das Vereinsleben-Modul konsistent zum Astronews aussieht, bauen wir mal die Überschriften entsprechend um */
h4.newsflash-title {
	font-size:14px !important;
	line-height:160%;
	font-family: 'Open Sans', sans-serif;
	margin:0;
}

div.mod-articlesnews__item {
	margin-bottom: 15px;
}

div.mod-articlesnews__item p {
	margin-bottom: 0.5rem;
}

div.right h3 {
	margin-top:0;
}

.article-list .article {
	background-color: #f5f5f5;
	border-radius: 20px;
}

.article-list .article .readmore a {
  color: #0345BF;
}

/* Für den Aktuelles-Slider brauchts überall den !important weil dem sein CSS erst nach uns kommt */
.tc-inner h2 {
    margin-bottom: 12px !important;
}
.tc-inner p {
    color: #000 !important;
    font-weight: 400 !important;
}
.tc-inner:hover * {
    color: #fff !important;
}
.tc-inner:hover a {
    color: #8baef0 !important;
}
.tc-inner *, .tc-inner:hover * {
    transition: color 0.2s ease !important;
}
.tc-inner {
    background-color: #f2f2f2 !important;
}
.tc-inner:hover {
    background-color: #333 !important;
}
.tc-inner, .tc-inner:hover {
    transition: background-color 0.2s ease !important;
}
.news-block .caption-box {
	margin: 0 10px !important;
}

/* GÄSTEBUCH */
blockquote::before { /* FontAwesome funktioniert nicht, warum auch immer */
    content: "\201C";
    font-size: 48px;
}

/* CHRONIK */
div#sp-position5 div, table#chroniktabelle {
    height: 100%
}
table#chroniktabelle td {
    padding: 0 15px;
    vertical-align: middle;
}
table#chroniktabelle p {
	margin-top:1rem
}
table#chroniktabelle p.presse {
	font-style:italic;
}
section#sp-split-below-main {
    padding-bottom: 20px;
}

/* TECHNIK */
div.technik-logos {
    position:sticky;
    top: calc(50% - 460px/2);
}

div.technik-logos figure {
    margin-top:30px;
    margin-bottom:30px;
}

@media (min-width: 1200px) { /* xl / xxl */
    div.technik-logos {
        top: calc(50% - 620px/2);
    }

    div.technik-logos figure {
        margin-top:50px;
        margin-bottom:50px;
    }
}

/* WIR SIND STERNE */
div#mod-custom202 {
	height: 100%;
}

/* SATZUNG */
p.paragraph {
	font-weight:bold;
	text-align:center;
	margin-top:30px;
}

/* GALERIE */
div.ig-thumb-text_below { /* Bildcaption kleiner - v. a. in der Chronik besser */
    font-size: 85%;
    line-height:145%;
	font-style: italic;
}
/* Die Suche ist aktuell eh ausgeblendet (funktioniert nicht)
div.mod-finder__search div.awesomplete {
    margin-right: 10px;
    margin-top:10px;
}
div.mod-finder__search button {
    border-radius: 4px !important;
    margin-top:10px !important;
    margin-left:0px !important;
}*/
div.ig-lightbox-descriptions-below { /* Autor in der Lightbox etwas absetzen */
    font-size:11px;
    line-height:15px;
}
div.ig-des-filename { /* Caption in der Lightbox: Lesbare Schriftgröße */
    line-height: 22.4px;
    font-size: 14px;
}
div.ig-lightbox-bottom-wrapper {
    height: 150px !important; /* Damit die Autorzeile noch reinpasst */
}
div.ig-lightbox-descriptions-below {
    height: 50px !important; /* dito */
}

/* damit Navigation in Lightbox bei Ignite Gallery bei langen Beschreibungstext geht*/
.igui-light .igui-slidenav{
  z-index:2!important;
}