#calendar a {
  color: inherit !important;
}

.fc-day-sat {
  color: #0277bd !important;
}

.fc-day-sun {
  color: #c62828 !important;
  background: transparent !important;
}

.fc-day-holiday {
  display: none !important;
}

.fc-daygrid-holiday-top {
  color: #c62828 !important;
}

.fc-event-title-container {
  flex: 0;
}

.fc-event-title {
  padding: 0 !important;
}

.fc-marking {
  display: flex;
  justify-content: center;
  flex: 1;
  margin-right: 5px;
}

.fc-day-other {
  visibility: hidden;
}

.fc-updated-button {
  background-color: transparent !important;
  color: #000000 !important;
  appearance: none !important;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
}

.fc-toolbar-chunk button[class^="fc-month"] {
  background-color: #20aee5;
  color: #ffffff;
  border: none;
  padding: 12px 16px !important;
}

.fc-toolbar-chunk button[class^="fc-month"]:hover {
  background-color: #20aee5;
  opacity: 0.7;
}

.fc-toolbar-chunk button[class^="fc-month"]:active {
  background-color: #20aee5 !important;
  opacity: 0.7;
  border-color: currentcolor !important;
}

.fc-header-toolbar .fc-toolbar-chunk:last-child {
  margin-left: auto;
}

.fc-header-toolbar {
  justify-content: flex-start !important;
  flex-wrap: wrap;
}

button[class^="fc-month"].active {
  text-decoration: none;
  color: #000000 !important;
  background-color: #e9e9e9;
  pointer-events: none !important;
}

.fc-day-past-or-today {
  background: #e9e9e9 !important;
  pointer-events: none;
}

.fc-event.disabled,
.fc-daygrid-event.disabled {
  background-color: #e9e9e9 !important;
  pointer-events: none;
  border: none !important;
}

.fc-event.disabled .fc-event-main {
  color: rgb(0, 89, 170) !important;
}

.fc-memo {
  text-align: center;
  font-size: 13.6px;
  color: #000000;
  margin-top: 5px;
}

@media screen and (max-width: 900px) {
  .fc-event-title-container {
    display: flex;
    justify-content: center;
  }

  .fc-event-main-frame {
    flex-direction: column !important;
  }

  .fc-marking {
    margin-right: 0;
  }
}
