html,
body {
  font-size: 12pt;
}

html,
body,
.policy-doc blockquote,
.policy-doc p,
.policy-doc th,
.policy-doc td,
.policy-doc li {
  list-style-position: outside;
  padding: 0;
}
.policy-doc ul,
.policy-doc ol {
  margin-left: 1rem;
}
.policy-doc ul li,
.policy-doc ol li {
  padding-left: 0.3rem;
}
.policy-doc h2,
.policy-doc h3,
.policy-doc h4,
.policy-doc h5,
.policy-doc h6 {
  font-size: 16px !important;
}

.print-logo {
  display: none;
}

.policy-doc-gutter {
  margin: 10px;
}

.policy-doc hr {
  display: none;
  margin-bottom: 1.5rem;
}

.policy-doc {
  text-align: justify;
}
.policy-doc h1,
.policy-doc h2 {
  text-transform: uppercase;
}

.policy-doc h1 {
  font-size: 1.75em !important;
}
.policy-doc h2 {
  font-size: 1.5rem !important;
}
.policy-doc h3 {
  font-size: 1.25rem !important;
}
.policy-doc h4 {
  font-size: 1.05rem !important;
}
.policy-doc h5 {
  font-size: 1rem !important;
}
.policy-doc h6 {
  font-size: 0.95rem !important;
}

.policy-doc a {
  word-break: break-all;
}

.policy-doc h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.policy-doc h3,
.policy-doc h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.policy-doc th,
.policy-doc td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

div > .policy-doc {
  padding: 10px 10px 10px;
}

.policy-doc blockquote {
  page-break-inside: auto;
  margin: 0 0 20px;
  padding: 1.5rem;
  max-width: initial;
  border-radius: 8px;
  box-shadow: 0 10px 16px -10px #aaa;
}

.policy-doc blockquote.text-danger {
  background-color: #9a0111;
  border-color: #e60705;
  color: #ffffff;
}

.policy-doc blockquote.text-danger a {
  color: pink;
  font-weight: bold;
}

.policy-doc table th,
.policy-doc table td {
  padding-right: 15px;
  padding-bottom: 5px;
}

.policy-doc blockquote > p:empty {
  display: none;
}

@media (max-width: 640px) {
  .policy-doc {
    text-align: left;
  }
}

h1.policy-section {
  text-align: center;
  line-height: normal;
}

.always-visible {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 500;
}

@media print {
  /* ISO Paper Size */
  @page {
    size: A4 portrait;
  }

  /* Size in mm */
  @page {
    size: 100mm 200mm portrait;
  }

  /* Size in inches */
  @page {
    size: 4in 6in portrait;
  }

  html {
    border: solid 4px var(--astro-color-primary);
    margin: 1rem;
    font-size: 12pt !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 4rem !important;
  }

  .policy-doc,
  .row,
  .row > *,
  .offset-md-2 {
    padding: 0 !important;
    margin: 0 !important;
  }

  .col-xs-12,
  .col-md-8 {
    width: 100% !important;
  }

  .row {
    padding-bottom: 1.25rem !important;
  }

  .no-print {
    display: none;
  }

  #astro-app {
    background-color: white;
  }

  .policy-doc blockquote {
    padding: 0;
    border: none;
    box-shadow: none;
  }
}

.policy-doc .page-break {
  page-break-after: always;
}
.policy-doc .page-break-avoid {
  page-break-inside: avoid;
}
.policy-doc .page-break:last-child {
  display: none;
}
