/* coding: utf-8 */
div[data-type="youtube"] {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  padding-top: 56.25%;
  /*border: 1px solid #000;*/
}
[data-type="youtube"] .title,
[data-type="youtube"] .cookiebot,
[data-type="youtube"] .external {
  font-family: Arial, Helvetiva, sans-serif;
  text-align: center;
}
[data-type="youtube"] .title {
  position: absolute;
  top: 5px;
  padding: 0 80px;
  color: #fff;
  text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em black;
}

[data-type="youtube"] .cookiebotWrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
}
[data-type="youtube"] .cookiebot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  color: #fff;
  background-color: rgba(0,0,0,0.6);
  padding: 30px 20px;
  cursor: pointer;
}
[data-type="youtube"] .external {
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  background-color: rgba(0,0,0,0.6);
  padding: 30px 20px;
  cursor: pointer;
  box-sizing: border-box;
}
[data-type="youtube"] div.play {
  background: #333;
  border-radius: 50% / 10%;
  color: #fff;
  font-size: 2em;
  height: 1.5em;
  width: 2em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
[data-type="youtube"] div.play:hover {
  background: red;
}
[data-type="youtube"] div.play::before {
  background: inherit;
  border-radius: 5% / 50%;
  bottom: 9%;
  content: "";
  left: -5%;
  position: absolute;
  right: -5%;
  top: 9%;
}
[data-type="youtube"] div.play::after {
  border-style: solid;
  border-width: 1em 0 1em 1.732em;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  content: " ";
  font-size: 0.35em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
}
