/******************************************************************
LOCALIST CALENDAR (FEATURED)  - SMALL
******************************************************************/

.plu-localist-featured-calendar {
	position: relative;
	padding-top: 2em;
}

/* each event */
.plu-localist-featured-calendar .event-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 400px;
}

.plu-localist-featured-calendar .event-wrapper .event-image {
	height: 250px;
	position: relative;
}

.plu-localist-featured-calendar .event-wrapper .event-image .event-image-container {
	background-size: cover;
	width: 100%;
	height: 100%;
	background-position: center;
	background-color: #e8e8e8;
}

.plu-localist-featured-calendar .event-wrapper .event-image .event-date {
	position: absolute;
	bottom: 0;
	left: 2em;
	background: #fbba37;
	color: #000000;
	padding: 12px 15px;
	font-family: "Aleo", serif;
	font-weight: bold;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 3px 3px 0 0;
}

.plu-localist-featured-calendar .event-wrapper .event-content {
	background: #fff;
	padding: 2em;
	position: relative;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-title {
	text-decoration: none;
	background-image: linear-gradient(to right, #ecbc5b, #fbba37);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 2px;
	color: #222222;
	font-weight: bold;
	transition: all 0.3s ease-in-out;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-title:hover,
.plu-localist-featured-calendar .event-wrapper .event-content .event-title:focus {
	color: #000000;
	background-size: 100% 2px;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-description {
	margin-bottom: 1.5em;
}

/* this provides a text truncate/ellipses */
.plu-localist-featured-calendar .event-wrapper .event-content .event-description.truncate-post-text {
	display: -webkit-box;
	-webkit-line-clamp: 12;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-meta-wrapper {
	font-weight: bold;
	font-size: 13px;
	font-family: "Aleo", serif;
	margin-bottom: 1.5em;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-meta-wrapper .event-time {
	margin-top: 4px;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-meta-wrapper .event-meta {
	display: flex;
	flex-direction: row;
	line-height: 1.6;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-meta-wrapper .event-meta .event-meta-icon {
	text-align: center;
	width: 13px;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-meta-wrapper .event-meta .event-meta-details {
	margin-left: 5px;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-more-link {
	font-family: "Aleo", serif;
	text-transform: uppercase;
	font-size: 12px;
	border: 1px solid #999;
	width: max-content;
	padding: 5px 9px 4px 9px;
	border-radius: 8px;
	color: #999999;
	transition: all 0.3s ease-in-out;
}

.plu-localist-featured-calendar .event-wrapper .event-content .event-more-link:hover {
	border-color: #000000;
	color: #000000;
}

/* we are using 'Flickity' to add swipe/slide functionality - we need to add styling for the prev/next and radio buttons here
 previous/next buttons */
.plu-localist-featured-calendar .flickity-prev-next-button {
	position: absolute;
	background-color: #252525;
	top: -4em;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	margin: 0;
	padding: 0;
	transition: all .3s ease-in-out;
	transform: translateY(-50%);
	display: none;
}

.plu-localist-featured-calendar .flickity-prev-next-button.previous {
	right: 150px;
}

.plu-localist-featured-calendar .flickity-prev-next-button.previous .flickity-button-icon {
	left: 28%;
}

.plu-localist-featured-calendar .flickity-prev-next-button.next {
	right: 100px;
}

.plu-localist-featured-calendar .flickity-prev-next-button.next .flickity-button-icon {
	left: 23%;
}

.plu-localist-featured-calendar .flickity-prev-next-button:disabled {
	opacity: 0.3;
	cursor: auto;
}

.plu-localist-featured-calendar .flickity-prev-next-button .flickity-button-icon {
	position: absolute;
	top: 25%;
	width: 50%;
	height: 50%;
}

.plu-localist-featured-calendar .flickity-prev-next-button .flickity-button-icon .arrow {
	fill: #ffffff;
}

/* page dots */
.plu-localist-featured-calendar .flickity-page-dots {
	opacity: 1;
	position: absolute;
	width: auto;
	top: -27px;
	left: 0px;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	line-height: 1;
	transition: all .3s ease-in-out;
}

.plu-localist-featured-calendar .flickity-page-dots .dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 0 5px;
	padding: 6px;
	background: #000000;
	border-radius: 50%;
	opacity: 0.4;
	cursor: pointer;
	transition: all .3s ease-in-out;
}

.plu-localist-featured-calendar .flickity-page-dots .dot:first-child {
	margin-left: 0;
}

.plu-localist-featured-calendar .flickity-page-dots .dot:last-child {
	margin-right: 0;
}

.plu-localist-featured-calendar .flickity-page-dots .dot:hover {
	background: #fbba37;
	opacity: 1;
}

.plu-localist-featured-calendar .flickity-page-dots .dot.is-selected {
	opacity: 1;
	background: #fbba37;
}