.calendar-view {
  max-width: 1440px;
  padding: 24px 32px 0;
  margin: 0 auto;
}

/* PAGER */
.calendar-view .pager__items {
  list-style: none;
  padding: 0 32px;
  margin: 0;
}
.calendar-view .pager__items .pager__item.pager__current {
  opacity: 0;
  visibility: hidden;
}
.calendar-view .pager__items .pager__item a {
  display: initial;
  background-color: #174f90;
  color: #fff;
  border-radius: 5px;
  padding: 8px 16px;
  transition: all .3s ease
}
.calendar-view .pager__items .pager__item a:hover {
  background-color: #2d6db8;
}
/* END PAGER */

/* CALENDAR TABLE */
.calendar-view-table caption {
  font-size: 42px;
  line-height: 1.5;
  color: #000;
}
.calendar-view-table thead.thead-dark th {
  background-color: #174f90;
  border-color: #174f90;
  text-align: center;
}

.calendar-view-table tbody td {
  padding: 9px;
}
.calendar-view-table tbody td.today {
  position: relative;
}
.calendar-view-table tbody td.today:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 2px solid #174f90;
  z-index: 0;
}
.calendar-view-table tbody .calendar-view-day {
  z-index: 1;
  opacity: 1 !important;
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__number {
  background-color: unset;
  color: #000;
  cursor: default;
  font-size: 13px;
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows {
  display: grid !important;
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row {
  background-color: #174f90;
  color: #fff;
  padding-left: calc(calc(-1rem - 1px)* -1);
  padding-right: calc(calc(-1rem - 1px)* -1);
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row a {
  color: inherit;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row .views-field,
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row .start-date,
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row .end-date {
  color: inherit;
}
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row .start-date,
.calendar-view-table tbody .calendar-view-day .calendar-view-day__rows .calendar-view-day__row .end-date {
  font-size: 13px;
}
/* END CALENDAR TABLE */

@media (max-width: 991px) {
  .calendar-view .pager__items {
    flex-direction: row;
    padding: 0;
  }
}

/* CALENDAR LEGENDA */
.calendar-view #calendar-view-legenda {
  margin: 40px 0;
}

.calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
}

.calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper .calendar-view-legenda-row {
  display: flex;
  flex-flow: column;
  gap: 12px;
}

.calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper .calendar-view-legenda-row .calendar-view-legenda-element-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper .calendar-view-legenda-row .calendar-view-legenda-element-container .calendar-view-legenda-element-square {
  width: 32px;
  height: 32px;
}

.calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper .calendar-view-legenda-row .calendar-view-legenda-element-container p.calendar-view-legenda-element-title {
  margin: 0;
}

@media (max-width: 991px) {
  .calendar-view #calendar-view-legenda .calendar-view-legenda-wrapper {
    gap: 12px;
  }
}
/* END CALENDAR LEGENDA */
