﻿
.navbar1 {
    padding: 0;


}

    .navbar1 ul {
        margin: 0;
        padding: 10px;
        display: flex;
        list-style: none;
        align-items: center;
        background-color: #266a6c;
        border-bottom: 1px solid #e0e0e0;
    }

    .navbar1 li {
        position: relative;
    }

    .navbar1 a, .navbar1 a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0 10px 30px;
        font-family: "Roboto", sans-serif;
        font-size: 16px;
        color: white;
        white-space: nowrap;
        transition: 0.3s;
        text-transform: uppercase;
        font-weight: 600;
    }

        .navbar1 a i, .navbar1 a:focus i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

        .navbar1 a:hover, .navbar1 .active, .navbar1 .active:focus, .navbar1 li:hover > a {
            color: #ffcccb;
        }

    .navbar1 .dropdownEBM ul {
        display: block;
        position: absolute;
        left: 14px;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
        transition: 0.3s;
        border-radius: 4px;
        background-color: #266a6c;
    }

        .navbar1 .dropdownEBM ul li {
            min-width: 200px;
        }

        .navbar1 .dropdownEBM ul a {
            padding: 10px 20px;
            text-transform: none;
        }

            .navbar1 .dropdownEBM ul a i {
                font-size: 12px;
            }

            .navbar1 .dropdownEBM ul a:hover, .navbar1 .dropdownEBM ul .active:hover, .navbar1 .dropdownEBM ul li:hover > a {
                color: #ffcccb;
            }


    .navbar1 .dropdownEBM:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar1 .dropdownEBM .dropdownEBM ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar1 .dropdownEBM .dropdownEBM:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }

@media (max-width: 1366px) {
    .navbar1 .dropdownEBM .dropdownEBM ul {
        left: -90%;
    }

    .navbar1 .dropdownEBM .dropdownEBM:hover > ul {
        left: -100%;
    }
}


