/* finger-paint-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Finger Paint';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/finger-paint-v19-latin-regular.woff2') format('woff2'); 
}

.finger-paint-regular {
  font-family: "Finger Paint", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-expand-md .navbar-collapse:not(.show) {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .navbar-expand-md .navbar-toggler {
    display: block !important;
  }
}

@media screen and (max-width: 576px) {
  body.wrapper-fluid .site-grid {
    grid-gap: 0 0.5em;
  }
} 



/* Body */
body {
  background-color: #d9d7d770;
}

p, ul, ol {
  font-size: 1.2rem;
  hyphens: auto; 
}

h1 {
  font-weight: 400;
  margin: 0 0 2rem 0;
  hyphens: auto; 
  font-family: "Finger Paint", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-weight: 300;
  hyphens: auto; 
}

h3, h4 {
  font-weight: 300;
}


address {
  padding: 16px;
  background-color: #f2f4f7;
}

img, video {
  max-width: 100%;
}
.text2sp {
  column-count: 2;
  column-gap: 4rem;
  column-rule: 1px solid black;
  margin-bottom: 2rem;
}

@media (max-width: 60rem) {
  .text2sp {
    column-count: 1;
  }
}

/*  Link extern */ 
a.lnkextern {
  text-decoration: none !important;
} 
a.lnkextern:before {
  font-family: "Font Awesome 6 Free";
  content: "\f14d";
  padding: 0 4px 0 4px;
} 

/* article */
.com-content-article {
  padding: 25px;
  margin-bottom: 2rem;
  background-color: white;
  border: 0px solid #d2d2d2;
  border-radius: 0rem;
  /*box-shadow: 0 0 2px rgba(51,57,66,.1),0 2px 5px rgba(51,57,66,.08),0 5px 15px rgba(51,57,66,.08); */
}

/* Blog-Item */
.blog-item {
  width: 100%;
}

.blog-item h2 a {
  text-decoration: none;
  color:initial;
}

.blog-item h2 a:hover {
  text-decoration: underline dotted;
}

.boxed .blog-item {
  background-color: white;
  box-shadow:0 0 2px rgba(51,57,66,.1), 0 2px 5px rgba(51,57,66,.08), 0 5px 15px rgba(51,57,66,.08); 
}

.boxed .blog-item .item-image {
  margin: 0;
}

/* Kategorie Liste */
th.list-title a {
  text-decoration: none;
}

th.list-title a:hover {
  text-decoration: underline;
}

td.list-date {
  text-align: center;
}

/* Pagination */
ul.pagination {
  flex-wrap: wrap;
}

dt.article-info-term {
  display: none;
}

/* TopBar */
.container-topbar {
  background-color: red;
  padding: 20px;
}

/* kopfzeile */
.kopfzeile {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  align-items: center; 
  justify-content: space-between;
  max-width: 1320px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}
@media screen and (max-width: 1100px) {
  .kopfzeile {
    gap: 4px; 
    justify-content: center;
    text-align:center;
  }

  .logo-kopfzeile {
    display: none;
  }
} 

.kopfzeile h1 {
  margin: 0;
}

.kopfzeile a {
  text-decoration: none;
}

/*Header */
.before_header{
  width: 100%; 
  background-color: white;
}

@media screen and (max-width: 576px) { 
  .before_header {
    /*background-color: #f7f4e4;*/
  }
} 
.container-header {
  background-color: #b21027;
  background-image: none;
  z-index: 999;
  position: sticky !important;
  top: 0;
}

.container-header nav {
  margin-top: 0em !important;
}
.container-header .container-nav{
  padding-bottom: 0em !important;
  padding: 0;
} 

/* Hauptmenu */
.hauptmenu .metismenu-item {
  border-right: 2px solid white;
}

.hauptmenu .metismenu-item.item-186{
  /*background-color: orange; */ 
}

.hauptmenu .metismenu-item.active {
  background-color: red;
  color: white;
}

.hauptmenu .metismenu-item:hover {
  background-color: #f3dd21;
  color: navy;
}

.hauptmenu .metismenu-item .level-2 {
  border-radius:0; 
  border: 1px solid whitesmoke;
}

.hauptmenu .metismenu-item .level-2 a {
  color: gray; 
}

.hauptmenu .metismenu-item .level-2:hover a,
.hauptmenu .metismenu-item .level-2.current.active a {
  color: #558763; 
}

@media screen and (max-width: 991px) {
  .hauptmenu .metismenu-item {
    border-right: 0;
  }
  .hauptmenu .metismenu-item a {
    font-size: 1.6rem;
    padding: 0.4rem;
  }
}


.hauptmenu .metismenu-item.item-101.active{
  background-color: #b21027;  
}

/* Untermenu*/
@media (width>=992px) {
  .untermenu .metismenu.menu-horizontal {
    flex-wrap: wrap;
  }
}

