/* Keep the RedPOS card fluid inside the mobile service grid. */
.redpos-card .card-body > .row {
  margin-left:0;
  margin-right:0;
}
.redpos-card .card-body > .row:first-child img {
  display:block;
  width:100%!important;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.redpos-card .card-body > .row:last-child {
  margin-top:var(--space-4);
  display:flex;
  justify-content:flex-end;
}
.redpos-card .card-body > .row:last-child > .col-md-6 {
  width:auto;
  max-width:none;
  flex:0 0 auto;
  padding:0;
}
@media (max-width:767px) {
  .redpos-card .card-header {
    align-items:start;
  }
  .redpos-card .card-header h5 {
    min-width:0;
    font-size:18px;
    line-height:1.25;
  }
  .redpos-card .card-header > span {
    max-width:116px;
    margin-top:0!important;
    text-align:right;
    line-height:1.25;
    white-space:normal;
  }
  .redpos-card .card-body > .row:first-child {
    width:100%;
  }
  .redpos-card .card-body > .row:first-child img {
    width:100%!important;
    max-width:none;
    height:auto;
    max-height:none;
    object-fit:fill;
  }
  .redpos-card .card-body > .row:last-child {
    margin-left:0;
    margin-right:0;
  }
  .redpos-card .card-body > .row:last-child .btn {
    width:100%;
    float:none!important;
  }
}
