* { margin: 0; padding: 0; }
body { font-family: "Microsoft Yahei"; font-size: 12px; color: #888; }
a, a:hover { color: #888; text-decoration: none; }
ul, li { list-style: none; }

.calendar {
  display: none;
  /* width: 305px; */
  width: 104%;
  padding: 10px;
  background-color: #fafafa;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,.15);
}
.calendar-title {
  position: relative;
  height: 50px;
  line-height: 30px;
  padding: 10px 0;
}
.calendar-title a.title {
  display: inline-block;
  font-size: .26rem;
  color: #05a39a;
  text-indent: 10px;
}
#backToday {
  position: absolute;
  left: 70%;
  top: 8px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background-color: rgb(255, 128, 142);
  font-size: 18px;
  display: none;
}
.calendar-title .arrow {
  position: absolute;
  top: 10px;
  right: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  padding: 0 8px;
}
.calendar-title .arrow span {
  display: inline-block;
  width: .35rem;
  height: .35rem;
  line-height: .3rem;
  text-align: center;
  border: 2px #a1a1a1 solid;
  border-radius:50% ;
  color: transparent;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  z-index: 1;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

span.arrow-prev::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px #a1a1a1 solid;
	border-left: 2px #a1a1a1 solid;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-28%,-50%) rotate(-45deg);
	z-index: 1;
	transition: all .35s;
}

span.arrow-next::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px #a1a1a1 solid;
	border-right: 2px #a1a1a1 solid;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-68%,-50%) rotate(45deg);
	z-index: 1;
	transition: all .35s;
}


.calendar-title .arrow span:hover,
span.arrow-prev:hover::before ,
span.arrow-next:hover::before {
  border-color: #05a39a ;
  transition: all .35s;
}



.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;
  margin-right: 4.5%;
  width: .35rem;
  height: .35rem;
  line-height: .35rem;
  text-align: center;
  /* font-size: .16rem; */
}

.calendar-week .item:last-child,
.calendar-date .item:nth-child(7n) { margin-right: 0; }

.calendar-week {
 /* padding-bottom: 6px;
  border-bottom: 1px solid rgb(255, 128, 142); */
  font-weight: bold;
  color: #333;
 /* font-size: 16px; */
}
.calendar-date {}
.calendar-date .item {
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  opacity: 0;
}
.calendar-date .item:hover,
.calendar-date .item-curMonth:hover {
  background-color: #f0f0f0;
}
.calendar-date .item-curMonth {
  color: #333;
  /* font-weight: bold; */
  opacity: 1;
}
.calendar-date .item-curDay,
.calendar-date .item-curDay:hover {
  color: #fff;
  background-color: #05a39a;
  opacity: 1;
}


.calendar-date .item-selected,
.calendar-date .item-selected:hover {
  color: #05a39a;
  background: #cdedeb;
}
.calendar-today {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 90px;
  height: 48px;
  padding: 6px 10px;
  background-color: rgb(255, 128, 142);
  border-radius: 5px;
}
.calendar-today .triangle {
  position: absolute;
  top: 50%;
  left: -16px;
  margin-top: -8px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent rgb(255, 128, 142) transparent transparent;
}
.calendar-today p {
  color: #fff;
  font-size: 14px;
  line-height: 24px;
}
