[v-cloak] {
	display: none;
}

.page_header {
	margin-bottom: 30px;
}

.page_header,
.page_footer,
.page_header .filter.inline {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: flex-end;
}

.page_footer {
	margin:30px 0;
	justify-content: center;
}

.page_header select,
.page_header input {
	padding: 3px;
	width: auto;
}

.item_count span {
	font-weight: bold;
}

.impact_filters {
	margin-bottom: 30px;
}

.filter_row {
	margin-bottom: 12px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.filter_row h4 {
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 6px 0;
	color:#14152B;
}

.filter_row ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap:wrap;
	gap: 10px;
}

.filter_row li {
	position: relative;
}

.filter_row input[type="radio"] {
	display: none;
	/* Hide the radio input */
}

.filter_row label {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid #14152B;
	border-radius: 99px;
	cursor: pointer;
	background-color: white;
	color: #14152B;
	transition: all 0.3s ease;
	font-size: 16px;
	font-weight: 500;
	margin: 5px 10px 5px 0;
}

/* Style the selected button */
.filter_row input[type="radio"]:checked+label {
	background-color: #8b0015;
	border: 1px solid #8b0015;
	color: white;
}

.filter-dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
	width: 250px;
}

.dropdown-header {
	background: #f8f8f8;
	padding: 10px;
	border: 1px solid #ccc;
	display: flex;
	justify-content: space-between;
}

.dropdown-list {
	z-index: 99;
	position: absolute;
	background: white;
	border: 1px solid #ccc;
	padding: 0;
	list-style: none;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.dropdown-list li {
	padding: 5px 10px;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	gap: 0.5em;
	align-items: flex-start;	
}

.dropdown-list li i {
	font-size: 1.5em;
	color: #8b0015;
}

.dropdown-list li:hover {
	background: #eee;
}

.impact_grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}

.impact_item.hidden {
	visibility: hidden;
}

.impact_item {
	flex-basis: 32%;
	border: 1px solid #14152B;
	border-radius: 20px;
	padding-bottom: 50px;
	margin-bottom: 20px;
	position: relative;
}

.impact_image_and_tags {
	position: relative;
	height: 200px;
}

.impact_image_and_tags img {
	object-fit: cover;
	height: 100%;
	width: 100%;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}

.impact_tags {
	width: 100%;
	position: absolute;
	bottom: 10px;
	display: flex;
	justify-content: space-between;
}

.impact_tags.lozenges {
	position: static;
}

.impact_tags span {
	display: block;
	padding: 3px 9px;
	margin: 3px 0;
	background-color: #14152B;
	text-align: center;
	border: none;
	border-radius: 99px;
	font-size: 13px;
	color: #fff;
}

.impact_tags.lozenges span {
	margin: 0 5px;
}

span.rt {
	background-color: #8b0015;
}
span.rtan {
	background-color: #2c2d41;
}
span.rtal {
	background-color: #434455;
}
span.rtap {
	background-color: #5b5c6b ;
}


.tags_right,
.tags_left {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.tags_left {
	padding-left: 12px;
}

.tags_right {
	padding-right: 12px;
}

.impact_info,
.impact_link {
	padding: 0 12px;
}

.impact_link:not(.carousel) {
	text-align: right;
	position: absolute;
	right:10px;
	bottom: 10px;
}

.impact_link.carousel {
	text-align: right;
	display: flex;
	justify-content: flex-end;
}

.impact_link.carousel a {
	display: block; 
	overflow-wrap: 
	break-word; 
} 

.impact_title h3 {
	font-size: 24px;
}

.publication_date {
	font-weight: 500;
}

.impact_link a {
	border-radius: 99px;
	font-weight: 500;
	font-size: 14px;	
	padding: 8px 15px;
	background-color: #21346c;
	color: #fff;
	display: inline-block;
	text-decoration: none;

}

.impact_carousel_item .impact_intro {
	overflow-wrap: break-word;
}

.impact_link a:hover {
	background-color: #4d5d89;
	color: #fff;
}

.loader-holder {
	display: flex;
	justify-content: space-around;
	padding-top: 150px;
}

.events-booking-form-holder.has-overlay .loader-holder {
	height: 100%;
	align-items: center;
}

.impact_carousel_item {
	width:32%;
	margin: 0 1%;
}


.flickity-button {
	border-radius: 99px!important;
	background-color: #8b0015!important;
	border:none!important;
}

.flickity-button.previous {
	left:-70px!important;
}

.flickity-button.next {
	right:-70px!important;
}

.flickity-button:hover {
	background-color: #4d5d89!important;
}

.flickity-button-icon {
	fill:white!important;
}

.carousel_controls {
	margin-top:30px;
}

/* media queries for carousel */

@media screen AND (max-width:1024px) {
	.impact_carousel {
		width: 90%;
		margin:0 auto;
	}
	.impact_carousel_item {
		width:49%;
		margin: 0 1%;
	}
}

@media screen AND (max-width:768px) {
	.impact_carousel {
		width: 80%;
		margin:0 auto;
	}
	.impact_carousel_item {
		width:100%;
	}
	.flickity-button.previous {
		left:-60px!important;
	}
	
	.flickity-button.next {
		right:-60px!important;
	}
}


@media screen AND (max-width:1460px) {
	.impact_grid,
	.page_header,
	.impact_filters,
	.date_range {
		padding: 0 30px;
	}
}

@media screen AND (max-width: 768px) {
	.impact_item {
		flex-basis: 49%;
	}
	.prev-next {
		/* width:20%; */
	}
	.page_header .filter.inline {
/* 		width:30%;
 */		gap: 5px;
	}
	.item_count {
/* 		width:50%;
 */	}
	.impact_grid,
	.page_header,
	.impact_filters,
	.date_range {
		flex-wrap: wrap;
	}
}

@media screen AND (max-width: 640px) {
	.impact_item {
		flex-basis: 100%;
	}
}

.loader {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	position: relative;
	animation: rotate 1s linear infinite
}

.loader::before,
.loader::after {
	content: "";
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 5px solid #8b0015;
	animation: prixClipFix 2s linear infinite;
}

.loader::after {
	border-color: #1daeec;
	animation: prixClipFix 2s linear infinite, rotate 0.5s linear infinite reverse;
	inset: 6px;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
	}

	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
	}

	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
	}

	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
	}

	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
	}
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap; /* added line */
	border: 0;
  }
  