#calendar {
    margin:0 22px;
}
.eventdetail {display:none;}
.callabelrow {
    margin:12px 22px;
}
.callabel {
    margin:12px 22px;
}
.case0 {
    color:rgba(246, 151, 57, 1);
}
.case1 {
    color:rgba(4, 191, 199, 1);
}
.case2 {
    color:rgba(191, 151, 59, 1);
}
.case3 {
    color:rgba(215, 33, 33, 1);
}
.case4 {
    color:rgba(109, 170, 64, 1);
}
.case5 {
    color:rgba(99, 169, 226, 1);
}
.case6 {
    color:rgba(215, 33, 33, 0.8);
}
.case7 {
    color:rgba(4, 191, 199, 0.8);
}
.case8 {
    color:rgba(191, 151, 59, 0.8);
}
.case9 {
    color:rgba(109, 170, 64, 0.4);
}
.fc td, .fc th {
    border:none;
}
.fc-toolbar {
    padding:1em 0 0 0;
}
.fc-center {
    font-size:36px;
    color:#78586F;
    text-transform:uppercase;
}
.fc-center h2 { 
    font-size:36px;
    color:#666;
    font-weight:300 !important;
}
.zh-HK .fc-center {
    text-transform:none;
}
.zh-CN .fc-center {
    text-transform:none;
}
.fc-left, .fc-right {
    margin-top: 0.5em;
}
.fc-button {
    background:none;
    border:none;
}
.fc-prev-button {
    font-size:21px;
    color:#433141;
    font-size:21px;    
}
.fc-next-button {
    font-size:21px;
    color:#433141;
    font-size:21px;
}

.fc-view thead {
    background: none;
}

.fc-day-header {
    font-size:21px;
    font-weight:300;
    border:none;
    text-transform:lowercase;
    padding:1em 0;
    width:176px;
}
.fc-day-number {
    background:#78586F !important;
    color:#fff;
    font-size:21px;
    font-weight:300;
    text-align:center !important;
    padding:2px 0;
    vertical-align:middle !important;
}
.fc-day-header, .fc-widget-header {
    border:none !important;
}
.fc-day-grid-container table {
    border-spacing: 0px;
    border-collapse: separate;
}
.fc-day-grid-container td, .fc-day-grid-container th {
    border-left:1px solid #ccc;
    border-bottom:1px solid #ccc;
    background:#fff;
    padding: 0;
    vertical-align: top;
    width:176px;
}
.fc-day-grid-event .fc-time {
    font-weight:300;
}
.fc-bg {
    height:213px;
}
.fc-bg tbody {
    border-right:1px solid #ccc;
}
.fc-bg td {
    height:213px;
}
.fc-bg td:nth-child(7) {
    border-right: 1px solid #ccc;
}
.fc-day-number {

}
.fc-basic-view .fc-day-number, .fc-basic-view .fc-week-number {
    padding:0;
}
.fc-bg .fc-other-month {
    background:none !important;
}
.fc-unthemed .fc-today {
    /*background:#fff;*/
}
.fc-event {
    border-radius:0;
    padding:4px 6px 4px 6px;
    overflow:hidden;
}
.fc-time {
    display:block;
    font-size:12px;
    font-weight:300;
    line-height:180%;
}
.fc-title {
    font-size:12px;
    white-space: normal;
    line-height:120%;
    display:inline-block;
    font-weight:400;
}
.fc-day-number.fc-other-month {
    opacity: 1;
    filter: alpha(opacity=100);
    color: #78786F;
}
.fc-event {
    color:#fff;
    background:rgba(246, 151, 57, 1);
    border:1px solid rgba(246, 151, 57, 1);
}
.fc-content-skeleton table tbody {
    border-spacing: 4px;
    border-collapse: separate;
}
.fc td.fc-today {
    /*border-style:initial;*/
}
div.fc-row.fc-week.fc-widget-content {
    height:213px;
}
.popup {
    max-width:800px;
    background: rgba(255,255,255,0.9) !important;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.6) !important;
    /*border-radius:10px;*/
    
}
.eventHeader {display:none;}
.eventTitle {font-size:24px;padding:0 0 0.5em 0;line-height:120%;}
.eventDate {font-size:13px;padding:0 0 1em 0;}
.eventDesc {padding:0.5em 0 1em 0;line-height:120%;}
.eventLink {font-size:13px;padding:1em 0 1em 0;}            
/*.state-disabled {display:none;}*/

.ui-accordion .ui-accordion-header {
    padding: .5em 1em .5em 1em;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #ddd;
    border-bottom:none;
    background: #f0f0f0;
    font-weight: 400;
    color: #666;
}
.ui-widget-content {
    font-size:1em;
    border: 1px solid #ddd;
    background: none;
    color: #333;
    padding: .5em 1em .5em 1em;
}
.ui-accordion-header.ui-state-default {
    border: 1px solid #ddd;
}

@media only screen and (max-width:1023px) {
    .callabel {margin:0.5em 1em 0.5em 1em; width:90%;}
    .eventHeader {display:block;}
    #accordion {
        width:90%;
        margin:0 5% 1em 5%;
        padding:0 0 1em 0;
    }
    #accordion div {
        height:auto !important;
    }
    #accordion h3 {
        font-size:1em;
        font-weight:300;
        margin-bottom:0;
        line-height:140%;
    }
    #accordion h3 p {
        margin:0;
    }
    .eventTitle {display:none;}
    .eventDate {display:none;}
}