/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #3c4133; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #8aba16; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --footer-link-color: #ffffff; /*  Footer Link color */
  }

  /*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/

.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

/*Höhe von Logo und Wappen*/
.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 80px;
  margin-right: 8px;
}


/* Farbe der Button ändern*/
.btn-primary {
    color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
}
.btn-primary:hover,
btn-primary:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
  }
  .btn-group {
    padding: 5px;
  }

/* Responsive images mit Fluid Styled Content */
.ce-gallery img {display: unset;}
.ce-intext [data-ce-columns="1"],
.ce-intext [data-ce-columns="2"],
.ce-intext [data-ce-columns="3"],
.ce-intext [data-ce-columns="4"] {
  width: 100%;
}

.ce-intext [data-ce-columns="2"] .ce-column,
.ce-center [data-ce-columns="2"] .ce-column {
  width: 48%;
  margin-right: 2%;
}

.ce-intext [data-ce-columns="3"] .ce-column,
.ce-center [data-ce-columns="3"] .ce-column {
  width: 31%;
  margin-right: 2%;
}

.ce-intext [data-ce-columns="4"] .ce-column,
.ce-center [data-ce-columns="4"] .ce-column {
  width: 23%;
  margin-right: 2%;
}

.ce-intext.ce-right .ce-gallery {
  margin-left: 0;
}

.ce-uploads div {
  overflow: visible;
}
@media screen and (min-width: 601px) {
  .ce-intext [data-ce-columns="1"],
  .ce-intext [data-ce-columns="2"],
  .ce-intext [data-ce-columns="3"],
  .ce-intext [data-ce-columns="4"] {
    width: 50%;
  }
  .ce-intext.ce-right .ce-gallery {
    margin-left: 1rem;
  }
  .ce-intext.ce-left .ce-gallery {
    margin-right: 1rem;
  }
  .ce-textpic,
  .ce-image,
  .ce-nowrap .ce-bodytext,
  .ce-uploads li,
  .ce-uploads div {
    overflow: hidden;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: #ffffff;
  background-color: var(--footerbackground-color);
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, #ffffff, transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 5px;
  font-size: 13px;
}
#footer section {
  background: #9859c7;
  color: #ffffff;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #ffffff;
      font-family: var(--heading-font);
    }
  padding: 0;
}
/* Anpassung Footer Links */
.footer-links a {
  background: #9859c7;
  color: var(--footer-link-color);
  text-decoration: none;
}
.footer-links a:hover {
  background: #9859c7;
  color: var(--contrast-color);
  text-decoration: underline;
}

.ce-gallery figure.video {
  display: block;
}

/* Responsive Videos mit Fluid Styled Content */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }
  
  .video-embed iframe,
  .video-embed video {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    width: 100% !important;
    height: 100% !important;
  }
  
  .ce-center:has(.video-embed) .ce-inner {
    position: relative;
    float: none;
    right: -50%;
  }
  
  .ce-left:has(.video-embed) .ce-gallery,
  .ce-column:has(.video-embed) {
    float: none;
  }
  
  .ce-center:has(.video-embed) .ce-outer {
    position: relative;
    float: none;
    right: 50%;
  }
  
  /* Checkliste */
  ul.list-check {
    padding-left: 0;
    list-style-type: none;
  }
  ul.list-check li:before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f272";
    margin-right: 5px;
  }
  
  /* Anpassungen */
  .btn-getstarted {
    display: none;
  }
  @media (min-width: 480px){
    .btn-getstarted {
      display: unset;
    }
  }
  
  /* Such-Lightbox */
  .search_button {
    order: 2;
    margin-right: 1rem;
  }
  .search_button:hover {
    cursor: pointer;
  }
  @media (min-width: 1201px){
    .search_button {
      margin-right: 0;
      margin-left: 1rem;
    }
  }
  /* Lightbox Grundstil */
  .searchlightbox {
    visibility: hidden; /* Unsichtbar machen */
    opacity: 0; /* Vollständig transparent */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund */
    transition: opacity 0.4s, visibility 0.4s; /* Animation hinzufügen */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Sichtbarer Zustand der Lightbox */
  .searchlightbox.visible {
    visibility: visible; /* Sichtbar machen */
    opacity: 1; /* Vollständige Opazität */
  }
  /* Inhalt der Lightbox */
  .searchlightbox .lightbox-content {
    background-color: #fefefe;
    margin: 15% auto; /* Zentrierung */
    padding: 20px;
    border: 1px solid #8aba16;
    min-width: 315px;
    width: 800px;
    max-width: 75vw;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative;
  }
  
  /* Schließbutton */
  .searchlightbox .close {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .searchlightbox .close:hover,
  .searchlightbox .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .tx-indexedsearch-searchbox-sword.form-control {
    width: 70%;
    display: inline;
  }
  
  .lightbox-content .tx-indexedsearch-info-sword,
  .lightbox-content .tx-indexedsearch-info-sword-word,
  .lightbox-content .tx-indexedsearch-browsebox,
  .lightbox-content .tx-indexedsearch-res {
    display: none;
  }
  .lightbox-content section {
    padding: 10px 0;
  }
  
  .tx-indexedsearch-info-sword {
    margin: 1rem 0 1rem 0;
  }
  
  span.tx-indexedsearch-info-sword-word {
    font-weight: bold;
  }
  
  .tx-indexedsearch-title {
    font-size: 120%;
  }
  .tx-indexedsearch-res {
    border-bottom: 1px solid #8aba16;
    margin-bottom: 1rem;
  }

 /* felogin */
.tx-felogin-pi1 form {
  max-width: 400px;
  margin: 2rem auto;
}

.tx-felogin-pi1 label {
  margin-top: 1rem;
  font-weight: 500;
}

.tx-felogin-pi1 input[type="text"],
.tx-felogin-pi1 input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out;
}

.tx-felogin-pi1 input[type="submit"] {
  margin-top: 1rem;
  color: #fff;
  background-color: #8aba16;
  border-color: #8aba16;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.475rem;
  cursor: pointer;
}

  /* Logout Button*/
.logout_button {
  order: 2;
  font-size: 110%;
  margin-right: 5rem;
 }
@media (min-width:1200px){
  .logout_button {
    margin-right: 0;
    margin-left: 1rem;
  }
} 

/* Anpassungen für Contaier */
.frame-type-2cols section,
.frame-type-2cols .container .container {
  padding: 4px;
  
} 

/* Anpassung Hintergrund mit Frame_class */
.frame-violettbox {
  background: #9859c7;
    color:#fff;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #fff;
      font-family: var(--heading-font);
    }
    margin-top: 10px;
}
.frame-greenbox {
  background-color: #8aba16;
   color:#fff;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #fff;
      font-family: var(--heading-font);
    }
  margin-top: 10px;
}
/* Anpassung Hintergrund News */
.list-group{
  --bs-list-group-bg: #e4f2c2;
}
