:root {
	--blue: #26bcd7;
	--light-gray: #c4c4c4;
	--gray: #424243;
	--white: #ffffff;
  }


.ais-wrapper {
	padding: 0 20px 30px;
}

/* //MENU */
.ais-menu-container {
	padding: 40px 0 10px;
}

.suggestion-post-content mark { background: #62BB4644; }

.ais-menu-items {
	display: none;
}

.filter-toggle {
	position: relative;
	cursor: pointer;
}

.filter-toggle:after {
	content: "+";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -15px;
	cursor: pointer;
    font-size: 18px;
}

.filter-toggle.open:after {
    content: "-";
}

.ais-ClearRefinements-button {
	border: none;
	color: var(--gray);
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5;
	margin: 0;
	padding: 20px 0 10px;
	cursor: pointer;
}

.ais-ClearRefinements-button:hover {
	color: var(--blue);
	background-color: transparent;
}

.ais-ClearRefinements-button--disabled {
	color: var(--blue);
	position: relative;
	font-weight: 700;
}

.ais-Menu-list {
	padding: 0;
	margin: 0;
}

.ais-Menu-item {
	margin: 0;
	padding: 10px 0;
}

.ais-Menu-item:before {
	content: none;
}

.ais-Menu-link, #main-content a.ais-Menu-link {
	color: var(--gray);
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
	transition: .3s ease;
	line-height: 1.5;
}

.ais-Menu-link:hover {
	color: var(--blue);
}

.ais-Menu-item:last-child .ais-Menu-link {
	padding-right: 0;
}

#main-content .ais-Menu-item--selected a.ais-Menu-link {
	color: var(--blue);
	position: relative;
	font-weight: 700;
}

.ais-main {
	width: 100%;
}

.ais-main-header {
	margin: 0;
	font-weight: 700;
	color: #5F6062;
}

.ais-main-header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.ais-Stats {
	margin: 0 0 40px;
}

.ais-Stats-text {
	text-transform: capitalize;
	font-family: 'Montserrat', sans-serif;
	color: var(--gray);
}

.ais-facets {
	display: none;
	margin-bottom: 2rem;
}

/* Search Box */
/* ---------- */
.search-box {
	clear: both;
	background-color: rgba(178, 179, 178, 0.13);
	padding: 50px 0 15px;
	position: relative;
	z-index: 1;
	display: none;
}

.search-box input[type="search"]::-webkit-search-decoration,
.search-box input[type="search"]::-webkit-search-cancel-button,
.search-box input[type="search"]::-webkit-search-results-button,
.search-box input[type="search"]::-webkit-search-results-decoration { display: none; }

.ais-SearchBox-loadingIcon {
	/*display: none;*/
}

.search-active .search-box {
	display: block;
}


.algolia-search-box {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0;
}

.ais-SearchBox {
	width: 100%;
	order: 2;
}

.algolia-search-box input {
	border: none;
	background: transparent;
	width: 100%;
	margin: 0;
	color: #5F6062;
	line-height: 1.2;
	font-size: 28px;
	padding: 0 0 0 25px;
	font-weight: 500;
	box-sizing: border-box;
	outline: none;
	box-shadow: none;
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	-ms-appearance:none;
}

.algolia-search-box input:focus {
	outline: none;
	box-shadow: none;
}

.algolia-search-box input::placeholder {
	color: #5F6062;
}

.algolia-search-box .search-icon {
	filter: invert(1);
	opacity: .5;
	order: 1;
}

.algolia-search-box .search-clear {
	filter: invert(1);
	opacity: .5;
	order: 3;
	cursor: pointer;
}

.ais-SearchBox-reset {
	margin: 0;
	padding-right: 0;
}

.ais-search-box--powered-by {
	position: absolute;
	top: 60px;
	right: 0;
	font-size: 14px;
	text-align: right;
}

.ais-search-box--powered-by-link {
	display: inline-block;
	width: 64px;
	height: 21px;
	text-indent: 101%;
	overflow: hidden;
	white-space: nowrap;
	background-image: url('algolia-logo.svg');
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
}

.search-results {
	display: none;
}

.search-active .search-results {
	display: block;
}

.search-active .site-main, .search-active .brasco, .search-active section:not(.ais-facets section) {
	display: none;
}

