/* cmsms stylesheet: ALFAC - Interface modified: Sunday, January 18, 2026 2:27:20 PM */
/* CSS for Paged.js interface – v0.4 */

/* Change the look */
:root {
    --color-background: whitesmoke;
    --color-pageSheet: #cfcfcf;
    --color-pageBox: violet;
    --color-paper: white;
    --color-marginBox: transparent;
    --pagedjs-crop-color: black;
    --pagedjs-crop-shadow: white;
    --pagedjs-crop-stroke: 1px;
}

/* To define how the book look on the screen: */

/* Réduire la qualité pour le preview */
@media screen {
  img {
    image-rendering: optimizeSpeed;
  }
}


@media screen, pagedjs-ignore {
    body {
        background-color: var(--color-background);
    }

    .pagedjs_pages {
        display: flex;
        width: calc(var(--pagedjs-width) * 2);
        flex: 0;
        flex-wrap: wrap;
        margin: 0 auto;
    }

    .pagedjs_page {
        background-color: var(--color-paper);
        box-shadow: 0 0 0 1px var(--color-pageSheet);
        margin: 0;
        flex-shrink: 0;
        flex-grow: 0;
        margin-top: 10mm;
    }

    .pagedjs_first_page {
        margin-left: var(--pagedjs-width);
    }

    .pagedjs_page:last-of-type {
        margin-bottom: 10mm;
    }

    .pagedjs_pagebox{
        box-shadow: 0 0 0 1px var(--color-pageBox);
    }

    .pagedjs_left_page{
        z-index: 20;
        width: calc(var(--pagedjs-bleed-left) + var(--pagedjs-pagebox-width))!important;
    }

    .pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop {
        border-color: transparent;
    }
    
    .pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-middle{
        width: 0;
    } 

    .pagedjs_right_page{
        z-index: 10;
        position: relative;
        left: calc(var(--pagedjs-bleed-left)*-1);
    }

    /* show the margin-box */

    .pagedjs_margin-top-left-corner-holder,
    .pagedjs_margin-top,
    .pagedjs_margin-top-left,
    .pagedjs_margin-top-center,
    .pagedjs_margin-top-right,
    .pagedjs_margin-top-right-corner-holder,
    .pagedjs_margin-bottom-left-corner-holder,
    .pagedjs_margin-bottom,
    .pagedjs_margin-bottom-left,
    .pagedjs_margin-bottom-center,
    .pagedjs_margin-bottom-right,
    .pagedjs_margin-bottom-right-corner-holder,
    .pagedjs_margin-right,
    .pagedjs_margin-right-top,
    .pagedjs_margin-right-middle,
    .pagedjs_margin-right-bottom,
    .pagedjs_margin-left,
    .pagedjs_margin-left-top,
    .pagedjs_margin-left-middle,
    .pagedjs_margin-left-bottom {
        box-shadow: 0 0 0 1px inset var(--color-marginBox);
    }

    /* uncomment this part for recto/verso book : ------------------------------------ */

    /*
    .pagedjs_pages {
        flex-direction: column;
        width: 100%;
    }

    .pagedjs_first_page {
        margin-left: 0;
    }

    .pagedjs_page {
        margin: 0 auto;
        margin-top: 10mm;
    } 

    .pagedjs_left_page{
        width: calc(var(--pagedjs-bleed-left) + var(--pagedjs-pagebox-width) + var(--pagedjs-bleed-left))!important;
    }

    .pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop{
        border-color: var(--pagedjs-crop-color);
    }

    .pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-middle{
        width: var(--pagedjs-cross-size)!important;
    } 

    .pagedjs_right_page{
        left: 0; 
    } 
    */
    
    

    /*--------------------------------------------------------------------------------------*/



    /* uncomment this par to see the baseline : -------------------------------------------*/

    
    /* .pagedjs_pagebox {
        --pagedjs-baseline: 22px;
        --pagedjs-baseline-position: 5px;
        --pagedjs-baseline-color: cyan;
        background: linear-gradient(transparent 0%, transparent calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) calc(var(--pagedjs-baseline) - 1px), var(--pagedjs-baseline-color) var(--pagedjs-baseline)), transparent;
        background-size: 100% var(--pagedjs-baseline);
        background-repeat: repeat-y;
        background-position-y: var(--pagedjs-baseline-position);
    }  */
   

    /*--------------------------------------------------------------------------------------*/
}





