.youtube {
  position: relative;
}
.youtube .youtube__media .youtube__content {
  line-height: 0px;
}
.youtube .youtube__media .youtube__content iframe {
  width: 100%;
  aspect-ratio: 16/9;
}
.youtube .youtube__media .youtube__inner-wrap {
  background-color: #0099C2;
  padding: 30px 0;
  text-align: center;
}
.youtube .youtube__media.inactive .youtube__inner-wrap {
  position: relative;
  padding: 0;
  background-color: transparent;
}
.youtube .youtube__media.inactive .youtube__inner-wrap:before {
  content: " ";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 61, 102, 0.2);
}
@media only screen and (max-width: 992px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap:before {
    display: none;
  }
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview {
  display: block;
  width: 100%;
  height: auto;
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--video {
  max-height: 750px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media only screen and (max-width: 1200px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--video {
    aspect-ratio: 16/9;
  }
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--image {
  min-height: 380px;
}
@media only screen and (max-width: 576px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--image {
    min-height: initial;
  }
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--image img {
  width: 100%;
  height: auto;
  max-height: 750px;
  -o-object-fit: cover;
  object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--image img {
    height: 100%;
    min-height: 380px;
    aspect-ratio: initial;
  }
}
@media only screen and (max-width: 576px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__preview.youtube__preview--image img {
    min-height: initial;
  }
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__text {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 920px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: ease-in-out opacity 0.3s;
}
@media only screen and (max-width: 1200px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__text {
    bottom: 50px;
    max-width: initial;
    width: 90%;
  }
}
@media only screen and (max-width: 992px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__text {
    position: relative;
    bottom: initial;
    opacity: 1;
    pointer-events: initial;
    top: -50px;
    width: 80%;
    color: #000000;
    background-color: #ffffff;
    border: 10px solid #ffffff;
  }
}
@media only screen and (max-width: 576px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__text {
    width: 100%;
  }
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__text p {
  margin: 0;
}
.youtube .youtube__media.inactive .youtube__inner-wrap .youtube__enable-source {
  width: 164px;
  height: 164px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  background-image: url(../Images/External-Source-Play.svg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
}
@media only screen and (max-width: 992px) {
  .youtube .youtube__media.inactive .youtube__inner-wrap .youtube__enable-source {
    width: 82px;
    height: 82px;
    top: calc(50% - 100px);
  }
}
.youtube .youtube__media.inactive:hover .youtube__text {
  opacity: 1;
  pointer-events: initial;
}
.youtube .youtube__media .youtube__inner-wrap .youtube__preview {
  display: none;
}