#Agenda,
#AgendaTabbed,
#AgendaTwoDays {
    padding: 50px 0;
}

#AgendaTabbed .tab-content {
    background-color: transparent;
}

p {
    margin-bottom: 0;
}

.agendaItemControls,
.agendaSpeakerControls {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    /* margin-top: -40px; */
    height: 30px;
    text-align: center;
    padding: 0px 0 0 0;
    z-index: 999;
    position: absolute;
    top: 0;
}

.agendaSpeakerControls {
    height: 25px;
}

.btn {
    margin-left: 10px;
}

.agendaItem {
    position: relative;
    margin: 10px 0;
}

.prelegentContainer {
    position: relative;
}

.prelegentContainer:hover .agendaSpeakerControls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.agendaItem:hover .agendaItemControls,
.agendaItem:focus .agendaItemControls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prelegent,
.nazwa {
    margin: 0;
}

a.speakerDetails {
    color: inherit;
    cursor: pointer;
}

.modal .modal-footer {
    height: auto !important;
}

.calendar-popover {
    position: absolute;
    right: 0;
    cursor: pointer;
    transition: 150ms ease-in opacity;
    width: var(--fa-width, 1.25em);
    min-height: 16px;

    &:hover {
        opacity: .85;
    }
}

.popover:has(ul.calendar) {
    border: 1px solid #f6f6f6;
    border-radius: .5rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04),
        0 8px 24px rgba(0, 0, 0, .10);


    &.bs-popover-auto[x-placement^=right]>.arrow::before,
    &.bs-popover-right>.arrow::before {
        border-right-color: #f6f6f6;
    }

    &.bs-popover-auto[x-placement^=left]>.arrow::before,
    &.bs-popover-left>.arrow::before {
        border-left-color: #f6f6f6;
    }

    &.bs-popover-auto[x-placement^=bottom]>.arrow::before,
    &.bs-popover-bottom>.arrow::before {
        border-bottom-color: #f6f6f6;
    }

    &.bs-popover-auto[x-placement^=top]>.arrow::before,
    &.bs-popover-top>.arrow::before {
        border-top-color: #f6f6f6;
    }


    ul.calendar {
        list-style-type: none;
        padding-inline-start: 0;
        margin-bottom: 0;

        li {
            font-size: .875rem;
            padding: .5rem 0;
            cursor: pointer;

            &:not(:last-child) {
                border-bottom: 1px solid #ddd;
            }

            >span {
                padding: .5rem .75rem;
                display: inline-block;
                width: 100%;
                border-radius: .25rem;
                transition: 150ms ease-in background-color;

                img {
                    width: 15px;
                }

                i.fa-chevron-right {
                    transition: 150ms ease-in color;
                }

                &:hover {
                    background-color: #f6f6f6;

                    i.fa-chevron-right {
                        color: var(--primary);
                    }
                }
            }
        }
    }
}