.htt-result-page
{
  font-family: Eina01-Regular;
  -webkit-animation: fadeInBg 1s;
  -o-animation: fadeInBg 1s;
  animation: fadeInBg 1s;
}

.htt-result-page__content
{
  max-width: 1380px;
  margin: auto;
}

/*1380px (max-width of the content) +  120px (min-margin)*/
@media all and (max-width: 1500px)
{
  .htt-result-page__content
  {
    margin: 0px 60px;
  }
}

@media all and (max-width: 767px)
{
  .htt-result-page__content
  {
    margin: 0px 25px;
  }
}

/*************** BANNER ***************/

.htt-result-page__banner
{
  background: #d4d9df;
  overflow: hidden;
}

.htt-result-page__banner > .htt-result-page__content
{
  position: relative;
}

.htt-result-page__banner-content-left
{
  width: 50%;
  margin-right: auto;
  height: 100%;
  overflow: hidden;

  padding: 100px 0;
}

.htt-result-page__banner-title
{

}

.htt-result-page__banner-repeat-test-button
{
  margin-top: 25px;
}

.htt-result-page__banner-image
{
  position: absolute;
  bottom: 0;
  right: -20px; /* the image has some internal padding which we want to get rid off */

  max-height: 90%;
  max-width: 50%;
}

@media all and (max-width: 767px)
{
  .htt-result-page__banner-content-left
  {
    width: 90%;
    padding: 30px 0 50px 0;
  }

  .htt-result-page__banner-image
  {
    width: 200px;
    right: -159px;
    max-height: unset;
    max-width: unset;
  }

  .htt-result-page__banner-description
  {
    font-size: 15px;
    line-height: 1.6em;
  }
}

/*************** PRODUCTS ***************/

.htt-result-page__products
{
  margin: 70px 0;
}

.htt-result-page__products-left-content
{
  width: 400px;
  box-sizing: border-box;
  padding: 10px 50px 10px 0;
  float: left;
}

.htt-result-page__products-right-content
{
  margin-left: 400px; /*width of left content*/
  height: 400px;
}

.htt-result-page__products-description-section
{
  margin-top: 10px;
}

.htt-result-page__products-add-all-to-cart-button-desktop-wrapper
{
  margin-top: 50px;
}

.htt-result-page__products-add-all-to-cart-button-mobile-wrapper
{
  text-align: center;
  display: none;
  margin-top: 25px;
}

.htt-result-page__products-add-all-to-cart-button-mobile-wrapper > button
{
  width: 100%;
}

@media all and (max-width: 767px)
{
  .htt-result-page__products
  {
    margin: 35px 0 55px 0;
  }

  .htt-result-page__products-left-content
  {
    width: auto;
    float: none;
    padding-right: 0px;
  }

  .htt-result-page__products-right-content
  {
    margin-left: 0;
    margin-top: 20px;
  }

  .htt-result-page__products-add-all-to-cart-button-desktop-wrapper
  {
    display: none;
  }

  .htt-result-page__products-add-all-to-cart-button-mobile-wrapper
  {
    display: block;
  }
}

/*************** PRODUCTS-PRODUCT ***************/

.htt-result-page__products-product
{
  position: relative;
  display: inline-block;
  height: 100%;
  width: 200px;
}

.htt-result-page__products-product + .htt-result-page__products-product
{
  margin-left: 20px;
}

.htt-result-page__products-product-image
{
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translate(-50%, 0);

  max-width: 100%;
  max-height: calc(100% - 150px);
}

.htt-result-page__products-product-name-and-description-wrapper
{
  position: absolute;
  right: 0;
  bottom: 44px; /* height of price + base price */
  left: 0;

  height: 131px; /* 175px - height of price - bottom of price */
}

