/**
 * @file
 * The back of the Johnson&Johnson business cards (89x51mm).
 *
 * Also used by mPDF for the PDF: the card is 95x57mm there, with 3mm bleed.
 */

/* stylelint-disable unit-allowed-list -- Print sizes (mm) for mPDF. */

/* The physical size of the card, with the bleed as negative margin. */
@page {
  size: 89mm 51mm;
  margin: -3mm;
  padding: 0;
  marks: crop;
}

html.business-card-preview {
  background: lightgray;
}

/* Use physical width + 2 times bleed as width, physical height + 2 times bleed as height */
.jnj.card-backside {
  position: relative;
  width: 95mm;
  height: 57mm;
  margin: 0;
  padding: 0;
  border-spacing: 0;
  text-align: center;
  vertical-align: middle;
  border: none;
  border-collapse: collapse;
  background-color: #ff0a05;
}
.jnj.card-backside.back--white {
  background-color: white;
}
.jnj.card-backside.no-bleed {
  width: 89mm;
  height: 51mm;
}

.jnj.backside-table {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.jnj.backside-table td {
  width: 100%;
  height: 57mm;
  margin: 0;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}
.jnj.card-backside.no-bleed .jnj.backside-table td {
  height: 51mm;
}

.jnj.back-image {
  width: 49.796mm;
  height: 21.151mm;
  margin: auto;
  vertical-align: middle;
}
