/**
 * Algolia InstantSearch Results page styles.
 *
 * @package premera-algolia-search
 */

:root {
	--pas-search-font: "Roboto", sans-serif;
}

body {
	font-family: arial, sans-serif;
}
em {
	background-color: #eeeeee;
	font-weight: 700;
	color: maroon;
}
a {
	text-decoration: none;
}
mark {
	background-color: #cfe5ee;
}

.searchbox_wrapper {
	position: absolute;
	right: 0;
	bottom: -78px;
	width: calc(100% - 720px);
}
@media (max-width: 1024px) {
	@media not (width: 1024px) {
		.searchbox_wrapper {
			position: static;
			width: 100%;
		}
	}
}
.ais-SearchBox-input {
	width: 100%;
	margin-bottom: 11px !important;
}
@media (max-width: 1024px) {
	@media not (width: 1024px) {
		.ais-SearchBox-input {
			margin-bottom: 9px !important;
		}
	}
}

/* Algolia InstantSearch */
.filter-buttons #menu {
	display: flex;
	flex-wrap: wrap;
	padding: 0 !important;
	gap: 8px;
}

.ais-Menu-link {
	line-height: 24px;
	min-width: fit-content;
	padding: 10px;
}
.ais-Menu-link:hover {
	background-color: #e2e2e2;
	text-decoration: none !important;
}
.ais-Menu-link.active {
	color: white;
	background-color: #0c2340;
}
.ais-Menu-item--selected span {
	color: white;
}
.ais-ClearRefinements-button {
	color: #117bab;
	border-radius: 4px;
}
.ais-ClearRefinements-button--disabled {
	color: white;
	background-color: #117bab;
}
.ais-SearchBox-form {
	margin: 8px 0 0 0;
}
.ais-SearchBox-submit {
	display: none;
}
.ais-SearchBox-reset {
	display: none;
}

.section--search_results .load-more-wrapper {
	display: flex;
	margin-bottom: 32px;
}
.ais-InfiniteHits-loadMore {
	width: fit-content;
	margin: 0 auto;
	border: 1px solid #0c2340;
	display: inline-flex;
	padding: 12px 16px 10px;
	align-items: center;
	justify-content: center;
}

.ais-InfiniteHits-loadMore > span {
	color: #0c2340;
	line-height: 1;
}
.ais-InfiniteHits-loadMore:hover {
	background-color: #e2e2e2;
	color: #0c2340;
}
.ais-InfiniteHits-loadMore:hover > span {
	color: #0c2340;
}
.ais-InfiniteHits-loadMore--disabled {
	display: none;
}
.ais-SearchBox-input {
	padding: 0 8px 0 44px !important;
	font-size: 18px !important;
}
#hits {
	overflow-wrap: break-word;
}

.ais-InfiniteHits-item .hits-icon {
	text-align: center;
	width: 60px;
	min-width: 60px;
	position: relative;

	@media (min-width: 1024px) {
		width: 113px;
		min-width: 113px;
	}
}
.ais-ClearRefinements-button:hover {
	background-color: #e2e2e2;
	color: #0c2340;
}
.ais-ClearRefinements-button--disabled:hover {
	background-color: #0c2340;
	color: white;
}
@media (max-width: 420px) {
	.ais-ClearRefinements-button > div > span {
		font-size: 12px !important;
	}
	.ais-Menu-link {
		font-size: 12px;
	}
	.label-show {
		padding-right: 6px !important;
	}
}
@media (max-width: 480px) {
	.ais-InfiniteHits-item .hits-content {
		width: auto;
	}
	.ais-InfiniteHits-item .hits-icon {
		text-align: left;
	}
}
.thumb--Video {
	border-radius: 8px;
	border: 1px solid #0c2340;
	height: 90px;
	width: auto;
}
.underline_on_hover:hover {
	text-decoration: underline;
	color: #0c2340 !important;
}
.underline_on_hover:hover div {
	color: #0c2340 !important;
}
.ais-SearchBox-loadingIndicator {
	position: absolute;
}

.section--search_results .ais-ClearRefinements-button--disabled div span {
	color: white;
}
.section--search_results li:before {
	content: none;
}
.section--search_results li + li {
	margin-top: 0;
}
.section--search_results .ais-Menu-link:hover {
	text-decoration: none;
}
.section--search_results hr {
	border: 0;
	border-bottom: 0.0625rem solid var(--color-hairline);
	width: 100%;
}

.section--search_results #stats {
	padding: 5px 32px 16px 24px;
	max-width: 1197px;
	margin: 0 auto;
}

.section--search_results .ais-Stats-text .results-count {
	font-weight: 400;
	font-size: 20px;
	font-family: Roboto, sans-serif;
	color: #404144;
}

.section--search_results .filter-buttons-wrapper {
	display: flex;
	justify-content: space-between;
	padding: 1rem 0;
	max-width: 1197px;
	margin: 0 auto;
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
}

.section--search_results .filter-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-left: 24px;
	width: 100%;
}

.section--search_results .filter-buttons .label-show {
	padding-top: 6px;
	padding-right: 12px;
	font-family: var(--pas-search-font);
	color: #404144;
	font-size: 18px;
	font-weight: 600;
}

.section--search_results
	#clear-refinements
	.ais-ClearRefinements
	button.ais-ClearRefinements-button {
	display: flex !important;
	padding: 8px 10px;
	border: 1px solid #0c2340;
	border-radius: 4px;
	width: fit-content;
	display: inline-block;
}

.section--search_results
	#clear-refinements
	.ais-ClearRefinements
	button.ais-ClearRefinements-button
	span {
	font-size: 18px;
	line-height: 24px;
	font-family: var(--pas-search-font);
}

.section--search_results #menu .ais-Menu-link {
	display: flex;
	padding: 8px 10px;
	border: 1px solid #0c2340;
	border-radius: 4px;
	align-items: center;
	justify-content: space-between;
}

.section--search_results #menu .ais-Menu-link > span {
	font-size: 18px;
	line-height: 24px;
	font-family: var(--pas-search-font);
}

.section--search_results #hits {
	padding-bottom: 1rem;
	max-width: 1197px;
	margin: 0 auto;
}

.section--search_results .ais-ClearRefinements-button {
	color: #0c2340;
}

.section--search_results .ais-ClearRefinements-button--disabled {
	color: #fff;
}

.section--search_results .ais-Menu-link {
	border-color: #0c2340;
}

.section--search_results .ais-ClearRefinements-button--disabled,
.section--search_results .ais-Menu-item--selected .ais-Menu-link {
	background-color: #0c2340;
}

.section--search_results .hitsitem--wrapper {
	margin: 16px;
	padding: 16px;
	display: flex;
	gap: 24px 24px;
}

.section--search_results .hits-snippet {
	margin-bottom: 0;
	color: #0c2340;
	font-family: var(--pas-search-font);
	font-weight: 600;
	font-size: 18px;
	line-height: 22px;
}

.section--search_results .hits-url {
	margin-top: 0;
	color: #f77022;
	font-family: var(--pas-search-font);
	font-weight: 600;
	font-size: 12px;
	line-height: 14px;
	text-decoration: underline;
}

.section--search_results .hits-description {
	padding-top: 16px;
	padding-bottom: 16px;
	font-family: var(--pas-search-font);
	font-size: 16px;
	line-height: 18px;
	color: #404144;
}

.section--search_results .hits-readmore {
	font-family: var(--pas-search-font);
	font-size: 12px;
	line-height: 1;
	color: #0c2340;
	text-decoration: underline;
}
