.fc-center {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.fc-center h2 {
  text-transform: capitalize;
  text-align:center;
  font-size: 28px;
}

.fc-button .fc-icon {
  font-size: 30px;
}

.fc-button-primary {
  border: none;
  background-color: transparent !important;
  color: black;
}

.js-drupal-fullcalendar {
  margin: auto;
  width: 515px;
  max-width: 100%;
}

.fc-toolbar > * > :not(:first-child) {
  margin-left: 0 !important;
}

.fc-day-header {
  text-transform: uppercase;
}

.fc td,
.fc th {
  border: none;
  text-align: center;
}

.fc-day-number {
  float: none !important;
}

.fc {
  font-family: 'obibokbold';
}
.fc table {
  font-size: 20px;
}

.fc-day-number {
  color: #777 !important;
}

.fc-day-number.has_event {
  color: black !important;
}

a.fc-day-number,
a.fc-day-number:hover {
  text-decoration: none !important;
}

.fc-dayGrid-view .fc-body .fc-row {
  min-height: 40px;
}

.fc-row {
  height: 40px !important;
}

.fc-row tbody {
  display: none;
  height: 0;
  width: 0;
}

.fc-prev-button,
.fc-next-button {
  position:absolute;
  top:0;
  padding: 0;
}

.fc-prev-button {
  left: 50px;
}

.fc-next-button {
  right: 50px;
}

.fc-button:focus,
.fc-button:hover {
  color: #e90d59 !important;
}


.fc-view-container {
    border-top: 1px solid #8e8e8d;
    padding: 15px;
}

td.fc-today .fc-day-number {
  color: #f06 !important;
}

/* Masquer les lignes où tous les td sont vides (sinon on a toujours 6 lignes au calendrier) */
.fc-row:has(td:empty):not(:has(td:not(:empty))) {
    display: none;
}

/* Force la height à "auto" pour éviter supplanter le height définit dynamiquement par FullCalendar */
div.fc-scroller.fc-day-grid-container {
  height: auto !important;
}

/* */

a.fc-day-number.active {
  background-color: #e71b69;
  text-transform: uppercase !important;
  color: #ffffff !important;
  padding-top: 2px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

/* Responsive rules */
@media (max-width: 767px) {
    .fc table {
        font-size: 15px;
    }

    .fc-toolbar h2 {
        font-size: 20px;
    }
}