/* NEW */
.search-active .page { display: none; }

.ais-sort-by {
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.ais-sort-by ul {
	padding: 0;
}

.ais-sort-by ul li {
	display: inline-block;
	text-transform: uppercase;
	cursor: pointer;
	font-size: 12px;
	position: relative;
	margin: 0 0 0 10px;
}

.ais-sort-by ul li:first-child:after {
	
}

.ais-sort-by ul li::before {
	content: none;
}

.ais-sort-by ul li.selected {
	font-weight: 700;
}

.ais-sort-by ul li.selected:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	top: initial;
	width: 100%;
	height: 1px;
	background-color: var(--blue);
	border-radius: initial;
}

.ais-sort-by ul li:first-child:before {
	width: calc(100% - 10px);
}

.featured-insights {
	margin: 30px 0;
}

.ais-wrapper .featured-insight img {
	margin-bottom: 16px;
}

.ais-wrapper .featured-insight__heading {
	transition: .3s ease;
}

.ais-wrapper .featured-insight:hover .featured-insight__heading {
	text-decoration: underline;
}

.ais-stats {
	position: absolute;
	top: 60px;
	font-size: 14px;
}

.ais-Hits-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.ais-Hits-item {
	margin-bottom: 2rem;
}

.ais-hits__container.top-result {
	background-color: #E3E6EA;
	padding: 40px 40px 27px;
	margin: 0 -40px;
}

.top-result__header {
	color: var(--gray);
	margin: 0 0 24px;
	width: 100%;
}

.related-topics ul {
	padding: 0;
}

.related-topics ul li {
	border: 1px solid var(--blue);
	padding: 5px 10px 7px;
	transition: .3s ease;
	line-height: 1;
	display: inline-block;
	margin: 0 10px 15px 0;
}

.related-topics ul li:hover {
	background-color: var(--blue);
}

.related-topics ul li:hover a {
	color: var(--white);
}

.related-topics ul li:before {
	content: none;
}

.related-topics ul li a {
	color: var(--gray);
	text-transform: uppercase;
	font-size: 12px;
}

.ais-hits--item em, .ais-hits--item a em {
	font-style: normal;
	background: #FFFBCC;
	border-radius: 2px;
}

.ais-hits--thumbnail {
	margin-left: 2rem;
}

.ais-hits--thumbnail:not(.no-border) a {
	border: 1px solid var(--light-gray);;
}

.ais-hits--thumbnail-link {
	display: block;
	width: 200px;
	height: 128px;
}

.ais-hits--thumbnail-link img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.ais-hits--thumbnail-link.people-image img {
	object-position: center 10%;
}

.ais-hits--content {}

.post-type {
	text-transform: uppercase;
	font-weight: 700;
	font-size: 12px;
	margin: 0 0 5px;
}

.ais-hits--content h2 {
	line-height: 25.6px;
	margin: 0 0 10px;
}

.ais-hits--content h2 a {
	font-size: 21px;
	font-weight: 500;
}

.ais-pagination {
	margin: 0;
}

.ais-pagination--item {
	/* pagination item */
	display: inline-block;
	padding: 3px;
}

.ais-pagination--item__disabled {
	/* disabled pagination item */
	display: none;
}

.ais-pagination--item__active {
	font-weight: bold;
}

.ais-menu--item__active {
	/* active list item */
	font-weight: bold;
}

.ais-hierarchical-menu--list__lvl1 {
	/* item list level 1 */
	margin-left: 10px;
}

.ais-hierarchical-menu--list__lvl2 {
	/* item list level 0 */
	margin-left: 10px;
}

.ais-range-slider--target {
	position: relative;
	direction: ltr;
	background: #F3F4F7;
	height: 6px;
	margin-top: 2em;
	margin-bottom: 2em;
}

.ais-range-slider--base {
	height: 100%;
	position: relative;
	z-index: 1;
	border-top: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	border-left: 2px solid #DDD;
	border-right: 2px solid #DDD;
}

.ais-range-slider--origin {
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	bottom: 0;
}

.ais-range-slider--connect {
	background: #46AEDA;
}

.ais-range-slider--background {
	background: #F3F4F7;
}

