@import "variables";
.field-paymentsimage {
  ul.list-payment {
    padding: 0;
    margin: 0;
    display: grid;
    list-style: none;
    grid-row-gap: @margin-base-block-small;
    grid-column-gap: @margin-base-block-small;
    grid-template-columns: 1fr 1fr 1fr;
    @media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
      grid-template-columns: 1fr 1fr;
    }
    @media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) { // 409 ~ 600
      grid-template-columns: 1fr 1fr;
    }
    @media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) { // 600 ~ 768
      grid-template-columns: 1fr 1fr;
    }
    li {
      margin: 0;
      .wrapper-payment {
        position: relative;
        cursor: pointer;
        border: 1px solid #E7E7E7;
        border-radius: 3px;
        padding: 3px;
        transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        &.active, &:hover {
          border: 1px solid #C88570;
          .payment-name, .non-selected {
            color: #C88570;
          }
        }
        .payment-name {
          font-size: 16px;
          font-weight: 600;
          margin-left: 30px;
          color: #666666;
          transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
          &.active {
            color: #C88570;
          }
        }
        .selected,.non-selected {
          position: absolute;
          top: 50%;
          left: 5px;
          transform: translateY(-50%);
          color: #C88570;
          i {
            font-size: @font-size-base;
            margin-top: 2px;
          }
        }
        .non-selected {
          color: #BFBFBF;
          transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
      }
    }
  }

}