/* Add your custom CSS rules in this file. */
#ais-wrapper {
  font-family: "Lato", sans-serif;
  max-width: 100%;
}

.alg-container--xl #ais-facets {
   width: 20%;
}

.ais-facets {
  margin-bottom: 0;
  max-width: 350px;
}

.ais-facets .ais-header h4 {
  color: black;
  font-weight: 700;
}

.ais-hierarchical-menu--link,
.ais-refinement-list--label {
  color: #566573;
  font-size: 13px;
}

.alg-container--xl #ais-main {
  width: 80%;
}

.ais-hits--item {
 /* max-height: 375px;*/
  /*max-width: 250px;*/
  padding: 0.5rem;
  @media (max-width: 550px) {
    max-width: 100%;
  }
}

.alg-hit {
 /* max-height: 380px;*/
}

.alg-hit .alg-hit__content {
  height: 380px;
}

.alg-hit figure {
  height: 250px;
}

.alg-hit figure.desktop:hover {
    overflow: visible;
    width: 150%;
    height: 100%;
    z-index: 999;
    box-shadow: 0 1px 1px 0 rgba(85, 95, 110, 0.2);
    border-radius: 3px;
}

.alg-hit figure.desktop img:hover {
  transition: 100ms ease;
}

.alg-hit figure.desktop img:hover {
    width: 100%;
    height: 100%;
    z-index: 999;
    overflow: visible;
}

.alg-hit .alg-hit-image__link {
  text-decoration: none;
}

.alg-hit figure .alg-hit__overlay {
  background-color: rgba(0,0,0,.2);
}

.alg-hit .alg-hit__ribbon {
  background-color: #ed145b;
  transition: none;
}

.alg-hit .alg-hit__details {
  padding: 0.6em 0.8em;
}

.alg-hit .alg-hit__details .alg-hit__title {
  text-transform: capitalize;
  font-size: 1em;
  line-height: 1;
  margin-bottom: 5px;
}

.alg-hit .alg-hit-title__link {
  text-decoration: none;
}

.alg-hit .alg-hit__details .alg-hit__description {
  font-size: 11px;
}

.alg-hit .alg-hit__details .alg-hit__priceholder {
  display: inline-block;
}

.alg-hit .alg-hit__details .alg-hit__currentprice,
.alg-hit .alg-hit__details .alg-hit__previousprice {
  font-size: 0.75em;
}

.alg-hit .alg-hit__details .alg-hit__fileformats {
  max-width: 160px;
  overflow: hidden;
  text-overflow: hidden;
}

.alg-hit .alg-hit__details .alg-hit__description .alg-hit__more {
  float: right;
}

.ais-pagination {
  margin-top: 2em;
}

