#categoriesBanner {
  text-align: center;
}

#categoriesBanner h2 {
  font-size: 25px;
  font-weight: 700;
}

#categoriesBanner .categoriesWrapper {
  margin: 20px -5px 0;
}

#allCategories {
  font-weight: bold;
}

.lineClamp2:hover {
  color: #369;
}

#categoriesBanner .categoryWrapper {
  margin: 0 5px;
  -webkit-tap-highlight-color: transparent;
  font-size: 12px;
  color: #333;
  display: block;
  padding: 0 15px;
  height: 50px;
  text-overflow: ellipsis;
  background: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #cacaca;
  border-radius: 4px;
  transition: 0.3s;
}

#categoriesBanner .categoryWrapperLast {
  font-weight: 600;

}

#categoriesBanner .outerWrap {
  display: flex;
  padding: 5px 0;
  margin: auto 0;
  height: 100%;
}

#categoriesBanner .categoryWrapper:active {
  opacity: 0.5;
}

#categoriesBanner .categoryWrapper:active, #categoriesBanner .categoryWrapper:hover {
  cursor: pointer;
  border: 1px solid transparent;
  color: #369;
  box-shadow: inset 0 0 0 2px #369;

}

#categoriesBanner .categoryWrapperLast:active, #categoriesBanner .categoryWrapperLast:hover {
  background-color: #eaeaea;
  font-weight: bold;

}

#categoriesBanner .category p {
  text-align: left;
  margin: auto 0 auto 5px;
  max-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
}

#categoriesBanner .category {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 5px 0 5px;
}

#categoriesBanner .category .img {
  align-self: center;
}

#categoriesBanner i {
  vertical-align: middle;
  font-size: 4vw;
  color: #369;
}

#categoriesBannerContainer {
  background-color: #F2F2F2;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 360px) {
  #categoriesBanner .categoryWrapper {
    font-size: 14px;
  }

  #categoriesBanner i {
    font-size: 5vw;
  }

  #categoriesBanner .category p {
    text-align: left;
    margin-left: 10px;
  }
}

@media screen and (min-width: 768px) {
  #categoriesBanner .category {
    margin: 5px 0;
  }

  #categoriesBanner .categoryWrapper {
    height: 42px;
  }

  #categoriesBanner i {
    font-size: 3vw;
  }

  #categoriesBanner .category p {
    display: block;
    font-size: 18px;
    line-height: normal;
    max-height: none;
    white-space: nowrap;
  }
}

@media screen and (min-width: 1200px) {
  #categoriesBanner .category {
    padding: 0 5px;
  }

  #categoriesBanner i {
    font-size: 1.5vw;
  }

  #categoriesBanner .category p {
    font-size: 18px;
  }
}

@media screen and (min-width: 1800px) {
  #categoriesBanner i {
    font-size: 20px;
  }

  #categoriesBanner .category p {
    font-size: 21px;
  }
}
