.fc .fc-toolbar {
    align-items: flex-start;
    flex-direction: column-reverse;
}

.fc-toolbar .fc-toolbar-chunk:last-child {
    width: 100%;
    padding: 10px;
    background-color: rgb(87, 182, 178);
}


.fc-button-group .fc-prev-button,
.fc-button-group .fc-next-button,
.fc-toolbar-chunk .fc-today-button {
    background-color: rgb(215, 119, 26);
    border-color: white;
}

.fc-event:hover {
    color: black !important;
}

.fc .fc-toolbar-title {
    margin: 10px 0px 0px;
}

a.fc-col-header-cell-cushion,
.fc .fc-daygrid-day-number {
    color: rgb(34, 34, 34) !important;
    text-decoration: none !important;
    font-weight: normal;
}

.fc .fc-scroller-liquid-absolute {
    overflow: visible !important;
}

#calendar {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    padding: 20px;
}

.modal {
    display: none;
    align-items: center;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(122 122 122 / 60%)
}

.modal-content {
    height: fit-content;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #363636;
    float: right;
    font-size: 28px;
    position: absolute;
    right: -20px;
    top: -20px;
    background-color: #eee;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    transition: rotate 0.5s ease
}

.close:hover,
.close:focus {
    rotate: 90deg;
    text-decoration: none;
    cursor: pointer;
}

#modal-content ul li:not(:last-child) {
    margin-bottom: 10px;
}

.parent_enventtitle,
.child_title {
    font-size: 16px;
    color: #333333;
}

.parentname_details {
    color: #000000;
    font-weight: 600;
}


#modal-content a {
    color: #fff;
    display: block;
    text-decoration: none;
}

#modal-content ul li {
    padding: 10px;
    list-style: auto;
}

@media (max-width: 1100px){
    #calendar.fc .fc-scroller-liquid-absolute, #calendar.fc .fc-view-harness-active > .fc-view{
        position: relative !important;
    }
    #calendar.fc .fc-view-harness{
        height: 100% !important;
    }
    .fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start{
        font-size: 8px !important;
    }
}
@media (max-width: 489px) {

    .modal-content {
        padding: 15px;
        width: 80%;
    }

    .close {
        right: -10px;
        top: -15px;
        width: 30px;
        height: 30px;
    }

    /* 15-04-24 */
    .fc-col-header {
        margin-bottom: 0;
    }

    #calendar {
        /* height: 700px; */
        padding: 10px;
    }
}

.fc-event:hover {
    color: #ffffff !important;
}

.fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start{
    font-size: 14px;
    text-align: center;
    white-space:wrap;
}

.fc-daygrid-dot-event .fc-event-title{
    font-weight: 500;
}