.calendar-sm {
    cursor: default;
    width: 800px;
    height: 370px;
}

.calendar {
    cursor: default;
    width: 100%;
    height: 270px;
}

.calendar:after {
    content: "";
    display: table;
    clear: both;
}

.calendar-sm .c-pad-top {
    padding-top: 2%;
}

.calendar .c-pad-top {
    padding-top: 3%;
}

.c-grid {
    height: inherit;
    margin-bottom: 15px;
}

.c-day {
    width: 14.28%;
    height: 13%;
    background-color: rgba(0, 0, 0, 0.3);
    float: left;
    text-align: center;
    color: #fff;
}

.c-day-previous-month {
    width: 14.28%;
    height: 13%;
    background-color: rgba(0, 0, 0, 0.1);
    float: left;
    text-align: center;
    color: #666;
}

.c-day-next-month {
    width: 14.28%;
    height: 13%;
    background-color: rgba(0, 0, 0, 0.1);
    float: left;
    text-align: center;
    color: #666;
}

.c-week-day {
    width: 14.28%;
    height: 10.38%;
    box-shadow: 0 1px 0 0 #666 inset, 0 -1px 0 0 #666 inset;
    color: #fff;
    float: left;
    text-align: center;
    font-weight: bold;
    padding-top: 1%;
}

.c-next {
    width: 12.5%;
    height: 12%;
    padding: 2% 2% 0 2%;
    text-align: right;
    cursor: pointer;
}

.c-previous {
    width: 12.5%;
    height: 12%;
    padding: 2% 2% 0 2%;
    text-align: left;
    cursor: pointer;
}

.c-month {
    width: 75%;
    height: 12%;
    text-align: center;
}

.c-nav-btn-over {
    background-color: rgb(137, 163, 192) !important;
    font-weight: bold;
}

.c-today {
    background-color: #c10408;
}

.c-event {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    transition: all .3s;
}

.c-grid {
    float: left;
    width: 50%;
    border: 1px solid #666;
}

.c-event-grid {
    margin-left: 1px;
    height: inherit;
    width: 49%;
    border: 1px solid #666;
    margin-bottom: 15px;
    float: right;
}

.c-grid-title {
    font-weight: bold;
    float: left;
    color: #fff;
}

.c-event-title {
    width: 100%;
    height: 12%;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

.c-event-body {
    color: #fff;
    height: 88.1%;
    border-top: 1px solid #666;
}

.c-event-list {
    padding: 7px 0 0 0;
    overflow: auto;
    height: 95%;
}

.c-event-item>.title {
    font-weight: bold;
}


/*
.c-event-item>div {
    text-overflow: ellipsis;
    width: inherit;
    overflow: hidden;
    white-space: nowrap;
}
*/

.c-event-item {
    padding-left: 10px;
    margin-bottom: 10px;
    transition: all .3s;
}

.c-event-over {
    background-color: #fff;
    color: #222;
}

@media (max-width:992px) {
    .c-grid,
    .c-event-grid {
        width: 100%;
    }
    .calendar {
        height: auto;
    }
}