.fc-header-title {
    text-align: center;
    display: grid;
    place-items: center;
}

.fc-header-title * {
    text-align: center !important;
    font-weight: 300 !important;
    font-size: 20px !important;
}

.fc-header-title h2 {
    margin: 0 !important;
    color: var(--black);
}

.fuiw-day, .fuiw-year, .fuiw-dayname {
    display: none !important;
    visibility: hidden !important;
}

.fuiw-month {
    margin: 0 !important;
    font-size: 30px !important;
    margin: auto !important;
    color: var(--black) !important;
    text-transform: uppercase !important;
}

.rhcalendar.for-widget.flat-ui-cal .fc-button {
    color: var(--black) !important;
}

.fc-day-header {
    color: var(--red) !important;
    font-weight: 600 !important;
}

.fc-day {
    color: var(--grey-days);
    font-weight: 500;
}

.fc-today.fc-state-highlight .fc-day-number {
    border-radius: unset !important;
}

.rhcalendar.for-widget.flat-ui-cal .fc-border-separate {
    border-color: var(--light-grey) transparent transparent !important;
}

.fc-have-event .fc-day-number {
    border-radius: 0 !important;
}

.fc-sat:not(.fc-day-header), .fc-sun:not(.fc-day-header) {
    color: var(--grey-days) !important;
    font-weight: 900 !important;
}

.fc-header-center .fc-header-title {
    position: relative;
}

.fc-header {
    height: 50px !important;
    background-color: transparent !important;
}

.fc-header-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 8fr 1fr;
    place-content: center;
    place-items: center;
}

.fc-header-cell {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.fc-button-prev::before, .fc-button-next::before, .fc-button-prevYear::before, .fc-button-nextYear::before {
    position: relative !important;
    inset: unset !important;
}

.fc-header-cell.fc-header-left {
    grid-column: 1;
}

.fc-header-cell.fc-header-center {
    grid-column: 2;
}

.fc-header-cell.fc-header-right {
    grid-column: 3;
}

.fc-header-cell.fc-header-left,
.fc-header-cell.fc-header-right {
    position: relative !important;
    inset: unset !important;
}

.content.calendario {
    display: grid;
    grid-template-columns: 75% 23%;
    gap: 20px;
}

.content.calendario > * {
    border-top: solid 1px var(--light-grey);
    padding: 2em 0 0;
}

.content.calendario:has(.listado-eventos.empty) > .calendar {
    display: none;
    visibility: hidden;
    width: 0;
    height: 0;
}

.content.calendario:has(.listado-eventos.empty) {
    grid-template-columns: 100%;
}

.fc-button {
    padding: 0 !important;
    height: 50px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.listado-eventos.empty .evento {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
}

.listado-eventos .evento {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.listado-eventos .evento .entradas {
    display: grid;
    place-items: center;
}

.listado-eventos .evento .entradas a {
    background-color: var(--red);
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    padding: 8px 40px;
    border-radius: 3em;
}

.listado-eventos .evento .informacion > * {
    margin: 0;
    text-transform: uppercase;
}

.listado-eventos .evento .informacion .evento-date {
    color: var(--red);
    font-size: 26px;
    font-weight: 900;
}

.listado-eventos .evento .informacion .evento-title {
    font-family: 'Lato', sans-serif;
    font-size: 42px;
    font-weight: 300;
}

.listado-eventos .evento .informacion .evento-lugar p {
    color: var(--grey);
    font-size: 22px;
    font-family: 'Lato', sans-serif;
}

.listado-eventos .evento .informacion p {
    margin: 0;
}

.listado-eventos .evento {
    border-bottom: dashed 1px var(--light-grey);
    padding: 2em 0 1em;
}

.listado-eventos .evento:first-of-type {
    padding: 0 0 1em;
}

.fc-past .fc-day-number {
    background-color: transparent !important;
    color: var(--grey-days) !important;
    pointer-events: none !important;
}

@media(max-width: 1200px) {
    .content.calendario {
        display: flex;
        flex-flow: column-reverse;
        max-width: 890px;
        margin: auto;
    }

    .content.calendario > * {
        width: 100%;
        
    }

    .content.calendario .calendar {
        max-width: 300px;
    }
}


@media(max-width: 1200px) {
    .listado-eventos .evento {
        grid-template-columns: 1fr;
        gap: 2em;
        place-content: center;
        place-items: center;
        text-align: center;
    }
}

@media(max-width: 885px) {
    .fc-header-center .fc-header-title {
        top: unset !important;
    }
}

@media(max-width: 768px) {
    .content.calendario .calendar {
        padding-top: 0 !important;
    }

    .fc-header-row {
        margin-top: 20px !important;
    }
}


@media(max-width: 640px) {
    .fc-header-cell.fc-header-left {
        grid-row: 1;
    }

    .fc-header-cell.fc-header-right {
        grid-row: 1;
    }

    span.fuiw-month {
        position: relative;
        bottom: 10px;
    }
}