.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-around;
}

.flex-item {
  width: 130px;
  padding: 5px;
  line-height: 150px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.flex-item img {
  max-width: 100%;
}

.partners {
  line-height: 1.15;
  color: #323232;
  box-sizing: border-box;
  /* display: flex; */
  /* justify-content: space-around; tokar */
  /* flex-wrap: wrap; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  justify-items: center;
  justify-content: center;
  gap: 40px 30px;
  margin-top: 30px;
}

.page .partners  {
  padding-bottom: 70px;
}

@media (min-width: 768px) {
  .partners {
    grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
    gap: 80px 32px;
  }

  .page .partners  {
    padding-bottom: 180px;
  }
}

.partner__name {
  color: #343434;
}

.partner__name:hover {
  color: #CC5599;
}

.partner img {
  max-width: 100%;
  /* height: 100px; */
}

.partner {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    /* width: 16.66667%; */
    /*width: auto;*/
    /* padding: 0 10px; */
    min-width: 140px;
    /* margin-bottom: 30px; */
    display: flex;
    flex-direction: column;
    display: block !important; /* tokar */
}

.partner__image {
    filter: grayscale(100%);
    opacity: .5;
    transition: all .3s ease;
    margin-bottom: 10px;
}

.partner__image:hover {
    filter: grayscale(0%);
    opacity: 1;
    transition: all .3s ease;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
}

#next {
    border: 0px;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 16px 32px;
    color: #ffffff;
    background: #CC5599;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 16px;
    line-height: 18px;
    align-items: center;
    text-align: center;
    flex-direction: row;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#next:hover {
  color: #ffffff;
  background: #993366;
}