.card-with-icon__list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.card-with-icon__item {
  height: 72px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 6px 6px 6px 20px;
  background-color: #fff;
  margin-bottom: 24px;
  text-decoration: none;
  transition: box-shadow .2s;
}
.card-with-icon__item:hover {
  text-decoration: none;
  box-shadow: 0 20px 24px 0 rgba(0,0,0,.04);
}
.card-with-icon__item-name {
  font-size: 16px;
  font-weight: 600; font-family: 'Proxima Nova Lt', sans-serif;
  color: #474f55;
}
.card-with-icon__item i {
  margin-right: 20px;
}

/*desktop*/
@media (min-width: 768px) {
  .card-with-icon__item {
    width: calc(16.66667% - 20px);
  }
  .card-with-icon__item:not(:nth-child(6n)) {
    margin-right: 24px;
  }
}

/*tablet*/
@media (max-width: 1176px) and (min-width: 768px) {
  .card-with-icon__item {
    width: calc(100% / 3 - 16px);
  }
  .card-with-icon__item:not(:nth-child(6n)) {
     margin-right: 0;
   }
  .card-with-icon__item:not(:nth-child(3n)) {
     margin-right: 24px;
   }
  .card-with-icon__item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/*mobile*/
@media (max-width: 767px) {
  .card-with-icon__item {
    width: calc(100% / 2 - 8px);
    height: 104px;
    flex-direction: column;
    justify-content: baseline;
    margin-bottom: 16px;
    padding: 20px 8px 8px 8px;
  }
  .card-with-icon__item:not(:nth-child(2n)) {
     margin-right: 16px;
   }
  .card-with-icon__item-name {
    text-align: center;
  }
  .card-with-icon__item i {
    margin: 0 0 12px;
  }
}

/*MEDIA DONE*/
