#calendar-wrap:after {
    content:""; display:block; clear:both;
}

#calendar header {
	text-align: center;
}

#calendar {
	width: 100%;	
}

#calendar a {
	color: #333;
	text-decoration: none;
}

#calendar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

#calendar li {
	display: block;
	float: left;
	width:14.38%;
	padding: 5px;
	box-sizing:border-box;
	border: 1px solid #dadada;
	margin-right: -1px;
	margin-bottom: -1px;
}

#calendar ul.weekdays {
	min-height: 52px;
	background: #124e87;
}

#calendar li.weekend {
	min-height: 52px;
	/*background: #c66;*/
}

#calendar ul.weekdays li {
	text-align: center;
	text-transform: uppercase;
	line-height: 20px;
	border: none;
	border-right: 1px solid #fff;
	padding: 16px 6px;
	color: #fff;
	font-size: 16px;
    font-weight: bold;
}

#calendar ul.weekdays li:last-child{border-right:none;}

#calendar .days li {
	height: 150px;
    overflow: auto;
}

#calendar .days li:hover {
	background: #f5f7f9;
}

#calendar .date {
	text-align: center;
	margin-bottom: 6px;
	padding: 6px;
	/*background: #0078ad;
	color: #fff;
	color: #0078ad;*/
	width: 28px;
	border-radius: 50%;
	float: left;/*right;*/
    line-height: 1em;
    font-size: 16px;/*13px;*/
    font-weight: bold;
}

#calendar .weekenddate {
    /*background: #c66;*/
	color: #e01354;
}

#calendar .weekenddate.sat{
    /*background: #c66;*/
	color: #124e87;
}

#calendar .event {
	clear: both;
	display: block;
	font-size: 12px;
	/*border-radius: 4px;*/
	padding: 4px;
	margin-top: 6px;
	margin-bottom: 4px;
	line-height: 14px;
	/*background-color: slategray;*/
	border-top: 3px solid #b5dbdc;
	color: #009aaf;
	text-decoration: none;
}

#calendar .event-desc {
	color: #666;
	margin: 2px 0;
	text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#calendar .other-month {
	background: #f5f5f5;
	color: #666;
}

/* ============================
				Mobile Responsiveness
   ============================*/


@media(max-width: 768px) {

	#calendar .weekdays, #calendar .other-month, #calendar-wrap .lst {
		display: none;
	}

	#calendar li {
		height: auto !important;
		border: 1px solid #ededed;
		width: 100%;
		padding: 10px;
		margin-bottom: -1px;
	}

	#calendar .date {
		float: none;
	}
}
