#page_event-agenda {
    padding-top: 140px;
}

#agenda-list {
    padding-top: 80px;
    background-image: url('../../img/bg_agenda.png');
    background-position: top center;
    background-repeat: repeat-y;
    position: relative;
    top: -20px;
}

/* AGENDA */
#custom-modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.agenda-item {
    margin-top: 20px;
    position: relative;
    border-bottom: 1px solid var(--additional-color);
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-time {
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -70px;
}

.agenda-title {
    font-weight: bold;
    padding-bottom: 20px;
    flex: 1 1 auto;
}

.atitle {
    font-size: 20px;
}

.asubtitle {
    font-size: 14px;
}

.agenda_speaker {
    cursor: pointer;
    color: var(--text-color);
}

.agenda_speaker .position {
    font-weight: normal;
    font-size: 12px;
    color: var(--text-color);
}

.agenda_speaker .speaker-name {
    position: static;
    bottom: auto;
    padding: 0;
    background: transparent;
}

.agenda_speaker .speaker-img .card-img-bubble {
    height: 65px;
}

.agenda-type {
    background: var(--primary-color);
    font-weight: normal;
    font-size: 14px;
    text-transform: uppercase;
    width: auto;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 5px;
}

.agenda-room {

}

.agenda-ear {
    margin-right: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.agenda-ear button {
    background: none;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 20px 10px;
    position: relative;
    font-weight: bold;
    font-size: 13px;
}

.agenda-ear button.active {
    color: var(--primary-color);
}

.agenda-ear button.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    display: block;
    background: var(--primary-color);
}

#page_event-agenda .agenda-time {
    position: static;
    left: auto;
    padding-right: 20px;
    width: 60px;
}

.room_info {
    align-self: start;
    padding: 30px;
    background: linear-gradient(135.27deg, #09242E 0%, rgba(9, 36, 46, 0) 54.57%);
    max-width: 430px;
    margin: 0 30px;
}

.room_info .title {
    font-size: 50px;
    font-weight: bold;
}

.room_info .logo img {
    max-width: 50%;
    max-height: 80px;
}

.custom-modal-dialog {
    width: 75%;
}

@media (max-width: 992px) {
    .agenda-tab {
        height: 300px;
    }
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 50%;
    max-width: 600px;
}

/* Agenda */
.content .container-fluid.dark-bg {
    background-color: var(--bg-color) !important;
}

.text-white.multi_days {
    color: var(--text-color) !important;
}

.multi_days .agenda-ear button {
    font-size: 24px !important;
    font-weight: normal;
    color: var(--text-color) !important;
}

.multi_days .agenda-ear button.active {
    font-weight: bold;
    color: var(--primary-color) !important;
}

.multi_days .agenda-tabs {
    background-color: var(--bg-color) !important;
}

/* Nap fülök + szűrők fixen fent, agenda lista scrollozható */
.agenda-day-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 25;
}

.agenda-tab-content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 3rem 3rem 3.5rem;
    @media (min-width: 650px) {
        padding: 1rem 1rem 1.5rem;
    }
    background: #fff;
}

.agenda-tab-content .tab-pane.active {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.agenda-tab-content .tab-pane:not(.active) {
    display: none;
}

.programok-section {
    flex-shrink: 0;
}

.programok-agenda-day {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.agenda-day-tabs-wrapper .agenda-tabs {
    margin: 0;
    padding: 0.75rem 1rem 0;
    gap: 0.5rem;
}

.agenda-day-tab-btn {
    font-size: 26px;
    font-family: 'OpenSansBold';
    text-transform: uppercase;
    border: 1px solid rgba(4, 87, 55, 0.3);
    background: #fff;
    color: #045737;
    padding: 0 3rem;
    border-radius: 3rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.agenda-day-tab-btn:hover {
    background: rgba(4, 87, 55, 0.08);
    color: #045737;
    border-color: rgba(4, 87, 55, 0.4);
}

.agenda-day-tab-btn.active {
    background: #045737;
    color: #fff;
    border: 2px solid rgba(4, 87, 55, 0.25);
    z-index: 1;
    position: relative;
}

.agenda-tab-content .tab-pane {
    padding: 0;
}

@media (max-width: 991px) {

    /*.agenda-day-tabs-wrapper {
        max-height: calc(100vh - 120px);
        position: sticky;
        top: 0;
    }*/
    .agenda-day-tabs-wrapper .agenda-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        margin-left: 0;
        margin-right: 0;
    }

    .agenda-day-tab-btn {
        flex-shrink: 0;
    }

    .agenda-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .agenda-tabs::-webkit-scrollbar-thumb {
        background: rgba(4, 87, 55, 0.3);
        border-radius: 3px;
    }
}

.multi_days .atitle,
.multi_days .asubtitle,
.multi_days .title,
.multi_days .desc,
.multi_days .agenda_speaker .position,
.speaker_title,
.moderator_title {
    color: var(--text-color) !important;
}

.multi_days .agenda-type {
    color: #fff !important;
}

.multi_days .logo img {
    max-width: 250px;
}

#rooms-tab button {
    margin-bottom: 15px;
    margin-right: 50px;
    padding: 20px 60px 15px 40px;
    width: 420px;
    text-align: left;
    border: 0;
    border-left: 3px solid var(--text-color);
    background: rgb(186, 223, 232);
    background: linear-gradient(144deg, rgba(186, 223, 232, 1) 0%, rgba(255, 255, 255, 0) 60%);
}

#rooms-tab button i {
    font-size: 30px;
    color: var(--additional-color);
    position: relative;
    float: right;
    bottom: 15px;
}

