.newsItem {
  padding-top: 2em;
  padding-bottom: 2em;
  scroll-margin-top: 1.5rem;
}

.newsTeaserText {
  font-size: 1.25rem;
  position: relative;
}

.newsDate {
  position: absolute;
  top: 0;
  right: 0.75em;
  text-align: right;
}

.newsTeaserImg img {
  width: 100%;
  height: auto;
}

.newsTeaserVideo,
.contentvid {
  width: 100%;
  height: auto;
  display: block;
}

.newsTeaserImg {
  text-align: center;
}
.newsTeaserImg:has(.is-portrait) {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Portrait / 9:16 news videos (e.g. Schmotziger Dunschdig) */
.newsTeaserVideo.is-portrait,
.contentvid.is-portrait,
.popupvid.is-portrait {
  width: auto;
  max-width: 100%;
  max-height: 45vh;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.imagepopUP.VidpopUP:has(.is-portrait) {
  text-align: center;
}

.moreLink {
  margin: 2em 1em 0 0;
  padding: 0.5em;
  border-radius: 0.5em;
  background: #005098;
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
  display: inline-block;
}

.moreLink:hover {
  color: #fff;
  background: rgba(0, 80, 152, 0.8);
  text-decoration: none;
}

.newsListBox .oddItem {
  background: rgb(0, 80, 152);
  color: #fff;
}

.newsListBox .oddItem h2,
.newsListBox .oddItem p {
  color: #fff;
}

.newsListBox .oddItem a {
  color: #fff;
}

.newsListBox p a {
  color: #005098;
}

.newsListBox .oddItem .moreLink {
  background: #fff;
  color: #005098;
  border: 2px solid #fff;
}

.newsListBox .oddItem .moreLink:hover {
  background: rgba(255, 255, 255, 0.6);
}

.imagepopUP {
  display: none;
  position: fixed;
  top: 12vh;
  left: 20%;
  width: 60%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 175;
  background: #fff;
  border-radius: 0.25em;
  border: 2px solid #005098;
  padding: 0.5em;
  box-shadow: 1px 9px 17px 5px rgba(0, 0, 0, 0.41);
}

.popupvid {
  width: 100%;
  height: auto;
}

.popClose {
  float: right;
  width: 1.2em;
  margin-bottom: 1.5em;
}

.popClose img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 9999;
}

.contcarusel .carousel-indicators,
.contentSlide .carousel-indicators {
  bottom: 1em;
  top: inherit;
}

.contcarusel .carousel-indicators [data-bs-target],
.contentSlide .carousel-indicators [data-bs-target] {
  width: 1.5em;
  height: 1.5em;
  margin: 0 0.25em;
  padding: 0;
  text-indent: -999px;
  background: url("./kovacic_route_weiss_200x200.svg") center/contain no-repeat;
  background-color: transparent;
  border: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0;
  opacity: 0.5;
  box-shadow: none;
}
.contcarusel .carousel-indicators [data-bs-target].active,
.contentSlide .carousel-indicators [data-bs-target].active {
  opacity: 1;
}

.contcarusel .carousel-control-next-icon,
.contcarusel .carousel-control-prev-icon,
.contentSlide .carousel-control-next-icon,
.contentSlide .carousel-control-prev-icon {
  width: 25px;
  height: 25px;
  filter: none;
}

.contcarusel .carousel-control-next,
.contcarusel .carousel-control-prev,
.contentSlide .carousel-control-next,
.contentSlide .carousel-control-prev {
  width: 5%;
  opacity: 1;
}

.contcarusel .carousel-control-next-icon,
.contentSlide .carousel-control-next-icon {
  background-image: url("./pfeil_rechts_blau_200x200.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.contcarusel .carousel-control-prev-icon,
.contentSlide .carousel-control-prev-icon {
  background-image: url("./pfeil_links_blau_200x200.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

@media only screen and (min-width: 1000px) {
  .newsTeaserImg.mobile {
    display: none;
  }
}

@media only screen and (max-width: 999px) {
  .newsDate {
    position: static;
    margin-bottom: 0.75em;
    text-align: left;
  }
  .imagepopUP {
    left: 5%;
    width: 90%;
  }
  .newsTeaserImg.desktop {
    display: none;
  }
  .contcarusel .carousel-indicators,
  .contentSlide .carousel-indicators {
    bottom: 1em;
  }
}