.html5_video video {
  width: 100%;
  height: auto
}

.embedded_video {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  margin: 10px auto;
  clear: both;
}

.videoframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: #000;
}

.videoframe_cookienotice {
  position: absolute;
  background: #fff;
  color: #333;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  text-align: center;
  display: table;
  border: 1px solid #aaa;
}

.videoframe_cookienotice_inner {
  display: table-cell;
  vertical-align: middle;
}

.videoframe_cookienotice_inner div {
  margin: 0 auto;
  max-width: 90%;
}

a.cookie-consent-videobutton {
  position: relative
}

.embedded_video .video-wall {
  width: 100% !important;
}

.embedded_video_title {
  margin: -10px auto 10px auto;
  background: #f1f1f1;
  color: #222;
  padding: 4px 6px;
  font-size: 11px
}

.pd_image_big_inner .videoframe_cookienotice {
  font-size: 11px;
  line-height: 16px;
}

#videoModal .video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

#videoModal .video-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1280px;
  aspect-ratio: 16/9;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
}

#videoModal .close-video {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

#videoBox {
  width: 100%;
  height: 100%;
}

#videoBox iframe,
#videoBox video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

#videoBox .consent-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
}

#videoBox .consent-box a,
#videoBox .consent-box a:link,
#videoBox .consent-box a:visited,
#videoBox .consent-box a:active,
#videoBox .consent-box a:focus {
  color: #fff;
  text-decoration: underline;
}
#videoBox .consent-box a:hover {
  color: #ff3;
}

#videoBox .consent-box button {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 768px) {
  #videoModal .video-container {
    width: 95%;
    aspect-ratio: 16/9;
  }
}
