#calendar {
  margin: 0px auto;
  padding: 0px;
  width: 100%;
}

.calendar-header {
  width: 100%;
  background-color: transparent;
}

.nav-header {
  display: flex;
  justify-content: end;
  gap: 20px;
  padding: 0 20px 32px 20px;
  align-items: center;
}

.prev-month,
.next-month {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary-blue-500);
}

.calendar-title {
  color: #fff;
  font-size: 18px;
}

.day-of-week-label {
  overflow: hidden;
}

/*******************************Calendar Content Cells*********************************/

.day-label {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.day-label div {
  vertical-align: middle;
  text-align: left;
  padding: 12px;
  color: var(--black);
  font-size: 15px;
  background-color: transparent;
}

.dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 days of week */
  gap: 0px;
}

/** overall width = width+padding-right**/
.dates div {
  /* width: 80px;
  height: 80px; */
  display: flex;
  flex-direction: column;
  justify-content: start;
  overflow: hidden;
}

:focus {
  outline: none;
}

.clear {
  clear: both;
}

/*skt class*/
.date-block {
  display: flex;
  flex-direction: column;
  justify-content: start;

  border: 1px solid var(--greyscale-200);
  min-height: 150px;
  max-height: 150px;
  height: 150px;
  padding: 12px;
}

.calendar-date {
  display: flex;
  justify-content: start;
}

.today {
  background-color: var(--primary-blue-50);
  border-bottom: 4px solid var(--primary-blue-500);
}

.weekday {
  color: var(--greyscale-900); /* dark text + h5 */
}

.weekend {
  color: var(--greyscale-600); /* light text */
}

.scheduled-events {
  display: flex !important;
  flex-direction: column !important;
  justify-content: end !important;
}

/*popup*/
#event-popup {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}

#event-popup-content {
  display: flex;
  flex-direction: column;
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid var(--greyscale-200);
  width: 331px;
  box-shadow: 1px 4px 12px 0px #0000000a;
  border-radius: 8px;
}

#popup-close-button {
  align-self: end;
  cursor: pointer;
}

.past-event {
  color: var(--greyscale-900);
}

.past-event-circle {
  display: inline-block;
  margin-right: 4px;
  width: 8px;
  height: 8px;
  background-color: var(--greyscale-500) !important;
  border-radius: 50%;
  vertical-align: middle;
}

.upcoming-event {
  color: var(--primary-blue-500);
}

.upcoming-event-circle {
  display: inline-block;
  margin-right: 4px;
  width: 8px;
  height: 8px;
  background-color: var(--primary-blue-500) !important;
  border-radius: 50%;
  vertical-align: middle;
}

#event-popup-content a.caption-medium:hover {
  text-decoration: none;
}

#event-popup-content p.caption-medium:hover {
  text-decoration: underline;
}

.popup-event-item {
  padding: 8px 0px;
}

.popup-event-item + .popup-event-item {
  border-top: 1px solid var(--greyscale-200);
}