/* Marks (to delete when merge in paged.js) */

.pagedjs_marks-crop{
    z-index: 999999999999;
  
}

.pagedjs_bleed-top .pagedjs_marks-crop, 
.pagedjs_bleed-bottom .pagedjs_marks-crop{
    box-shadow: 1px 0px 0px 0px var(--pagedjs-crop-shadow);
}  

.pagedjs_bleed-top .pagedjs_marks-crop:last-child,
.pagedjs_bleed-bottom .pagedjs_marks-crop:last-child{
    box-shadow: -1px 0px 0px 0px var(--pagedjs-crop-shadow);
}  

.pagedjs_bleed-left .pagedjs_marks-crop,
.pagedjs_bleed-right .pagedjs_marks-crop{
    box-shadow: 0px 1px 0px 0px var(--pagedjs-crop-shadow);
}

.pagedjs_bleed-left .pagedjs_marks-crop:last-child,
.pagedjs_bleed-right .pagedjs_marks-crop:last-child{
    box-shadow: 0px -1px 0px 0px var(--pagedjs-crop-shadow);
}
/* cmsms stylesheet: ALFAC Paged style-print modified: Sunday, October 11, 2026 5:08:00 PM */
@media print {
  /* ==========================================
     PAGE SETUP
     ========================================== */
  
  @page {
    size: 210mm 297mm;
    margin-top: 20mm;
    margin-bottom: 20mm;
    font-family: 'Noto Sans';
    color: #000059;
    hyphens: auto;
    orphans: 2;
    widows: 2;
  }
  
  /* BLEED (commented out - uncomment if needed) */
  /* @page {
    marks: crop;
    bleed: 5mm;
  } */
  
  /* ==========================================
     LEFT PAGES
     ========================================== */
  
  @page:left {
    margin-left: 20mm;
    margin-right: 20mm;
    
    @bottom-left {
      content: counter(page);
      width: 30px;
      font-size: 10px;
    }
    
    @bottom-center {
      content: "Aquatic Literacy For All Children";
      text-align: left;
      font-size: 10px;
    }
  }
  
  /* ==========================================
     RIGHT PAGES
     ========================================== */
  
  @page:right {
    margin-left: 20mm;
    margin-right: 20mm;
    
    @bottom-right {
      content: counter(page);
      width: 30px;
      font-size: 10px;
    }
    
    @bottom-center {
      content: string(chapTitle);
      text-align: right;
      font-size: 10px;
    }
  }
  
  /* Set chapter title for running headers */
  .chapter h2 {
    string-set: chapTitle content(text);
  }
  
  /* ==========================================
     BLANK PAGES
     ========================================== */
  
  @page:blank {
    @bottom-left { content: none; }
    @bottom-center { content: none; }
    @bottom-right { content: none; }
  }
  
  .empty-page {
    page-break-after: always;
  }
  
  /* ==========================================
     COVER PAGE
     ========================================== */
  
  @page:first {
    margin: 10mm 10mm;
    background-color: var(--white);
    background-image: url("https://alfac.eu/uploads/alfac/images/Alfac_Book_Images/Couv.jpg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    
    @bottom-left { content: none; }
    @bottom-center { content: none; }
    @bottom-right { content: none; }
  }
  
  #cover {
    break-after: right;
  }
  
  #cover img {
    mix-blend-mode: lighten;
  }
  
  /* ==========================================
     INNER COVERS (CHAPTER PAGES)
     ========================================== */
  
  @page inner-cover {
    margin: 10mm 10mm;
    background-color: var(--alice-blue);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    
    @bottom-left { content: none; }
    @bottom-center { content: none; }
    @bottom-right { content: none; }
  }
  
  #inner_cover_02,
  #inner_cover_03,
  #inner_cover_04,
  #inner_cover_05,
  #inner_cover_06,
  #inner_cover_07,
  #inner_cover_08,
  #inner_cover_09,
  #inner_cover_10,
  #inner_cover_11,
  #inner_cover_12 {
    page: inner-cover;
    break-after: right;
  }
  
  /* ==========================================
     SECTION BREAKS
     ========================================== */
  
  .chapter {
    break-before: right;
  }
  
  /* ==========================================
     CSS VARIABLES
     ========================================== */
  
  :root {
    --midnight-blue: #000059;
    --royal-blue: #347bfc;
    --white: white;
    --gold: #ffcc01;
    --dodger-blue: #57acf8;
    --dark-slate-blue: #374568;
    --alice-blue: #f0f5fa;
    --light-steel-blue: #c5d8fc;
    --light-grey: #eaecf0;
    --midnight-blue-2: #202442;
  }
  
  /* ==========================================
     GLOBAL ELEMENTS
     ========================================== */
  
  .navbar,
  .section_header {
    display: none;
  }
  
  figure,
  img {
    width: 100%;
  }
  
  /* ==========================================
     TYPOGRAPHY - HEADINGS
     ========================================== */
  h2, h3, h4 { break-after: avoid; }

