
.calendar {
    width: 100%;
    height: 330px;
    margin:0 auto;
    background-color: #fff;
    box-shadow:0px 5px 15px 0px rgba(179,179,179,0.67);
}

.calendar-modal {
    display: none;
    background: #fdfdfd;
    border: 1px solid #e8e8e8;
    box-shadow: 1px 2px 3px #ddd
}

.calendar-inner {
    position: relative;
    z-index: 1;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
}
.calendar-views {
    transform-style: preserve-3d;
}
.calendar .view {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    *overflow: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}
.calendar-d .view-month,
.calendar-m .view-date {
    transform: rotateY(180deg);
    visibility: hidden;
    z-index: 1;
}
.calendar-d .view-date,
.calendar-m .view-month {
    transform: rotateY(0deg);
    visibility: visible;
    z-index: 2;
}
.calendar-ct,
.calendar-hd,
.calendar-views .week,
.calendar-views .days {
    overflow: hidden;
}
.calendar-views {
    width: 100%;
}

.calendar-arrow .prev,.calendar-arrow .next{
    display: block;
    position: relative;
    width:40px;
    height:40px;
}



.calendar-arrow .prev::before{
    content:"";
    position: absolute;
    top:15px;
    left:15px;
    width:0;
    height:0;
    font-size: 0;
    padding: 0;
    margin:0;
    border-right:10px solid #ddd;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.calendar-arrow .next::before{
    content:"";
    position: absolute;
    top:15px;
    left:15px;
    width:0;
    height:0;
    font-size: 0;
    padding: 0;
    margin:0;
    border-left:10px solid #ddd;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

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

.calendar-hd {
    border-top: 1px solid #ebebeb;
    padding: 5px 5px;
    height: 30px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.calendar-display {
    font-size: 15px;
    text-indent: 10px;
    color:#333;
}

.view-month .calendar-hd {
    padding: 10px;
}
.calendar-arrow,
.calendar-display {
    color: #333;
}
.calendar li[disabled] {
    color: #bbb;
}
.calendar li.old[disabled],
.calendar li.new[disabled] {
    color: #eee;
}

.calendar-views .week,
.calendar-views .days .old,
.calendar-views .days .new,
.calendar-display:hover,
.calendar-arrow span:hover {
    color: #888;
}
.calendar-display .m{
    color: #333;
}

.calendar-views .week{
    background-color: #eaeaea;
    color:#333;
}

.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: 40px;
}

.calendar-arrow span {
    font: 500 26px sans-serif;
    padding:0 5px;
    margin-right: 10px;
}

.calendar ol li {
    position: relative;
    float: left;
    text-align: center;
    border-radius: 50%;
}
.calendar .week li,
.calendar .days 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: url(../images/now.png) no-repeat 50% 50%!important;  
    background-size: 25px 25px !important;
}
.calendar .calendar-views .shi{
    color: #3A71FB;
    background: url(../images/shi.png) no-repeat 50% 50%!important;  
    background-size: 25px 25px !important;
}
.calendar .calendar-views .selected {
    color: #fff;
    background: url(../images/qianlv.png) no-repeat 50% 50%!important;  
    background-size: 25px 25px !important;
}

.calendar .calendar-views .dot{
   position: absolute;
   z-index: -1;
   left: 50%;
   top: 50%;
    margin-left: -20px;
    margin-top: -20px;
    width:40px;
    height: 40px;
    background: url(../images/shi.png) no-repeat 50% 50%!important;  
    background-size: 25px 25px !important;
    border-radius: 50%;
}

.calendar-views .now .dot {
    background: #3A71FB;
}

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

.calendar-label {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    padding: 5px 10px;
    line-height: 22px;
    color: #fff;
    background: #000;
    border-radius: 3px;
    opacity: .7;
    filter: alpha(opacity=70);
}
.calendar-label i {
    display: none;
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 0;
    height: 0;
    margin-left: -3px;
    border: 6px solid transparent;
    border-top-color: #000;
}