#calendar-panel {
    max-width: 890px;
	background: #ce212e;
    position: relative;
    padding: 20px 0;
    text-align: center;
    margin: 0 auto;
}
#calendar-note {
    max-width: 879px;
	background: #f1f1f2;
	color: #514f4e;
    padding: 8px 0px 10px 12px;
    margin: 0 auto;
}
#calendar-panel h2 {
	color: #fff;
    display: inline-block;
    margin: 0;
    padding: 0 20px;
    font-size: 1.3125em;
}

#calendar-panel select {
    min-width: 100px;
    border: 0;
    outline: 0;
}

#calendar-panel .fa {
    position: relative;
    color: #ce212e;
    background-color: #fff;
    border-radius: 50px;
    width: 20px;
    height: 20px;
	line-height: 22px;
}

#calendar-panel .month-nav .fa:hover {
    color: #ce212e;
}
#calendar-panel .month-nav a {
	display: inline-block;
	padding-top: 3px;
	vertical-align: top;
}

#calendar-panel .event-cat {
    margin-top: 5px;
}

#calendar-panel .event-dot {
    margin-top: 5px;
}

#calendar-panel .event-dot>span {
    margin-left: 5px;
}

#calendar-panel .event-dot span {
    display: inline-block;
    vertical-align: middle;
}

#calendar {
    width: 100%;
    max-width: 890px;
	border-spacing: 0;
	border-collapse: collapse;
	margin: 0 auto;
}

#calendar td {
    border: 2px solid #f1f1f2;
}

#calendar th {
    background-color: #ce212e;
    border: 1px solid #ce212e;
    padding: 10px;
    font-size: 0.9375em;
    font-weight: normal;
    color: #fff;
    text-align: center;
}

#calendar td {
    position: relative;
    min-width: 14.2857142857%;
    width: 14.2857142857%;
    height: 90px;
    overflow: hidden;
}

#calendar td:hover,
#calendar td.current {
    background-color: rgba(255, 253, 237, 1);
}

#calendar .day {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 1.0625em;
    color: #666;
}

#calendar .day.holiday {
    color: #ce212e;
}
#calendar td .no_open {
	text-align: center;
}
#calendar td .open,
#calendar td .open a {
	color: #e54918;
	text-align: center;
}

#calendar ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    padding: 5px 10px;
    max-height: 98px;
    overflow: hidden;
}

#calendar li {
    position: relative;
    padding-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#calendar li:hover {
    color: #3399cc;
}

#calendar li.more {
    text-align: right;
}

#calendar li.more:before {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 0;
    right: 50px;
    height: 1px;
    background-color: #003366;
}
@media (max-width: 768px) {
    #calendar-container {
        width: 100%;
    }
    #calendar.home .day {
        color: #003366;
        font-size: 2.5em;
        left: 10px;
        top: 0px;
    }
    #calendar.home .day span {
        color: #999;
        font-size: 0.9375em;
        padding-left: 5px;
        display: inline-block;
        font-weight: normal;
    }
    #calendar.home td {
        height: 170px;
    }
    #calendar td {
        width: 100%;
    }
    .table-responsive-seperate tr,
    .table-responsive-seperate td {
        display: block;
    }
    .table-responsive-seperate th {
        display: none;
    }
    .table-responsive-seperate td {
        position: relative;
        margin-bottom: -1px;
        padding: 10px 10px 10px 90px;
        text-align: left;
    }
    #calendar td {
        width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
    }
    .table-responsive-seperate td:first-of-type {
        padding-left: 90px;
    }
    .table-responsive-seperate td:before {
        position: absolute;
        content: "(" attr(data-th) ")";
        left: 32px;
        top: 7px;
        width: 80px;
        display: inline-block;
        white-space: nowrap;
    }
    #calendar .ntm {
        display: none;
    }
    #calendar.home .day span {
        display: none;
    }
    #calendar-note {
    	width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
    }
    .xd-hide {
    	display: none !important;
    }
}
#calendar-panel .month-nav a span {
    font-size: 0;
}