:root {
  --fc-list-event-hover-bg-color: #d5e1ebd7;
}

#div-calendar a, #div-calendar a:hover {
  color: inherit;
  text-decoration: none;
  background: none;
  outline: none;
}

.fc .fc-list-event td {
  transition: background-color 0.24s;
}

.fc .fc-list-table tbody > tr:first-child th, .fc .fc-list-sticky .fc-list-day > * {
  z-index: 1;
}

.fc-event {
  cursor: pointer;
}

#a-calendar-back {
  border: none;
  width: 32px;
  margin-bottom: -2px;
  padding-bottom: 4px;
}

#a-calendar-back span {
  font-size: 28px;
  vertical-align: text-bottom;
}

#btn-calendar-sub {
  border: none;
  font-size: 20px;
}

#btn-calendar-sub span {
  font-size: 24px;
  vertical-align: text-bottom;
}

#div-calendar {
  margin-top: 12px;
}

@media screen and (min-width: 820px) {
  #a-calendar-back {
    margin-left: -8px;
    padding-left: 6px;
    border-top-left-radius: var(--var-border-radius-lg);
  }
  #btn-calendar-sub {
    margin-right: -8px;
    margin-bottom: -2px;
    padding: 0 8px 6px;
    border-top-right-radius: var(--var-border-radius-lg);
  }
}

@media screen and (max-width: 819px) {
  #div-outer {
    display: flex;
    flex-direction: column;
    height: 100dvh;
  }

  #div-calendar {
    /* border: 1px solid #000; */
    height: 100%;
    margin-bottom: 10px;
  }

  .fc .fc-toolbar-title {
    text-align: center;
    font-size: 1.4em;
    padding: 0px 10px;
  }
}