.event {
	display: block;
	margin: 15px 0;
	text-decoration: none;
}

.event:hover {
	text-decoration: none;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.event .pic {
	position: relative;
	overflow: hidden;
}

.event .pic:before {
	display: block;
	content: '';
	padding-bottom: 65%;
}

.event .pic img {
	display: block;

	position: absolute;
	top: 50%;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);

	width: 100%;
	height: 100%;
}

.event .pic .date {
	display: block;
	padding: 10px;
}

.event .pic .name {
	font-weight: bold;
	width: 90%;
	border-bottom: 3px solid red;
	padding: 10px;
}

.event figcaption {
	position: absolute;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	width: 100%;
	padding-top: 30px;
	background: #3977ad;
	color: #fff;
	line-height: 1.2em;


	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0+0,1+100 */
	background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	/* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	/* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=0);
	/* IE6-9 */

}

/**/

.days-slick {
	margin: 0 -15px;
}

.days-slick .slick-prev {
	margin-right: -10px;
}

.days-slick .slick-next {
	margin-left: -10px;
}

.days-slick .day {
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px;
	margin: 15px;
	text-align: center;
	min-height: 85px;
	position: relative;
	color: inherit;
	text-decoration: none;
	display: block;
}

.days-slick .sup {
	font-size: 2em;
}

.days-slick .day.on {
	background: #3977ad;
	border: 1px solid #3977ad;
	color: #fff;
}

.days-slick .day.on:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-top-color: #3977ad;
	border-width: 15px;
	margin-left: -15px;
}

/**/

.categories-links {
	text-align: center;
}

.categories-links .category-link {
	display: inline-block;
	padding: .5rem;
	margin: .5rem;
	color: inherit;
	font-size: 1.3rem;
	position: relative;
}

.categories-links .category-link.selected {
	font-weight: bold;
}

.categories-links .category-link.selected:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(136, 183, 213, 0);
	border-top-color: inherit;
	border-width: 15px;
	margin-left: -15px;
}

.event .pic {
	position: relative;

	border-radius: 15px 15px 0px 0px;
}

.event {
	border-radius: 2rem;
	overflow: hidden;
	box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.event .info {
	padding: 1rem;
	color: #111;
}

.event .info .name {
	font-weight: bold;color: #1ea2dc;
	font-size: 1.2rem;
}

.event .date-top {
	position: absolute;
	top: 0px;
	left: 20px;
	padding: 1rem;
	background: #fff;
	color: #000;
	z-index: 9;
	border-radius: 0px 0px 15px 15px;
}

