@font-face {
  font-family: "GoogleFont_Jura";
  src: url("fonts/GoogleFont_Jura/static/Jura-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@supports (display: grid) {
    .site-grid {
        grid-template-areas:
          ". banner banner banner banner ."
          ". top-a top-a top-a top-a ."
          ". top-b top-b top-b top-b ."
          ". top-c top-c top-c top-c ."
          ". top-d top-d top-d top-d ."
          ". comp comp comp comp ."
          ". side-r side-r side-r side-r ."
          ". side-l side-l side-l side-l ."
          ". bot-a bot-a bot-a bot-a ."
          ". bot-b bot-b bot-b bot-b ."
          ". bot-c bot-c bot-c bot-c ."
          ". bot-d bot-d bot-d bot-d .";
    }
    @media (min-width: 992px) {
        .site-grid {
            grid-template-areas:
              ". banner banner banner banner ."
              ". top-a top-a top-a top-a ."
              ". top-b top-b top-b top-b ."
              ". top-c top-c top-c top-c ."
              ". top-d top-d top-d top-d ."
              ". side-l comp comp side-r ."
              ". bot-a bot-a bot-a bot-a ."
              ". bot-b bot-b bot-b bot-b ."
              ". bot-c bot-c bot-c bot-c ."
              ". bot-d bot-d bot-d bot-d .";
        }
    }
}





:root {
  --cassiopeia-color-primary: #a92627;
  --cassiopeia-color-link: #a92627;
  --cassiopeia-color-hover: #a92627;
}

body, 
html {
  font-family: "GoogleFont_Jura";
  font-size: 100%;
  /*
  background-color: #a92627;
  color: #ffffff;
  */
}


.card-header, .bottom-b h3 {
  font-family: "GoogleFont_Jura";
  font-size: 110%;
  /*
  background-color: #a92627;
  color: #ffffff;
  */
}

body {
  background-image: url('../images/backgrounds/background_gray_1b.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container-nav li.level-1.deeper.parent:hover > ul {
  display:block !important;
}

nav.navbar {}

/* ---------------------------------------------------------------------------- */
/* --- Dieser Block passt das Logo im Nav-Bereich an. */
im.mainmenu_logo {
  position: relative; /* static relative */
}
li.item-132 {
  width: 110px;
  margin: -15px 0;
}
/*
.mainmenu_logo img {}
*/
/* ---------------------------------------------------------------------------- */


/* ---------------------------------------------------------------------------- */
/* --- In Anlehnung an diesen Forumseintrag wurde das Verhalten der Dreieck im Top-Menu angepasst. --- */
/* --- https://forum.joomla.de/thread/15947-underline-im-men%C3%BC-cassiopeia-entfernen/           --- */

.container-header .metismenu > li.active > a::after,
.container-header .metismenu > li > a:hover::after
{
  background: #fff;
  left: 0;
  right: 0;
}

.container-header .metismenu > li.active > button::before,
.container-header .metismenu > li > button:hover::before
{
  background: transparent;
  left: 0;
  right: 0;
}
/* ---------------------------------------------------------------------------- */



.full-width-bg-red {
  background-color: #a92627;
}
.full-width-bg-gray {
  background-color: #c3c3c3;
}
.full-width-bg-white {
  background-color: #ffffff;
}


/* ---------------------------------------------------------------------------- */
/* --- Hintergrundfarbe des Banner-Bereichs anpassen            --------------- */

div.container-banner {
  background-color: #a92627;
}
/* ---------------------------------------------------------------------------- */




/* ---------------------------------------------------------------------------- */
/* --- Hier werden die Anpassungen fuer die Laufschrift gemacht --------------- */


.homepage_marquee {
  margin: 0;
  padding: 0;
  
  height: 50px;
  width: 100%;

  overflow: hidden;
  position: relative;
  
  background-color: transparent;
  border: 1px solid transparent;
}

.homepage_marquee div.card-body {
  margin: 0;
  padding: 11px;
  
  display: block;
  width: 100%;
  /*
  */
  height: 50px;

  position: absolute;
  overflow: hidden;

  animation: marquee 20s linear infinite;
}

.homepage_marquee div.card-body div {
  float: left;
  /*
  width: 100%;
  white-space: nowrap;
  */
  color: #ffffff;
}

@keyframes marquee {
  0% { left: 100%; }
  100% { left: -100%; }
}

/* ---------------------------------------------------------------------------- */


/* --- Hier werden die Anpassungen fuer den Newsflash auf der Startseite gemacht. --- */


div.homepage_newsflash {
  background-color: #333333;
  border: 0 solid transparent;
}

div.homepage_newsflash .card-header {
  color: #ffffff;
}


div.homepage_newsflash li {
  /*
  width: 30% !important; 
  */
}

/* --- Hiermit wird beeinflusst, wie viele Meldungen nebeneinander erscheinen --- */
.homepage_newsflash .mod-articlesnews-horizontal {
  grid-template-columns: repeat(auto-fit,minmax(370px,1fr));
}



/*
*/
.container-top-c,
.container-top-d,
.container-bottom-c,
.container-bottom-d {
  position: relative;
}
.container-top-c > *,
.container-top-d > *,
.container-bottom-c > *,
.container-bottom-d > * {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 0.5em 0;
}
@media (max-width: 991.98px) {
  .container-top-c,
  .container-top-d,
  .container-bottom-c,
  .container-bottom-d {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .container-top-c > *,
  .container-top-d > *,
  .container-bottom-c > *,
  .container-bottom-d > * {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
  }
}


/*
.container-top-b {
  background-color: #a92627;
  margin: auto;
  padding: 50px 20px;
  width: 120%;
}
*/

.top-b.card {
  background-color: transparent;
  border: 0px solid trasparent;
  color: #ffffff;
}

.container-top-c {
  grid-area: top-c;
}
.top-c.card, 
.top-c.card .card-header{
  background-color: transparent;
  border: 1px solid transparent;
  color: #ffffff;
}
.desc-sv-brackel-06 .card-body {
  background-color: #333333;
}
.img-vereinsheim .card-body {
  padding: 0;
}
/*

*/

.container-top-d {
  grid-area: top-d;
  background-color: #a92627;
}
.top-d.card, 
.top-d.card .card-header{
  background-color: transparent;
  border: 1px solid transparent;
  color: #ffffff;
}



/*
.container-bottom-a,
.container-bottom-b,
.container-bottom-c,
.container-bottom-d,
.bottom-a,
.bottom-b,
.bottom-c,
.bottom-d {
  margin: 0;
  padding: 0;
}
/**/

.container-bottom-c {
  grid-area: bot-c;
}

.container-bottom-d {
  grid-area: bot-d;
}

/*
.map-module, .map-module * {
  margin: 0;
  padding: 0;
}
/**/


/*
.container-bottom-a {
  background-color: #ffffff;
}

.bottom-a.card {
  max-width_: 660px;
}
.bottom-a.module-qr {
  margin-left: 0;
  margin-right: auto;
}
.bottom-a.module-kontakt {
  margin-right: 0;
  margin-left: auto;
}

.bottom-a.module-qr, .bottom-a.module-qr .card-header, 
.bottom-a.module-kontakt, .bottom-a.module-kontakt .card-header {
  background-color: transparent;
  border: 1px solid transparent;
}

*/




/*
.bottom-b.no-card {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.container-bottom-b {
  background-color: #c3c3c3;
}
/**/

.bottom-a.card, 
.bottom-a.card h3,
.bottom-b.card, 
.bottom-b.card h3{
  background-color: transparent;
  border: 1px solid transparent;
}


.container-bottom-c {
  margin: 0 auto;
}


.container-footer {
  margin: 0;
}

.container-footer .mod-custom {
  margin: auto;
}

.container-footer a {
  text-decoration: none;
  color: #ffffff;
}

.container-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/*
.com-content-category-blog__item.blog-item .com-content-category-blog__item.blog-item {
  width: 50%;
}
*/