.htt-result-page__products-product-name
{
  font-family: Eina01-SemiBold;
  font-size: 18px;
  line-height: normal;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.htt-result-page__products-product-description
{
  font-size: 12px;
  margin-top: 20px;
  /* product-name-and-description-wrapper height - products-product-name height - product-amount height - products-product-description margin-top */
  max-height: 62px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.htt-result-page__products-product-price
{
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  text-align: center;
}

.htt-result-page__products-product-base-price
{
  font-family: Eina01-SemiBold;
  text-align: center;
  font-size: 12px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 12px;
}

.htt-result-page__products-product-hover-overlay
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: white;

  transition: 0.3s ease opacity;
}

.htt-result-page__products-product-hover-overlay-content
{
  position: absolute;
  left: 0;
  top: calc(50%);
  right: 0;

  transform: translate(0, -50%);
  text-align: center;
}

.htt-result-page__products-product-hover-overlay-details-button
{
  cursor: pointer;
  display: none;
}

.htt-result-page__products-product-hover-overlay-add-to-cart-button
{
  display: none;
  margin-top: 10px;
}

.htt-result-page__products-product-hover-overlay:hover
{
  opacity: 0.9;
}

.htt-result-page__products-product-hover-overlay:hover .htt-result-page__products-product-hover-overlay-details-button,
.htt-result-page__products-product-hover-overlay:hover .htt-result-page__products-product-hover-overlay-add-to-cart-button
{
  display: inline-block;
}

/*************** SEPARATOR ***************/

.htt-result-page__separator
{
  position: relative;
  background-color: #ebe8e2;
  padding: 100px 0;
  overflow: hidden;
}

.htt-result-page__separator-image
{
  position: absolute;
  height: 370px;

  right: 0;
  bottom: 0;
}

.htt-result-page__separator-foreground-container
{
  position: relative;
}

.htt-result-page__separator-icon
{
  display: block;
  width: 15px;

  margin-bottom: 24px;
}

.htt-result-page__separator-icon,
.htt-result-page__separator-title,
.htt-result-page__separator-description
{
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* picture starts colliding with the text */
@media all and (max-width: 1220px)
{
  .htt-result-page__separator-image
  {
    right: -201px;
  }
}

@media all and (max-width: 767px)
{
  .htt-result-page__separator-image
  {
    display: none;
  }
}

/*************** NEM ***************/

.htt-result-page__nem
{
  margin: 50px 0;
}

.htt-result-page__nem-title
{
  text-align: center;
}

.htt-result-page__nem-desktop-description
{
  margin-bottom: 40px;
  text-align: center;
}

.htt-result-page__nem-mobile-description
{
  display: none;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid gainsboro;

  text-align: center;
}

.htt-result-page__nem-products
{
  text-align: center;
  margin-top: -20px;
  margin-left: -40px;
}

.htt-result-page__nem-add-all-to-cart-button-wrapper
{
  margin-top: 40px;
  text-align: center;
}

@media all and (max-width: 767px)
{
  .htt-result-page__nem-add-all-to-cart-button-wrapper > button
  {
    width: 100%;
  }

  .htt-result-page__nem-desktop-description
  {
    display: none;
  }

  .htt-result-page__nem-mobile-description
  {
    display: block;
  }

  .htt-result-page__nem-products
  {
    margin-top: 40px;
  }

  .htt-result-page__nem-title
  {
    margin-bottom: 20px;
  }
}

/*************** NEM-PRODUCT ***************/

.htt-result-page__nem-product
{
  position: relative;
  display: inline-block;
  text-align: left;
  width: 300px;
  height: 150px;
  vertical-align: middle;

  margin-top: 20px;
  margin-left: 40px;
}

.htt-result-page__nem-product-image
{
  max-height: 100%;
  max-width: 100px;
  float: left;
}

.htt-result-page__nem-product-name-and-description-wrapper
{
  margin-left: 110px;
}

.htt-result-page__nem-product-name
{
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.htt-result-page__nem-product-description
{
  font-size: 12px;
  margin-top: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media all and (max-width: 767px)
{
  .htt-result-page__nem-product
  {
    display: block;
    width: auto;
  }
}

.htt-result-page__nem-product-hover-overlay
{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  background: white;

  transition: 0.3s ease opacity;
}

.htt-result-page__nem-product-hover-overlay-content
{
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;

  transform: translate(0, -50%);
  text-align: center;
}

.htt-result-page__nem-product-hover-overlay-details-button
{
  cursor: pointer;
  display: none;
}

.htt-result-page__nem-product-hover-overlay-add-to-cart-button
{
  display: none;
  margin-top: 10px;
}

.htt-result-page__nem-product-hover-overlay:hover
{
  opacity: 0.9;
}

.htt-result-page__nem-product-hover-overlay:hover .htt-result-page__nem-product-hover-overlay-details-button,
.htt-result-page__nem-product-hover-overlay:hover .htt-result-page__nem-product-hover-overlay-add-to-cart-button
{
  display: inline-block;
}

/*************** REPEAT-TEST ***************/

.htt-result-page__repeat-test
{
  background: #f4f5f6;
  padding: 70px 0;
}

.htt-result-page__repeat-test-title
{
  font-size: 27px;
  text-align: center;
  margin-bottom: 17px;
  line-height: normal;
}

.htt-result-page__repeat-test-description
{
  text-align: center;
}

.htt-result-page__repeat-test-repeat-button-wrapper
{
  text-align: center;
  margin-top: 25px;
}

/*************** PRODUCT-SUGGESTIONS ***************/

.htt-result-page__product-suggestions
{
  background: #f4f5f6;
  padding: 70px 0;
}

.htt-result-page__product-suggestions-title
{
  font-size: 18px;
  text-align: center;
  margin-bottom: 17px;
  line-height: normal;
}

.htt-result-page__product-suggestions-description
{
  text-align: center;
}

.htt-result-page__product-suggestions-buttons-wrapper
{
  text-align: center;
  margin: 20px auto 0 auto;
  max-width: 700px;
}

.htt-result-page__product-suggestions-left-button-wrapper,
.htt-result-page__product-suggestions-right-button-wrapper
{
  margin-top: 10px;
  width: 50%;
}

.htt-result-page__product-suggestions-left-button-wrapper
{
  float: left;
}

.htt-result-page__product-suggestions-left-button-wrapper > button,
.htt-result-page__product-suggestions-right-button-wrapper > button
{
  width: calc(100% - 10px);
}

.htt-result-page__product-suggestions-right-button-wrapper
{
  float: right;
  text-align: right;
}

/* buttons start to get multiple rows by then */
@media all and (max-width: 610px)
{
  .htt-result-page__product-suggestions-left-button-wrapper,
  .htt-result-page__product-suggestions-right-button-wrapper
  {
    width: auto;
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  .htt-result-page__product-suggestions-left-button-wrapper > button,
  .htt-result-page__product-suggestions-right-button-wrapper > button
  {
    width: calc(100%);
  }
}

/*************** GENERAL ***************/

.htt-result-page__product-amount
{
  text-align: center;
  color: grey;
}
