/* Videoboard, links Video, rechts Icons*/
/* Videoboard, 3 columns */
.woelfe body {
  background-size: cover;
}
.video {
  position: relative;
  padding-top: 4.1%;
  padding-bottom: 51.95%;
  height: 0;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  min-height: 0%;
}

.video-gallery {
  margin-top: 3em;
  position: relative;
  width: 100%;
}
.video-gallery .video {
  animation: 1200ms fadeOut ease;
  animation-fill-mode: both;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-row-end: 7;
  max-height: 19.5em;
  opacity: 0;
  transition: all 300ms ease;
}
.video-gallery input[type=radio] {
  font-size: 0;
  height: 0;
  opacity: 0;
  padding: 0;
  position: fixed;
  width: 0;
}
.video-gallery input {
  grid-column-start: 1;
  grid-row-start: 1;
}
.video-gallery label {
  color: #000000;
  font-size: 1.25em;
  font-weight: 400;
  grid-column-start: 2;
  margin: 0 !important;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px solid #CCCCCC;
}
.video-gallery label:last-of-type {
  border: 0 none;
}
.video-gallery input[type=radio]:checked + label {
  color: #E41F35 !important;
}
.video-gallery input[type=radio]:checked + label:before {
  content: "▶";
  left: 0;
  top: 12px;
  position: absolute;
}

.grid-row {
  display: block;
  height: 56vw;
  max-height: 19.5em;
  position: relative;
}
.grid-row label {
  left: calc(50% + 16px);
  position: relative;
  width: calc(50% - 16px);
}
.grid-row .video {
  padding: 0;
  position: absolute;
  top: 0;
  width: 0;
}
.grid-row:after {
  content: "";
  clear: both;
  display: table;
}

#video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4, #video-5:checked ~ .video-5, #video-6:checked ~ .video-6 {
  animation: 1200ms fadeIn ease;
  animation-fill-mode: both;
  opacity: 1;
  width: 50%;
}

@keyframes fadeOut {
  0% {
    display: block;
    height: 56vw;
    opacity: 1;
    width: 50%;
  }
  25% {
    display: block;
    height: 56vw;
    opacity: 1;
    width: 50%;
  }
  49% {
    display: block;
    height: 56vw;
    opacity: 0;
    width: 50%;
  }
  50% {
    display: none;
    height: 0;
    opacity: 0;
    width: 0;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    width: 0;
  }
  49% {
    display: none;
    height: 0;
    opacity: 0;
    width: 0;
  }
  50% {
    display: block;
    height: 56vw;
    opacity: 0;
    width: 50%;
  }
  100% {
    display: block;
    height: 56vw;
    opacity: 1;
    width: 50%;
  }
}
@supports (display: grid) {
  .grid-row {
    align-items: start;
    display: grid;
    grid-column-gap: 16px;
    grid-row-gap: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
  }
  .grid-row label {
    left: auto;
    width: 100%;
  }
  .grid-row .video {
    position: relative;
    width: 100%;
  }
  @keyframes fadeOut {
    0% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 100%;
    }
    25% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 100%;
    }
    49% {
      display: block;
      height: 56vw;
      opacity: 0;
      width: 100%;
    }
    50% {
      display: none;
      height: 0;
      opacity: 0;
      width: 0;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
      width: 0;
    }
    49% {
      display: none;
      height: 0;
      opacity: 0;
      width: 0;
    }
    50% {
      display: block;
      height: 56vw;
      opacity: 0;
      width: 100%;
    }
    100% {
      display: block;
      height: 56vw;
      opacity: 1;
      width: 100%;
    }
  }
}
@media (max-width: 767px) {
  .video-gallery {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .video-gallery label {
    left: auto;
    order: 2;
    width: 100%;
  }
  .video-gallery .video {
    order: 1;
    padding-top: 4.1%;
    padding-bottom: 51.95%;
    position: relative;
    top: auto;
    width: 100%;
  }

  #video-1:checked ~ .video-1, #video-2:checked ~ .video-2, #video-3:checked ~ .video-3, #video-4:checked ~ .video-4, #video-5:checked ~ .video-5, #video-6:checked ~ .video-6 {
    width: 100%;
  }

  @keyframes fadeOut {
    0% {
      display: block;
      height: 56vw;
      opacity: 1;
    }
    25% {
      display: block;
      height: 56vw;
      opacity: 1;
    }
    49% {
      display: block;
      height: 56vw;
      opacity: 0;
    }
    50% {
      display: none;
      height: 0;
      opacity: 0;
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    49% {
      display: none;
      height: 0;
      opacity: 0;
    }
    50% {
      display: block;
      height: 56vw;
      opacity: 0;
    }
    100% {
      display: block;
      height: 56vw;
      opacity: 1;
    }
  }
}

* {
box-sizing: border-box;
}

/* Medienboard 3 colums, header und footer */
/* Style the header */
/* Hintergrundbild Wolf*/
#woelfe {
 /*background-image:linear-gradient(#0a0a0a 11%, #333333 89%);*/
 background-color: #000000;
}
  .Untertitel-wolf {
    font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
    font-size: 1.5em;
    line-height: 1.3333333;
    margin: 0.75em 0;
    font-weight: normal;
    font-style: italic;
    position: relative;
    z-index: 1;
  }
