
.algolia_logo{
	width: 60px;
	float: right;
	margin-top: 10px;
}

#search-input 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 input, #search-input input:focus {
  transition: border-color .3s ease-in;
  outline: 0;
}
#search-input input:focus {
  border-color: #ed5565;
}
#search-input input::-webkit-input-placeholder, #search-input input:-moz-placeholder, #search-input input:-moz-placeholder, #search-input 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(img/search_icon.png) no-repeat;
}
#search-input-icon.empty:before {
  cursor: pointer;
  background-image: url(img/delete_icon.png);
}

/* HITS */
#hits {
  margin: 4px 0;
  padding: 10px 0;
  border-top: 2px solid #eee;
}
.hit {
  font-size: 0;
  padding: 10px 0;
}
.hit-name {
  margin: 0;
}
.hit-image {
  display: inline-block;
  width: 16%;
  text-align: center;
}
.hit-image img {
  max-width: 100%;
  max-height: 180px;
}
.hit-years {
  padding-top: 1px;
  color: purple !important;
}

.hit-content {
  font-size: 13px;
  font-weight: 300;
  display: inline-block;
  width: 81%;
  margin-left: 3%;
  vertical-align: top;
}
.hit-stars {
  font-size: 17px;
  margin: 4px 0;
  color: #868686;
}

.hit-content .hit-price {
  float: right;
  margin-left: 20px;
  color: #ffffff;
  background: #383838;
  padding: 4px;
  border-radius: 3px;
}
.hit-content .hit-price, .hit-content .hit-name {
  font-weight: normal;
  margin-top: 0;
}

.hit-content em {
  font-style: normal;
  color: #ed5565;
  border-bottom: solid 1px rgba(244, 107, 91, 0.5);
}

.hit-content p {
  font-size: 14px;
  color: #a9a9a9;
  font-weight: normal;
}

.hit-description em {
  color: inherit;
}

.hit-category-breadcrumb {
  margin: 5px 0 2px 0;
}

  .hit-category-breadcrumb em {
    color: inherit;
  }

.hit-content .hit-description {
  color: #868686;
  margin: 1px 0 10px 0;
  font-size: 14px;
}

/* 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;
}
#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.ais-pagination--item__active a {
  color: white;
  border-color: #ed5565;
  background: #ed5565;
}
#pagination li.ais-pagination--item__active a:hover {
  cursor: default;
}
#pagination li.ais-pagination--item__disabled a {
  cursor: not-allowed;
}
#pagination li.ais-pagination--item__disabled a:hover {
  background: none;
}

/* SORT BY */
#sort-by-wrapper {
  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:after {
  content: "";
  display: inline-block;
  position: absolute;

  top: 8px;
  right: 0;

  width: 0;
  height: 0;

  margin-left: 2px;
  vertical-align: middle;

  color: #000;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;

  pointer-events: none;
}

/* STATS */
#stats {

}

#stats .ais-stats--time {
  font-size: 0.8em;
  color: #999;
}

/* FACETS */
.facet {
  margin-bottom: 24px;
  font-size: 14px;
  color: #000;
}
.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 a:visited,
.facet a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Collapsable FACETS */
.ais-root__collapsible .ais-header h5:hover {
  border-color: #c5c5c5;
  transition : border 500ms ease-out;
}

.ais-root__collapsible.ais-root__collapsed .ais-header h5:hover {
  border-color: #333;
}

.ais-root__collapsible .ais-header h5:before {
  display: inline-block;
  font: normal normal normal 16px/1 FontAwesome;
  content: "\f106";
  float: right;
}

.ais-root__collapsible.ais-root__collapsed .ais-header h5:before {
  content: "\f107";
}

.ais-refinement-list--label,
.ais-hierarchical-menu--list .facet-item,
.ais-menu--link,
.ais-price-ranges--item {
  cursor: pointer;
  line-height: 1.5em;
}
.ais-hierarchical-menu--list .ais-hierarchical-menu--item {
  margin: 3px 0;
}
.ais-hierarchical-menu--link:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  content: "\f105";
  padding: 0 5px 0 0;
}

.sffv_no-results{
  font-size: 13px;
  line-height: 1.2;
  padding-top: 6px;
}

.ais-refinement-list--label:hover,
.ais-refinement-list--item__active .ais-refinement-list--label,
.ais-menu--link:hover,
.ais-menu--item__active .ais-menu--link,
.ais-hierarchical-menu--list .facet-item.active:hover,
.ais-hierarchical-menu--list .facet-item.active {
  color: #ed5565;
}
.ais-refinement-list--item__active .ais-refinement-list--label:hover,
.ais-menu--item__active .ais-menu--link:hover,
.ais-hierarchical-menu--list .facet-item.active:hover {
  text-decoration: line-through;
  color: #ed5565;
}
.ais-refinement-list--count,
.ais-hierarchical-menu--count,
.ais-menu--count,
.ais-star-rating--count,
.ais-toggle--count {
  position: relative;
  top: 3px;
  float: right;
  color: #999;
}

#type.facet .ais-refinement-list--checkbox {
  display: none;
}

