/**
 * Featured On section styles
 */

.featured-on {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f5f6f7;
  border-top: 1px solid #dfdfdf;
  clear: both;
}

.featured-on-content {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.featured-on-description {
  flex-basis: 30%;
  font-size: 1.6rem !important;
  font-weight: 500;
  text-align: center;
}

.featured-on-brands {
  flex-basis: 70%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}

.featured-on-brand {
  align-self: center;
  text-align: center;
}

.featured-on-brand img {
  max-height: 90px;
  max-width: 125px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  opacity: 1;
}

.is-amp .featured-on-brand img {
  height: 90px;
  width: 125px;
}

@media (min-width: 600px) {
  .featured-on-content {
    flex-flow: row nowrap;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .featured-on-description {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .featured-on-brand img {
    max-height: 53px;
    max-width: 100px;
  }

  .is-amp .featured-on-brand img {
    max-height: 65px;
    max-width: 150px;
  }
}

@media (min-width: 1024px) {
  .featured-on-brand img {
    max-height: 65px;
    max-width: 150px;
  }

  .is-amp .featured-on-brand img {
    max-height: 65px;
    max-width: 150px;
  }
}
