#popup-lightbox {
    
    word-wrap: break-word;
    display:none;
    background-color: #fff;
    border: 10px solid #fff;
    z-index: 10000000;
    margin: 0px;
    padding: 30px;
    height: auto;
    width: 100%;
    max-width: 800px;
    max-height: 99%;
    -moz-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

@media (max-width: 767px) {
    #popup-lightbox {
        padding: 30px 20px;
    }
}

.popup-close {
    position: relative;
    top: -40px;
    right: -10px;
    float: right;
    text-align: center;
    z-index: 100;
}

@media (max-width: 767px) {
    .popup-close {
        right: 0;
    }
}

.player .popup-close {
    top: -10px;
    right: 20px;
}

#popup-close {
    position: fixed;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
    color: #555;
    background: #fff;
    cursor: pointer;
}

#popup-close:focus,
#popup-close:hover {
    color: #555;
}

.fluid-width-video-wrapper {
    background: #000;
}

#popup-overlay {
    background: rgba(0,0,0,0.50);
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000;
    top: 0;
    cursor: pointer;
}

.popup-container {
    cursor:pointer;
}
.popup-container .overlay-content,
.base-container {
    display: none;
}
#popup-lightbox .overlay-content div,
#popup-lightbox .overlay-content p {
    display: block;
}
#popup-lightbox .overlay-content span {
    display: inline;
}

.video-popup-resp {
    width: 800px;
    height: 580px;
    min-width: 280px;
    min-height: 214px;
}

@media (max-width: 767px) {
    .video-popup-resp {
        width: 100%;
        height: 100%;
    }
}