.untermenu {
  padding: 0;
}

.untermenu ul {
  justify-content: center;
}

.untermenu li {
  border: 0px solid #6590c3;
  background-color: white;
  padding: 6px;
  margin-bottom:4px;
  margin-right: 6px;
}

.untermenu a {
  display: block;
  width: 100%;
  color: initial;
}

/* Hamburger Menu */
.container-header .navbar-toggler {  
  padding: 6px 10px;
  margin: 10px;
}

.navbar-toggler:after {
  content: "Menü";
  text-transform: uppercase;
  margin-left:0.5em;
}

/* Menu horizontal */
@media (width>=600px) {
  .metismenu.menu-horizontal {
    flex-direction:row;
    flex:1;
    display:flex;
    flex-wrap: wrap;
  }
}

/* Editormenü */
.rgs-editormenu {
  margin-bottom: 20px;
}

.rgs-editormenu h3 {
  background-color: red;
  color: white;
}
.rgs-editormenu ul {
  background-color:;
}

.rgs-editormenu li {
  padding: 0;
  margin: 4px;
  border: 1px solid gray;
}

.rgs-editormenu li:hover {
  border: 1px solid red;
}

/* Footer */
/*
.before_footer {  
  height: 30px;
  width: 100%;
  margin: 15px 0 -20px 0;
  background-color: #1370ac;
  clip-path: polygon(0px 0px, 50% 100%, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0 100%);  
}
*/

 footer::before {
  display:block;
  width: 100%;
  height: 120px;
  background-color: #eeeded;
  background-image: url("../images/wave.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  content:"";
  margin: 0;   
}

.footer {
  background-color: #1370ac;
  background-image: none;
}

/* Sidebar */
.sidebar-right {
  border:none;
  /*background-color: #f9ebcf; */
}

/* Card */
.card-body {
  background-color: whitesmoke;
  padding: 25px;
}

/*Scroll-Top Button*/
.back-to-top-link {
  position: fixed;
}

/* Banner Startseite */
#mod-customxxx {
  background-image: url("/images/Titelbild.jpg"); */
  background-repeat: no-repeat;
  background-position: top left; 
  background-size: cover;
  background-color: #cccccc;
  height: 70vh;
  color: white;
}

#mod-customxxx:after {
  content:"";
  position: absolute;
  width: 100%;
  height: 42px;
  left: 0;
  bottom: 0;
  z-index: 99;
  background-image: url("/media/templates/site/cassiopeia_rgs/images/brush_white.png");
  background-size: cover;
  background-repeat: no-repeat;
}
  
.container-banner .banner-overlay .overlay {
  background-color: transparent;
}

/* Banner Unterseiten */
#mod-customxxx {
  /*background-image: url("/images/symbole/Titelbild_01.jpg"); */
  background-image: none;
  background-repeat: no-repeat, repeat;
  background-position: center; 
  background-size: cover;
  /*background-color: white; */
  height: 20px;
  color: white;
}

/* Bild */
.ibu {
  position: relative; 
  text-align: center; 
  border: 4px solid white; 
  margin-top: 2rem;
}

.ibu figcaption {
  position: absolute; 
  bottom: 20px; 
  left: 0; 
  color: black; 
  font-weight: bold; 
  background-color: white; 
  padding: 10px;
}

/* Droppics */
#colorbox.droppics {
  z-index: 9999999 !important;
}

.droppicsgallerydefault .wimg {
  margin: 2px !important;
}

#droppics_modal {
  z-index:99999;
}

/* Kontaktformular */
.contact-form legend, .com-contact__container h3, dl.contact-position dt {
  display: none;
}

/* mnuhome */
.mnu_home::before { 
  font-family: "Font Awesome 6 Free";
  color: white;
  content: "\f015";
  font-size: 30px !important;
  position: relative !important;
  display: inline-block !important;
  line-height: 45px !important;
  height: 45px !important;
  font-weight: 900;
  width: 1.25em !important;
  /*margin-right: 4px; */
} 
.mnu_home {
  font:0/0 a !important;  
}


/* Lageplan */
#map112 {
  height: 400px;
  margin-top: -10px;
  border: 1px solid #c4942f;
}

/******************************/
.rg-lnkcontainer {
  --min-column-size: 18ch;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min-column-size), 100%), 1fr));
  padding: 20px 0;
}

a.rg-lnkbox {
  border: 1px solid gray;
  border-radius: 4px;
  background-color: whitesmoke;
  color: #30638d;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  transition: all .3s;
}

a.rg-lnkbox:hover {
  background: #b21027 !important;
  color: white;
}

a.rg-lnkbox:hover h3 {
  color: white;
}

a.rg-lnkbox h3 {
  text-align:center;
  color: #053a6c;
  font-size: 1.5em;
  font-weight: 400;
}

