@media print {
  .preheader,
  #masthead,
  #colophon {
    display: none !important;
  }

  .container {
    max-width: 100%;
  }

  .gform_confirmation_message > strong {
    display: none;
  }

  body {
    margin-top:0;
  }

  html {
    margin-top:0 !important;
  }

  .gform_confirmation_message .qr-code--activity {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    margin:auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    page-break-before: always;

    
  }
  .qr-code--align {
    margin:auto !important;
    display:block;
    text-align: center;

  }

  .site,.site-content,.content-area,.site-main,article.page {
    margin:0;
    padding:0;
  }


  .gform_confirmation_message > div a {
    display: none;
  }
  .qr-code--activity .qr-code--rendered-qr-image {
    max-width:90%;
    max-height:50vh;
  }
  .qr-code--activity h6 {
    font-size:18px;
  }

  .container--spacing {
    margin:0 !important;
    padding:0 !important;
    
  }
}

.rcp-payment-history {
  justify-content: center;
}

.rcp-table .rcp-payment-history span:nth-child(1).aema-payment {
  max-width: 155px;
}