@charset "UTF-8";
.calendar_box {
  width: 100%;
}
.calendar .title {
  height: 84px;
  background-image: linear-gradient(270deg, #de332b 0%, #ffc064 100%);
  border-radius: 8px 8px 0px 0px;
  text-align: center;
  line-height: 84px;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  position: relative;
}
.calendar .choice {
  height: 84px;
  line-height: 84px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0 1%;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
}
.calendar .choice p {
  flex: 1;
  position: relative;
  text-align: center;
}
.calendar .choice p.month::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  content: '';
  width: 1px;
  height: 12px;
  background-color: #fff;
}
.calendar .choice span {
  vertical-align: middle;
}
.calendar .choice .month_name,
.calendar .choice .year_name {
  display: inline-block;
  text-align: center;
}
.calendar .choice .choice_button {
  cursor: pointer;
  display: inline-block;
  padding: 0 5%;
}
.calendar .choice .month .prev {
  padding-left: 0px;
}
.calendar .choice .year .next {
  padding-right: 0px;
}
.calendar .table_box {
  background-color: #ffffff;
  box-shadow: 0px 0px 6px 0px rgba(28, 76, 165, 0.2);
  border-radius: 0px 0px 8px 8px;
  padding: 20px;
}
.calendar table {
  width: 100%;
  margin: 0 auto;
  /*非本月日期*/
}
.calendar table tr {
  height: 60px;
  line-height: 60px;
}
.calendar table thead tr {
  height: 40px;
  position: relative;
}
.calendar table thead tr::after {
  z-index: 0;
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  height: 40px;
  background-color: #fff4e3;
  border-radius: 19px;
}
.calendar table th {
  text-align: center;
}
.calendar table th span {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 60px;
  height: 60px;
  font-size: 22px;
  font-weight: bold;
  color: #a31b21;
  line-height: 60px;
  text-align: center;
}
.calendar table td {
  width: calc(100% / 7);
  text-align: center;
  font-size: 22px;
  font-weight: normal;
  color: #333333;
  cursor: pointer;
}
.calendar table td.current_day {
  background: #cbcbcb;
}
.calendar table td.unselected_month {
  color: #b5b5b5;
}
.calendar .riqi {
  position: relative;
  z-index: 9999999;
  margin: 0 auto;
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
}
.calendar .riqi.bgHover {
  background: #a31b21;
  color: #fff !important;
  text-decoration: none !important;
}
.calendar .riqi .piaofu {
  display: none;
  z-index: 100;
  position: absolute;
  bottom: 63px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  border-radius: 6px;
  background: #a31b21;
  padding: 10px;
  text-align: left;
}
.calendar .riqi .piaofu span {
  display: block;
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #a31b21;
}
.calendar .riqi .piaofu ul li {
  list-style: none;
  padding-left: 13px;
  text-align: left;
  position: relative;
}
.calendar .riqi .piaofu ul li + li {
  margin-top: 8px;
}
.calendar .riqi .piaofu ul li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0px;
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 50%;
}
.calendar .riqi .piaofu ul li a {
  display: inline-block;
  font-size: 17px;
  font-weight: normal;
  color: #fff;
  line-height: 1.5;
  text-decoration: none;
}
.calendar .riqi .piaofu ul li a:hover {
  text-decoration: underline;
}
.calendar .riqi.current .piaofu {
  display: block;
}