a.rg-lnkbox .icon {
  text-align:center;    
  height:102px;
  width: 102px;
  line-height:102px;
  border-radius: 0;
  color: #4c7eaa;
  font-size:60px;
  margin:0 auto;
}

a.rg-lnkbox:hover .icon {  
  color: white;  
}

/* adress_cards */
.adress_cards {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; justify-content: 
  flex-start;
  margin: 2rem 0 2rem 0;
}

.adress_cards div {
  padding: 20px;
  background-color: whitesmoke;
  flex: 1 1 auto;
}

.adress_cards div:hover {
  background-color: white;
  box-shadow: 0 1rem 1rem -0.75rem hsl(210 100% 8% / 0.25);
}

/* Infobox */
.infobox {
  background-color: #fbf5d7; 
  padding: 20px;
  margin: 2em 0;
  border: 1px solid gray;
}

/* table.daten */
table.daten {
  margin: 10px 0 10px 0; 
  border:solid 2px black;
  background-color:white;
}

table.daten tr:hover { 
  background-color: #afccda;
}

table.daten td {
  padding:6px;
  border:solid 1px gray;
}

table.daten p {
  padding:0;
  margin:0;
}

/* table.kalender */
table.kalender {
  width:100%;
  border:none; 
  background-color:white;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  hyphens: auto;
}

table.kalender td {
  padding: 8px;
  border:none;
}

table.kalender tr { 
  border-top: 2px solid #b2b7b3;
  border-bottom: 2px solid #b2b7b3;
}

table.kalender tr:hover { 
  background-color: rgb(244, 205, 133); 
  /** border-top: 2px solid red;
  border-bottom: 6px solid red; **/
}


/* Wobble */
.wobble:hover {
  animation: anWobble 1s ease-in-out 0s infinite normal forwards; 
}

@keyframes anWobble {
  0%,
  100% {
    transform: translateX(0%);
    transform-origin: 50% 50%;
  }

  15% {
    transform: translateX(-30px) rotate(-6deg);
  }

  30% {
    transform: translateX(15px) rotate(6deg);
  }

  45% {
    transform: translateX(-15px) rotate(-3.6deg);
  }

  60% {
    transform: translateX(9px) rotate(2.4deg);
  }

  75% {
    transform: translateX(-6px) rotate(-1.2deg);
  }
}

/** */
.datum {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* newsletter */
.newsletter {
  border: 0px dotted green;
  padding: 10px 0 10px 0;
  /*background-color: #f0dba8; */
  border-radius: 0px;
}

.newsletter .blog-item {
  background-color: white;
  padding: 0;
  border-radius: 15px;
}

.newsletter h2 {
  background-color: #ac4343;
  padding: 40px 10px;
  color: white;
  text-align: center;
}

.newsletter h2 a {
  color: white;
}

/* adress_cards */
.adress_cards {
  display: flex; 
  flex-wrap: wrap; 
  gap: 20px; justify-content: 
  flex-start;
}

.adress_cards div {
  padding: 20px;
  background-color: whitesmoke;
  flex: 1 1 auto;
}

/*Lauftext */
div.lauftext {
  width: 100%;
  margin: 2rem 0 0 0;
  /*background-color: #80b6d2; */
  overflow: hidden;
}

div.lauftext p {
  white-space: nowrap;
  margin: 0px;
  padding: 4px;
  /*color: white !important;*/
  animation: marquee 15s linear infinite; 
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Social Media Buttons */
.icon-bar a {
  display: inline-block;
  text-align: center;
  padding: 6px;
  transition: all 0.3s ease;
  color: white;
  font-size: 40px !important;
  width: 60px;
  height: auto;
  border-radius: 5px;
}

.icon-bar a:hover {
  background-color: #e7041e;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  /*background: #55ACEE; */
  background: black;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.instagram {
  background: #007bb5;
  color: white;
}

.youtube {
  background: #bb0000;
  color: white;
}

/* m */
@media screen and (max-width: 576px) {

  h1 {
    margin: 0 .2rem 1.2rem .2rem;
    text-align:center;
  }

  table {
    width: 100%;
  }

  .boxed .blog-item .item-content {
    padding: 10px;
  }
  
  .mod-custom h3 {
    text-align: center;
  }
  
  .rg-lnkcontainer {
    padding: 0;
  }

  a.rg-lnkbox {
    padding: 2px;
  }

  .container-header .container-nav,
  .container-header .container-nav nav{
    width: 100%;
    justify-content: center;
  }

  .container-header .container-nav nav a{
    width: 90%;
  }

  .imL {
    float: none;
    margin: 0px 0 4px 0;
  }

  .container-header .navbar-toggler {
    width:90%;
    border: 1px solid white;
  }
  
} 