#rooms-tab button span.location {
    padding: 3px 5px;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    background-color: var(--additional-color);
}

#rooms-tab button span.room {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
}

#rooms-tab button.active {
    text-align: left;
    border-left-color: var(--primary-color);
}

#rooms-tab button.active i {
    color: var(--primary-color) !important;
}

#rooms-tab button.active span.location {
    background-color: var(--primary-color);
}

#rooms-tab button.active span.room {
    color: var(--primary-color);
}

.agenda-type.bg-dark {
    margin-left: 5px;
    background-color: var(--additional-color) !important;

}

#select_location, .select_location {
    display: none;
}

#rooms-tab {
    display: block;
}

#accessibility_settings_toggle {
    bottom: 90px !important;
}

@media (max-width: 1000px) {
    #select_location, .select_location {
        display: block;
        overflow: hidden;
    }

    #rooms-tab {
        display: none;
    }
}

.dayindex {
    margin-top: -30px;
    margin-bottom: 1rem;
    color: #7f6eb0;
    font-family: 'OpenSansBold';
    font-size: 48px;
    border-bottom: 7px solid #7f6eb0;
    text-align: right;
}

.dayindex span {
    padding-left: 10%;
    position: relative;
    bottom: -15px;
    background: #fff;
    border-bottom: 15px solid #fff;
}

/* ---- PROGRAMOK design (agenda2 list) ---- */
.programok-section {
    margin-bottom: 1rem;
}

.programok-title {
    padding: 0 3rem;
    margin: 0 3rem;
    background-color: #045737;
    color: #fff;
    border-radius: 3rem;
    font-family: 'OpenSansRegular';
    display: inline-block;
    @media(min-width: 650px) {
        margin: 0 1rem;
    }
    @media(min-width: 1000px) {
        margin: 0;
    }
    font-size: 40px;
    text-transform: uppercase;
}

