body {
  margin: 0 auto;
  padding: 0;
  color: #FFFFFF;
  background-color: #000000;
  font-family: verdana,arial,helvetica,sans-serif;
  max-width: 1680px;
}

#wrapper {
  background-color: #FFFFFF;
  color: #000000;
  margin: 0 auto;
  width: 98%;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
}

a.socialfooter:hover {
    background-color: black !important;
    -webkit-box-shadow: 0px 4px 4px #9F9F9F;
    -moz-box-shadow: 0px 4px 4px #9F9F9F;
    box-shadow: 0px 4px 4px #9F9F9F;
}

a.socialfooter {
    -webkit-box-shadow: 0px 4px 4px #9F9F9F;
    -moz-box-shadow: 0px 4px 4px #9F9F9F;
    box-shadow: 0px 4px 4px #9F9F9F;
}

details summary:before {
    content: '►';
    transform: rotate(0deg);
    display: inline-block;
}

details[open] summary:before {
    content: '►';
    transform: rotate(90deg);
    display: inline-block;
}

.logosite svg {
    width: 100%;
    max-width: 250px;
    height: auto;
    padding: 10px;
}

.logoimpressum svg {
    max-width: 250px;
    width: 100%;
    height: auto;
    padding: 25px;
}

.logoimpressum {
  float: right;
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 650px) {
.logoimpressum {
  float: unset;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}
.logoimpressum svg {
  padding: 5px;
}
}

@media screen and (min-width: 951px) {
.logoimpressum {
  position: relative;
  top: -70px;
}
}

