@charset "UTF-8";

.c-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.c-header {
  display: flex;
}
.date-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.21px;
}
.c-header button {
  width: 40px;
  height: 40px;
  background: url(../img/common/calendar-arrow.png) center no-repeat;
  background-size: 24px auto;
}
.next-month {
  transform: rotate(180deg);
}
.grid {
  display: grid;
  grid-template-columns: calc(100% / 7) calc(100% / 7) calc(100% / 7) calc(100% / 7) calc(100% / 7) calc(100% / 7) calc(100% / 7);
  grid-template-rows: calc(100% / 5) calc(100% / 5) calc(100% / 5) calc(100% / 5) calc(100% / 5);
}
.date-head div {
  display: flex;
  padding: 8px;
  height: 38px;
  border: 1px solid #d7dce5;
  border-left: none;
}
.c-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-left: 1px solid #d7dce5;
}
.date-head div span {
  color: #292e41;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
}
.date-head > div:first-child span,
.date-board .d-box:nth-child(7n + 1) .day {
  color: #eb003b !important;
}
.date-head > div:last-child span,
.date-board .d-box:nth-child(7n) .day {
  color: #009fe9 !important;
}
.grid.date-board {
  flex: 1;
}
.d-box {
  padding: 4px 8px;
  border-right: 1px solid #d7dce5;
  border-bottom: 1px solid #d7dce5;
  overflow: hidden;
  cursor: pointer;
}
.d-box:hover {
  background: #f4f6fa;
}
.d-box.on {
  background: #e1f6fe;
}
.d-box.today {
  background: #01adf82b;
}
.d-box.on .day {
  color: #009fe9 !important;
}
.d-box .d-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.d-box .d-inner .day {
  color: #292e41;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.d-schedule {
  flex: 1;
  overflow: hidden;
}
.d-schedule ul li {
  color: #292e41;
  font-size: 13px;
  line-height: 21.5px;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.more {
  display: block;
  color: #8491a7;
  font-size: 13px;
  line-height: 21.5px;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
