.payments {
  @include make-col(4);
  @include make-col-ready;

  &__list {
    font-size: 0;
    padding: 0;
    margin: 0;
    white-space: nowrap;
  }

  &__item {
    display: inline-block;
    list-style-type: none;
    margin-right: 10px;
  }

  .icons {
    display: block;
    background: url("../img/sprite.png") no-repeat;
    background-size: 160px 150px;
    height: 30px;
    width: 48px;
    border-radius: 3px;
    text-indent: -9999px;

    &.verifone-visa {
      background-position: 0 -32px;
    }

    &.verifone-electron {
      background-position: -50px -31px;
    }

    &.verifone-maestro {
      background-position: 0 -63px;
    }

    &.verifone-mastercard {
      background-position: -50px -63px;
    }

    &.paypal {
      background-position: 0 -96px;
    }
  }
}

.grey-border {
  border: 1px solid $gray;
}

@include media-breakpoint-down(md) {
  .payments {
    @include make-col(12);
    text-align: center;
  }

  &__list {
    margin: auto;
  }

  &__item {
    &:last-child {
      margin-right: 0;
    }
  }
}
