
/* CUSTOM
// ------------------------- */
.hit .hit-content .time {
	color: #999;
}

.hit-content {
	margin-left: 20px;
}

.hit-content h2 {
	margin-left: -10px;
}

.hit-content img {
	max-width: 100%;
}

.remark-8k {
	color: #999;
    font-size:80%;
}

/* GENERAL
// ------------------------- */

* {
	font-family: 'Helvetica Neue', Helvetica, sans-serif;
}
html {
	overflow-y: scroll;
}
header, main, #no-results, footer {
	width: 1000px;
	margin: 0 auto;
}
main {
	min-height: 360px;
}
#left-column {
	float: left;
	width: 23%;
}
#right-column {
	width: 74%;
	margin-left: 26%;
}



/* SEARCH INPUT
// ------------------------- */

header {
	position: relative;
	height: 80px;
	margin-top: 40px;
}
header img {
	position: absolute;
	top: 9px;
	left: 0;
	float: left;
	max-width: 23%;
}
#search-input {
	font-size: 28px;
	font-weight: 100;
	width: 74%;
	margin-left: 26%;
	padding: 10px 0 6px;
	border: none;
	border-bottom: 5px solid #eee;
}
#search-input, #search-input:focus {
	transition: border-color .3s ease-in;
	outline: 0;
}
#search-input:focus {
	border-color: #ed5565;
}
#search-input::-webkit-input-placeholder, #search-input:-moz-placeholder, #search-input:-moz-placeholder, #search-input:-ms-input-placeholder {
	font-weight: 100;
	color: #999;
}
#search-input-icon {
	position: relative;
}
#search-input-icon:before {
	position: absolute;
	right: 0;
	bottom: 15px;
	width: 20px;
	height: 20px;
	content: '';
	cursor: default;
	background: url(/local/static/algolia/img/search_icon.png) no-repeat;
}
#search-input-icon.empty:before {
	cursor: pointer;
	background-image: url(/local/static/algolia/img/delete_icon.png);
}



/* HITS
// ------------------------- */

#hits {
	margin: 4px 0;
	padding: 10px 0;
	border-top: 2px solid #eee;
}
.hit {
	font-size: 0;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}
.hit-image {
	display: inline-block;
	width: 16%;
}
.hit-image img {
	max-width: 100%;
	max-height: 180px;
}
.hit-content {
	font-size: 13px;
	font-weight: 300;
	display: inline-block;
	width: 83%;
	margin-left: 1%;
	vertical-align: top;
}
.hit-content .hit-price {
	font-size: 20px;
	float: right;
	margin-left: 20px;
	color: #ed5565;
}
.hit-content .hit-price, .hit-content .hit-name {
	font-weight: normal;
	margin-top: 0;
}
.hit-content em {
	font-style: normal;
	background: #fbdde0;
}
.hit-content .hit-description {
	color: #999;
}

/* PAGINATION
// ------------------------- */

#pagination {
	margin-top: 60px;
}
#pagination ul {
	font-size: 0;
	list-style-type: none;
	text-align: center;
}
#pagination li {
	font-size: 14px;
	display: inline;
}
#pagination a {
	padding: 8px 12px;
	text-decoration: none;
	color: #000;
	border: 1px solid #eee;
	border-right: none;
}
#pagination a:hover {
	background: #f5f5f5;
}
#pagination li:first-child a {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
#pagination li:last-child a {
	border-right: 1px solid #eee;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}
#pagination li.active a {
	color: white;
	border-color: #ed5565;
	background: #ed5565;
}
#pagination li.active a:hover {
	cursor: default;
}
#pagination li.disabled a {
	cursor: not-allowed;
}
#pagination li.disabled a:hover {
	background: none;
}



/* SORT-BY
// ------------------------- */

#sort-by {
	font-weight: 300;
	position: relative;
	float: right;
	color: #999;
}
#sort-by select {
	font-size: 16px;
	padding-right: 14px;
	cursor: pointer;
	border: none;
	outline: none;
	background: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
#sort-by .caret {
	position: absolute;
	top: 8px;
	right: 0;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	pointer-events: none;
	color: #000;
	border-top: 4px dashed;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}



/* STATS
// ------------------------- */

#stats {
	min-height: 18px;
}
#stats .found-in {
	font-size: 12px;
	color: #999;
}



/* FACETS
// ------------------------- */

.facet {
	margin-bottom: 24px;
}
.facet h5 {
	margin: 0 0 6px;
	padding: 0 0 6px;
	text-transform: uppercase;
	border-bottom: 2px solid #eee;
}
.facet ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.facet li {
	margin-bottom: 3px;
}
.facet-link {
	font-size: 13px;
	line-height: 1.2;
	text-decoration: none;
	color: #000;
}
.facet-link:hover, .facet-link.facet-refined {
	color: #ed5565;
}
.facet .facet-link.facet-refined:hover {
	text-decoration: line-through;
	color: #ed5565;
}
.facet-count {
	position: relative;
	top: 3px;
	float: right;
	color: #999;
}
/* Checkboxes */
.facet-disjunctive {
	font-weight: normal;
	position: relative;
	margin-left: 18px;
}
.facet-disjunctive:before {
	position: absolute;
	top: 1px;
	left: -18px;
	width: 16px;
	height: 16px;
	content: '';
	background: url(/local/static/algolia/img/checkbox_icons.png) 0 0 no-repeat;
}
.facet-disjunctive:hover:before {
	background-position: -24px 0;
}
.facet-disjunctive.facet-refined:before {
	background-position: -48px 0;
}
.facet-disjunctive.facet-refined:hover:before {
	background-position: -72px 0;
}



/* No-result
// ------------------------- */

.no-results #pagination, .no-results #sort-by, .no-results #stats, .no-results #facets {
	display: none;
}
#no-results-message {
	text-align: center;
}
#no-results-message p {
	font-size: 28px;
	font-weight: 100;
}
#no-results-message ul {
	list-style-type: none;
}
#no-results-message li {
	font-size: 12px;
	position: relative;
	display: inline-block;
	margin: 4px 2px;
	padding: 4px 28px 4px 8px;
	color: #999;
	border: 1px solid #ddd;
	border-radius: 12px;
}
#no-results-message li span.value {
	font-weight: bold;
	color: #000;
}
#no-results-message li a.remove img {
	position: absolute;
	top: 3px;
	right: 5px;
	float: right;
	width: 17px;
	height: 17px;
	opacity: .5;
}
#no-results-message li a.remove:hover img {
	opacity: 1;
}
a.clear-all {
	font-size: 12px;
	line-height: 1;
	display: inline-block;
	margin: 10px;
	padding: 8px 12px;
	text-decoration: none;
	color: black;
	border: 2px solid #ddd;
	border-radius: 4px;
}
a.clear-all:hover {
	transition: border-color .3s ease-in;
	border-color: #999;
}



/* FOOTER
// ------------------------- */

footer {
	font-size: 14px;
	margin-top: 200px;
	margin-bottom: 24px;
	text-align: center;
}
footer a {
	text-decoration: none;
	color: #ed5565;
}
footer a:hover {
	text-decoration: underline;
	color: #ed5565;
}
