.wy-grid-for-nav {
  position: static !important;
}

@page {
  @bottom-left {
    content: "Guide de montage - v1.0.0 - Mai 2023";
    font-size: 9px;
    font-family: Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;
  }
  @bottom-center {
    content: "vhelio.org                               Besoin d'aide ? communaute.vhelio.org";
    font-size: 9px;
    font-family: Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;
    white-space: pre;
  }
  @bottom-right {
    content: counter(page) "/93"; /* total number of pages is automatically updated by count_pdf_pages.py */
    font-size: 9px;
    font-family: Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;
  }

  counter-increment: page;
}

@page :first {
  counter-reset: page 2;
  @bottom-left {
    content: "";
  }
  @bottom-center {
    content: "";
  }
  @bottom-right {
    content: "";
  }
}

.html-only {
  display: none;
}

div[role=navigation], .headerlink {
  display: none;
}

h1 {
  break-before: always;
}

.avoid-break {
  break-before: avoid;
  break-after: avoid;
}

.avoid-break-next-block + ul {
  break-inside: avoid;
}

.admonition {
  break-inside: avoid;
}

.resized {
  width: 550px;
}

/* Automatic title numbering */
body {
    counter-reset: h1
}

h1 {
    counter-reset: h2
}

h1:before {
    counter-increment: h1;
    content: counter(h1) ". "
}

h2:before {
    counter-increment: h2;
    content: counter(h1) "." counter(h2) ". "
}

.colwidths-auto {
  width: 100%;
}

table > * img {
  width: 100%;
}