/* Paged Media layout info */

@media screen {
  @page {
    /* size: 8.5in 11in; */
    /* size: 5.5in 8.5in; */
    /* margin-top: 2.3in; */
    margin-bottom: 0in;
  }
}

body {
  font-family: Arial, sans-serif;
  font-size: 70%;
}

/* Shared elements */
.thickbar {
  height: 12px;
  background: black;
}

/* Supplement info and detail pages */
.supplementinfo {
  break-before: page;
}

.psi-first {
  /* Peronalized */
  font-size: 40px;
}

.psi-second {
  /* supplement information */
  font-size: 32px;
}

.supplementdetail {
  display: flex;
  flex-direction: row;
  width: 75%;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 120%;
}

.detailcolumn {
  flex-direction: column;
}

.detailtitle {
  font-weight: bold;
  text-decoration: underline;
}

.detailinfo {
  padding-left: 30px;
}

.detailimage {
  height: 50px;
  width: 50px;
  float: right;
}

/* Fact panel */
.sfpwrapper {
  break-inside: avoid;
  break-before: page;
  margin-bottom: 1rem;
}

.sfpwrapper + .sfpwrapper {
  break-before: avoid-page;
}

.sfpname {
  /* break-before: page; */
  font-size: 150%;
  margin: auto;
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
}

.factpanel {
  border-style: solid;
  padding: 5px;
}

.facttitle {
  font-size: 20pt;
  font-weight: bold;
  margin-bottom: 5px;
}

.servinginfo {
  /*    font-size: 100%; */
  margin-bottom: 5px;
}

.factpaneltable {
  border-collapse: collapse;
  width: 100%;
}

table.factpaneltable td,
th {
  /*    font-size: 100%; */
  border-bottom: 1px solid #000;
  text-align: right;
  text-indent: -10px;
  padding-left: 10px;
}

table.factpaneltable td:nth-child(1) {
  text-align: left;
}

table.factpaneltable th {
  text-align: center;
}

table.factpaneltable th.wide {
  width: 70%;
}

table.factpaneltable th.narrow {
  text-align: right;
  padding-left: 10px;
}

table.factpaneltable th.connarrow {
  text-align: right;
  padding-left: 10px;
  min-width: 50px;
}

table.factpaneltable th.spacer {
  width: 10px;
  border: none;
}

table.factpaneltable th.left,
table.factpaneltable td.left {
  text-align: left;
}

table.factpaneltable td.spacer {
  width: 10px;
  border: none;
}

table.factpaneltable td.lastspacer {
  width: 10px;
  border-bottom: 12px solid #000;
}

table.factpaneltable th.firstspacer {
  width: 10px;
  border-top: 12px solid #000;
  border-bottom: 0px;
}

tr.second th {
  border-bottom: 6px solid #000;
  padding-top: 2px;
  padding-bottom: 2px;
}

tr.first th {
  border-top: 12px solid #000;
  border-bottom: 6px solid #000;
  padding-top: 2px;
  padding-bottom: 2px;
}

tr.blendtitle td {
  border-bottom: 0px;
}

tr.lastinsection td,
tr.blendtitle.lastinsection td {
  border-bottom: 12px solid #000;
}

table.factpaneltable td.padindent {
  padding-left: 20px;
}

table.factpaneltable td.paddoubleindent {
  padding-left: 40px;
}

.warning-textbox {
  margin-top: 1em;
  padding: 5px 5px 5px 10px;
  border: 2px solid #000;
}

.warning-prop65 {
  display: flex;
  align-items: center;
}

.warning-prop65 img {
  margin-right: 10px;
}

.testdiv {
  border: 2px solid #000;
  max-heigth: 1000px;
  max-width: 500px;
  height: 500px;
  width: 500px;
  overflow-x: auto;
}

.testtable {
  width: 100%;
  min-height: 100%;
  border-collapse: collapse;
  border: 2px solid #00f;
  max-height: 100%;
}

.testtable th {
  border: 1px solid #f00;
  font-size: 8pt;
}

.testtable td {
  border: 1px solid #f00;
  font-size: 8pt;
}

.measurement-value {
  white-space: nowrap;
}