.programok-filters-row {
    flex-shrink: 0;
    background: var(--bg-color, #fff);
    padding: 0.5rem 0 0.75rem;
}

.programok-filter-btns {
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.programok-filter-btns::-webkit-scrollbar {
    height: 6px;
}

.programok-filter-btns::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

@media (min-width: 992px) {
    .programok-filter-btns {
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

.programok-filter-btn {
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 3rem;
    padding: 0 1.5rem;
    @media (min-width: 600px) {
        padding: 0 3rem;
    }


    font-size: 24px;
    font-family: 'OpenSansBold';;
    cursor: pointer;
    transition: opacity 0.2s;
    text-transform: uppercase;
    border-style: solid;
    border-width: 4px;
    border-color: transparent;
}

.programok-filter-btn:hover {
    opacity: 0.9;
}

.programok-filter-btn.active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(0, 0, 0, 0.5);
}

.programok-filter-btns .programok-filter-btn {
    flex-shrink: 0;
}

.programok-filter-btn[data-filter="all"],
.programok-filter-btn:first-child {
    background: #FFF;
    border: 4px solid #7f6eb0;
    color: #7f6eb0;
}

.programok-filter-btn[data-filter="type-1"] {
    background: #7dd3d0;
    color: #09242e;
}

.programok-filter-btn[data-filter="type-2"] {
    background: #e8a4b8;
    color: #333;
}

.programok-filter-btn[data-filter="type-3"] {
    background: #f5a623;
    color: #333;
}

.programok-agenda-day .agenda-programok-card {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    border-radius: 3rem;
    overflow: hidden;
}

.programok-agenda-day .agenda-programok-card .agenda-programok-card-inner {
    width: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 650px) {
    .programok-agenda-day .agenda-programok-card .agenda-programok-card-inner {
        flex-direction: row;
    }
}

.agenda-card-left {
    @media (min-width: 650px) {
        width: 200px;
        min-width: 200px;
        flex: 0 0 200px;
    }
    @media (min-width: 800px) {
        width: 250px;
        min-width: 250px;
        flex: 0 0 250px;
    }
    padding: 1rem 2rem;
    color: #ffffff;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*align-items: center;*/
    text-align: center;
}

.agenda-card-left.location-116 {
    color: #045737 !important;
}

.agenda-card-left-top {
    flex-shrink: 0;
}

.agenda-card-left-center {
    flex: 1;
    display: flex;
    align-items: baseline;
    @media (min-width: 600px) {
        align-items: center;
    }
    justify-content: center;
    min-height: 2.5rem;
}

.agenda-card-left-bottom {
    flex-shrink: 0;
    width: 96%;
}

.agenda-card-month {
    font-size: 24px;
    font-family: 'OpenSansBold';
    display: block;
    line-height: 1.2;
}

.agenda-card-day {
    font-size: 24px;
    @media (min-width: 600px) {
        font-size: 50px;
    }
    font-family: 'OpenSansBold';
    display: block;
    line-height: 1.1;
}

.agenda-card-time, .agenda-card-location {
    font-size: 24px;
    font-family: 'OpenSansBold';
    line-height: 1.2;
}

.agenda-card-type-0,
.agenda-card-type-1 {
    background: linear-gradient(135deg, #7dd3d0 0%, #5ebdb9 100%);
}

.agenda-card-type-2 {
    background: linear-gradient(135deg, #e8a4b8 0%, #d88ba0 100%);
}

.agenda-card-type-3 {
    background: linear-gradient(135deg, #f5a623 0%, #e09410 100%);
}

.agenda-card-type-4 {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.agenda-card-image {
    width: 200px;
    min-width: 200px;
    flex: 0 0 200px;
    @media (min-width: 1000px) {
        width: 250px;
        min-width: 250px;
        flex: 0 0 250px;
    }
    min-height: 120px;
    /*margin: auto;*/
    align-self: stretch;
    display: flex;
}

.agenda-card-img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    max-height: 666px;
    @media (orientation: landscape) {
        /*width: fit-content;*/
        object-fit: contain;
    }

    object-fit: cover;
}

.agenda-card-right {
    color: var(--text-color, #333);
    @media (min-width: 650px) {
        padding: 20px 40px;
    }
    padding: 20px 20px;
    position: relative;

}


.coming_soon_btn {
    padding: 10px 30px;
    font-size: 24px;
    border-radius: 0 0 0 0;
    margin: auto -20px -20px -20px;
    /*border: 2px solid gray;*/
    background-color: #E8E8E8;
    border: none;
    position: relative;
    cursor: not-allowed;

}

.agenda-card-type-label {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
}

.agenda-card-title {
    font-size: 26px;
    font-family: 'OpenSansRegular';
    color: #045737;
    text-align: center;
    /*padding-bottom: 1rem;*/
    font-weight: bold;
}

.agenda-card-about p {
    margin: 0;
    line-height: 1.4;
    font-size: 24px;
    @media (min-width: 600px) {
        font-size: 20px;
    }
    @media (min-width: 1000px) {
        font-size: 24px;
    }
    font-family: 'OpenSansRegular';
    color: #045737;
}

.agenda-card-more {
    color: var(--primary-color, #3498db);
    text-decoration: underline;

    @media (min-width: 650px) {
        font-size: 0.9rem;
    }
}

@media (max-width: 800px) {
    .agenda-card-left {
        min-width: 150px;
    }
}

/* 1200px alatt: stacked elrendezés (bal, kép, jobb egymás alatt) */
@media (max-width: 650px) {
    .agenda-card-left {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        align-self: flex-start;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }

    .agenda-card-left-top {
        flex-direction: row;
        display: flex;
        align-items: baseline;
        gap: 1rem;
    }

    .agenda-card-left-center {
        flex: 0 0 auto;
        min-height: 0;
    }

    .agenda-card-left .agenda-card-day {
        margin-right: 0;
    }

    .agenda-card-image {
        width: 100%;
        min-width: 100%;
        flex: 0 0 auto;
        min-height: 180px;
        align-self: stretch;
        flex-shrink: 0;
    }

    .agenda-card-img {
        min-height: 180px;
    }

    .agenda-card-right {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
    }
}

/* Agenda list (programok) – sor és szoba alapú megjelenítés */
.agenda-row {
    display: flex;
    margin-bottom: 15px;
}

.agenda-time {
    width: 80px;
    font-weight: bold;
}

.agenda-time.empty {
    visibility: hidden;
}

.agenda-content {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    color: #fff;
}

.room-bg-1 {
    background: #1abc9c;
}

.room-bg-2 {
    background: #3498db;
}

.room-bg-3 {
    background: #9b59b6;
}

.room-bg-4 {
    background: #e67e22;
}

.room-bg-5 {
    background: #e74c3c;
}

.agenda-card-about {

    .text-toggle {
        cursor: pointer;
    }

    .text-toggle:hover {
        text-decoration: underline;
    }

    /*span {*/
    /*    font-size: 20px;*/
    /*    @media (min-width: 1000px) {*/
    /*        font-size: 24px;*/
    /*    }*/
    /*}*/
}
