/* feuille de style */

@media only print {

  /*
html body {
    background-color: red !important;
}
*/


  /* -------------- display -------------- */

  #masthead .header-bar,
  .entry-header .entry-meta,
  .entry-content .post-tag-list,
  #ae-social-navigation,
  #ae-site-navigation,
  .addtoany_share_save_container,
  #comments,
  footer#colophon aside,
  footer#colophon .site-info,
  .sidebar,
  nav.navigation,
  #ae_contentheaderTop,
  #backToTopBtn {
    display: none !important;
  }

  /* -------------- spécifique impression -------------- */
  @page {
    size: auto;
    /* auto is the initial value */
    margin: 25mm 10mm 25mm 10mm;
  }

  p, blockquote {
    orphans: 3;
    /* pas de ligne seule en bas */
    widows: 3;
    /* pas de ligne seule en haut */
  }
  blockquote, .shortcode {
    break-inside: avoid;
    page-break-inside: avoid;
    /* pas de coupure dans ces élements */
  }
  /*h1 {
      page-break-before: always;  chaque titre commence sur une nouvelle page
    }*/
  h1, h2, h3, caption {
    page-break-inside: avoid;
    /* pas de coupure ces éléments */
    /*page-break-after:avoid;    pas de saut après ces éléments, pour l'instant implémenté sur aucun navigateur */
  }
  /*    h1.post-title.entry-title*/
  h1.entry-title {
    page-break-before: avoid;
    /* sinon page blanche au début, pour l'instant implémenté sur aucun navigateur */
  }
  img,
  .mejs-poster img {
    display: block !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }



  /* -------------- général ---------------- */

  * {
    box-shadow: none !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    font-size: 10pt !important;
    background-color: #fff !important;
    color: #000 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    /*font-family: Georgia, ‘Times New Roman’, serif;*/
  }

  /*
    h1.site-title:after {
        content: url("https://tstmoodle.unil.ch/enseigner/wp-content/uploads/inanutshell.gif");
        display: block;
        width: 500px;
        height: 200px;
        margin-top: 30px;
    }
*/

  h1.site-title {
    font-size: 16pt;
  }
  h1.site-title a {
    text-decoration: none;
  }

  h1.entry-title {
    padding-top: 40px;
  }

  /*
    h1.entry-title a[href]:after {
        font-size:9pt;
        font-weight:normal;
        display:block;
        line-height:1.4em;
        padding:10px 0;
    }
*/

  .entry .entry-content>* {
    max-width: 100% !important;
  }
  .entry .entry-content>h2 {
    width: calc(100% + 20px) !important;
    max-width: calc(100% + 20px) !important;
    margin-left: -10px !important;
  }



  footer#colophon {
    background: none;
    color: black;
    text-align: right;
    /*        font-size:0.8em;*/
    text-align: left;
  }
  footer#colophon:after {
    content: "Contenus mis à disposition sous licence Creative Commons « by-nc-nd » sauf autres indications dans la page. Ce contenu a été généré depuis un site Internet, veuillez excuser les limitations d'affichage y relatives.";
    border-top: 1px solid black;
    padding-top: 20px;
  }

  p, h1, h2, h3, h4, h5, h6, ul, ol, a {
    color: #000 !important;
    text-align: justify;
     !important;
  }
  h2 {
    text-transform: uppercase;
    background-color: #cae5f4;
    padding: 5px 8px;
  }

  .site-branding-container a:after {
    content: "" !important;
  }

  /*déjà par défaut
    a { text-decoration:none; }
    #main a[href$="html"]:after,
    #main a[href$="/"]:after,
    #main a[href$="pdf"]:after,
    #main a[href$="php"]:after,
    #main a[href^="http"]:after {
      content: " (" attr(href) ")";
      color:#9b9b9b;
      font-style:italic;
      font-family: serif;
    }*/
  #main a[href] {
    font-weight: normal !important;
    text-decoration: none !important;
  }
  #main a[href]:after {
    font-weight: normal !important;
    color: #acacac !important;
    text-decoration: none !important;
  }
  body #main .entry-content a[href]:after {
    color: #acacac !important;
  }


  ul {
    list-style: disc outside;
  }
  ol {
    list-style-position: outside;
    list-style-type: decimal;
  }
  ol, li {
    padding: 0;
  }
  ul, ol {
    text-align: left;
    padding-left: 5.5mm;
  }

  .module {
    font-family: Helvetica, Arial, sans-serif;
  }



  /* ------------- contenu ----------------- */



  /* onglets */
  #main .advgb-tab-body {
    display: block !important;
  }
  #main ul.advgb-tabs-panel {
    counter-reset: 0 !important;
    list-style-type: decimal !important;
    padding-left: 0 !important;
  }
  #main .advgb-tab-body-wrapper {
    counter-reset: section !important;
    list-style-type: decimal !important;
    padding-left: 0 !important;
  }
  #main ul.advgb-tabs-panel li {
    padding: 10px 3px !important;
    border-bottom-width: 1px !important;
  }
  #main .advgb-tab-body-container:before {
    counter-increment: section !important;
    content: counter(section) "." !important;
    display: inline-block !important;
    border-radius: 25% !important;
    width: 34px !important;
    height: 24px !important;
    border: 2px solid #e0e0e0 !important;
    padding: 0px 2px 3px !important;
    text-align: center !important;
    vertical-align: top !important;
  }
  #main .advgb-tab-body-container:before {
    padding-top: 3px !important;
  }
  #main ul.advgb-tabs-panel li:marker {
    color: red !important;
  }
  #main ul.advgb-tabs-panel li.advgb-tab-active,
  #main ul.advgb-tabs-panel li {
    border: 1px solid #FF77C0 !important;
    background-color: #FF77C0 !important;
    border-radius: 10px !important;
    margin-right: 30px !important;
  }
  #main .advgb-tab-body-wrapper {
    border: none !important;
  }
  #main ul.advgb-tabs-panel li a {
    display: inline !important;
  }

  /* accordeon */
  #main .advgb-accordion-body {
    display: block !important;
  }
  #main .advgb-accordion-header-icon {
    display: none !important;
  }

  /* video */
  #main .wp-block-video video,
  #main .wp-block-advgb-video video {
    max-width: 200px !important;
    max-height: 150px !important;
  }

  /* sommaire */
  #main .wp-block-uagb-table-of-contents .uagb-toc__list-wrap {
    display: block;
  }
  #main .wp-block-uagb-table-of-contents .uagb-toc__list-wrap a {
    font-size: 1em;
  }




}