/* ---------------------------------------- 
 *
 *	Search
 *
 * ---------------------------------------- */
 .manifesto-search-box {
	padding: 50px;
	margin-top: 50px;
	margin-bottom: 50px;
	position: relative;
	z-index: 10;
	border-radius: 5px;
}
.manifesto-search-box > * {
	margin: 0 !important;
}
.manifesto-search-box .container > h4 {
	display: none !important;
}
.manifesto-search-box input,
.manifesto-search-box select {
	border-radius: 0;
	border: 0;
}
.manifesto-search-box .searchform {
	margin-bottom: 0;
}

.manifesto-search-box .search-field {
	display: flex;
	flex-wrap: nowrap;
	margin-bottom: 20px;;
}
.manifesto-search-box .search-field input {
	margin-bottom: 0;
	height: 70px;
	outline: none;
}
.manifesto-search-box .search-field input[type="text"] {
	flex: 1 0 auto;
	padding: 11px 20px 9px !important;
	border-right: 2px solid var(--brand-green);
}
.manifesto-search-box .search-field .btn-search {
	background-color: var(--brand-black);
	border: 0;
	border-radius: 0;
	color: var(--brand-white);
	cursor: pointer;
	flex-basis: 240px;
	font-size: 22px;
	font-style: normal;
	font-weight: 800;
	height: 70px;
	line-height: 30px; /* 136.364% */
	margin-bottom: 0;
	transition: .25s ease-in-out;
}
.manifesto-search-box .search-field .btn-search i {
	display: none;
}
.manifesto-search-box .search-field .btn-search span {
	display: block;
}
.manifesto-search-box .search-field input[type="submit"]:hover {
	background-color: var(--brand-orange);
}

.manifesto-search-box .search-filters {
	display: grid;
	grid-template-columns: repeat(3, calc(33% - (20px / 2)));
	gap: 20px;
}
.manifesto-search-box .search-filters select {
	width: 100%;
}


/* Sidebar version */
.manifesto-search-box.sidebar {
	padding: 30px;
	margin-top: 0;
	border-radius: 5px;
}
.manifesto-search-box.sidebar .search-field {
	background-color: var(--brand-white);
	border-radius: 5px;
	margin-bottom: 0;
	margin-top: 15px;
}
.manifesto-search-box.sidebar .search-field .btn-search i {
	display: block;
}
.manifesto-search-box.sidebar .search-field .btn-search span {
	display: none;
}
.manifesto-search-box.sidebar .search-field input[type="text"] {
	height: 53px;
	margin-bottom: 0;
	padding: 11px 20px 9px;
	width: calc(100% - 53px);
	border-right: 0;
}
.manifesto-search-box.sidebar .btn-search {
	aspect-ratio: 1/1;
	background-color: var(--brand-black);
	border-radius: 5px;
	color: var(--brand-white);
	height: 53px;
	margin-bottom: 0;
	width: auto;
	border: 0px;
}




/* Page */
.manifesto-search-results {
	background-color: var(--brand-beige);
	padding-bottom: 60px;
	padding-top: 60px;
	margin-bottom: 0 !important;
}
.manifesto-search-results h3 {
	margin-top: 0;
	margin-bottom: 30px;
}
.manifesto-search-results.no-content .container {
	text-align: center;
}




/* 
 *
 *	MOBILE
 *
 */
@media screen and (max-width: 768px) {

	.manifesto-search-box {
		padding: 35px 35px 32px;
		margin: 0 calc(50% - 50vw);
		max-width: 100vw;
		width: 100vw;
	}
	.manifesto-search-box.mobile {
		border-radius: 0;
	}
	.manifesto-search-box .container {
		padding: 0;
	}
	.manifesto-search-box .container > h4 {
		color: var(--brand-white,);
		display: block !important;
		font-size: 22px;
		font-style: normal;
		font-weight: 800;
		margin-bottom: 20px;
		margin-top: 0 !important;
		line-height: 30px; /* 136.364% */
	}
	.manifesto-search-box .search-field {
		background-color: var(--brand-white);
		border-radius: 5px;
		margin-bottom: 10px;
		margin-top: 0;
	}
	.manifesto-search-box .search-field input[type="text"] {
		height: 53px;
		margin-bottom: 0;
		padding: 11px 20px 9px;
		width: calc(100% - 58px);
		border-right: 0;
	}
	.manifesto-search-box .search-field .btn-search {
		background-color: var(--brand-black);
		border: 0px;
		color: var(--brand-white);
		flex-basis: 53px;
		height: 53px;
		margin-bottom: 0;
		padding: 0;
		width: 53px;
	}
	.manifesto-search-box .search-field .btn-search i {
		display: block;
	}
	.manifesto-search-box .search-field .btn-search span {
		display: none;
	}

	.manifesto-search-box .search-filters {
		display: grid;
		grid-template-columns: 100%;
		gap: 8px;
	}

	.manifesto-search-box.sidebar {
		border-radius: 0;
	}
	.manifesto-search-box.sidebar .search-field input[type="text"] {
		height: 53px;
		padding: 11px 20px 9px;
		width: calc(100% - 53px);
	}
	.manifesto-search-box.sidebar .btn-search {
		height: 53px;
	}
	
	.manifesto-search-box .find-a-policy {
		display: block;
		margin-top: 20px;
		text-decoration: underline;
	}

}



/* Stylised Filters */
/* The container must be positioned relative: */
.select {
  position: relative;
	color: var(--brand-black);
	background-color: var(--brand-white);
}
.select select {
  display: none; /*hide original SELECT element: */
}

/* Style the arrow inside the select element: */
.select-selected:before {
	content: '';
  position: absolute;
  top: 0;
  right: 0;
	background-color: var(--brand-black);
	height: 100%;
	width: auto;
	aspect-ratio: 1/1;
	z-index: -1;
}
.select-selected:after {
  position: absolute;
	top: 0;
	right: 0;
  content: '\f078';
	transform: rotate(0);
	transition: .25s ease-in-out;
	font-size: 24px;
  font-family: "Font Awesome 6 Free";
	color: var(--brand-white);
	font-weight: 900;
	height: 100%;
	width: auto;
	aspect-ratio: 1/1;
	display: grid;
	place-content: center;
}
/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
	transform: rotate(180deg);
}
/* style the items (options), including the selected item: */
.select-selected {
	border-bottom: 2px solid var(--brand-green);
  color: var(--brand-black);
  cursor: pointer;
	overflow: hidden;
	padding: 12px 70px 11px 20px;
  position: relative;
	width: 100%;
  z-index: 1;
}
.select .select-selected span {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	white-space: nowrap;
}
.select-selected.selected {
	color: var(--brand-green) !important;
}

.select-items div {
  color: var(--brand-black);
	padding: 12px 20px 11px;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: var(--brand-white);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
	border-bottom: 0;
	box-shadow: 0px 3px 7px 0px rgba(0,0,0,0.3);
	max-height: 275px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.select-items div.selected {
  background-color: var(--brand-beige);
	color: var(--brand-green) !important;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: var(--brand-beige);
	color: var(--brand-green) !important;
}


/* Reset button */
.search-reset {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.search-reset a {
	color: var(--brand-black);
	background-color: var(--brand-white);
	padding: 12px 20px 11px;
}