#subheader::before {
	content: none !important;
}

#subheader {
	min-height: 740px;
	padding-bottom: 15em;
}

#subheader .container {
	min-height: 29em;
}

#subheader .b5 {
	margin-top: 9px;
	color: #4F4D88;
	font-size: 24px;
	line-height: 36px;
	letter-spacing: -0.5px;
	max-width: 660px;
}

.sectors-all .container,
.all-terms .container,
.top-line .container,
.featured-event.container,
.title-cat.container {
	max-width: 1146px;
}

.title-cat {
	margin-bottom: 30px;
}

.featured-event.container {
	margin-top: -15em;
}

.featured-event.container .row {
	border-radius: 4px;
	background: #F1F1F1;
}

.featured-event.container .box {
	background: #F1F1F1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	border-radius: 4px;
}

.featured-event.container .categories {
	margin-bottom: 19px;
}

.excerpt {
	color: #4F4D88;
	font-size: 18px;
	font-weight: 300;
	line-height: 26px;
}

.featured-event.container  .button {
	margin-top: 16px;
}

.featured-event.container img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.event-post-item .item {
	display: flex;
  	flex-direction: column;
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.15);
	margin-bottom: 30px;
	height: calc(100% - 30px);
}

.post-transactions-small {
	position: relative;
	display: block;
}

.badge {
	background: #F5508C;
	font-weight: 500;
	font-size: 16px;
	line-height: 26px;
	text-align: center;
	text-transform: capitalize;
	padding: 3px 12px;
	border-radius: 0;
	color: #fff;
	position: absolute;
	left: 0;
	bottom: 0;
}

.box {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	border-radius: 0 0 4px 4px;
	background: #FFF;
	padding: 30px;
}

.line {
	color: #4F4D88;
	font-size: 20px;
	font-weight: 500;
	line-height: 32px;
}

.title {
	color: #4F4D88;
	font-family: Merriweather;
	font-size: 32px;
	font-style: normal;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -1px;
	margin: 11px 0;
}

.categories a {
	color: #4F4D88;
	font-size: 16px;
	line-height: 26px;
	text-decoration-line: underline;
}

.button {
	padding: 10px 40px 9px 40px;
	border-radius: 4px;
	border: 1px solid #4ACD3E;
	background: rgba(255, 255, 255, 0.20);
	color: #4F4D88;
	text-align: center;
	font-style: normal;
	font-weight: 600;
	line-height: 25px;
	margin-top: 32px;
	display: inline-block;
}

.button:hover {
	color: #4F4D88;
}

.all-terms {
	margin: 89px 0;
}

.all-terms h2 {
	margin-block-start: ;
	margin-bottom: 17px;
	font-size: 42px;
}

.all-terms-wrapper {
	column-count: 4;
}

.all-terms-wrapper a {
	display: block;
	color: #4F4D88;
	font-size: 18px;
	line-height: 36px;
	letter-spacing: -0.5px;
	text-decoration-line: underline;
	margin-bottom: 7px;
}

.all-months-wrapper {
	margin: 30px 0;
}

.all-months-wrapper a {
	border-radius: 30px;
	background: #EAEDF1;
	padding: 4px 15px;
	display: inline-block;
	color: #4F4D88;
	text-align: center;
	font-family: Roboto;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 26px;
	text-transform: capitalize;
	margin-right: 10px;
	margin-bottom: 10px;
}

.all-months-wrapper a.active {
	background: #3475AE;
	color: #fff;
}

.top-line .search-field {
	border-radius: 4px;
	border: 1px solid #DCDCDC;
	color: #4F4D88;
	font-family: Roboto;
	font-size: 18px;
	font-style: normal;
	font-weight: 300;
	line-height: 36px;
	letter-spacing: -0.5px;
	padding: 0 20px;
	margin-right: 10px;
	width: 580px;
	max-width: 100%;
}

.top-line .search-submit {
	padding: 6px 40px 6px 40px;
	border-radius: 4px;
	border: 1px solid #4ACD3E;
	background: rgba(255, 255, 255, 0.20);
	color: #4F4D88;
	text-align: center;
	font-style: normal;
	font-weight: 600;
	line-height: 25px;
	margin-top: 32px;
	display: inline-block;
}

.categories {
	margin-bottom: auto;
}

.attachment-events.size-events.wp-post-image {
	width: 100%;
}

@media (max-width: 767px){
	.search-form {
		margin-top: 50px;
	}

	.top-line .search-field {
		width: calc(100vw - 200px);
	}

	.all-terms-wrapper {
		column-count: 2;
	}

	#subheader .b5 {
		font-size: 1.05em;
		line-height: 1.5;
	}

	#subheader .container {
		min-height: 21em;
	}
}