#demo .calendar {
    width: 280px;
    height: 330px;
}
#demo .calendar-modal {
    display: none;
    position: absolute;
    background: #fdfdfd;
    border: 1px solid #e8e8e8;
    box-shadow: 1px 2px 3px #ddd;
    z-index:34333;
}
#demo .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;
}
#demo .calendar-views {
    transform-style: preserve-3d;
}
#demo .calendar .view {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    *overflow: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}
#demo .calendar-d .view-month,
#demo .calendar-m .view-date {
    transform: rotateY(180deg);
    visibility: hidden;
    z-index: 1;
}
#demo .calendar-d .view-date,
#demo .calendar-m .view-month {
    transform: rotateY(0deg);
    visibility: visible;
    z-index: 2;
}
#demo .calendar-ct,
#demo .calendar-hd,
#demo .calendar-views .week,
#demo .calendar-views .days {
    overflow: hidden;
}
#demo .calendar-views {
    width: 100%;
}
#demo .calendar .view,
#demo .calendar-display,
#demo .calendar-arrow .prev,
#demo .calendar .date-items li {
    float: left;
}
#demo .calendar-arrow,
#demo .calendar-arrow .next {
    float: right;
}
#demo .calendar-hd {
    padding: 10px 0;
    height: 30px;
    line-height: 30px;
}
#demo .calendar-display {
    font-size: 28px;
    text-indent: 10px;
}
#demo .view-month .calendar-hd {
    padding: 10px;
}
#demo .calendar-arrow,
#demo .calendar-display {
    color: #ddd;
}
#demo .calendar li[disabled] {
    color: #bbb;
}
#demo .calendar li.old[disabled],
#demo .calendar li.new[disabled] {
    color: #eee;
}
#demo .calendar-display .m,
#demo .calendar-views .week,
#demo .calendar-views .days .old,
#demo .calendar-views .days .new,
#demo .calendar-display:hover,
#demo .calendar-arrow span:hover {
    color: #888;
}

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

#demo .calendar-arrow {
    width: 50px;
    margin-right: 10px;
}
#demo .calendar-arrow span {
    font: 500 26px sans-serif;
}

#demo .calendar ol li {
    position: relative;
    float: left;
    text-align: center;
    border-radius: 50%;
}
#demo .calendar .week li,
#demo .calendar .days li {
    width: 40px;
    height: 40px;
    line-height: 40px;
}
#demo .calendar .month-items li {
    width: 70px;
    height: 70px;
    line-height: 70px;
}
#demo .calendar .days li[data-calendar-day]:hover,
#demo .calendar .view-month li[data-calendar-month]:hover {
    background: #eee; 
}
#demo .calendar .calendar-views .now {
    color: #fff;
    background: #04367d!important;  
}
#demo .calendar .calendar-views .selected {
    color: #04367d;
    background: #04367d30!important;
}
#demo .calendar .calendar-views .dot {
    position: absolute;
    left: 50%;
    bottom: 4px;
    margin-left: -4px; 
    width: 8px;
    height: 8px;
    background: #04367d;
    border-radius: 50%;
}
#demo .calendar-views .now .dot {
    background: #fff;
}

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

#demo .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);
}
#demo .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;
}