/* C37 Named Endowments Filter */
.c37-disable-body-scrolling {
	/* when modal active */
	touch-action: none;
	-webkit-overflow-scrolling: none;
	overflow: hidden;
	/* Other browsers */
	overscroll-behavior: none;
}
#c37 {
	padding-inline: 5%;
	background-color: #F5F5F5;
}
#c37 .component-header {
	padding-block: 30px;
}
#c37 .component-header p {
	margin: 0 auto;
	font-family: 'Open Sans';
}
/* Font Changes */
#c37 *:not(i) {
	font-family: 'Neue Helvetica Condensed';
}
#c37 .filter-dropdown-inner * {
	font-family: 'Open Sans';
}
#c37 li.card-list-item,
#c37 span {
	font-family: 'Neue Helvetica';
}
#c37 li.card-list-item:empty {
    display: none;
}
#c37 h4 {
	margin-block: 1.2rem 0.1rem;
	color: var(--color-gray);
}
#c37 .controls {
	display: flex;
	flex-flow: row nowrap;
    gap: 14px;
}
#c37 .search {
	box-sizing: border-box;
	padding: 0 10px 0 20px;
	height: 38px;
	margin-bottom: 15px;
	background: #FBFBFB;
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
	border-block: 3px solid #FBFBFB;
	border-radius: 5px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	flex: 1;
	position: relative;
	transition: all .2s ease-out;
}
#c37 .search:focus-within {
	background: #FFFFFF;
	border-top-color: #FFFFFF;
	border-bottom-color: #CED54A;
}
#c37 .search .invalid {
	width: fit-content;
	height: 1rem;
	position: absolute;
	bottom: -1.3rem;
	left: calc(20px - .5rem);
	background-color: #CED54A;
	padding: .2rem .5rem;
	border-radius: 5px;
	z-index: 10;
	visibility: hidden;
	opacity: 0;
	transition: all .3s ease-out;
}
#c37 .search .invalid p {
	font-size: .9rem;
	line-height: 1rem;
	margin: 0px;
	padding: 0px;
	color: #646464;
	font-weight: 500;
}
#c37 .search .invalid::after {
	content: '';
	position: absolute;
	top: -.25rem;
	left: .6rem;
	background: #CED54A;
	width: 1rem;
	height: 1rem;
	transform: rotate(45deg);
	z-index: -1;
}
#c37 #c37-search {
	box-sizing: border-box;
	text-transform: uppercase;
	border: none;
	flex: 1;
	font-weight: 600;
	font-size: .9rem;
	color: #184F2C;
	background: #FBFBFB;
	box-shadow: none;
	margin: 0px;
	padding: 0px;
	transition: background .2s ease-out;
}
#c37 #c37-search:focus-visible {
	outline: none;
	background: #FFFFFF;
}
#c37 #c37-search::placeholder {
	color: #646464;
	opacity: 1;
}
#c37 .search:focus-within .search-icon i,
#c37 .search:focus-within .search-icon span {
	color: #184F2C;
}
#c37 .search-controls {
	display: flex;
	flex-flow: row nowrap;
}
#c37 .search-icon {
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
#c37 .search-icon i {
	color: #646464;
}
/* #c37 .search-icon.search-magnify i {
    margin-top: 1px;
} */
#c37 .search-icon.search-active i {
	color: #184F2C;
}
#c37 .mobile-filter-button {
	box-sizing: border-box;
	height: 38px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 12px;
	background: #FBFBFB;
	border-inline: none;
	border-block: 3px solid #FBFBFB;
	border-radius: 5px;
	padding-inline: 28px 20px;
	cursor: pointer;
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
	transition: all .2s ease-out;
}
#c37 .mobile-filter-button p {
	font-size: .9rem;
	line-height: .9rem;
	font-weight: 600;
	padding: 0;
	margin: 0;
	text-transform: uppercase;
	color: #646464;
	pointer-events: none;
	transition: color .2s ease-out;
}
#c37 .mobile-filter-button i {
	color: #C4C4C4;
}
#c37 .mobile-filter-button:is(:hover, :focus) {
	background: #FFFFFF;
	border-bottom: 3px solid #CED54A;
}
#c37 .mobile-filter-button:is(:hover, :focus, .active) > :is(p, i) {
	color: #184F2C;
	transition: color .2s ease-out;
}
#c37 .filter-container {
	position: fixed;
	right: 0;
	top: 70px;
	width: 85%;
	height: calc(100% - 70px);
	margin: 0;
	z-index: 10;
	-ms-transform: translate3d(100%, 0, 0);
	-webkit-transform: translate3d(100%, 0, 0);
	transform: translate3d(100%, 0, 0);
	-ms-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
