.fc {
    --fc-event-border-color: #DDDDDD;
    --fc-event-bg-color: #E9FFF4;
    --fc-event-text-color: #2e2e2e;
}

.fc .fc-daygrid-week-number {
    --fc-neutral-bg-color: #fff;
}

.fc .fc-timegrid-slot {
    height: 2em;
}

.fc-v-event {
    padding: 0.2em 0.5em;
}

.fc-v-event .fc-event-time {
    font-weight: 500;
}

.fc-v-event .fc-event-title {
    font-weight: 600;
}

.fc-event,
.fc-event-dot {
    background-color: var(--fc-event-bg-color);
}

.fc-event {
    border-color: var(--fc-event-border-color);
    color: var(--fc-event-text-color);
}



.fc-daygrid-dot-event:hover,
.fc-event:hover {
    --fc-event-border-color: #DDDDDD;
    --fc-event-bg-color: #1dbe6e;
    --fc-event-text-color: #ffffff;
    background: var(--fc-event-bg-color);
}

.fc table table {
    margin: -1px;
}


.fc th,
.fc td {
    border-color: var(--fc-event-border-color);
}

.fc-col-header-cell,
.fc td.fc-timegrid-axis,
.fc td:nth-child(1).fc-timegrid-slot {
    background-color: #fff;
    border: none;
}

.fc-timegrid-slot-label-cushion {
    font-weight: 500;
}

.fc .fc-toolbar-title,
.fc-toolbar h2 {
    font-size: inherit;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
    display: -ms-inline-grid;
    display: inline-grid;
    grid-auto-flow: column;
    gap: 1em;
    align-items: center;
    justify-items: center;
    font-weight: 500;
    font-size: 1rem;
    background: #FFFFFF;
    border: 1px solid #C9C9C9;
    border-radius: 100em;
    color: #6B6B6B;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) .fc-button:not(.fc-prev-button):not(.fc-next-button) {
    display: none;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) button {
    padding: 1.5em 1.75em;
    background: #fbfbfb;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) button:focus{
    border-color: inherit !important;
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) .fc-prev-button {
    border-top-left-radius: 100em;
    border-bottom-left-radius: 100em;
    border-right: 1px solid #f0f0f0;
    background-image: url('./..//img/icons/ico-arw-prev.svg');
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) .fc-next-button {
    border-top-right-radius: 100em;
    border-bottom-right-radius: 100em;
    border-left: 1px solid #f0f0f0;
    background-image: url('./..//img/icons/ico-arw-next.svg');
}

.fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) button .fc-icon {
    display: none;
}

.fc-more-popover{
    background-color: #fff;
}

.fc-popover-header{
    padding: 1em 1em 0 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
}


.event-popover {
    position: fixed;
    z-index: 11111 !important;
    max-width: 18rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 25px 0 #dbdbdbd4;
  }
  
  .event-popover h6{
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    margin-top: 1rem;
  }

  .event-popover .event-close{
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(./../img/icons/ico-close.svg);
    background-size: 0.7em;
    float: right;
    opacity: 0.5;
  }


@media(max-width: 767px){
    .fc th, .fc td{
        height: 50px;
    }

    .fc-daygrid-week-number{
        display: none;
    }

    .fc .fc-daygrid-more-link{
        display: inline-block;
        border: 1px solid #caf3ee;
        background-color: #edfffd;
        padding: 0 0.2em;
        border-radius: 0.5em;
    }

    .event-popover {
        width: 100% !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 0 !important;
        max-width: none;
        border-radius: 0.5rem;
         box-shadow: 0 -100vw 0 100vw #2a2a2a8a !important;
    }

    .fc .fc-view-harness-active > .fc-view,
    .fc .fc-scroller-liquid-absolute{
        position: static !important;
        overflow: visible !important;
    }

    .fc .fc-view-harness{
        height: auto !important;
        position: static !important;
        overflow: visible !important;
    }

}

@media(max-width: 575px){
    .fc .fc-toolbar{
        flex-direction: column;
        gap: 1rem;
    }
}