.video-popup__target-container {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.788);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 100;
}
.video-popup__target-container.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.video-popup__target-inner {
  position: relative;
  width: 90%;
  max-width: 600px;
  margin: auto;

  border-radius: 0.25em 0.25em 0.4em 0.4em;
  text-align: center;

  -webkit-transform: translateY(-40px);
  -moz-transform: translateY(-40px);
  -ms-transform: translateY(-40px);
  -o-transform: translateY(-40px);
  transform: translateY(-40px);
  /* Force Hardware Acceleration in WebKit */
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
  top: 30%;
}

.video-popup__close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
}
.video-popup__close::before,
.video-popup__close::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 14px;
  height: 3px;
  background-color: #003050;
}
.video-popup__close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 8px;
}
.video-popup__close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}
.is-visible .video-popup__target-inner {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

video.video-popup_content {
  width: 100%;
  object-fit: cover;
  height: auto;
  cursor:pointer;
}

.video_thumbnail {
  width: 100%;
  border-radius: 10px;
}

figure.video-popup__play-button {
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 60px;
  transition: 0.3s;
  width: 60px;
  margin: auto;
}

figure.video-popup__play-button svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  fill: #fff;
  stroke: #fff;
  transition: 0.3s;
}

.video-popup_mian-container {
  position: relative;
}
.no-visible {
  display: none;
}

.playpause {
  transition: unset;
cursor:pointer;
  width: 66px;
  height: 73px;
  background-size: 100%;
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}
.playpause:hover {
  background-repeat: no-repeat;
}
.video-popup__title {
  margin-bottom: 30px;
}
