/* Estilos para modal de vídeo personalizado */

.mfp-video-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    overflow-x: hidden;
}

.mfp-video-wrap .mfp-container {
    padding: 40px;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    box-sizing: border-box;
}

.mfp-video-wrap .mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    max-width: 85%;
    top: 50%;
    transform: translateY(-50%);
}

.mfp-video-wrap .mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: -44px;
    text-decoration: none;
    text-align: center;
    opacity: 0.8;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.mfp-video-wrap .mfp-close:hover {
    opacity: 1;
}

.mfp-video-wrap .video-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
}

.mfp-video-wrap video {
    display: block;
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .mfp-video-wrap .mfp-container {
        padding: 20px;
    }
    .mfp-video-wrap .mfp-content {
        max-width: 95%;
    }
}