.calendar {
    position: relative;
    margin: 0 auto;
    border: 1px solid #0079fe;
    min-height: 290px;
}

.calendar .left {
    float: left;
}

.calendar .clear {
    clear: both;
}

.calendar .clear.zero {
    height: 0;
    font-size: 0;
}

.calendar .added-event {
    display: none;
}

.calendar-pages {
    position: relative;
    background-color: #fff;
    float: left;
    z-index: 3;

    border: 1px solid #EEEEEE;
}

.calendar-header {
    position: relative;
    z-index: 5;
}

.calendar-pages .title {
    background: url(../images/bannerbg_blue.jpg) repeat-x;
    border: 1px solid #205AA7;
    height: 28px;
    padding: 0 0 0 10px;
    width: 234px;
}

.calendar-pages .title a {
    color: #fff;
    font-family: "黑体", sans-serif;
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    text-decoration: none;
}

.calendar-header .ym {
    float: right;
    padding: 7px 0;
}

.calendar-header .y,
.calendar-header .m {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    margin-right: 14px;
    display: inline;
    width: 58px;
    border: 1px solid #e3e3e3;
    float: left;
    color: #999;
    text-indent: 10px;
    text-align: left;
    background: #fff url(../images/arrow.png) no-repeat 41px 3px;
    position: relative;
    cursor: pointer;
    z-index: 998;
}

.calendar-header .y.on,
.calendar-header .m.on {
    background-position: 41px -13px;
}

.calendar-header .y ul,
.calendar-header .m ul {
    position: absolute;
    width: 82px;
    top: 20px;
    left: -1px;
    z-index: 999;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-bottom: none;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.calendar-header .y ul li,
.calendar-header .m ul li {
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    border-bottom: 1px solid #e3e3e3;
    color: #555;
}

.calendar-header .y ul li:hover,
.calendar-header .m ul li:hover {
    background: #205aa7;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #6996d2), color-stop(100%, #1352a6)), #A77E2E;
    background: -webkit-linear-gradient(#6996d2 20%, #1352a6), #A77E2E;
    background: -moz-linear-gradient(#6996d2 20%, #1352a6), #A77E2E;
    background: -o-linear-gradient(#6996d2 20%, #1352a6), #A77E2E;
    background: linear-gradient(#6996d2 20%, #1352a6), #A77E2E;
    color: #fff;
}

.calendar-header .day-names {
    overflow: hidden;
    text-align: center;
    font-size: 0;
    width: 100%;
    height: 30px;
    background: #eeeeee;
    float: left;
    border-top: 1px solid #fff;
    overflow: hidden;
}

.calendar-header h2 {
    width: 51.4px;
    border-left: 1px solid #e3e3e3;
    float: left;
    text-align: center;
    margin: 0;
    height: 30px;
    line-height: 30px;
    font-weight: normal;
    font-size: 12px;
    box-sizing: border-box;
}

.calendar-header h2:first-child {
    border-left: none;
}

.calendar .total-bar {
    background-color: #f0f0f0;
    border-radius: 30px;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    color: #666;
    font: 12px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    height: 24px;
    line-height: 24px;
    margin: 10px;
    padding-left: 10px;
}

.calendar .total-bar b {
    color: #65c2c0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 1);
}

.calendar .days {
    width: 100%;
    font-size: 0;
    text-align: center;
    float: left;
    border: none;
}

.calendar .days .day {
    width: 51.4px;
    float: left;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    border-left: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
    font-size: 12px;
    color: #131313;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.calendar.mid .days .day {
    height: 40px;
    font-size: 18px;
    padding-top: 7px;
}

.calendar .days .this-month:hover {
    background: #205aa7 !important;
    color: #fff;
}

.calendar .days .day.selected {
    box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.4), inset 0 -10px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-shadow: 0 1px 1px #000;
}

.calendar .days .day.today {
    background: #205aa7 !important;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #6996d2), color-stop(100%, #1352a6)), #A77E2E !important;
    background: -webkit-linear-gradient(#6996d2 20%, #1352a6), #A77E2E !important;
    background: -moz-linear-gradient(#6996d2 20%, #1352a6), #A77E2E !important;
    background: -o-linear-gradient(#6996d2 20%, #1352a6), #A77E2E !important;
    background: linear-gradient(#6996d2 20%, #1352a6), #A77E2E !important;
    color: #fff;
}

.calendar .days .day.today i {
    background: url(../images/icon_calDay.gif) no-repeat right top;
}

.calendar .days .day .details {
    display: none;
}

.calendar .days .day.selected i {
    display: none;
}

.calendar .days .day i {
    position: absolute;
    right: 1px;
    top: 1px;
    width: 10px;
    height: 10px;
    font-size: 0;
    display: block;
    background: url(../images/icon_calCurrent.gif) no-repeat right top;
}

#calendar .todayPublish,
#calendar .tomorrowPublish {
    height: 72px;
    overflow: hidden;
    line-height: 22px;
    width: 50%;
    float: left;
    border: 1px solid #e3e3e3;
    border-top: none;
    font-size: 12px;
    position: relative;
    z-index: 2;
    text-align: center;
}

#calendar .todayPublish ul,
#calendar .tomorrowPublish ul {
    position: absolute;
    left: 0px;
    top: 0;
    width: 181px;
    margin-top: 22px;
    padding-left: 20px;
    text-align: left;
}

#calendar .todayPublish ul li,
#calendar .tomorrowPublish ul li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#calendar .todayPublish span,
#calendar .tomorrowPublish span {
    width: 64px;
    padding-left: 3px;
    position: absolute;
    line-height: 22px;
    height: 22px;
    top: 0;
    left: 0;
}

.calendar .showDates {
    display: none;
    width: 228px;
    border: 1px solid #e3e3e3;
    min-height: 30px;
    background: #f90;
    position: absolute;
    left: 0;
    padding: 10px 10px 5px;
    z-index: 10;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.25);
    background: #fffcef url(../images/showDates.png) repeat-x;
}

.calendar .showDates li {
    height: auto;
    line-height: 18px;
    padding: 0 5px;
    margin-bottom: 5px;
    list-style: inside;
}

.calendar .showDates li span {
    white-space: nowrap;
    float: none;
}

.todayPublish,
.tomorrowPublish {
    background: #0079FE;
    color: #FFFFFF;
    float: left;
    height: 80px;
    width: 181px;
    padding: 20px;
    box-sizing: border-box;
    font-size: 12px;
}

.tomorrowPublish {
    float: right;
    width: 182px;

}

#calendar .todayPublish p,
#calendar .tomorrowPublish p {
    width: 100%;
    padding-left: 3px;
    position: absolute;
    line-height: 22px;
    height: 22px;
    top: 0;
    left: 0;
    text-align: left;
    background: #0079FE;
    z-index: 999;
}