.wf-conference-calendar {
    width: 100%;
}

.wf-conference-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-bottom: 20px;
}

.wf-calendar-room {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.wf-calendar-room__marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 12px;
}

.wf-calendar-room--one .wf-calendar-room__marker {
    background-color: #0389d0 ;
}

.wf-calendar-room--two .wf-calendar-room__marker {
    background-color: #133595;
}

.wf-conference-calendar__status {
    min-height: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.wf-conference-calendar__content {
    width: 100%;
}

.wf-conference-calendar .fc {
    width: 100%;
}

.wf-conference-calendar .fc .fc-toolbar-title {
    font-size: 24px;
    text-transform:Capitalize;
}

.wf-conference-calendar .fc .fc-button {
    box-shadow: none;
}

.wf-conference-calendar .fc .fc-button.fc-prev-button {
    
}

.wf-conference-calendar .fc .fc-event {
    cursor: pointer;
}

.wf-conference-calendar .fc .fc-daygrid-event {
    padding: 2px 4px;
    border-radius: 3px;
}

.wf-conference-calendar .fc .fc-event-title {
    white-space: normal;
}

@media (max-width: 767px) {
    .wf-conference-calendar__legend {
        gap: 10px 16px;
        margin-bottom: 16px;
    }

    .wf-conference-calendar .fc .fc-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .wf-conference-calendar .fc .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
    }

    .wf-conference-calendar .fc .fc-toolbar-title {
        font-size: 20px;
        text-align: center;
    }

    .wf-conference-calendar .fc .fc-button {
        padding: 7px 10px;
        font-size: 14px;
    }

    .wf-conference-calendar .fc-list-event-title a {
        white-space: normal;
    }
}

.wf-calendar-event-content {
    padding: 3px 5px;
    overflow: hidden;
    line-height: 1.3;
}

.wf-calendar-event-title {
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
}

.wf-calendar-event-organizer {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    white-space: normal;
    overflow-wrap: anywhere;
}

.wf-conference-calendar .wf-event-unicorn {
    background-color: #0389d0 !important;
    border-color: #0389d0 !important;
    color: #ffffff !important;
}

.wf-conference-calendar .wf-event-mvp {
    background-color: #133595 !important;
    border-color: #133595 !important;
    color: #ffffff !important;
}


/* Dozvoli da se ćelije kalendara povećavaju po visini */
.wf-conference-calendar .fc-daygrid-day-frame {
    min-height: 120px;
    height: auto;
}

/* Događaj ne smije imati fiksnu visinu */
.wf-conference-calendar .fc-daygrid-event {
    height: auto !important;
    min-height: 0;
    white-space: normal !important;
    overflow: visible !important;
    align-items: flex-start;
}

/* Glavni sadržaj događaja */
.wf-conference-calendar .wf-calendar-event-content {
    width: 100%;
    height: auto;
    padding: 4px 6px;
    overflow: visible;
    white-space: normal;
    line-height: 1.35;
}

/* Naziv događaja */
.wf-conference-calendar .wf-calendar-event-title {
    display: block;
    width: 100%;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Organizator */
.wf-conference-calendar .wf-calendar-event-organizer {
    display: block;
    width: 100%;
    margin-top: 3px;
    font-size: 14px;
    font-weight:bold;
    line-height: 1.35;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    overflow-wrap: anywhere;
}

/* FullCalendar unutrašnji elementi ne smiju sjeći sadržaj */
.wf-conference-calendar .fc-event-main,
.wf-conference-calendar .fc-event-main-frame,
.wf-conference-calendar .fc-event-title-container,
.wf-conference-calendar .fc-event-title {
    height: auto !important;
    min-height: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

table.fc-col-header  {
    margin-bottom:0px!important;
}

.fc-scrollgrid thead th,
.fc-scrollgrid tbody > tr > td {
    padding:0!important;
    background:#fff;
}

.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {
    background:transparent!important;
    color:#000;
}

.fc-scrollgrid-sync-inner {
    padding:12px!important;
}

.fc .fc-list-event:hover td {
    background-color:inherit!important;
}

.fc-list-event-graphic td {
    border-color:#888;
}