﻿body.lightbox-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* LightBox */
#lightboxContainer, .lightboxContainer {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%; 
    z-index:100;
    display:flex;
    align-items: center;
    justify-content: center;
    /*animation: fadeIn 0.3s ease;*/
}

 @keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

 @keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translate(0);
    } 
}

#lightboxBackdrop, .lightboxBackdrop {
    position:fixed; 
    top:0;
    left:0;
    width:100%; 
    height:100%; 
    background-color:rgba(0,0 , 0, 0.6); 
    backdrop-filter: blur(4px);
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.3s ease;
    
}
#lightboxContent, .lightboxContent {
    position: absolute;
top:auto !important;
left: auto !important;
    width: 90%;
    max-width: 650px;
    max-height: 100vh;
    padding: 10px !important;
    background-color: #FFFFFF;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: slideUP 0.3s ease;
    border-radius: 12px;
    z-index: 900;
   /* overflow-y: scroll; */
}
.lightboxPanel {
    position:relative; 
top:auto !important;
left: auto !important;
    width:90%;
    max-width:600px;
    max-height: 90vh;
    background-color:#FFFFFF; 
    border-radius:12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index:900;
    padding: 24px;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.lightboxAlert {
    position:relative; 
top:auto !important;
left: auto !important;
    width:90%; 
    max-width:590px; 
    background-color:#FFFFFF;
    border-radius:12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index:900;
    padding:24px;
    animation: slideUp 0.3s ease;
}
#lightboxContent div
/*, table, tr, th, td, tbody, span, b, h2*/
{
    z-index:100;
}
#speakerName {
    padding-bottom:12px; 
    font-size:24px; 
    line-height:28px; 
    color:#005397; 
    font-family:Georgia;
    font-weight:600;
}
#speakerHeadshot {
    margin-right:24px; 
    border-radius:12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#lightboxTitle {
    padding-bottom:16px; 
    font-size:24px; 
    color:#005397; 
    font-family:Georgia;
    line-height:28px;
    font-weight:600;
}

#lightboxButton {
    padding-top:16px; 
    text-align:right;
    border-top: 1px solid #e0e0e0;
    margin-top: 16px;
}
.lightboxHeader {
    padding-bottom:16px; 
    font-size:24px; 
    line-height:28px; 
    color:#005397; 
    font-family:Georgia,serif;
    font-weight:600;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 16px;
}
.lightboxBio {
    font-size:14px;
    line-height:22px; 
    max-height:500px; 
    overflow-y:auto; 
    overflow-x:hidden;
    padding-right: 8px;
}

/* Custom scrollbar for lightbox content */
.lightboxBio::-webkit-scrollbar {
    width: 8px;
}

.lightboxBio::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius:4px;
}

.lightboxBio::-webkit-scrollbar-thumb {
    background: #888;
    border-radius:4px;
} 

.lightboxBio::-webkit-scrollbar-thumb::hover{
    background: #555;
}

.lightboxDivider {
    text-align:center;
    margin: 16px 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
}

/* Close Button for lightbox */

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

    .lightbox-close:hover {
        background: #005397;
        transform: rotate(90deg);
    }

        .lightbox-close:hover::before,
        .lightbox-close:hover::after {
            background-color: #fff;
        }

    .lightbox-close::before,
    .lightbox-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        background-color: #000;
    }

    .lightbox-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .lightbox-close::after {
        transform: translate(-50%,-50%) rotate(-45deg);
    }

/* Lightbox Container */
/*@media print {


    IMG {
        display: none;
    }

    .headerContainer {
        display: none;
    }

    .toolbarContainer {
        display: none;
    }

    .titleBackground {
        display: none;
    }

    .footerMainContainer {
        display: none;
    }

    .footerBackground {
        display: none;
    }

    .footerCopyright {
        display: none;
    }

    .footerListContainer {
        display: none;
    }

    .contentSubContainer {
        display: none;
    }


    .lightboxPrint {
        display: inline !important;
        float: left !important;
        top:0px  !important;
        left:0px  !important;
        width: 1000px  !important;
        height: 800px  !important;

        z-index: 600  !important;
        border: 2px solid black  !important;
        color: #000000  !important;
    }
    .lightboxPrint th, td {
        color: #000000  !important;
    }
    input[type=image] {
        display:none !important;
    }
}
*/