/* =====  18. SEARCH ===== */
input[type="text"].search-query {
	width: 85%;
	float:left;
	color:black;
	height:100%;
	margin-top:-10px;
}
.input-append button {
	background: none;
	border: none;
	float: left;
	padding: 3px;
}
.input-append button:hover, 
.input-append button:focus, 
.input-append button:active, 
.input-append button:active:hover, 
.input-append button:active:focus {
	background-color: #b2d74d;
}
@media(max-width: 1000px) {
	.input-append button{
	background: none;
	border: none;
	float: right;
	padding: 3px;
	}

input[type="text"].search-query {
	width: 85%;
	float:left;
	color:black;
	height:100%;
	margin-top:-10px;
	margin-left:-20px;
}
}
.search-filters h4
{
	font-family: 'Merriweather', 'Arial', sans-serif;
	font-size:1.2em;
	font-weight:bold;
}
.search-filters input
{
	margin-right:3px;
}
.search-filters label
{
	font-weight: normal;
	margin-bottom: 8px;
}
.search-result-box {
	width: 195px;
    max-height: 400px;
    float: left;
    margin-right: 6px;
    padding: 3px;
    margin-bottom: 10px;
	overflow-y: auto; /* only show if necessary */
	overflow-x: hidden;
}
.search-result-box img {
	margin-bottom: 5px;
	max-height:190px;
}
.search-result-box h4 {
	font-family: 'Merriweather', 'Arial', sans-serif;
	color:#515151;
	padding-right: 29px;
    text-align: left;
    line-height: 1.4em;
    margin-top: 4px;
    margin-bottom: -1px;
}
.search-result-box div {
	font-size: 0.7em;
	color:#515151;
	overflow:hidden;
}
#resultsData .category {
	background: #a5c847;
	/*display: table;*/
	text-transform: uppercase;
	border-radius: 4px;
	font-size: 10.5px;
	color: #FFFFFF;
	padding: 3px 10px;
	letter-spacing: 0.5px;
}
.search-result-box .category {
	/*background: #a5c847;*/
	display: table;
	/*text-transform: uppercase;*/
	/*border-radius: 4px;*/
	/*font-size: 10.5px;*/
	/*color: #FFFFFF;*/
	/*padding: 3px 10px;*/
	/*letter-spacing: 0.5px;*/
	margin-bottom: 3px;
}
.search-result-box .category a, .search-result-box .category a:visited {
	color: #FFFFFF;
}
#resultsData.loading {
	opacity:0;
	visibility:hidden;
	/*-webkit-transition:0.2s;
	-moz-transition:0.2s;
	-o-transition:0.2s;
	-ms-transition:0.2s;
	transition:0.2s;*/
}
#resultsData.loaded {
	opacity:1;
	visibility:visible;
	-webkit-transition:0.2s;
	-moz-transition:0.2s;
	-o-transition:0.2s;
	-ms-transition:0.2s;
	transition:0.2s;
}

/* Algolia Styles */

.hits-list {
	list-style-type: none; /* remove nubmers/bullets from list */
}

.hits-item {
	/* set items to have consistent height to prevent issues where items will wrap underneath
	a shorter item rather than going to the first position on the left */
	height: 310px;
	border: 1px solid #BBBBBB; /* light border around thumbnails */
	background-color: #f6f7f9;
	text-align: left;
}

.hits-item h4, .search-result-teaser {
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
}

.ais-Hits--empty {
	text-align: left;	
}

.search-result-teaser {
	text-overflow: ellipsis;
}

.search-result-thumbnail-container {
	/* set a uniform height for the thumbnail to ensure consisistent display */
	height: 141px;
	overflow: hidden;
}

/* Tweak padding for filters so grades don't wrap */
.resource-filter label {
	padding-right: 8px;
	padding-left: 8px;
}

/* No margin on first facet group */
#resource-filters > h4:first-of-type {
	margin-top: 0px;
}

input[type="search"]ow.search-input {
	/* search input box */
	width: 85%;
}

.search-clear-refinements {
	background-color: #A5C847;
	text-align: center;
	padding: 8px;
	border: 0px;
	text-transform: uppercase;
	color: #FFFFFF;
	font-weight: 600;
	letter-spacing: 2px;
	margin: 10px 0px;
	font-size: 12px;
	border-radius: 3px;
	cursor: pointer;
}

.refinement-list-showMore {
	padding-right: 5px;
}

.search-clear-refinements:hover, 
.search-clear-refinements:focus, 
.search-clear-refinements:active, 
.search-clear-refinements:active:hover, 
.search-clear-refinements:active:focus, 
.refinement-list-showMore:hover, 
.refinement-list-showMore:focus,
.refinement-list-showMore:active,
.refinement-list-showMore:active:hover,
.refinement-list-showMore:active:focus {
	background-color: #b2d74d;
}


.search-pagination {
	padding: 5px;
}

.search-pagination-list {
	justify-content: center;
}

.refinement-list-item {
	text-align: left;
}

.refinement-list-count::before {
	content: " (";
}

.refinement-list-count {
	font-size: smaller;
}

.refinement-list-count::after {
	content: ")";
}

.refinement-list-showMore {
	font-size: smaller;
	padding-left: 5px;
}

.collection-banner {
	border: 1px solid #CBE4A4; 
	background-color: #ECF4DD; 
	color: #648C30; 
	font-size: 18px; 
	font-weight:600;
	padding: 10px 10px 10px 15px;
	margin-bottom: 15px; 
	margin-top: 0px;
}

.collection-banner-checkmark {
	height: 20px;
	position: absolute;
	right: 30px;
}