@media screen and (min-width: 768px) and (max-width: 950px) {
.logoimpressum {
  float: unset;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
}

@media screen and (min-width: 1300px) {
.logoimpressum {
  float: right;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0px;
  justify-content: normal;
}
.gallery img {
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 0;
  max-width: 100%;
  display: block;
  width: auto;
  height: 150px;
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.3);
}
.lightbox-close {
  position: absolute;
  top: 0px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.lightbox-close:hover {
    background-color: unset !important;
    box-shadow: none !important;
    text-shadow: #be0a26 0px 0px 10px !important;
    rotate: 90deg !important;
    transform: scale(1.0) !important;
}

table {
    margin: 20px 0px;
}

tbody tr td {
    padding-left: 15px;
}
tbody tr:nth-child(odd) {
    background: #dedede;
}

tbody {
    border: 0;
}

alltable td {
    padding: 10px !important;
}

alltable {
    display: flex;
    text-align: left !important;
}

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: left;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

table.event-table td:nth-child(2) {
      font-weight: bolder;
      font-size: 1em;
  }
  
@media screen and (max-width: 1000px) {
  table {
    border: 0;
  }

  table.event-table td:first-child, table.event-table td:last-child {
      width: unset;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: .625em;
  }

  table.contact tr {
    align-items: normal;
    padding: 0px;
}

  table.contact td {
    font-size: unset;
}
  
  table td {
    display: block;
    font-size: .8em;
    text-align: center;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: center;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }
}

details {
  border-radius: 4px;
  padding: 0.5em 0em 0;
}

summary {
  font-size: 1em;
  color: #be0a26;
  font-weight: bold;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
}

details[open] {
  padding: 0.5em 0em 0;
}

details[open] summary {
  margin-bottom: 0.5em;
}

details textblock ul li {
    overflow-wrap: anywhere;
    margin-bottom: 15px;
}

gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

footer {
    width: -moz-available;
    width: -webkit-fill-available;
    background: #dedede;
    border-radius: 0px 0px 20px 20px;
    padding: 20px;
    margin: 20px;
    display: inline-flex;
    border-bottom: 1px solid #FFFFFF;
    -webkit-box-shadow: 0px 4px 4px #9F9F9F;
    -moz-box-shadow: 0px 4px 4px #9F9F9F;
    box-shadow: 0px 4px 4px #9F9F9F;
    line-height: 2;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

button,
input[type="button"] {
  padding: 12.5px 30px;
  border: 0;
  border-radius: 8px;
  background-color: #be0a26;
  color: #ffffff;
  font-weight: Bold;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  margin: 10px 0px;
  cursor: pointer;
  white-space: normal;
  width: -moz-available;
}

button:hover,
input[type="button"]:hover {
  background-color: #000;
  box-shadow: 0 0 20px #e3ff9350;
  transform: scale(1.02);
}

button:active,
input[type="button"]:active {
  background-color: #3d94cf;
  transition: all 0.25s;
  -webkit-transition: all 0.25s;
  box-shadow: none;
  transform: scale(0.98);
}

#lightboxClose {
  width: unset;
}

/* oben*/
header {
  margin: 0;
}

@media only screen and (max-width: 500px) {
img.floatimage {
    float: none !important;
}
}

@media only screen and (max-width: 1100px) {
div#top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.toptext {
    font-size: 2em !important;
    text-align: -webkit-center !important;
    padding: 0px 10px !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.toptextklein {
    padding: 0px 10px !important;
    margin-bottom: 20px !important;
}
.logo {
    padding: 0 !important;
    margin: 40px !important;
    width: 75% !important;
}
}

div#top {
  margin: 20px;
  padding: 15px;
  border-radius: 20px 20px 0px 0px;
  background-color: #FFFFFF;
  background-image: url("/images/headerimage.jpg");
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid #FFFFFF;
  -webkit-box-shadow: 0px 4px 4px #9F9F9F;
  -moz-box-shadow: 0px 4px 4px #9F9F9F;
  box-shadow: 0px 4px 4px #9F9F9F;
}

.logo {
  padding: 0;
  margin: 10px;
  float: right;
  width: 20%;
}

.toptext {
  margin: 10px;
  padding: 30px 0px 0px 30px;
  font-size: 2.5em;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  font-style: italic;
  }


.toptext p:first-child {
    margin-right: 10px;
}

.toptext p {
    margin: 0;
    padding: 0;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 30px;
  font-size: 1.5em;
  font-family: "Trebuchet MS",tahoma,arial,helvetica,verdana,sans-serif;
  font-weight: normal;
  color: #ffffff;
}

div#navihor {
  background-color: #767676;
  margin: 0 20px 20px 20px;
  text-align: center;
  background-image: linear-gradient(#767676 0%, #3B3B3B 100%);
  background-image: -webkit-linear-gradient(#767676 0%, #3B3B3B 100%);
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  -webkit-box-shadow: 0px 4px 4px #9F9F9F; /* WebKit */
  -moz-box-shadow: 0px 4px 4px #9F9F9F; /* Firefox */
  box-shadow: 0px 4px 4px  #9F9F9F;
  height: 36px;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  color: #FFFFFF;
  background-color: transparent;
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  font-size: 1em;
  padding: 4px 15px;
  margin: 0;
  text-align: center;
  border-left: solid 1px #787878;
  border-right: solid 1px #404040;
  line-height: 36px;
}

.hornavi a:hover, hornavi a:focus {
  color: #e06376;
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
}

/*Navigation*/

aside {
  float: left;
  width: 220px;
  padding: 10px 0px 0px 20px;
  margin: 0;
  border-radius: 0.5rem;
}

aside h2 {
  color: #ffffff;
  background-color: #767676;
  font-size: 1em;
  font-weight: bold;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  letter-spacing: 1px;
  background-image: linear-gradient(#767676 0%, #3B3B3B 100%);
  background-image: -webkit-linear-gradient(#767676 0%, #3B3B3B 100%);
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  -webkit-box-shadow: 0px 4px 4px #9F9F9F; /* WebKit */
  -moz-box-shadow: 0px 4px 4px #9F9F9F; /* Firefox */
  box-shadow: 0px 4px 4px  #9F9F9F;
  border-radius: 20px 20px 0px 0px;
}

nav {
  display: contents;
  list-style-type:none;
  padding: 0;
  margin: 0px 0px 20px 0px;
  text-align: left;
  background-color: transparent;
  line-height: 16px;
}

nav ul {
  list-style-type:none;
  padding: 0;
  margin: 0;
}

nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul a:link,
nav ul a:visited,
nav ul a:active {
  color: #FFFFFF;
  margin: 1px 0px 1px 0px;
  padding: 2px 6px 2px 10px;
  text-decoration: none;
  font-size: 0.938em;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  display: block;
  font-weight: normal;
  line-height: 28px;
  background-image: linear-gradient(#767676 0%, #3B3B3B 100%);
  background-image: -webkit-linear-gradient(#be0a26 0%, #8a061b 100%);
}

nav ul a:hover,
nav ul a:focus {
  font-weight: bold;
  text-decoration: none;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  color: #ffffff;
  background-image: linear-gradient(#97071d 0%, #600513 100%);
  background-image: -webkit-linear-gradient(#97071d 0%, #600513 100%);
}

nav ul li:last-child a {
    border-radius: 0px 0px 20px 20px;
    padding: 2px 6px 2px 10px;
    -webkit-box-shadow: 0px 4px 4px #9F9F9F;
    -moz-box-shadow: 0px 4px 4px #9F9F9F;
    box-shadow: 0px 4px 4px #9F9F9F;
}

/*Haupttext*/

main {
  padding: 10px;
  margin: 0px 10px 0px 250px;
  display: block;  /*wegen Fehldarstellung IE*/
}

textblock {
    margin-bottom: 20px !important;
    display: block;
}

article {
  padding: 10px 0px 0px 0px;
  font-size: 0.938em;
  font-weight: normal;
  text-align: left;
  line-height: 20px;
}

article h1 {
  font-size: 1.838em;
  margin: 0px 0px 20px 0px;
  color: #7DA01A;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  letter-spacing: 1px;
  line-height: normal;
}

article h2 {
  color: #466900;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.625em;
  text-align: left;
  margin: 3px;
  padding: 2px;
}

article h3 {
  color: #000000;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.5em;
  font-style: italic;
  padding-left: 5px;
  font-weight: normal;
}

article h4 {
  color: #FFFFFF;
  background-color: #95BC20;
  font-size: 1.375em;
  font-weight: bold;
  margin: 0px;
  padding: 2px;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  letter-spacing: 1px;
  text-align: center;
}

article h5 {
  color: #6F6F6F;
  background-color: inherit;
  font-family: "Trebuchet MS",georgia,calibri,serif;
  font-size: 1.25em;
  font-weight: bold;
  margin: 2px;
  padding: 0;
}

article p {
  margin: 20px 2px;
  overflow-wrap: break-word;
}

/* allgemeine Angaben*/
a:link, a:visited, a:active {
  color: #000000;
  background-color: transparent;
  text-decoration: underline;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #FFFFFF;
  background-color: #717171;
  text-decoration: none;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

.clear {
 clear: both;
 margin: 0;
 padding: 0;
 line-height: 1px;
}

.copyright {
  font-size: 7pt;
  text-align: center;
  font-weight: normal;
  color: #5F5F5F;
}

/******************Besonderheiten f�r Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {

#wrapper {
  width: 90%;
}

header {
  font-size: 0.7em;

}

div#top {
  margin-bottom: 0;
  padding: 0;
}

div#navihor {
  height: 100%;
  padding: 10px 0px;
  font-size: 1.25em;
}

.hornavi a:link, .hornavi a:active, .hornavi a:visited {
  display: block;
  text-align: center;
}

.hornavi a:hover, hornavi a:focus {
  display: block;
}

aside {
  float: none;
  width: 100%;
  padding-left: 20px;
}

aside h2 {
  margin: 0px 40px 10px 0px;
}

nav {
  margin: 0px 40px 20px 0px;
  text-align: center;
}

.linkszwischentext {
margin: 0px 40px 0px 0px;
}

main {
  margin: 10px;
}

article {
  text-align: left;
}

}

/*****************Besonderheiten f�r Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

aside {
  float: none;
  width: 100%;
  padding-left: 20px;
}

.toptext {
  margin: 0 10px;
  padding: 30px 0px 0px 10px;
  font-size: 1em;
}

.toptextklein {
  margin: 0px 0px 0px 10px;
  padding: 0px 0px 0px 10px;

}

article h1, article h2, article h3, article h4, article h5 {
  font-size: 1em;
  text-align: left;
}

}

/*****************Besonderheiten f�r Bildschirmgroesse max. 32px***********************/

@media (max-width: 320px) {
  aside {
    float: none;
    width: 98%;
    padding-left: 20px;
  }
  button#mobile-menu-toggle {
    margin: 0px 15px 10px 0px !important;
  }
  nav {
    margin: 0px 15px 20px 0px !important;
  }
}

@media (min-width: 321px) and (max-width: 768px) {
  button#mobile-menu-toggle {
    margin: 0px 20px 10px 0px !important;
  }
  nav {
    margin: 0px 20px 20px 0px !important;
  }
}

/* Standard: Verstecke Menü-Button */
.mobile-menu-btn {
  display: none;
  position: relative;
  background: #be0a26;
  color: #fff;
  border: none;
  font-size: 1.1em;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 10px 0 10px;
  z-index: 1001;
}

.close-menu {
  font-size: 1.5em;
  margin-left: 20px;
  cursor: pointer;
  vertical-align: middle;
}

@media (max-width: 768px) {
.mobile-nav-collapsed {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 300px;
  height: 100vh;
  background: #be0a26;
  z-index: 1000;
  padding-top: 60px;
  box-shadow: 2px 0 8px #00000055;
  transition: left 0.3s;
}
  aside h2 {
    display: none;
  }
}

.mobile-nav-open {
  display: block;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from { left: -100vw; }
  to { left: 0; }
}

/* Mobile Button und Nav nur auf kleinen Screens anzeigen */
@media (max-width: 768px) {
  nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
  #mobile-nav {
    display: none;
  }
  #mobile-nav.mobile-nav-open {
    display: block !important;
  }
}

button#mobile-menu-toggle {
    color: #ffffff;
    background-color: #767676;
    font-size: 1em;
    font-weight: bold;
    padding: 5px;
    font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
    letter-spacing: 1px;
    background-image: linear-gradient(#767676 0%, #3B3B3B 100%);
    background-image: -webkit-linear-gradient(#767676 0%, #3B3B3B 100%);
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    -webkit-box-shadow: 0px 4px 4px #9F9F9F;
    -moz-box-shadow: 0px 4px 4px #9F9F9F;
    box-shadow: 0px 4px 4px #9F9F9F;
    margin: 0px 40px 10px 0px;
    width: -webkit-fill-available;
    border-radius: 0px;;
}