#search {
	background: #FFF;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	border-bottom: 5px solid #020873;
	position: fixed;
	z-index: 9999;
	padding: 0;
	top: 0;
	transform: translateY(-100%);
	transition: all 0.3s ease;
	width: 100%;
	left: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

#search.searchopen {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#search.searchopen {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

#search .wrapper {
	padding: 48px 0 56px;
}

#search .wrapper>div {
	position: relative;
	margin: 0 calc((((100% - (11 * 20px)) / 12) * 2) + (2 * 20px));
}

#search p a {
	text-decoration: none;
	color: inherit;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(rgba(9, 88, 167, 0.25), rgba(9, 88, 167, 0.25));
	background-position: 0 100%, 0 100%;
	background-repeat: no-repeat, no-repeat;
	background-size: 0 1px, 100% 1px;
	transition: background-size .5s
}

#search p a:hover {
	background-size: 100% 1px, 100% 1px
}

form#searchform {
	margin-bottom: 40px;
	display: flex;
}

form#searchform label {
	display: none;
}

form#searchform input[type="text"] {
	background: #FFFFFF;
	border: 1px solid #3BB25E;
	box-sizing: border-box;
	width: calc((((100% - (7 * 20px)) / 8) * 6) + (5 * 20px));
	margin-right: 20px;
	height: 80px;
	border: 1px solid #D9D1C7;
	box-shadow: inset 0px 4px 2px rgba(0, 0, 0, 0.25);
	font-family: "Source Sans Pro", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 80px;
	color: #00020D;
	padding: 0 10px;
	display: block;
}

form#searchform input[type="submit"] {
	outline: none;
	border: none;
	display: block;
	flex: 1;
	height: 80px;
	cursor: pointer;
	font-family: "Source Sans Pro", sans-serif;
	font-style: normal;
	font-weight: 600;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
	font-size: 24px;
	background: #BD4800;
	background: #BE2126;
	color: white;
	background: radial-gradient(50% 50% at 50% 50%, #D96C0D 0%, rgba(217, 108, 13, 0.9) 100%);
	background: #03A87C;
}

form#searchform input[type="submit"]:hover {
	background: #BD4800;
}

p#closesearch {
	cursor: pointer;
	transition: all 0.2s ease;
	position: absolute;
	top: 100%;
	transform: translateY(-50%);
	right: 20px;
	overflow: hidden;
	text-indent: -900px;
	display: block;
	width: 64px;
	height: 64px;
	background-color: rgba(217, 209, 199, 0.4);
	border-radius: 50%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 40;
	background-image: url("data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22enable-background%3Anew%200%200%2032%2032%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23020873%22%20d%3D%22M17.5%2C16l3.7-3.4c0.4-0.4%2C0.4-1%2C0.1-1.4c-0.4-0.4-1-0.4-1.4-0.1L16%2C14.6l-3.9-3.5c-0.4-0.4-1-0.3-1.4%2C0.1%20c-0.4%2C0.4-0.3%2C1%2C0.1%2C1.4l3.7%2C3.4l-3.7%2C3.4c-0.4%2C0.4-0.4%2C1-0.1%2C1.4c0.2%2C0.2%2C0.5%2C0.3%2C0.7%2C0.3c0.2%2C0%2C0.5-0.1%2C0.7-0.3l3.9-3.5l3.9%2C3.5%20c0.2%2C0.2%2C0.4%2C0.3%2C0.7%2C0.3c0.3%2C0%2C0.5-0.1%2C0.7-0.3c0.4-0.4%2C0.3-1-0.1-1.4L17.5%2C16z%22%2F%3E%3C%2Fsvg%3E");
}

