.custom-popup-view-video {
    position: fixed;
    width: 70%;
    z-index: 1000;
    left: 50%;
    top: 50%;
    padding: 0;
    display: none;
    margin: auto;
    max-width: 100%;
    border-radius: 10px;
    transform: translate(-50%, -50%);
}

.custom-overlay-video-cover{
           z-index: 1000;
    }

.custom-popup-view-video .popup-content {
    top: 116px;
    width: 97%;
    min-height: unset;
    background-color: transparent;
    display: flex;
    justify-content: center;
    padding: 0 0 20px 0;
}
.custom-popup-view-video .popup-close {
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url(../images/popup-close.png);
    background-size: 16px;
    right: -20px;
    top: 5px;
    display: inline-block;
    z-index: 1000;
    opacity: 1;
}

@media screen and (min-width:1280px) {
    .custom-popup-view-video {
        top: 55%;
        width: 65%;
        max-width: unset;
    }
}

@media (max-width: 1024px) {
    .custom-popup-view-video .popup-content {
        width: 100%;
    }
    .custom-popup-view-video .popup-close {
        right: 0px;
        top: -20px;
    }
    .custom-overlay-video-cover {
        top: 0;
    }
    .externalpopup .popup-content {
        width: 100%;
    }
    .externalpopup .popup-close {
        right: 0px;
        top: -20px;
    }
    .custom-external-overlay-cover {
        top: 0;
    }
}
@media (max-width: 992px) {
    .custom-overlay-video-cover{
           z-index: 999;
    }
}
@media (max-width: 767px) {
    .custom-popup-view-video {
        width: 90%;
    }
}

@media(max-width: 390px) {
    .custom-popup-view-video .popup-content {
        padding: 0 0 20px 0;
    }
    .custom-popup-view-video {
        margin: 10px auto;
    }
}