/* SITEVISION OVERRIDES 
---------------------------------------------------------------------------- */

/* Search box */
.jor-search-box-container {
	max-width: 600px;
	margin-bottom: 10px;
   position: relative;
}

.jor-search-box-container input {
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	margin: 0 -1px 0 -1px;
}

.jor-search-box-container .jor-search-box__button {
	margin-left: -1px;
	font-size: 0;
	border-top-right-radius: var(--jor-env-button-border-radius) !important;
	border-bottom-right-radius: var(--jor-env-button-border-radius) !important;

	border-radius: 0;
	position: relative;
	color: #fff !important;
	background-color: var(--jor-color-dark-green) !important;
	border-color: var(--jor-color-dark-green) !important;
	padding: 0.5rem 0.75rem;
	box-sizing: border-box;
	min-height: 2.75rem;
	border-top-right-radius: var(--jor-env-button-border-radius) !important;
	border-bottom-right-radius: var(--jor-env-button-border-radius) !important;
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;

	margin: 0;
	background-color: transparent;
	border: 2px solid transparent;
	border-radius: 0;
	width: auto;
}

.jor-search-box-container .env-button span,
.jor-search-box-container .jor-search-box__button i {
	margin: 0;
	background-color: transparent;
	border: 2px solid transparent;
	border-radius: 0;
	font-size: 1rem;
	width: auto;
}

/* OLD - Search box */
.jor-search-box-wrapper form,
.jor-search-box-wrapper > .env-d--flex {
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 0.4rem;
}

.jor-search-box-offcanvas-wrapper {
	padding: 2rem 1.5rem;
	background: #fff;
}

.jor-search-box-wrapper input {
	padding: 1rem;
	box-sizing: border-box;
	background: #fff;
	border: none;
}

.jor-search-box-wrapper button {
	border-radius: 0px;
}

/* hitcount */
.jor-search-hitcount {
	margin-bottom: 1em;
}

.jor-search-offcanvas-link {
	float: right;
}

/* Facett */
.jor-facett-item-wrapper {
	display: grid;
	grid-template-columns: repeat(3, auto);
}

@media screen and (max-width: 950px) {
	.jor-facett-item-wrapper {
		grid-template-columns: repeat(2, auto);
	}
}

@media screen and (max-width: 800px) {
	.jor-facett-item-wrapper {
		grid-template-columns: repeat(1, 1fr);
	}
}

.jor-facett-item {
	padding-right: 1em;
}

.jor-facett-icon::before {
	display: inline-block;
	text-decoration: none;
	font-family: "Font Awesome 5 Free";
	margin-right: 0.4em;
}

.jor-facett-unselected::before {
	content: "\f0c8";
}

.jor-facett-selected::before {
	content: "\f14a";
}

.jor-facett-item__filter-counter {
	cursor: help;
}

.jor-facet-link,
.normal .jor-facet-link:link {
	text-decoration: none !important;
	color: var(--jor-link-font-color);
}

.jor-facet-link__underline {
	text-decoration: underline;
}

span.jor-facet-count {
	color: #4d4d4d;
}

/* Hits */
.sv-search-result {
	list-style-type: none;
	margin: 1.25rem 0 0 0;
	padding: 0;
}

.jor-search-offcanvas-hitcount-wrapper {
	padding: 0 1.4em;
	margin-bottom: -0.5em;
}

.sv-search-offcanvas-hit {
	padding: 1.5rem;
	background: #f8f6e8;
	margin-bottom: 1px;
}

.sv-search-hit {
	background: #f8f6e8;
	margin: 0 0 1.25rem 0;
	display: block;
	padding: 0 0 1.5rem 0;
	clear: both;
	overflow: hidden;
}

.jor-hit-heading-wrapper {
	margin-top: 0;
	display: block;
	width: 100%;
	border-bottom: 1px solid #e6e6e6;
	padding: 1rem 1.1rem;
	box-sizing: border-box;
	margin-bottom: 0.5rem;
}

.jor-hit-heading-wrapper .jor-hit-heading {
	font-size: 1.1rem;
}

.jor-search-result-wrapper .jor-hit-heading-wrapper .jor-hit-heading {
	line-height: 1.56;
	display: inline-block;
	position: relative;
	padding-left: 1em;
}

.jor-search-result-wrapper .jor-hit-heading-wrapper .jor-hit-heading .jor-icon {
	position: absolute;
	left: 0;
	top: 0.275em;
}

.jor-hit-offcanvas-heading-wrapper {
	padding-bottom: 0.5rem;
	display: block;
}

.jor-hit-offcanvas-heading {
	text-decoration: none !important;
}

.jor-hit-offcanvas-heading:hover {
	text-decoration: underline !important;
}

.jor-hit-offcanvas-category {
	display: inline-block;
	background: #587604;
	border-radius: 4px;
	color: #fff;
	box-sizing: border-box;
	padding: 1px 10px;
	font-size: 0.8rem;
	font-weight: 700;
	margin-left: 0.5rem;
}

.jor-hit-content-wrapper {
	margin: 0;
	padding: 0.3rem 1.1rem 0 1.1rem;
	box-sizing: border-box;
}

.jor-hit-summary-wrapper {
	margin-bottom: 2em;
}

.jor-hit-info {
	font-size: 0.9rem;
	color: #4d4d4d;
}

/* Did you mean */
.jor-did-you-mean-offcanvas {
	padding-left: 1.5rem;
}

/* Error message */
.jor-search-offcanvas-error-wrapper {
	padding: 0.5em 1.5rem;
}

/* Pagination */
/* .pagination a,
.pagination a:visited,
.pagination span,
.pagination span:visited {
	text-decoration: none !important;
	display: block;
	padding: 0.2rem 0.7rem;
	font-size: 0.9rem;
	color: #116fa2;
	border-radius: 3px;
	border: 1px solid #e6e6e6;
}

.pagination .current {
	background: #587604;
	color: #fff;
	font-weight: bold;
}
.pagination .current:not(.prev):not(.next) {
	background: #587604 !important;
}

.pagination a:hover {
	color: #a24a0f;
	background: #fff;
} */
