.fp-calendar,
.fp-calendar>.month {
	margin-bottom: 22px;
}

.fp-calendar>h2 {
	text-align: center;
}

.fp-calendar .events {
	border-radius: 4px;
	overflow: hidden;
}

.fp-calendar .events>.event {
	background: #004B8D;
	color: #fff;
	border: none;
	display: block;
	padding: 10px 15px;
	width: 100%;
}

.fp-calendar .events>.event+.event {
	margin-top: 1px;
}

.fp-calendar .events>.event:hover,
.fp-calendar .events>.event:focus {
	background: #003b6f;
	color: #fff;
	text-decoration: none;
}

.fp-calendar .events>div.event,
.fp-calendar .events>div.event:hover,
.fp-calendar .events>div.event:focus {
	background-color: #2a2a2a;
	color: #fff;
}

.fp-calendar.list-view .hidden-xs {
	display: none;
}

.fp-calendar.list-view .day {
	margin-bottom: 1rem;
}

.fp-calendar .day>a {
	display: block;
	height: 75px;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.fp-calendar.list-view .date {
	width: auto;
}

@media (min-width: 768px) {
	.fp-calendar:not(.list-view)>.weekdays>.day {
		float: left;
		font-weight: bold;
		padding: 10px;
		text-align: center;
		width: calc(100% / 7);
	}
	.fp-calendar:not(.list-view)>.month {
		border: 1px solid #ccc;
		border-radius: 4px;
		overflow: hidden;
	}
	.fp-calendar:not(.list-view)>.month>.day {
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
		float: left;
		height: 226px;
		position: relative;
		width: calc(100% / 7);
	}
	/* Remove borders from right and bottom events */
	.fp-calendar:not(.list-view) .day:nth-child(7n+7) {
		border-right: 0;
	}
	.fp-calendar:not(.list-view) .day:nth-last-child(-n+7) {
		border-bottom: none;
	}
	.fp-calendar:not(.list-view) .day:hover {
		background-color: #f8f8f8;
	}
	.fp-calendar:not(.list-view) .day:before {
		border-radius: 50%;
		color: #2a2a2a;
		content: attr(data-date);
		font-size: 16px;
		font-weight: 500;
		height: 30px;
		line-height: 16px;
		padding: 8px 0;
		position: absolute;
		right: 4px;
		text-align: center;
		top: 4px;
		width: 30px;
	}
	.fp-calendar:not(.list-view) .day.today:before {
		background-color: #004B8D;
		color: #fff;
	}
	.fp-calendar:not(.list-view) .date {
		border: 0;
		clip: rect(0, 0, 0, 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
	.fp-calendar:not(.list-view) .events {
		border-radius: 0;
		bottom: 0;
		left: 0;
		max-height: 186px;
		overflow: auto;
		position: absolute;
		right: 0;
	}
	.fp-calendar:not(.list-view) .events>.event {
		font-size: 14px;
		overflow: hidden;
		padding: 4px 8px;
		text-overflow: ellipsis;
		/* white-space: nowrap; */
	}
	.fp-calendar:not(.list-view) .spacer:hover {
		background-color: transparent;
	}
}