#c37 .filter-container.mobile-open {
	-ms-transform: translate3d(0, 0 , 0);
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
#c37 .filter-container-click {
	display: none;
	height: calc(100% - 70px);
	width: 100%;
	position: fixed;
	top: 70px;
	right: 0;
	backdrop-filter: blur(1px);
	background: rgba(0,0,0,.3);
	transition: all .3s ease-in-out;
}
#c37 .filter-container-click.mobile-open {
	display: block;
}
#c37 .filter-container-inner {
	display: flex;
	flex-flow: column nowrap;
	height: 100%;
	background: #FBFBFB;
	padding: 0;
}
#c37 .filter-divider {
	min-height: 1.5px;
	max-height: 1.5px;
	background: #CCCCCC;
}
#c37 .filter-inner-top {
	display: flex;
	gap: 10px;
	padding: 18px 17px 18px 24px;
	align-items: center;
	background: #FFF;
}
#c37 .filter-header {
	color: #184F2C;
	font-weight: 600;
	text-transform: uppercase;
	margin: 0;
	font-size: 1.2rem;
}
#c37 .filter-close {
	margin-left: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 34px;
	height: 34px;
	cursor: pointer;
}
#c37 .filter-close i {
	font-size: 1.7rem;
	color: #184F2C;
}
#c37 .filter-inner-middle {
	display: flex;
	flex-flow: column nowrap;
	margin-bottom: auto;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	gap: 1px;
}
.filter-inner-middle > div:last-child {
	margin-bottom: 1rem;
}
#c37 .filter.active > .filter-dropdown {
	visibility: visible;
}
#c37 .filter.active > .filter-button {
	background: #184F2C;
	border-block: 3px solid #144225;
	box-shadow: 0px 4px 4px rgb(0 0 0 / 10%);
}
#c37 .filter.active > .filter-button p {
  	color: #FFFFFF;
}
#c37 .filter.active > .filter-button i {
  	transform: rotate(90deg);
	color: #FFFFFF;
}
#c37 .filter-button {
	padding: 14px 32px 14px 28px;
	box-sizing: border-box;
	height: 38px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
	background: #FFFFFF;
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
	transition: all .2s ease-out;
}
#c37 .filter-button p {
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 600;
	padding: 0;
	margin: 0 0 0 6px;
	text-transform: uppercase;
	color: #646464;
	pointer-events: none;
}
#c37 .filter-button i {
/* 	color: #C4C4C4; */
	color: #646464;
	transition: transform 0.25s;
}
#c37 .filter-button.in-use p {
	color: #184F2C;
}
#c37 .filter-button.in-use i {
	color: #184F2C;
}
#c37 .filter-icon {
	min-width: fit-content;
	flex: 0;
	cursor: default;
	display: flex;
	justify-content: center;
	align-items: center;
}
#c37 .filter-icon i {
	color: #C4C4C4;
}
#c37 .filter-icon i.bigger {
	font-size: 1.2rem;
}
#c37 .filter-dropdown {
	background: #FFFFFF;
	height: auto;
	display: none;
}
#c37 .filter.active > .filter-dropdown {
	display: block;
}
#c37 .filter-dropdown-inner {
	box-sizing: border-box;
	padding: 14px 28px;
	display: flex;
	flex-flow: column nowrap;
	background: #FFFFFF;
}
#c37 .filter-dropdown-item {
	display: flex;
	flex-flow: row nowrap;
	gap: 5px;
	cursor: pointer;
}
#c37 .filter-dropdown-item svg {
	margin-top: 0.35rem;
	min-width: 15px;
}
#c37 .filter-dropdown-item svg rect  {
  	transition: stroke .1s ease-out;
}
#c37 .filter-dropdown-item svg rect:first-child {
	fill: #FFFFFF;
}
#c37 .filter-dropdown-item p {
	font-size: 1rem;
	font-weight: 500;
	margin: 0;
	text-transform: capitalize;
	color: #646464;
	transition: color .1s ease-out;
}
#c37 .filter-dropdown-item.filter-dropdown-active svg rect {
	stroke: #184F2C;
}
#c37 .filter-dropdown-item.filter-dropdown-active .check-inner {
	fill: #184F2C;
}
#c37 .filter-dropdown-item .filter-dropdown-checked {
	color: #184F2C;
	font-weight: 500;
}
#c37 .filter-dropdown-heading {
	font-size: .9rem;
	line-height: .9rem;
	font-weight: 600;
	margin-block: .3rem;
	text-transform: capitalize;
	color: #184F2C;
}
#c37 .filter-dropdown-heading:empty {
    display: none;
}
#c37 .filter-dropdown-indent {
	margin-left: .5rem;
}
#c37 .filter-inner-bottom {
	display: flex;
	flex-flow: row wrap;
	margin: 24px 12px;
	gap: 12px;
}
#c37 .filter-bottom-button {
	display: flex;
	flex: 1;
	flex-basis: 150px;
	cursor: pointer;
    align-items: center;
    justify-content: center;
    background: #184F2C;
    padding: 0.4rem 1rem;
	transition: all .3s ease-out;
	border: 1.5px solid #184F2C;
	border-radius: 5px;
}
#c37 .filter-bottom-button-text {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	transition: all .3s ease-out;
}
#c37 .filter-bottom-button:first-child {
	background: #fff;
}
#c37 .filter-bottom-button:first-child .filter-bottom-button-text {
	color: #184F2C;
}
#c37 .active-filters {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin-inline: 0;
	margin-bottom: 13px;
	min-height: 28px;
}
#c37 .active-item {
	background: #184F2C;
	border: 1.5px solid #184F2C;
	border-radius: 5px;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	height: 25px;
	padding-left: 12px;
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
}
#c37 .active-item-text {
	color: #ffffff;
	font-size: .8em;
	font-weight: 400;
	margin: 0;
	padding: 0;
	text-transform: capitalize;
}
#c37 .active-item-icon {
	padding-left: 9px;
    cursor: pointer;
    height: 26px;
    width: 19px;
    display: flex;
    align-items: center;
}
#c37 .active-item-icon i {
	color: #FFFFFF;
}
#c37 .active-item.active-clear {
    background: #FFFFFF;
	padding-right: 12px;
	cursor: pointer;
}
#c37 .active-item.active-clear .active-item-text {
    color: #184F2C;
}
#c37-react .card-container {
	max-height: 700px;
    overflow-x: hidden;
    overflow-y: scroll;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(450px, auto);
    gap: 15px;
    scrollbar-width: thin;
    margin-inline: 0;
	
}
#c37-react .no-results {
	grid-column: 1/3;
	text-align: center;
	margin-top: 50px;
	font-size: 1.3rem;
	font-weight: 600;
}
#c37-react .c37-card {
	padding: 30px;
	display: flex;
	flex-flow: column nowrap;
	background: #ffffff;
	border-radius: 5px;
	box-shadow:
		0px 3.1px 2.2px rgba(0, 0, 0, 0.008),
		0px 10.5px 7.4px rgba(0, 0, 0, 0.012),
		0px 47px 33px rgba(0, 0, 0, 0.02);
}
#c37-react .c37-card.highlighted {
	outline: 3px solid #e0ea9e;
}
#c37-react .card-tag-container {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin-bottom: 10px;
}
#c37-react .card-tag {
	font-size: 10px;
	line-height: 10px;
	font-weight: 600;
	color: #184F2C;
	text-transform: uppercase;
	padding: 6px;
	border: 1px solid #CED54A;
	border-radius: 40px;
	margin: 0;
}
#c37-react .card-title {
	font-size: 18px;
	line-height: 1.5;
	font-weight: 600;
	margin-block: .1rem;
}
#c37-react .card-description {
	font-size: .875rem;
    margin: 0;
    font-family: 'Neue Helvetica';
    color: var(--color-gray);
    font-weight: 400;
    line-height: 1.5;
}
#c37-react .card-page-link {
	font-size: .875rem;
    margin-top: 0.15rem;
    font-family: 'Neue Helvetica';
    display: block;
    font-weight: 400;
}
#c37-react .card-inner {
	font-size: 14px;
	line-height: 17px;
	color: #646464;
	flex: 1;
	overflow: hidden;
}
#c37-react .card-inner > *:first-child {
	padding-top: 0;
	margin-top: 0;
}
#c37-react .card-inner :is(ul, ol),
#c37-react .card-inner ul {
	line-height: 1.5;
	padding: 5px 0;
	position: relative;
	left: 20px;
	max-width: 92%;
	margin-bottom: .6rem;
}
#c37-react .card-inner :is(ul, ol):empty,
#c37-react .card-inner ul:empty {
	display: none;
}
#c37-react .card-button-container {
	display: flex;
	flex-flow: row wrap;
	gap: 0.5rem;
}
#c37-react .card-button {
	height: 35px;
	min-width: 150px;
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid var(--color-evergreen);
	border-radius: 3px;
	color: var(--color-evergreen);
	font-family: 'Open Sans';
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
	transition: all .3s ease-out;
}
#c37-react .card-button.apply {
	color: #ffffff;
	background-color: var(--color-evergreen);
	border-color: var(--color-evergreen);
}
#c37-react .card-button:not(.card-button-disabled):is(:hover, :focus) {
	border-color: rgb(40 131 73);
	background-color: rgb(40 131 73);
	color: #ffffff;
}
#c37-react .card-button-disabled {
	cursor: default;
}
@media (min-width: 500px) {
	#c37 .filter-container {
		top: 90px;
		height: calc(100% - 90px);
		width: 65%;
	}
}
@media (min-width: 800px) {
	#c37 .filter-container {
		width: 55%;
	}
}
@media (min-width: 1000px) {
	#c37 .filter-container {
		top: 120px;
		height: calc(100% - 120px);
		width: 40%;
	}
}
@media (min-width: 1050px) {
	#c37 {
		padding-inline: 0;
	}
	#c37 .controls {
		flex-flow: column nowrap;
		gap: 0;
    	margin: 0 20px;
	}
	#c37 .search {
		margin-bottom: 26px;
	}
	#c37 .filter-container {
		margin-bottom: 15px;
		position: static;
		width: auto;
		height: auto;
		z-index: unset;
		-ms-transform: none;
		-webkit-transfomr: none;
		transform: none;
	}
	#c37 .filter-container-inner {
		flex-flow: row nowrap;
		padding-inline: 30px;
		background: #F5F5F5;
	}
	#c37 .filter-inner-top {
		padding: 0 30px 0 0;
		background: #F5F5F5;
	}
	#c37 .filter-header {
		font-size: .9rem;
		font-weight: 400;
		color: #646464;
	}
	#c37 .filter {
		display: flex;
		flex-flow: column nowrap;
		flex: 1;
	}
	#c37 .filter-inner-middle {
		flex-flow: row wrap;
		gap: 10px;
		flex: 1;
		overflow-y: visible;
	}
	.filter-inner-middle > div:last-child {
		margin-bottom: 0;
	}
	#c37 .filter-button {
		border-block: 3px solid #FBFBFB;
		border-radius: 5px;
		padding: 0 14px;
		background: #FBFBFB;
	}
	#c37 .filter-button p {
		font-size: .9rem;
		line-height: .9rem;
	}
	#c37 .filter-dropdown {
		display: block;
		height: 0;
		visibility: hidden;
	}
	#c37 .filter-dropdown-inner {
		padding: 1rem;
		box-shadow: 0px 2px 4px rgb(0 0 0 / 20%);
		border-radius: 5px;
		position: relative;
		top: 10px;
		z-index: 10;
		max-height: 595px;
		overflow: scroll;
	}
	#c37 .filter-dropdown-item svg {
		margin-top: 0.2rem;
	}
	#c37 .filter-dropdown-item p {
		font-size: .9rem;
	}
	#c37 .active-filters {
		margin-inline: 40px;
	}
	/* Hover styles applied here so they do not appear on mobile */
	#c37 .search-icon:is(:hover, :focus) i {
		color: #184F2C;
		transition: all .2s ease-out;
	}
	#c37 .filter-button:is(:hover, :focus) {
		background: #FFFFFF;
		border-bottom: 3px solid #CED54A;
	}
	#c37 .filter-button:is(:hover, :focus) > :is(p, i) {
		color: #184F2C;
		transition: all .2s ease-out;
	}
	#c37 .filter-dropdown-item:is(:hover, :focus) > p {
		color: #CED54A;
	}
	#c37 .filter-dropdown-item:not(.filter-dropdown-active):is(:hover, :focus) .check-inner {
		fill: #C4C4C4;
	}
	/* END Hover styles	 */
	#c37-react .card-container {
		grid-template-columns: repeat(2, minmax(300px, 1fr));
		margin-inline: 32px;
		padding: 10px 20px 30px 20px; /* 28px on the left to compensate for scrollbar */
	}
}
/* END C37 Named Endowments Filter */