/* Event Kateogorie Nav */
.eventCategoryListWrap {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: 0 !important;
  width: 100%;
  padding: 0;
  padding-right: 15px !important;
  position: relative;
  z-index: 1;
}

.eventCategoryListWrap .eventCategoryListItem {
  font-family: var(--wp--preset--font-family--allerta-stencil);
  font-weight: var(--uep-font-weight-normal);
  margin: 0.3em 0;
  justify-content: center;
  display: flex;
  height: 40px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.eventCategoryListWrap .eventCategoryListItemLink a {
  text-decoration: none;
  color: var(--wp--preset--color--primary);
}

.eventCategoryListWrap .eventCategoryListItemLink a:hover {
  text-decoration: underline;
  color: var(--wp--preset--color--secondary);
}

.eventCategoryListWrap .eventCategoryListItemImg {}

.eventCategoryListWrap .eventCategoryListItem .eventCategoryListItemLink {
  align-self: center;
  z-index: 2;
  justify-content: center;
  padding: 0.3em;
}

.eventCategoryListWrap .eventCategoryListItem .eventCategoryListItemLink a:hover {
  text-decoration: none;
}

.eventCategoryListWrap .eventCategoryListItem .eventCategoryListItemImg {
  position: absolute;
}

.eventCategoryListWrap .eventCategoryListItem .eventCategoryListItemImg img {
  opacity: 0.2;
}






/* Event List Items */

.uep-events-list {
  padding: 0;
  margin: 15px 0;
}


.uep-events-list .eventList_Month {
  margin: 5rem 0;
  font-family: var(--wp--preset--font-family--allerta-stencil);
  font-weight: var(--uep-font-weight-bold);
  font-size: 2.2rem;
}

/* Veranstaltungsarchiv */
.uep-link-list-wrapper .uep-link-list {
  list-style: none;
}

.uep-link-list-wrapper .uep-link-list .cell_image {
  transform: scale(1.2);
  transform-origin: center;
}

.uep-link-list-wrapper .uep-link-list .cell_image_group {
  transform-origin: center;
}

.uep-link-list-wrapper .uep-link-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 15px 0;
  justify-content: flex-start;
  list-style: none;
}


.uep-link-list-wrapper .uep-link-list li {
/*   display: inline-flex; */
  justify-content: flex-start;
  align-items: center;
  /*   margin: 0 4px -68px 4px; */
  margin: 0 0.5% -8% 0.5%;
  flex-basis: 32%;
}

.uep-link-list-wrapper .uep-link-list li:nth-child(5n-1) {
  /* margin-left: 136px; */
  margin-left: calc(100% / 3 * 0.5 + 0.15rem);
}

.uep-link-list-wrapper .uep-link-list li:last-child {
  margin-bottom: 0px;
}

.uep-link-list-wrapper .uep-link-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.8;
  z-index: 1;
  transition: all .2s ease-in-out;
}

.uep-link-list-wrapper .uep-link-list li a:hover {
  z-index: 9;
  opacity: 1;
  transform: scale(1.1);
  filter: url(#shadow-filter);
}

.uep-link-list-wrapper .uep-link-list li svg {
  width: calc((800px - 24px) / 3);
  max-width: 100%;
  height: auto;

}

.uep-bee-text {
  transform-origin: center;
  font-family: var(--wp--preset--font-family--allerta-stencil);
  color: var(--wp--preset--color--primary);
  /*
  text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
    1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;*/
  text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100%;
  flex-wrap: wrap;
}

.uep-bee-text span {
  font-family: var(--wp--preset--font-family--abel);
}



/* Frontend-Stile */

.page .cell_image {
  transform: scale(1.2);
  transform-origin: center;
}

.page .cell_image_group {
  transform-origin: center;
}

.page ul.link-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 15px 0;
  justify-content: flex-start;
  list-style: none;


}


