/*-------------------------------------------------*/
*[data-popinyoutube] {
  cursor: pointer;
}

@media(max-width:1023px) {
  picture[data-popinvimeo_id] {
    pointer-events: auto !important;
  }

  picture[data-popinvimeo_id] img {
    position: relative;
    z-index: 2;
    pointer-events: none;
  }

  picture[data-popinvimeo_id]::before {
    z-index: 3;
    pointer-events: none;
  }

  picture[data-popinvimeo_id] iframe {
    z-index: 1;
  }
}

.PopinInVideo {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10000;
}

.PopinInVideoBackground {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  z-index: 99;
}

.PopinInVideo[data-open="0"] {
  pointer-events: none;
  opacity: 0;
}

.PopinInVideo[data-open="1"] {
  display: block;
  opacity: 1;
}

.PopinInVideo .Video {
  padding: 32px 8px;
  width: 100vw;
  height: calc(40px + (100vw - 16px) * 520 / 928);
  background-color: #212121;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 1024px) {
  .PopinInVideo .Video {
    padding: 40px 60px;
    width: 1048px;
    height: 600px;
    border-radius: 20px;
  }
}

.PopinInVideo .video-iframe {
  width: 100%;
  height: 100%;
  position: relative;
}

.ClosePopinVideo {
  width: 14px;
  height: 14px;
  font-size: 0px;
  position: absolute;
  right: 13px;
  top: 13px;
  cursor: pointer;
  background-image: url(./close.svg);
  background-size: 100% 100%;
  z-index: 2;
  filter: invert();
}

@media (max-width: 1023px) {
  .ClosePopinVideo {
    right: 9px;
    top: 9px;
  }
}