/************
Elastic Press
************/

.ep-search__header {
	margin-bottom: 10px;
}

/* Elastic Press > Filter button */
.ep-search__filter-btn {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 200px;
	height: 32px;
	line-height: 32px;
	background-color: #444;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: #fff;
}

.ep-search__filter-btn:hover {
	background-color: #666;
	filter: brightness(110%);
	cursor: pointer;
}

.ep-search__filter-btn.js-active {
	background-color: #222;
	filter: brightness(90%);
}

/* Elastic Press > Filters */
.ep-search__filter-wrap {
	display: none;
	padding-bottom: 20px;
}

.ep-search__filter-wrap.js-active {
	display: block;
}

.ep-search__filter:not(:last-child) {
	margin-bottom: 10px;
}

/* Elastic Press > Filter aggregations */
.ep-search__filter-title {
	margin-bottom: 4px;
	font-weight: 600;
}

.ep-search__filter-list:after {
	content: '';
	display: block;
	clear: both;
}

.ep-search__filter-item {
	float: left;
	margin: 0 8px 8px 0;
}

.ep-search__filter-link {
	display: block;
	background-color: #eee;
	font-size: 13px;
	color: #555;
}

.ep-search__filter-link:hover {
	background-color: #555;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
}

.ep-search__agg-text,
.ep-search__agg-count,
.ep-search__agg-count--empty {
	display: inline-block;
	padding: 6px 8px;
	line-height: 16px;
	vertical-align: top;
}

.ep-search__agg-count--empty {
	color: #000;
}

.ep-search__agg-count--empty:after {
	content: ' Remove?';
}

.ep-search__filter-link:hover > .ep-search__agg-count--empty {
	color: #fff;
}

/* Elastic Press > Results */
.ep-search__result  {
	margin: 0 0 1em;
	padding: 0 0 1em;
	border-bottom: 1px dotted #cccccc;
}

.ep-search__result-thumbnail {
	float: left;
	margin-right: 1em;
}

/* Elastic Press > Shared CSS */
.ep-search__filter-btn,
.ep-search__filter-link,
.ep-search__agg-count--empty {
	-moz-transition: all ease .2s;
	-webkit-transition: all ease .2s;
	transition: all ease .2s;
}