h3, h4, p { float: none; }

  h1.couv_title {
    color: var(--royal-blue);
    text-align: right;
    float: right;
    width: 100%;
    margin: 0 0 10px 0;
    letter-spacing: -2px;
    font-size: 60px;
    font-weight: 800;
    line-height: 65px;
  }
  
  h1.sub_title {
    color: var(--midnight-blue);
    text-align: right;
    float: right;
    width: 100%;
    margin: 10mm 0 0 0;
    letter-spacing: -1px;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
  }
  
  h1.top {
    color: var(--royal-blue);
    text-align: right;
    float: right;
    width: 100%;
    margin-top: 20mm;
    margin-bottom: 0mm;
    padding: 0;
    letter-spacing: -2px;
    font-size: 32px;
    font-weight: 800;
    line-height: 36px;
  }
  
  h2 {
    float: left;
    color: var(--midnight-blue);
    text-align: left;
    width: 100%;
    margin: 20mm 0 0 0;
    padding: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 36px;
  }
  
  h3 {
    float: left;
    color: var(--royal-blue);
    text-align: left;
    width: 100%;
    margin: 5mm 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
  }
  
  h4 {
    float: left;
    border-top: 1px solid var(--royal-blue);
    text-align: left;
    width: 100%;
    margin: 10px 0;
    padding: 10px 0 0 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
  }
  
  h4.top {
    float: left;
    border-top: 1px solid var(--royal-blue);
    text-align: left;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 26px;
  }
  
  h5,
  h6 {
    float: left;
    text-align: left;
    width: 100%;
    margin: 10px 0;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
  }
  
  /* ==========================================
     TYPOGRAPHY - PARAGRAPHS
     ========================================== */
  
  p {
    width: 100%;
    float: left;
    color: var(--midnight-blue);
    font-size: 12px;
    line-height: 16px;
  }
  
  strong {
    color: var(--royal-blue);
    font-weight: 700;
  }
  
  /* ==========================================
     LISTS
     ========================================== */
  
  .list {
    list-style-type: none;
  }
  
  ul {
    margin: 0;
    font-size: 12px;
    line-height: 18px;
  }
  
  ol {
    font-size: 12px;
    line-height: 18px;
  }
  
  li {
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 18px;
  }
  
  /* ==========================================
     TABLES - BASE STYLES
     ========================================== */
  
  .table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--royal-blue);
    margin: 0 0 20px 0;
    font-size: 12px;
    line-height: 16px;
  }
  
  .table_cs {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--royal-blue);
    margin: 0 0 10px 0;
    font-size: 12px;
    line-height: 16px;
    break-before: page;
  }
  
  .caption {
    caption-side: top;
    text-align: left;
    margin: 0 0 10px 10px;
    line-height: 16px;
    font-weight: bold;
  }
  
  thead[id] {
    display: none;
  }
  
  thead {
    --pagedjs-table-repeat: repeat;
  }
  
  /* ==========================================
     TABLES - CELLS
     ========================================== */
  
  .th {
    border: 1px solid var(--royal-blue);
    vertical-align: top;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    line-height: 16px;
  }
  
  .th.left {
    border-right: 1px solid var(--royal-blue);
    width: 30%;
  }
  
  .th.blue {
    background-color: var(--light-steel-blue);
    font-weight: 700;
  }
  
  .td {
    border: 1px solid var(--royal-blue);
    vertical-align: top;
    text-align: left;
    padding: 10px;
  }
  
  .td.left {
    border-right: 1px solid var(--royal-blue);
  }
  
  .td.illustration {
    vertical-align: top;
    border-color: var(--white);
    text-align: center;
  }
  
  .td.picture {
    border-bottom: 1px solid var(--royal-blue);
    text-align: center;
  }
  
  .td.blue {
    background-color: var(--light-steel-blue);
    font-weight: 700;
  }
  
  .td.alice {
    background-color: var(--alice-blue);
  }
  
  .td.grey {
    background-color: var(--light-grey);
  }
  
  /* ==========================================
     TABLES - WIDTH UTILITIES
     ========================================== */
  
  .th._10, .td._10 { width: 10%; }
  .th._20, .td._20 { width: 20%; }
  .th._30, .td._30 { width: 30%; }
  .th._33, .td._33 { width: 33.33%; }
  .th._40, .td._40 { width: 40%; }
  .th._50, .td._50 { width: 50%; }
  .th._70, .td._70 { width: 70%; }
  .th._75, .td._75 { width: 75%; }
  .th._80, .td._80 { width: 80%; }
  
  .td._10,
  .td._20 {
    text-align: center;
    font-weight: 700;
  }
  
  /* ==========================================
     TABLES - CONTENT
     ========================================== */
  
  .table p,
  .table_cs p {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    width: 100%;
    float: left;
  }
  
  table_p {
    float: left;
    padding: 0;
    width: 100%;
    margin: 0;
    line-height: 16px;
  }
  
  .table_p.foot {
    padding: 10px 0;
    font-style: italic;
  }
  
  .table_p.foot.center {
    text-align: center;
    font-style: normal;
    font-weight: 700;
  }
  
  .table_p._50 {
    width: 50%;
  }
  
  /* ==========================================
     TABLES - SPECIAL CASES
     ========================================== */
  
  .table.rotate {
    transform: rotate(-90deg);
  }
  
  .table_illustration {
    min-width: 100%;
  }
  
  .table_img {
    max-width: 50%;
  }
  
  .table_block {
    float: left;
    align-items: center;
    width: 100%;
    display: block;
  }
  
  .div_table_block {
    float: left;
    align-items: center;
    width: 100%;
    display: flex;
  }
  
  .div_table_foot {
    width: 100%;
    float: left;
  }
  
  /* ==========================================
     UTILITY BLOCKS
     ========================================== */
  
  .div_page_break {
    float: left;
    background-color: #fff;
    width: 100%;
    height: 5px;
    break-after: always;
  }
  
  .div_title {
    float: right;
    width: 100%;
    margin-top: 184mm;
    padding-right: 10mm;
    position: static;
  }
  
  .attention_block {
    float: left;
    text-align: center;
    width: 100%;
    padding-top: 20px;
  }
  
  .top_block {
    border: 1px solid var(--royal-blue);
    text-align: center;
    padding: 0 10px 10px 10px;
  }
  
  .big_block_picto {
    float: left;
    text-align: center;
    width: 100%;
  }
  
  /* ==========================================
     IMAGES & ICONS
     ========================================== */
  
  .img_picto {
    width: 40px;
    height: 40px;
    margin-right: 0;
  }
  
  .img_picto.big {
    width: 80px;
    height: 80px;
  }

