/* Video ohne Cookie ------------------------------------------------------------------------------------------------------------------------*/


/* Youtube-Video-Block */
.yt-video {
  position: relative;
  overflow: hidden;
}
.yt-thumbnail {
  position: relative;
  cursor:pointer;
}
.yt-thumbnail .yt-thumbnail-mobile, .yt-thumbnail .yt-thumbnail-desktop {
  padding-top: 56.25%;
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  width:100%;
}
.yt-thumbnail .yt-thumbnail-mobile{
    display: block;
}
.yt-thumbnail .yt-thumbnail-desktop{
    display: none;
}
.yt-video .yt-video-button{
  width:80px;
  height:80px;
  position: absolute;
  top:calc(50% - 40px);
  left:calc(50% - 40px);
  border:4px solid black;
  background-color:#F7F1A2;
  border-radius: 9999px;
  transition: 0.2s;
  display: block!important;
}
.yt-video .yt-video-button:hover{
  background-color:#A6DBF7;
  transform:scale(110%);
}
.yt-content.is-overlay:not(.yt-not-visible) {
  display: flex;
  align-items: center;
  z-index: 100;
}
.yt-video .yt-content iframe{
  width: 100%;
  display: block;
}
.yt-video .yt-video-button .ytp-large-play-button-outline {
  fill:black;
  width: 70px;
  height: auto;
}
.yt-video:hover .yt-video-button .ytp-large-play-button-outline {
  fill:black;
}
.yt-not-visible {
  display:none;
}
.yt-content.is-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
}
.overlay_back {
  margin: 0 !important;
  background-color: rgba(0,0,0,0.7);
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  z-index: -2;
  cursor: pointer;
}
.overlay_close {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  cursor: pointer;
}
.overlay_close::before, .overlay_close::after {
  height: 4px;
  position: absolute;
  content: "";
  width: 30px;
  background-color: #fff;
  transform: rotate(45deg);
  top: 38px;
  left: 8px;
}
.overlay_close::after {
  transform: rotate(-45deg);
}

@media only screen and (min-width: 900px) {
  .yt-content.is-overlay iframe {
    width: 80%;
    margin: 0 auto;
    max-height: 100%;
  }
}
