@charset "utf-8";

#calendar {
  /* margin: 10px 0 30px; */
}

.cld-main {
  width: 100%;
  border: 1px solid #eee;
  box-sizing: border-box;
}

.cld-main a {
  color: #2f1f8a;
}

.cld-main svg {
  width: 15px;
  height: 15px;
  fill: #2f1f8a;
}

.cld-datetime {
  position: relative;
  margin: auto;
  padding: 8px 0;
  background: #f4f4f4;
  border-bottom: 1px solid #dcdddd;
  overflow: hidden;
}

.cld-datetime .today {
  position: relative;
  float: left;
  width: calc(100% - 40px);
  margin: auto;
  font-size: 13px;
  color: #000;
  text-align: center;
  font-weight: bold;
  padding-top: 5px;
}

.cld-nav {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.cld-nav:hover {
  cursor: pointer;
}

.cld-nav:hover svg {
  fill: #f39d47;
}

.cld-rwd {
  float: left;
}

.cld-fwd {
  float: right;
}

.cld-nav svg:hover {
}

.cld-labels,
.cld-days {
  /* padding-left: 0; */
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cld-label,
.cld-day {
  display: inline-block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.cld-label {
  padding: 2% 0;
  font-size: 80%;
  color: #999;
  border: 1px solid #eee;
  box-sizing: border-box;
  font-weight: 700;
}

.cld-day {
  border: 1px solid #eee;
}

.cld-day.today .cld-number {
  margin: -2px;
  border: 2px solid #c92a1d;
}

.cld-day.disableDay {
  opacity: 0.5;
}

.cld-day.nextMonth,
.cld-day.prevMonth {
  color: #ccc;
}

.cld-number {
  position: relative;
  margin: 0;
  padding: 20% 0;
  font-size: 90%;
  line-height: 1.5;
}

.cld-title {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  display: none;
  padding: 8px 10px;
  font-size: 90%;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
  white-space: nowrap;
}

.cld-number:hover .cld-title {
  display: block;
}

.cld-title::before {
  content: "";
  position: absolute;
  top: -7.5px;
  left: 10px;
  width: 0;
  height: 0;
  border-bottom: 7.5px solid #ccc;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
}

.cld-number.eventday {
  color: #c92a1d;
  background: #ffeede;
  font-weight: bold;
}

.cld-number.eventday:hover {
  background: #eee;
  cursor: pointer;
}

.cld-number.premiumday {
  color: #9b7b13;
  background: #fdeb86;
  font-weight: bold;
}

.cld-number.premiumday:hover {
  background: #eee;
  cursor: pointer;
}

ul.calendar-day-sample {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

ul.calendar-day-sample li {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

ul.calendar-day-sample li span {
  font-size: 0.625rem;
}

.today-sample,
.premiumday-sample,
.eventday-sample {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.today-sample {
  border: 2px solid #c92a1d;
}

.premiumday-sample {
  color: #46390f;
  background: #fdeb86;
}

.eventday-sample {
  color: #c92a1d;
  background: #ffeede;
}
