.vimeo-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0, 0, 0, 0.75);
  z-index: 12000;
  justify-content: center;
  align-items: center;
}


.vimeo-modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  z-index: 12010;
  max-height: calc(90dvh - 1rem);
}


.vimeo-video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


.vimeo-close {
  position: absolute;
  top: 20px;
  right: 48px;
  z-index: 12100;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .15s ease, transform .12s ease;
}

.vimeo-close svg {
  display: block;
  width: 18px;
  height: 18px;
}

.vimeo-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.vimeo-close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
}

@media screen and (min-width:260px) and (max-width:767px) {
  .vimeo-close {
    position: absolute;
    top: 48px;
    right: 8px;
    width: 30px;
    height: 30px;
  }
}


@media(max-width: 767px) {
    .custom-popup-view-video .popup-close {
        right: 0;
        top: -20px;
    }
    .custom-popup-view-video .vid_diagnosis_support {
        max-height: calc(80dvh - 1rem);
    }
}

@media only screen and (max-width: 767px) and (orientation: landscape) {
    .custom-popup-view-video .popup-close {
        right: 0;
        top: -20px;
    }
     .custom-popup-view-video.vid_diagnosis_support.visible {
        max-width: 60%;
    }
}
@media(max-width: 991px) {
    .custom-popup-view-video.vid_diagnosis_support.visible {
        max-width: 100%;
    }
}
@media(min-width: 2000px) {
.custom-popup-view-video.visible{
    max-width: 800px; 
}
}
@media (min-height: 360px) and (max-height: 500px) {
    .custom-popup-view-video.vid_diagnosis_support.visible {
        max-width: 60%;
    }
}

.vimeo-video-wrapper {
    max-height: calc(90dvh - 1rem);
}

@media (min-width: 1300px) {
.custom-video-popup-close-cta {
    margin-top: 19px;
    margin-left: -10px;
}
}