.img_picto.small {
  width: 26px;
  height: 26px;
}
  
  /* ==========================================
     LOGO & FORMS
     ========================================== */
  
  .div_logo_form {
    text-align: right;
    width: 100%;
  }
  
  .logo_form_img {
    text-align: right;
    width: 25%;
    margin-right: 0.5cm;
  }
  
  .linkcc {
    width: 150px;
    float: left;
  }
  
  /* ==========================================
     TABLE OF CONTENTS (TOC)
     ========================================== */
  
  /* Container principal de la TOC */
  #my-toc-content {
    break-after: avoid !important;
    page-break-after: avoid !important;
    break-inside: auto;
  }
  
  /* Élément qui suit la TOC */
  #my-toc-content + * {
    break-before: auto !important;
    page-break-before: auto !important;
  }
  
  /* Liste générée de la TOC */
  #list-toc-generated {
    list-style: none;
    overflow-x: hidden;
    counter-reset: counterTocLevel1;
    break-inside: auto;
    page-break-inside: auto;
  }
  
  /* Éléments de la TOC */
  .toc-element {
    display: flex;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  /* Liens dans la TOC */
  .toc-element a {
    text-decoration: none;
    color: var(--midnight-blue);
    right: 0;
  }
  
  /* Numéro de page après le lien */
  .toc-element a::after {
    content: " p. " target-counter(attr(href), page);
    position: absolute;
    right: 0;
    float: right;
    background-color: white;
    padding-left: 6px;
  }
  
  /* Points de suite (leaders hack) */
  .toc-element::after {
    content: ".................................................................................................................................................";
    float: left;
    width: 0;
    padding-left: 5px;
    letter-spacing: 2px;
  color: var(--royal-blue);
  }
  
  /* TOC Niveau 1 (h2) */
  .toc-element-level-1 {
    margin-top: 25px;
    font-weight: bold;
    counter-increment: counterTocLevel1;
    counter-reset: counterTocLevel2;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .toc-element-level-1::before {
    content: counter(counterTocLevel1) ". ";
    padding-right: 5px;
  }
  
  /* TOC Niveau 2 (h3) */
  .toc-element-level-2 {
    margin-left: 25px;
    counter-increment: counterTocLevel2;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .toc-element-level-2::before {
    content: counter(counterTocLevel1) ". " counter(counterTocLevel2) ". ";
    padding-right: 5px;
  }
  
  /* TOC Niveau 3 (h4) */
  .toc-element-level-3,
  .toc-element-level-h4 {
    font-weight: normal;
    margin-left: 60px;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  /* Orphans & Widows pour TOC */
  #list-toc-generated li {
    orphans: 2;
    widows: 2;
  }
}

/* ==========================================
   DEVELOPMENT ONLY (visible in screen mode)
   ========================================== */

.toc-ignore {
  background: orange;
}


.table_img_80 {
  text-align: center;
  min-width: 80%;
  max-width: 80%;
}

.table_img_70 {
  text-align: center;
  min-width: 70%;
  max-width: 70%;
}
/* cmsms stylesheet: ALFAC Guide print modified: Sunday, October 11, 2026 8:51:13 PM */
/* ==========================================================================
   ALFAC Guide print
   Feuille unique du livret "ALFAC assessor guidelines" (Paged.js 0.4.3)
   Remplace "ALFAC Paged Reset" + "ALFAC Paged style-print".
   Reprend l'identite visuelle a l'identique, sans flottants,
   avec des regles de coupure de page.
   ========================================================================== */

:root {
  --midnight-blue: #000059;
  --royal-blue: #347bfc;
  --white: #ffffff;
  --gold: #ffcc01;
  --alice-blue: #f0f5fa;
  --light-steel-blue: #c5d8fc;
  --light-grey: #eaecf0;
}

/* --------------------------------------------------------------------------
   Base (remise a zero minimale)
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  color: var(--midnight-blue);
  font-size: 12px;
  line-height: 16px;
  hyphens: auto;
}

section {
  display: block;
}

img {
  border-style: none;
}

sup,
sub {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* --------------------------------------------------------------------------
   Pages
   -------------------------------------------------------------------------- */

@page {
  size: 210mm 297mm;
  margin-top: 20mm;
  margin-bottom: 20mm;
}

@page :left {
  margin-left: 20mm;
  margin-right: 20mm;

  @bottom-left {
    content: counter(page);
    width: 30px;
    font-size: 10px;
    color: var(--midnight-blue);
  }

  @bottom-center {
    content: "Aquatic Literacy For All Children";
    text-align: left;
    font-size: 10px;
    color: var(--midnight-blue);
  }
}

@page :right {
  margin-left: 20mm;
  margin-right: 20mm;

  @bottom-right {
    content: counter(page);
    width: 30px;
    font-size: 10px;
    color: var(--midnight-blue);
  }

  @bottom-center {
    content: string(chapTitle);
    text-align: right;
    font-size: 10px;
    color: var(--midnight-blue);
  }
}

@page :blank {
  @bottom-left { content: none; }
  @bottom-center { content: none; }
  @bottom-right { content: none; }
}

/* Couverture */
@page :first {
  margin: 10mm;
  background-color: var(--white);
  background-image: url("/uploads/alfac/images/Alfac_Book_Images/Couv.jpg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  @bottom-left { content: none; }
  @bottom-center { content: none; }
  @bottom-right { content: none; }
}

/* Couvertures de chapitre */
@page inner-cover {
  margin: 10mm;
  background-color: var(--alice-blue);

  @bottom-left { content: none; }
  @bottom-center { content: none; }
  @bottom-right { content: none; }
}

#cover {
  break-after: right;
}

#cover img {
  mix-blend-mode: lighten;
}

section[id^="inner_cover_"] {
  page: inner-cover;
  break-after: right;
}

.chapter {
  break-before: right;
}

/* Titre courant en pied de page */
.chapter h2 {
  string-set: chapTitle content(text);
}

/* --------------------------------------------------------------------------
   Titres
   -------------------------------------------------------------------------- */

h2,
h3,
h4,
h5,
h6 {
  break-after: avoid;
  break-inside: avoid;
}

h1.couv_title {
  color: var(--royal-blue);
  text-align: right;
  margin: 0 0 10px 0;
  letter-spacing: -2px;
  font-size: 60px;
  font-weight: 800;
  line-height: 65px;
}

h1.sub_title {
  color: var(--midnight-blue);
  text-align: right;
  margin: 10mm 0 0 0;
  letter-spacing: -1px;
  font-size: 20px;
  font-weight: 400;
  line-height: 22px;
}

h1.top {
  color: var(--royal-blue);
  text-align: right;
  margin: 20mm 0 0 0;
  padding: 0;
  letter-spacing: -2px;
  font-size: 32px;
  font-weight: 800;
  line-height: 36px;
}

h2 {
  color: var(--midnight-blue);
  text-align: left;
  margin: 20mm 0 0 0;
  padding: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
}

h3 {
  color: var(--royal-blue);
  text-align: left;
  margin: 5mm 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

h4 {
  border-top: 1px solid var(--royal-blue);
  text-align: left;
  margin: 10px 0;
  padding: 10px 0 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

h4.top {
  margin: 0 0 10px 0;
  padding: 10px;
  line-height: 26px;
}

h5,
h6 {
  text-align: left;
  margin: 10px 0;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

/* --------------------------------------------------------------------------
   Texte
   -------------------------------------------------------------------------- */

p {
  margin: 0 0 10px 0;
  color: var(--midnight-blue);
  font-size: 12px;
  line-height: 16px;
  text-align: justify;
  orphans: 2;
  widows: 2;
}

strong {
  color: var(--royal-blue);
  font-weight: 700;
}

ul,
ol {
  margin: 0 0 10px 0;
  font-size: 12px;
  line-height: 18px;
}

li {
  margin-bottom: 10px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 18px;
}

.list {
  list-style-type: none;
}

/* --------------------------------------------------------------------------
   Tableaux
   -------------------------------------------------------------------------- */

.table,
.table_cs {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--royal-blue);
  font-size: 12px;
  line-height: 16px;
}

.table {
  margin: 0 0 20px 0;
}

.table_cs {
  margin: 0 0 10px 0;
  break-before: page;
}

.table_illustration {
  width: 100%;
  margin: 0 0 20px 0;
}

.caption {
  caption-side: top;
  text-align: left;
  margin: 0 0 10px 10px;
  line-height: 16px;
  font-weight: 700;
  break-after: avoid;
}

thead {
  display: table-header-group;
}

tr {
  break-inside: avoid;
}

.th {
  border: 1px solid var(--royal-blue);
  vertical-align: top;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  line-height: 16px;
}

.th.left {
  width: 30%;
}

.th.blue {
  background-color: var(--light-steel-blue);
  font-weight: 700;
}

.td {
  border: 1px solid var(--royal-blue);
  vertical-align: top;
  text-align: left;
  padding: 10px;
}

.td.illustration {
  border-color: var(--white);
  text-align: center;
}

.td.picture {
  border-bottom: 1px solid var(--royal-blue);
  text-align: center;
}

.td.blue {
  background-color: var(--light-steel-blue);
  font-weight: 700;
}

.td.alice {
  background-color: var(--alice-blue);
}

.td.grey {
  background-color: var(--light-grey);
}

/* Largeurs */
._10 { width: 10%; }
._20 { width: 20%; }
._25 { width: 25%; }
._30 { width: 30%; }
._33 { width: 33.33%; }
._40 { width: 40%; }
._50 { width: 50%; }
._75 { width: 75%; }
._80 { width: 80%; }

.td._10,
.td._20 {
  text-align: center;
  font-weight: 700;
}

/* Contenu des cellules */
.table p,
.table_cs p,
.table_illustration p {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
}

.table_p {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 16px;
}

.table_p.foot {
  padding: 10px 0;
  font-style: italic;
}

.table_p.foot.center {
  text-align: center;
  font-style: normal;
  font-weight: 700;
}

.table_p._50 {
  width: 50%;
}

.bold-text {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Blocs
   -------------------------------------------------------------------------- */

.table_block,
.item-properties {
  display: block;
  width: 100%;
}

.div_table_block {
  display: flex;
  align-items: center;
  width: 100%;
}

.div_page_break {
  height: 0;
  break-after: page;
}

.empty-page {
  break-after: page;
}

.div_title {
  width: 100%;
  margin-top: 184mm;
  padding-right: 10mm;
}

.attention_block {
  text-align: center;
  width: 100%;
  padding-top: 20px;
  margin-bottom: 10px;
  break-after: avoid;
}

.top_block {
  border: 1px solid var(--royal-blue);
  text-align: center;
  padding: 0 10px 10px 10px;
}

.big_block_picto {
  text-align: center;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Images et pictogrammes
   -------------------------------------------------------------------------- */

figure,
img {
  width: 100%;
  break-inside: avoid;
}

figure {
  margin: 0 0 10px 0;
}

.img_picto {
  width: 40px;
  height: 40px;
  margin-right: 0;
  vertical-align: middle;
}

.img_picto.big {
  width: 80px;
  height: 80px;
}

.img_picto.small {
  width: 26px;
  height: 26px;
}

.table_img {
  max-width: 50%;
}

.table_img_80 {
  min-width: 80%;
  max-width: 80%;
}

.table_img_70 {
  min-width: 70%;
  max-width: 70%;
}

.div_logo_form {
  text-align: right;
  width: 100%;
}

.logo_form_img {
  width: 25%;
  margin-right: 0.5cm;
}

.linkcc {
  display: inline-block;
  width: 150px;
}

/* --------------------------------------------------------------------------
   Table des matieres (createToc.js)
   Sans debordement : points de suite dessines en fond, numero dans le flux.
   Le gabarit "Paged" enveloppe le texte de chaque entree dans .toc-title.
   -------------------------------------------------------------------------- */

#list-toc-generated {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: counterTocLevel1;
}

.toc-element {
  display: block;
  margin: 0 0 6px 0;
  padding: 0;
  break-inside: avoid;
}

.toc-element a {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--midnight-blue);
  background-image: radial-gradient(circle, var(--royal-blue) 0.7px, transparent 1px);
  background-size: 6px 4px;
  background-repeat: repeat-x;
  background-position: 0 calc(100% - 3px);
}

.toc-title {
  background-color: var(--white);
  padding-right: 6px;
}

/* Numero de page : ecrit par le gabarit "Paged" apres la mise en page
   (target-counter de Paged.js renvoie 0 dans Firefox) */
.toc-page {
  margin-left: auto;
  padding-left: 6px;
  background-color: var(--white);
  white-space: nowrap;
}

.toc-element-level-1 {
  margin-top: 25px;
  font-weight: 700;
  counter-increment: counterTocLevel1;
  counter-reset: counterTocLevel2;
}

.toc-element-level-1 .toc-title::before {
  content: counter(counterTocLevel1) ". ";
}

.toc-element-level-2 {
  margin-left: 25px;
  counter-increment: counterTocLevel2;
}

.toc-element-level-2 .toc-title::before {
  content: counter(counterTocLevel1) ". " counter(counterTocLevel2) ". ";
}

.toc-element-level-3,
.toc-element-level-h4 {
  margin-left: 60px;
  font-weight: 400;
}

/* Neutralise les anciennes regles de la table des matieres
   (numero target-counter et points de suite en ::after) */
.toc-element a::after,
.toc-element::after {
  content: none !important;
}