/* NO RESULTS */
.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;
}

/* SLIDER */
.ais-range-slider--target {
  margin: 40px 30px 50px 0;
  font-size: 13px;
}

.ais-range-slider--connect {
  background: #ed5565;
}

.ais-range-slider--handle {
  border-color: #ed5565;
}

.ais-body.ais-range-slider--body {
  left: 10px;
  position: relative;
}

/* Star Rating */
.ais-star-rating--star,
.ais-star-rating--star__empty {
  display: inline-block;
  width: 1em;
  height: 1em
}

.ais-star-rating--item__active {

}

.ais-star-rating--star:before {
  content: '\2605';
  color: #FBAE00
}

.ais-star-rating--star__empty:before {
  content: '\2606';
  color: #FBAE00
}

.ais-star-rating--link__disabled .ais-star-rating--star:before,.ais-star-rating--link__disabled .ais-star-rating--star__empty:before {
  color: #C9C9C9
}


/* Price Ranges */
.ais-price-ranges--form {
  margin-top: 8px;
}
  .ais-price-ranges--currency {
    display: inline-block;
    margin-right: 4px;
  }

  .ais-price-ranges--input {
    display: inline-block;
    width: 50px;
    border-radius: 2px;
    border: solid 1px #ccc;
    font-weight: normal;
    font-size: 15px;
  }

  .ais-price-ranges--button {
    padding: 4px 7px;
    display: inline-block;
    margin: 0 0 0 6px;
  }

/* Toggle */
.ais-toggle--label {
  cursor: pointer;
}

/* RefinementList ShowMore */
.ais-show-more {
  font-weight: bold;
  opacity: .7;
  padding-left: 4px;
  position: relative;
  line-height: 25px;
  font-size: .9em;
}
.ais-show-more:hover,
.ais-show-more:focus {
  opacity: 1;
}
.ais-show-more:before {
  font-family: FontAwesome;
  font-style: inherit;
  font-weight: inherit;
  text-decoration: inherit;
  display: inline-block;
  position: relative;
  content: '';
  margin: 0 5px 0 0;
}

.ais-show-more__inactive:before {
  content: "\f0fe";
}

.ais-show-more__active:before {
  content: "\f146";
}

/* Active filters */
.ais-current-refined-values {
  position: relative;
}


/*-----custom-------*/
div#hits {
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  font-size: 10px !important;
  color: #000;
  text-align: left;
  display: none;
  position: absolute;
  z-index: 100;
  width: 800px;
  max-width: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.hit{
  display:flex;
  align-items:center;
}
.hit-content{
  width:100%;
  flex-grow:1;
}
.hit-content a{
  display:block;
  padding:20px 10px;
}
.hit-content a:hover, .hit-content a:focus{
  background-color:#f8f9fa;
}
.hit-content h2{
  font-size:18px;
  margin-top: -8px!important;
  color: #a9a9a9;
}
.hit-content h3{
  font-size:18px;
  color:#6e9431;
}
.ais-search-box{
  max-width:100%!important;
}

.ais-search-box--reset{
  display:none;
}
.ais-hits__empty{
    font-size: 1.4rem;
    padding: 40px;
}
.hit-content img {
  float: left;
  height: auto;
  margin: 0 25px 0 20px; /* top right bottom left */
  border-radius: 4px;
}

.hit-content p{
  font-size:16px;
}
.hit-content img.spill{
  float:left;
  margin-right:25px;
  width:40px;
}


img.location{
  width: 280px;
  padding-left: 15px;
  border-radius: 6px;
}

div#spotandspill-hits{
     background-color: #ffffff;
     border-style: solid;
     border-color: #e6e6e6;
     border-width: 0px 1px 1px 1px;
     max-width: 100%;
     font-size: 10px!important;
     color: #000;
     text-align: left;
     display:none;
     position:absolute;
     z-index:1;
     width:97%;
}
#spotandspill-hits .ais-hits--item{
  height:auto;
}
#spotandspill-hits .hit-content img{
  width:50px;
  margin-right:10px;
}
@media only screen and (max-width: 500px){
  img.location{
    width:95%;
  }
}

.hit-content img.location {
  height: auto;
  margin-right: 15px;
  float: left;
}
.hit-content {
  padding: 10px 0;
  overflow: hidden; /* to contain floated image */
}

.hit {
  margin-bottom: 4px;
  transition: background-color 0.2s ease;
}
.hit:hover {
  background-color: #f4f4f4;
}

.hit-content h3,
.hit-content h2,
.hit-content p {
  line-height: 1.3;
  margin: 2px 0;
}

#hits {
  max-width: 500px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.hit-content a {
  display: block;
  padding: 20px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.hit-content h3 {
  font-size: 1.3rem;
  color: #3a7539;
  font-weight: 700;
  margin-bottom: 4px;
}

.hit-content h2 {
  font-size: 1.5rem;
  padding-top: 10px;
  color: black;
  font-weight: 700;
  margin-bottom: 4px;
}

.hit-content p {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 4px;
}

.hit-content .hit-years {
  font-size: 0.95rem;
  color: #9933cc;
  font-weight: 500;
}


		