.nw-reward-grid-row {
  box-shadow: $rewards-grid-shadow;
  border: $reward-grid-row-border;
  border-radius: 5px;
  background-color: $reward-grid-row-background;
  
  @media screen and (max-width: $screen-max-xs) {
    margin: 0;
  }  
}

.nw-reward-col {
  padding: 15px;
}

.nw-reward-row {
  display: flex;
  @media screen and (max-width: $screen-max-xs) {
    margin: 0 15px;
  }  
}

.nw-reward-img-container {
  margin-right: 25px;
}

.nw-reward-img {
  display: flex;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: $reward-item-row-bck;

  .nw-reward-item-logo {
    opacity: 0.2;
    margin: auto;
  }
}

.nw-reward-row-container {
  flex-grow: 1;
  display: flex;

  @media screen and (max-width: $screen-max-xs) {
    justify-content: space-between;
    margin-left: 0;
    width: 80%;

    .bill-date {
      font-size: $reward-item-data-font;
      color: $reward-item-title-color;
    }
  }
  
  .nw-reward-row-container-1,
  .nw-reward-row-container-2 {
    justify-content: space-around;
    flex-grow: 1;
    display: flex;
      
    @media screen and (max-width: $screen-max-xs) {
      flex-direction: column;
      flex-wrap: wrap;
    } 
  }
  
  @media screen and (max-width: $screen-max-xs) {      
    .nw-reward-row-container-2 {
      flex-direction: column-reverse;
      align-items: flex-end;
    }  
  }  
}

.nw-reward-item {
  @media screen and (max-width: $screen-max-xs) {
    &.billamt,
    .nw-reward-item-title {
      display: none;
    }    
  } 
}
  
.nw-reward-item-container {
  justify-content: space-around;
  flex-grow: 1;
  display: flex;
}
  
.nw-reward-item-title {
  height: 15px;
  font-size: $reward-item-data-font;
  font-weight: 600;
  line-height: normal;
  color: $reward-item-title-color;
  letter-spacing: normal;
}
  
.nw-reward-data {
  margin-top: 5px;
  font-size: $reward-balance;
  font-weight: normal;
  line-height: normal;
  color: $reward-item-data-color;
  letter-spacing: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  
  @media screen and (max-width: $screen-max-xs) {
    margin-top: 0;
  }  
}

.nw-loyalty-burnt {
  color: $reward-loyalty-burnt-color;
}
  
.nw-loyalty-earned {
  color: $reward-loyalty-earned-color;
}

.reward-item-container {
  display: inline-block;
  width: 50%;
}

.nw-reward-row-container-1 {
  @media screen and (min-width: $screen-min-sm) {
    display: block;

    .nw-reward-item:nth-child(1) {
      display: inline-block;
      width: 70%;
    }

    .nw-reward-item:nth-child(2) {
      display: inline-block;
      width: 30%;
    }
  }
  
}