.wolf{
  display:inline-block;
  max-width: 100%;
  width: 100%;
  height:120%;
  margin-right: 0.3em;
  position: absolute;
  top: -120px;
}
.header {
background-color: #333;
padding: 10px;
text-align: center;
font-size: 12px;
}

/* Create three unequal columns that floats next to each other */
.column {
float: left;
padding: 10px;
}
  .fok-wolf {
    color: #b7b;
    padding: 14px;
    font-size: 0.8571429em;
    font-style:italic;
  }
/* Left and right column */
.column.side {
width: 15%;
}
#column-side-1 p{
color: #CFE;
font-size: 12px;
text-align: center;
padding-top: 0;
position: relative;
margin: 0;
}
#column-side-2 p{
color: #CFE;
font-size: 12px;
text-align: center;
padding-top: 0;
position: relative;
margin: 0;
}
/* Middle column */
.column.middle {
width: 70%;
text-align: center;
background-color: darkslategrey;
}
.column.middle img{
object-fit: cover;
    width: 100%;
    height: 100%;
}
.column.middle video{
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    vertical-align: middle;

}
.column.middle audio{
  width: 67%; 
  position: relative; 
  top: 50%; 
  transform: translateY(-50%);
}
.column.middle svg{
width: 100%;
height: 100%;
}
      #media-viewer {
    position: relative;
    width: 70%;
    height: auto; /* Die Höhe automatisch an den Inhalt anpassen */

}

iframe {
    width: 100%;
    height: auto;
    border: none;
}

/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}

/* Style the footer */
.fok {
padding: 10px;
text-align: center;
}
#imagelist img {
margin:5px;
height:80px;
width: 80px;
}
#imagelist ul, li {
display:inline-block;
margin-top: -3px;
text-align: center;
}
#imagelist label {
font-size:8px;
color: black;
margin:-8px; 
}
input[type=checkbox] {
    transform: scale(0.5);
}
  .Artikel-wolf figure, figcaption{
    display: block; 
    text-align: center;
  }
  .Artikel-wolf p{
    font-size: 20px;
    line-height: 1.8;
    margin: 0px 22px 16px 22px;
    position: relativ;
  }
  .Artikel-wolf h3{
    font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
    font-size: 26px;
    margin: 32px;
    font-style: italic;
    position: relative;
    text-align: center;
  }
  .Artikel-wolf img{
    max-width: 100%;
    position: relative;
  }

  .Artikel-wolf h2{
    font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
    font-size: 42px;
    max-width: 100%;
    position: relative;
    top: -40px;
    margin-left: 12px;
    font-weight: bolder;
    font-style: italic;
    text-align: center;
    z-index: 1;
  }
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.column.middle {
width: 100%;
}
.column {
  float: left;
  padding: 3px;
}
  .Artikel-wolf h2{
    max-width: 100%;
    position: relative;
    text-align: center;
  }
.row:after {
content: "";
display: table;
clear: both;
}
#Sprungziel {
display: flex;   
justify-content: center;   
align-items: center;
}
#media-viewer {
  position: relative;
  width: 100%;
  height: auto;

}
.wolf{
  display:inline-block;
  max-width: 100%;
  width: 100%;
  height:100%;
  margin-right: 3px;
}
 
.column.middle iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
#column-side-1 p{
color: #CFE;
font-size: 12px;
text-align: center;
padding: 0 3px;
}
#column-side-2 p{
color: #CFE;
font-size: 12px;
text-align: center;
padding: 0 3px;
}
#imagelist img {
  margin: 10px;
  width: 40px;
  height: 40px;
}
}