/* =========================================================
   Fichier : trou.css
   Usage :
   - affichage web : les réponses restent visibles ;
   - impression / PDF : les réponses deviennent des lignes à compléter.
   ========================================================= */


/* ---------- Affichage normal dans MkDocs ---------- */

.trou {
  font-weight: 600;
}

.ligne-pdf {
  display: none;
}


/* ---------- Affichage uniquement à l'impression / PDF ---------- */

@media print {

  .trou {
    color: transparent !important;
    text-shadow: none !important;
    border-bottom: 1px solid #000;
    display: inline-block;
    min-width: 6em;
    font-weight: normal;
    line-height: 1.2;
  }

  .trou.court {
    min-width: 4em;
  }

  .trou.long {
    min-width: 10em;
  }

  .trou.xlong {
    min-width: 16em;
  }

  .ligne-pdf {
    display: block;
    border-bottom: 1px solid #777;
    height: 1.4em;
    margin: 0.4em 0;
  }

  .no-print {
    display: none !important;
  }
}