.page ul.link-list li {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  /*   margin: 0 4px -68px 4px; */
  margin: 0 0.5% -8% 0.5%;
  flex-basis: 32%;
}

.page ul.link-list li:nth-child(5n-1) {
  /* margin-left: 136px; */
  margin-left: calc(100% / 3 * 0.5 + 0.15rem);
}

.page ul.link-list li:last-child {
  margin-bottom: 0px;
}

.page ul.link-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.8;
  z-index: 1;
  transition: all .2s ease-in-out;
}

.page ul.link-list li a:hover {
  z-index: 9;
  opacity: 1;
  transform: scale(1.1);
  filter: url(#shadow-filter);
}

.page ul.link-list li svg {
  width: calc((800px - 24px) / 3);
  max-width: 100%;
  height: auto;

}

.page ul.link-list li text {
  font-size: 18px;
}


/* Link Config  -------------------------------------- start*/
.uep-events-list a {
  text-decoration: none;
  color: var(--wp--preset--color--primary);
}

.uep-events-list a:hover {
  text-decoration: underline;
  color: var(--wp--preset--color--secondary);
}

.uep-events-list article .description-wrap p a:hover {
  text-decoration: none;
  color: var(--wp--preset--color--primary);
}

.uep-events-list article .img-wrap a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 1;
  transition: all .2s ease-in-out;
}

.uep-events-list article .img-wrap a:hover {
  z-index: 9;
  transform: scale(1.1);
  filter: url(#shadow-filter);
}

/* Link Config  -------------------------------------- end*/

.uep-events-list article {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  margin: 2rem 0;
  margin-bottom:6rem;
}

.uep-events-list article .img-wrap {
  flex-grow: 0;
  min-width: 150px;
}

.uep-events-list article .img-wrap img {
  height: 150px;
  width: 150px;
  object-fit: cover;
}

.uep-events-list article .description-wrap {
  flex-grow: 1;
  padding: 0 1rem;
}

.uep-events-list article .description-wrap time {
  display: flex;
  justify-content: space-between;
}

.uep-events-list article .description-wrap time span {}

.uep-events-list article .description-wrap time span:first-of-type {
  font-size: 1rem;
}

.uep-events-list article .description-wrap time span:last-of-type {
  font-size: 1.5rem;
}

.uep-events-list article .description-wrap header {}

.uep-events-list article .description-wrap header h2 {
  margin: 0;
  font-family: var(--wp--preset--font-family--allerta-stencil);
  font-weight: var(--uep-font-weight-normal);
}

.uep-events-list article .description-wrap header h3 {
  margin: 0;
  font-weight: var(--uep-font-weight-normal);
  padding:0.3rem 0 ;
}

.uep-events-list article .description-wrap p {
  margin: 0;
}


.uep-events-list .uep-events-current-running-events-no_event_message {
  display: none;
}


@media (max-width: 992px) {
  .eventCategoryListWrap {
    display: block;
  }

  .uep-events-list article {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    margin: 2rem 0;
    margin-bottom:6rem;
  }

  .uep-events-list article .img-wrap {
    flex-grow: 0;
    min-width: 150px;
    width: 100%;
  }

  .uep-events-list article .img-wrap img {
     height: auto;
    width: 100%;
/* 
    width:300px;
    height: 300px; */
    object-fit: cover;
  }




  
  .uep-events-list article .description-wrap time {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }

  .uep-events-list article .description-wrap time span:first-of-type {
    font-size: 1rem;
    text-align: center;
    display: block;
    flex: 1;

  }

  .uep-events-list article .description-wrap time span:last-of-type {
    font-size: 1.5rem;
    flex: 1;
    text-align: center;
    padding-bottom:1rem;
  }

  .uep-events-list article .description-wrap header h3 {
    margin: 0;
    font-weight: var(--uep-font-weight-normal);
    padding-top:1rem;
    padding-bottom:1rem;

  }


}