p#closesearch:hover {
	background-color: #BD4800;
	background-image: url("data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2032%2032%22%20style%3D%22enable-background%3Anew%200%200%2032%2032%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M17.5%2C16l3.7-3.4c0.4-0.4%2C0.4-1%2C0.1-1.4c-0.4-0.4-1-0.4-1.4-0.1L16%2C14.6l-3.9-3.5c-0.4-0.4-1-0.3-1.4%2C0.1%20c-0.4%2C0.4-0.3%2C1%2C0.1%2C1.4l3.7%2C3.4l-3.7%2C3.4c-0.4%2C0.4-0.4%2C1-0.1%2C1.4c0.2%2C0.2%2C0.5%2C0.3%2C0.7%2C0.3c0.2%2C0%2C0.5-0.1%2C0.7-0.3l3.9-3.5l3.9%2C3.5%20c0.2%2C0.2%2C0.4%2C0.3%2C0.7%2C0.3c0.3%2C0%2C0.5-0.1%2C0.7-0.3c0.4-0.4%2C0.3-1-0.1-1.4L17.5%2C16z%22%2F%3E%3C%2Fsvg%3E");
}

@media all and (max-width: 1199px) {
	#search .wrapper {
		padding: 36px 0 48px;
	}
	#search .wrapper>div {
		margin: 0 calc((((100% - (11 * 20px)) / 12) * 1) + (1 * 20px));
	}
	form#searchform input[type="text"] {
		width: calc((((100% - (9 * 20px)) / 10) * 8) + (7 * 20px));
	}
}

@media all and (max-width:899px) {
	#search h2 {
		font-size: 2.4rem;
	}
	#search .wrapper {
		padding: 36px 0 48px;
	}
	#search .wrapper>div {
		margin: 0;
	}
	form#searchform input[type="submit"] {
		font-size: 20px;
		line-height: 60px;
		height: 60px;
		min-width: 4em;
	}
	form#searchform input[type="text"] {
		flex: 3;
		margin-right: 10px;
		font-size: 20px;
		line-height: 60px;
		height: 60px;
		color: #00020D;
		padding: 0 10px;
	}
}

header.page-header {
	padding: 40px 0 0;
}

.textcontent ul.searchresults li::before {
	display: none !important;
}

.textcontent ul.searchresults li {
	margin: 0;
}

.textcontent ul.searchresults li a {
	display: block;
	padding: 20px 0;
	transition: all 0.2s ease;
}

.textcontent ul.searchresults li p.smallheading {
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	line-height: 15px;
	color: #D96C0D;
	transition: all 0.2s ease;
}

.textcontent ul.searchresults li h3 {
	font-size: 18px;
	line-height: 24px;
	transition: all 0.2s ease;
}

.textcontent ul.searchresults li a :last-child {
	margin-bottom: 0 !important;
}

nav.pagination {
	margin: 0;
	padding: 2rem 0 1rem;
	clear: both;
}

.nav-links {
	margin: 0;
	text-align: center;
	line-height: 1;
	font-weight: 300;
	font-style: normal;
}

.nav-links .page-numbers {
	font-size: 2rem;
	display: inline-block;
	line-height: 1;
	margin: 0 0.5rem 1rem;
	text-decoration: none;
}

.nav-links span.page-numbers {
	padding: 0.75rem;
	border: 1px solid #020873;
	background: #020873;
	color: white;
}

.nav-links span.dots {
	background: none;
	/*font-size:3.2rem;*/
	padding: 0.75rem 0;
	border: none;
	color: #858585;
}

.nav-links a {
	padding: 0.75rem;
	border: 1px solid #D9D1C7;
	background: #FFF;
	color: #858585;
	transition: all 0.2s ease;
}

.nav-links a:hover {
	background: #858585;
	border: 1px solid #858585;
	color: white;
}

.nav-links a.next,
.nav-links a.prev {
	position: relative;
	text-align: center;
	padding: 0.75rem;
}

.nav-links a.next::after {
	content: ">";
}

.nav-links a.prev::after {
	content: "<";
}

@media all and (max-width: 499px) {
	.nav-links .page-numbers {
		font-size: 1.4rem;
		margin: 0 0.25rem 0.75rem;
	}
}