* {
  font-size: 14px;
  line-height: 1.3;
}

body {
  align-items: center;
  background-color: rgba(10, 20, 30, 0.1);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.wrapper {
  background-color: white;
  font-family: sans-serif;
  max-width: 21cm;
  padding: 27mm 16mm 27mm 16mm;
  position: relative;
  box-sizing: border-box;
}

.wrapper.no-version > div.version {
  display: none;
}

.wrapper.align-title-left > h1 {
  text-align: left;
}

.version {
  position: absolute;
  right: 0.5cm;
  top: 0.5cm;
}

.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

.footnote {
  font-size: 13px;
}

h1 {
  margin-bottom: 16px;
  text-align: center;
}

ol {
  margin: 24px 0;
  padding-inline-start: 20px;
}

li {
  margin-bottom: 8px;
}

ol li {
  padding-left: 14px;
}

ol.bold-list {
  margin: 0;
  padding: 0;
  counter-reset: bold-counter;
  list-style: none;
}

ol.bold-list > li {
  display: table;
  padding: 0;
  counter-increment: bold-counter;
}

ol.bold-list > li:before {
  content: counter(bold-counter) ". ";
  font-weight: bold;
  display: table-cell;
  padding-right: 0.8em;
  min-width: 52px;
}

.nesting ol[type="1"] {
  list-style-type: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
}

.nesting ol[type="1"] > li {
  display: table;
  counter-increment: item;
  margin-bottom: 0.6em;
}

.nesting ol[type="1"] > li:before {
  content: counters(item, ".") ". ";
  display: table-cell;
  padding-right: 0.8em;
}

.nesting ol[type="1"] > li:nth-child(n + 10):before {
  padding-right: 0.3em;
}

.nesting ol[type="1"] li ol[type="1"] > li {
  margin: 0;
}

.nesting ol[type="1"] li ol[type="1"] > li:before {
  content: counters(item, ".") " ";
}

table {
  margin: 16px 0;
}

table,
th,
td {
  border: 1px solid black;
  border-collapse: collapse;
}

table th {
  text-align: center;
  padding: 6px;
}

table td {
  padding: 8px;
}

@media only screen and (max-width: 600px) {
  .wrapper {
    max-width: 100vw;
    padding: 48px 24px;
  }

  .wrapper.midtrans {
    border-left: 6mm solid #00acdb;
    padding: 27mm 16mm 27mm 10mm;
  }

  ol li {
    padding-left: 12px;
  }

  ol.bold-list > li:before {
    min-width: 18px;
  }
}

@media only screen and (max-width: 400px) {
  .wrapper {
    padding: 32px 16px;
  }

  ol {
    padding-inline-start: 16px;
  }

  ol li {
    padding-left: 4px;
  }

  ol.bold-list > li:before {
    min-width: 8px;
  }
}

@media only print {
  .page-break {
    page-break-before: always;
  }
}
