#cal {
  position: relative;
}

#calMask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.calendar {
  width: 280px;
  height: 330px;
}

.calendar ol,
.calendar ul {
  margin: 0;
  padding: 0;
}

.calendar .view {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.calendar .calendar-views .dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #a9c7ec;
  border-radius: 50%;
}

.calendar .calendar-views .now .dot {
  border-color: #1b467b;
}

.calendar .days li, .calendar .week li {
  height: 24.57px !important;
  line-height: 24.57px !important;
  width: 24.57px !important;
  margin: 2px 16.285px;
}

.calendar-label,
.calendar-label i {
  display: none;
  left: 50%;
  position: absolute;
}

.calendar-modal {
  display: none;
  position: absolute;
  background: #fdfdfd;
  border: 1px solid #e8e8e8;
}

.calendar-modal .view {
  box-shadow: 1px 2px 3px #ddd;
}

.calendar-inner {
  position: relative;
  z-index: 1;
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  perspective: 1000;
  -webkit-transform: perspective(1000px);
  transform: perspective(1000px);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.calendar-views {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  width: 100%;
}

.calendar-d .view-month,
.calendar-m .view-date {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  visibility: hidden;
  z-index: 1;
}

.calendar-d .view-date,
.calendar-m .view-month {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
  visibility: visible;
  z-index: 2;
}

.calendar-ct,
.calendar-hd,
.calendar-views .days,
.calendar-views .week {
  overflow: hidden;
}

.calendar .date-items li,
.calendar .view,
.calendar-arrow .prev,
.calendar-display {
  float: left;
}

.calendar-arrow,
.calendar-arrow .next {
  float: right;
}

.calendar-ct {
  height: 280px;
}

.calendar-hd {
  line-height: 30px;
  background: #1b467b;
  color: #fff;
}

.calendar-display {
  font-size: 20px;
  text-indent: 10px;
}

.view-month .calendar-hd {
  padding: 10px;
}

.calendar-display .m,
.calendar-arrow,
.calendar-display {
  color: #ddd;
}

.calendar li[disabled] {
  color: #bbb;
}

.calendar li.new[disabled],
.calendar li.old[disabled] {
  color: #eee;
}

.calendar-arrow span:hover,
.calendar-display:hover {
  color: #fff;
}

.calendar-views .week {
  color: #888;
}

.calendar-views .days .new,
.calendar-views .days .old {
  color: #ccc;
}

.calendar-arrow span,
.calendar-views .days li[data-calendar-day],
.calendar-views .view-month li[data-calendar-month] {
  cursor: pointer;
}

.calendar li[disabled] {
  cursor: not-allowed;
}

.calendar-arrow {
  width: 50px;
  margin-right: 10px;
}

.calendar-arrow span {
  font: 500 20px sans-serif;
}

.calendar ol li {
  position: relative;
  float: left;
  text-align: center;
  border-radius: 50%;
}

.calendar .days li,
.calendar .week li {
  width: 40px;
  height: 40px;
  line-height: 40px;
}

.calendar .month-items li {
  width: 70px;
  height: 70px;
  line-height: 70px;
}

.calendar .days li[data-calendar-day]:hover,
.calendar .view-month li[data-calendar-month]:hover {
  background: #eee;
}

.calendar .calendar-views .now {
  color: #fff;
  background: #1b467b !important;
}

.calendar .calendar-views .selected {
  color: #1b467b;
  background: #d3e2f5 !important;
}

.calendar .date-items {
  width: 300%;
  margin-left: -100%;
}

.calendar-label {
  top: 50%;
  z-index: 2;
  padding: 5px 10px;
  line-height: 22px;
  color: #fff;
  background: #000;
  border-radius: 3px;
  opacity: 0.7;
  filter: alpha(opacity=70);
}

.calendar-label i {
  bottom: -12px;
  width: 0;
  height: 0;
  margin-left: -3px;
  border: 6px solid transparent;
  border-top-color: #000;
}

#calEvtlist {
  padding: 0 0.5em;
  height: 280px;
  overflow: hidden;
}

#calEvtlist .head {
  margin: 0.5em 0;
  padding-bottom: 0;
  color: #1b467b;
  font-weight: bold;
  font-size: 14px;
}

#calEvtlist li {
  font-size: 12px;
  line-height: 1.5em;
  padding: 0.5em;
}

#calEvtlist li:nth-child(even) {
  background: #f6f6f6;
}

#calEvtlist li div {
  color: #999;
  text-indent: 2em;
}

#calEvtlist li .title {
  display: block;
  width: 100%;
  color: #1b467b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
