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


/* Youtube-Video-Block */
.videoohnecookie {
  position: relative;
  overflow: hidden;
}
.videoohnecookie-thumbnail {
  position: relative;
  cursor:pointer;
}
.inner-content div.videoohnecookie-thumbnail {
  margin-bottom: 0;
}
.videoohnecookie-thumbnail .videoohnecookie-thumbnail-mobile, .videoohnecookie-thumbnail .videoohnecookie-thumbnail-desktop {
  padding-top: 56.25%;
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  width:100%;
}
.videoohnecookie-thumbnail .videoohnecookie-thumbnail-mobile{
    display: block;
}
.videoohnecookie-thumbnail .videoohnecookie-thumbnail-desktop{
    display: none;
}
.videoohnecookie .videoohnecookie-button{
  width:70px;
  height:auto;
  position: absolute;
  top: 50%;
  left:50%;
  transform: translateY(-50%) translateX(-50%);
  border: 2px solid #fff;
  border-radius: 14px;
}
.videoohnecookie-content.is-overlay:not(.videoohnecookie-not-visible) {
  display: flex;
  align-items: center;
}
.videoohnecookie .videoohnecookie-content iframe{
  width: 100%;
  display: block;
}
.videoohnecookie .videoohnecookie-button .ytp-large-play-button-outline {
  fill:#fff;
  width: 70px;
  height: auto;
}
.videoohnecookie:hover .videoohnecookie-thumbnail-desktop, .videoohnecookie:hover .videoohnecookie-thumbnail-mobile{
  /*opacity: 0.8;*/
}
.videoohnecookie:hover .videoohnecookie-button .ytp-large-play-button-outline {
  fill:#fff;
}
.videoohnecookie-not-visible {
  display:none;
}
.videoohnecookie-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: 2px;
  position: absolute;
  content: "";
  width: 40px;
  background-color: #fff;
  transform: rotate(45deg);
  top: 30px;
  left: 8px;
}
.overlay_close::after {
  transform: rotate(-45deg);
}

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