.ais-range-slider--handle {
	width: 20px;
	height: 20px;
	position: relative;
	z-index: 1;
	background: #FFFFFF;
	border: 1px solid #46AEDA;
	border-radius: 50%;
	cursor: pointer;
}

.ais-range-slider--handle-lower {
	left: -10px;
	bottom: 7px;
}

.ais-range-slider--handle-upper {
	right: 10px;
	bottom: 7px;
}

.ais-range-slider--tooltip {
	position: absolute;
	background: #FFFFFF;
	top: -22px;
	font-size: .8em;
}

.ais-range-slider--pips {
	box-sizing: border-box;
	position: absolute;
	height: 3em;
	top: 100%;
	left: 0;
	width: 100%;
}

.ais-range-slider--value {
	width: 40px;
	position: absolute;
	text-align: center;
	margin-left: -20px;
	padding-top: 15px;
	font-size: .8em;
}

.ais-range-slider--value-sub {
	font-size: .8em;
	padding-top: 15px;
}

.ais-range-slider--marker {
	position: absolute;
	background: #DDD;
	margin-left: -1px;
	width: 1px;
	height: 5px;
}

.ais-range-slider--marker-sub {
	background: #DDD;
	width: 2px;
	margin-left: -2px;
	height: 13px;
}

.ais-range-slider--marker-large {
	background: #DDD;
	width: 2px;
	margin-left: -2px;
	height: 12px;
}

.ais-range-slider--marker-large:first-child {
	margin-left: 0;
}

.ais-star-rating--item {
	/* list item */
	vertical-align: middle;
}

.ais-star-rating--item__active {
	/* active list item */
	font-weight: bold;
}

.ais-star-rating--star {
	/* item star */
	display: inline-block;
	width: 1em;
	height: 1em;
}

.ais-star-rating--star:before {
	content: '\2605';
	color: #FBAE00;
}

.ais-star-rating--star__empty {
	/* empty star */
	display: inline-block;
	width: 1em;
	height: 1em;
}

.ais-star-rating--star__empty:before {
	content: '\2606';
	color: #FBAE00;
}

.ais-star-rating--link__disabled .ais-star-rating--star:before {
	color: #C9C9C9;
}

.ais-star-rating--link__disabled .ais-star-rating--star__empty:before {
	color: #C9C9C9;
}

.ais-root__collapsible .ais-header {
	cursor: pointer;
}

.ais-root__collapsed .ais-body, .ais-root__collapsed .ais-footer {
	display: none;
}

/* Hierarchical Menu: Categories */
.ais-hierarchical-menu--item__active > div > a {
	font-weight: bold;
}

/* Facets */
.facets-header {
	font-size: 21px;
	font-weight: 400;
	margin-bottom: 0;
	margin-top: 15px;
}

.facet-header {
	color: var(--gray);
	font-size: 16px;
	font-weight: 500;
	border-bottom: 1px solid var(--gray);
	padding-bottom: 10px;
    margin: 24px 0;
}

.ais-facet {
	display: flex;
	flex-direction: column;
	padding-top: 0;
	padding-bottom: 0;
}

.ais-RefinementList {
	order: 2;
}

.ais-RefinementList-list {
	padding: 0;
	margin-top: 0;
}

.ais-RefinementList--noRefinement + .facet-header {
	display: none;
}

.ais-RefinementList-item input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.ais-RefinementList-item .label {
	padding-left: 20px;
}

.ais-RefinementList-item .checkbox {
	position: absolute;
	top: 5px;
	left: 0;
	height: 13px;
	width: 13px;
	border: 1px solid var(--gray);
}

.ais-RefinementList-item input:checked ~ .checkbox {
	background-color: var(--blue);
	border-color: var(--blue);
}

.ais-RefinementList-item .checkbox:after {
	content: "";
	position: absolute;
	display: none;
}

.ais-RefinementList-item input:checked ~ .checkbox:after {
	display: block;
}

