
.videopopupjs {
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
}

.videopopupjs__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 1300px;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.videopopupjs__close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: block;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.59);
}

.videopopupjs__content iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.videopopupjs--hide {
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: videoPopupJsHide;
    animation-name: videoPopupJsHide;
}

.videopopupjs__close:after {
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    content: 'X';
    font-family: 'Verdana';
    border-radius: 50%;
    background: #333;
    line-height: 2.2;
    font-size: 13px;
}

.videopopupjs__close:hover {
    opacity: 0.5;
}

.videopopupjs--animation {
    opacity: 0;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: videoPopupJs;
    animation-name: videoPopupJs;
}

.videopopupjs__block--notfound {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 100%;
    height: 500px;
    background-color: #fff;
    text-align: center;
    vertical-align: middle;
    line-height: 500px;
    font-family: 'Arial';
    font-size: 20px;
}

@media (orientation: portrait) {
    
    .videopopupjs__content {
        max-width: 90%;
    }
}

@media (orientation: landscape) and (max-width: 1024px) {
    
    .videopopupjs__content {
        padding-bottom: 35%;
    }
}

@-webkit-keyframes videoPopupJs {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes videoPopupJs {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes videoPopupJsHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes videoPopupJsHide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

