@charset "UTF-8";
#calendar {
  display: block;
  padding: 0;
  padding-top: 10px;
}

/* .cal-head 日曆標題 */
.cal-head {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.cal-prev {
  left: 8px;
}
.cal-prev:before {
  border-right: 9px solid #333;
}

.cal-next {
  right: 8px;
}
.cal-next:before {
  border-left: 9px solid #333;
}

.cal-prev:before,
.cal-next:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/*  */
.cal-title {
  width: 120px;
  margin: 0 auto;
  color: #333;
  font: bold 14px/18px Arial;
  text-align: center;
}
.cal-title a {
  border: 1px solid transparent;
  color: #ffa2c4;
}

.cal {
  border-collapse: separate;
  border-width: 1px 0 0 1px;
  table-layout: fixed;
  width: 100%;
  margin: 0;
}
.cal th {
  background: #ffa2c4;
  color: #fff;
  border-width: 0 1px 1px 0;
  font-weight: 700;
}
.cal td {
  border-width: 0 1px 1px 0;
  white-space: nowrap;
}
.cal tbody a {
  background-color: rgb(255, 0, 162);
  color: #fff;
  display: block;
  font-weight: 700;
}
.cal tbody .cal-today {
  background-color: #ffa2c4;
  color: #000;
}
.cal .cal-gray {
  color: #ddd;
}
.cal .cal-foot {
  color: #ffa2c4;
}

.cal th,
.cal td {
  font-weight: normal;
  line-height: 1.5;
  padding: 0;
  text-align: center;
}

.cal-title a:hover,
.cal-prev:hover,
.cal-next:hover,
.cal .cal-foot:hover,
.cal .cal-foot:focus,
.cal tbody a:hover,
.cal tbody a:focus {
  background-color: #ffa2c4;
  color: #fff;
  cursor: pointer;
}