.ais-RefinementList-item .checkbox:after {
	left: 3px;
    top: -1px;
    width: 6px;
    height: 11px;
    border: solid var(--white);
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.ais-RefinementList-item:before {
	content: none;
}

.ais-RefinementList-labelText {
	position: relative;
}

.ais-RefinementList-labelText span {
	font-weight: 400;
	color: var(--gray);
}

/* Pagination */
.ais-pagination {

}

.ais-Pagination-list {
	text-align: center;
}

.ais-Pagination-item {
	display: inline-block;
}

.ais-Pagination-item:before {
	content: none;
}

.ais-Pagination-item--page a {
	border: 5px solid transparent;
	border-radius: 30px;
	display: block;
	padding: 8px 18px;
	margin: 0 4px;
	font-weight: 800;
	color: var(--gray);
	transition: all 0.2s ease;
}

.ais-Pagination-item--page a:hover {
	color: var(--gray);
	border-color: var(--light-gray);
}

.ais-Pagination-item--selected a {
	border: var(--blue) solid 5px;
	background: transparent;
	color: var(--gray);
}

.ais-Pagination-link {
	color: var(--gray);
}

.ais-Pagination-item--nextPage a,
.ais-Pagination-item--nextPage span,
.ais-Pagination-item--previousPage a,
.ais-Pagination-item--previousPage span {
	font-size: 28px;
	font-weight: 300;
	padding: 0 8px;
}

.no-results p {
	color: var(--blue);
	font-size: 21px;
	margin: 0 0 30px;
}

.no-results ul {
	list-style-type: disc;
}

.no-results ul li:before {
	content: none;
}

/* Responsive */
@media only screen and (max-width: 1000px) {

	.ais-hits--thumbnail img {
		width: 100% !important;
	}
	.ais-hits--item {
		border-bottom: 1px solid gainsboro;
		padding-bottom: 23px;
	}
}

@media only screen and (max-width: 500px) {
	.ais-hits--thumbnail {
		margin-right: 0 !important;
		margin-left: 0;
		margin-top: 20px;
		margin-bottom: 10px;
		float: none !important;
	}
}


@media only screen and (min-width: 768px) {
	.filter-toggle {
		display: none;
	}

	.ais-menu-items {
	}

	.ais-Menu-item {
		display: inline-block;
	}

	.ais-ClearRefinements-button {
		padding: 0 70px 0 0;
		background: none;
	}

	.ais-ClearRefinements-button--disabled:before {
		content: '';
		position: absolute;
		width: 20px;
		height: 4px;
		left: 0;
		top: -5px;
		background: var(--blue);
	}

	.ais-Menu-item {
		padding: 0;
	}

	.ais-Menu-link,
	.ais-ClearRefinements-button {
		font-size: 18px;
		padding: 0 30px 0 0;
	}

	.ais-Menu-item--selected {
		border: none;
		box-shadow: none;
	}

	.ais-Menu-item--selected a:before {
		content: '';
		position: absolute;
		background-color: var(--blue);
		width: 20px;
		height: 3px;
		left: 0;
		top: -7px;
	}

	.ais-wrapper {
		padding: 0 40px 30px;
	}

	.results-wrapper {
		padding: 0;
	}

	.ais-facets {
		display: block;
	}

	.ais-hits--content {
		
	}

	.ais-hits__container {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap;
	}
}

@media only screen and (min-width: 800px) {
	.ais-Menu-link,
	.ais-ClearRefinements-button {
		padding: 0 40px 0 0;
	}
}

@media only screen and (min-width: 1024px) {
	.ais-Menu-link,
	.ais-ClearRefinements-button {
		font-size: 19px;
		font-weight: 600;
		padding: 0 70px 0 0;
	}

	.ais-main {
		max-width: 886px;
		order: 2;
	}

	.ais-wrapper {
		max-width: 93.75%;
		padding: 0 0 30px;
		margin: 0 auto;
	}

	.ais-wrapper .featured-insights {
		margin: 60px 0;
		order: 1;
	}

	.ais-wrapper .featured-insights .featured-insights__container {
		display: flex;
	}

	.ais-wrapper .featured-insight {
		flex: 1;
		margin-right: 48px;
	}

	.ais-wrapper .featured-insight:last-child {
		margin-right: 0;
	}

	.results-wrapper {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.ais-facets {
		margin-left: 30px;
		order: 3;
		max-width: calc(270px - 30px);
	}
}

@media only screen and (min-width: 1281px) {
	.ais-wrapper {
		max-width: 1280px;
	}
}