.mobile-nav-toggle1 {
    color: #555555;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

    .mobile-nav-toggle1.bi-x {
        color: #fff;
    }

@media (max-width: 991px) {
    .mobile-nav-toggle1 {
        display: block;
    }

    .navbar1 ul {
        display: none;
    }
}

.navbar-mobile1 {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(60, 60, 60, 0.9);
    transition: 0.3s;
    z-index: 999;
}

    .navbar-mobile1 .mobile-nav-toggle1 {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .navbar-mobile1 ul {
        display: block;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        border-radius: 8px;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
    }

    .navbar-mobile1 a, .navbar-mobile1 a:focus {
        padding: 10px 20px;
        font-size: 15px;
        color: #555555;
    }

        .navbar-mobile1 a:hover, .navbar-mobile1 .active, .navbar-mobile1 li:hover > a {
            color: #3fbbc0;
        }

    .navbar-mobile1 .dropdownEBM ul {
        position: static;
        display: none;
        margin: 10px 20px;
        padding: 10px 0;
        z-index: 99;
        opacity: 1;
        visibility: visible;
        background: #fff;
        box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    }

        .navbar-mobile1 .dropdownEBM ul li {
            min-width: 200px;
        }

        .navbar-mobile1 .dropdownEBM ul a {
            padding: 10px 20px;
        }

            .navbar-mobile1 .dropdownEBM ul a i {
                font-size: 12px;
            }

            .navbar-mobile1 .dropdownEBM ul a:hover, .navbar-mobile1 .dropdownEBM ul .active:hover, .navbar-mobile1 .dropdownEBM ul li:hover > a {
                color: #3fbbc0;
            }

    .navbar-mobile1 .dropdownEBM > .dropdown-active {
        display: block;
    }

.workshopEBM, .sessionHeaderEBM {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    width: 100%;
    border: none;
    margin-bottom: 20px;
}

    .workshopEBM:focus,
    .workshopEBM:hover {
        background: linear-gradient(45deg, #c70039, #ff6f61); 
    }

.sessionHeaderEBM {
    background: linear-gradient(45deg, #0077cc, #0044aa);
    color: white;
    margin-top: 20px;
    padding: 12px;
}

.venueDate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    font-weight: bold;
    gap: 8px;
}

.sessionEBM {
    margin-bottom: 20px;
    padding: 15px;
}

.session-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}

.timeEBM {
    font-size: 1.1rem;
    font-weight: bold;
    color: #6f42c1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.titleEBM {
    font-size: 1.1rem;
    font-weight: bold;
    color: #c70039;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.session-time-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.speaker-imageEBM {
    width: 180px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.speaker-infoEBM {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-nameEBM {
    font-size: 1.5rem;
    color: #151D6E;
    margin-bottom: 10px;
    font-weight: bold;
}

.speaker-detailsEBM {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.speakerEBM {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f3f5ff;
    color: #2a4b8d;
    font-style: italic;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .speakerEBM:hover {
        background-color: #e0e7ff;
    }

.closeEBM {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #151D6E;
}

.modalEBM {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-contentEBM {
    background: white;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

.NavbarEBM {
    margin-bottom: 20px;
}

    .NavbarEBM .nav-link {
        min-width: 180px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 5px 8px;
        border: 1px solid #B0B7D6;
        border-radius: 8px;
        color: #2A4B8D;
        background: transparent;
        transition: all 0.3s ease;
    }


        .NavbarEBM .nav-link.active {
            background: lightgrey;
            color: white;
            border-color: #151D6E;
        }

        .NavbarEBM .nav-link:hover {
            background: #E0E7FF;
            color: #151D6E;
        }

.NavbarEBM-day {
    font-size: 15px;
}

.NavbarEBM-date {
    font-size: 18px;
    font-weight: bold;
}

.SessionCardEBM {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 16px auto;
}

.SessionContentEBM {
    margin-top: 12px;
}

.SessionTitleEBM {
    position: absolute;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: #c70039;
    font-weight: 600;
}

.VDate {
    font-size: 1.2rem;
    font-weight: bold;
}

.speaker-label {
    font-size: 1.1rem;
    font-weight: bold;
}

.speaker-sectionEBM {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.EBMcalendar-link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid;
    background-color: transparent;
    color: orange;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .EBMcalendar-link:hover {
        background-color: orange;
        color: white;
    }

@media (max-width: 1024px) {
    .sessionEBM {
        width: 95%;
    }

    .workshopEBM, .sessionHeaderEBM {
        font-size: 1.4rem;
    }

    .venueDate, .titleEBM, .timeEBM {
        font-size: 1.1rem;
    }
}



@media (max-width: 768px) {

    .workshopEBM, .sessionHeaderEBM {
        font-size: 1.2rem;
    }

  

    .session-time-title {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .SessionTitleEBM {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        white-space: normal;
    }

    .timeEBM {
        margin-bottom: 0.5rem;
    }

    .venueDate, .titleEBM, .timeEBM {
        font-size: 1rem;
    }

    .modal-contentEBM {
        flex-direction: column;
        align-items: center;
    }

    .speaker-imageEBM {
        width: 130px;
        height: 150px;
    }

    .speaker-sectionEBM {
        flex-direction: column;
    }

    .speaker-infoEBM {
        width: 100%;
        align-items: center;
    }

    .speakerEBM {
        text-decoration: none;
        border: none;
    }

        .speakerEBM::after {
            content: ' ➞';
        }

    .NavbarEBM-container {
        flex-direction: column;
        gap: 10px;
    }

    .NavbarEBM .nav-link {
        width: 160px;
        height: 45px;
    }

    .sessionEBM {
        padding: 10px;
        margin-bottom: 15px;
    }


}



.modalEBM {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}


.modal-contentEBM {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.closeEBM {
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

    .closeEBM:hover {
        color: #000;
    }

/* Speaker Image */
.speaker-imageEBM {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.speaker-nameEBM {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 10px 0;
    color: red;
}

.speaker-detailsEBM {
    font-size: 15px;
    text-align: center;
    color: #555;
    font-weight: 700;
}
.download-link {
    display: block;
    text-align: right;
    margin-right: 20px;
    text-decoration: none;
}

    .download-link h6 {
        font-size: 14px;
        color: #007bff; 
        margin: 0;
        font-weight: normal;
    }

    .download-link:hover h6 {
        text-decoration: underline;
    }