.calendar {
  display: none;
  width: 3.5rem;
  padding: 0.1rem;
  margin: 0.3rem auto 0;
  background-color: #fafafa;
  border-radius: 6px;
}
.calendar-title {
  position: relative;
  line-height: 0.3rem;
  padding: 0.1rem 0;
}
.calendar-title a.title {
  display: inline-block;
  font-size: 0.26rem;
  text-indent: 0.1rem;
}
#backToday {
  position: absolute;
  left: 70%;
  top: 0.08rem;
  width: 0.4rem;
  height: 0.4rem;
  line-height: 0.4rem;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background-color: rgb(255, 128, 142);
  font-size: 0.18rem;
}
.calendar-title .arrow {
  position: absolute;
  top: 0.1rem;
  right: 0;
  width: 0.5rem;
}
.calendar-title .arrow span {
  color: #ddd;
  font-size: 0.26rem;
  cursor: pointer;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.calendar-title .arrow span:hover {
  color: #888;
}
.calendar-title .arrow-prev {
  float: left;
}
.calendar-title .arrow-next {
  float: right;
}
.calendar-week,
.calendar-date {
  overflow: hidden;
}
.calendar-week .item,
.calendar-date .item {
  float: left;
  width: 0.47rem;
  height: 0.47rem;
  line-height: 0.47rem;
  text-align: center;
}
.calendar-week {
  padding-bottom: 0.06rem;
  border-bottom: 1px solid rgb(255, 128, 142);
  font-weight: bold;
  font-size: 0.16rem;
}
.calendar-date .item {
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.14rem;
}
.calendar-date .item:hover,
.calendar-date .item-curMonth:hover {
  background-color: #f0f0f0;
}
.calendar-date .item-curMonth {
  color: #333;
  font-weight: bold;
}
.calendar-date .item-curDay,
.calendar-date .item-curDay:hover {
  color: #fff;
  background-color: rgb(255, 128, 142);
}
.calendar-date .item-selected,
.calendar-date .item-selected:hover {
  color: rgb(255, 128, 142);
  background: #cde9d9;
}
.calendar-today {
  display: none;
  position: absolute;
  right: 0.2rem;
  top: 0.2rem;
  width: 0.9rem;
  height: 0.48rem;
  padding: 0.06rem 0.1rem;
  background-color: rgb(255, 128, 142);
  border-radius: 0.05rem;
}
.calendar-today .triangle {
  position: absolute;
  top: 50%;
  left: -0.16rem;
  margin-top: -0.08rem;
  border-width: 0.08rem;
  border-style: solid;
  border-color: transparent rgb(255, 128, 142) transparent transparent;
}
.calendar-today p {
  color: #fff;
  font-size: 0.14rem;
  line-height: 0.24rem;
}
