
.fancybox-popup {
        display: none;
        background:#163561;
        color: #FFF;
    position: fixed !important;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999991;
        max-width: 90% !important;
        outline: none;
        padding: 40px 40px 20px 40px !important;
        width: 80%;
        max-height: 90%;
        overflow-y: auto !important;
        max-width: 1100px !important;
        transition: opacity 0.3s ease-in-out;
}

.pop-up-cont {
    display: flex;flex-direction: row;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    
    .pop-up-content {
        width: 100%;
    }
    img {
        margin-right: 50px;
        max-width: 35%;
    }
    
    h2 {
        color: #FFF !important; text-align: left !important;
    }
    
    p {
        color:#FFF;
    }
    li {color: #FFF !important;}
}

.pop-up-content {}

.wplightbox-content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
}

.fancybox-slide--html .fancybox-close-small {
    right: 10px !important;
    top: 10px !important;
}

/* Background Overlay */
.wplightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


/* When active, make the lightbox and background visible */
.wplightbox-content.content.active {
    display: block;
    opacity: 1;
}

.wplightbox-overlay.active {
    display: block;
    opacity: 1;
}

/* Prevent scrolling */
.wplightbox-open {
    overflow: hidden;
}
