:root{
    --md-admonition-icon--astuce: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M1 11h3v2H1v-2m18.1-7.5L17 5.6 18.4 7l2.1-2.1-1.4-1.4M11 1h2v3h-2V1M4.9 3.5 3.5 4.9 5.6 7 7 5.6 4.9 3.5M10 22c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-1h-4v1m2-16c-3.3 0-6 2.7-6 6 0 2.2 1.2 4.2 3 5.2V19c0 .6.4 1 1 1h4c.6 0 1-.4 1-1v-1.8c1.8-1 3-3 3-5.2 0-3.3-2.7-6-6-6m1 9.9V17h-2v-1.1c-1.7-.4-3-2-3-3.9 0-2.2 1.8-4 4-4s4 1.8 4 4c0 1.9-1.3 3.4-3 3.9m7-4.9h3v2h-3v-2Z"/></svg>');
    --md-admonition-icon--attention: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>');
    --md-accent-fg-color: #ff8c00; 
}

:root,  
[data-md-color-scheme="default"] {
    --md-code-hl-color: rgba(255, 140, 0, 0.4);
}

/* Pour bypasser la couleur du texte en hover sur les cards */
.nt-card a:hover, 
.nt-card a:focus {
    color: #ff8c00 !important;
}

p {
    text-align: justify;
}


/* Centrer un élément (une image) */
.center {
    display: block;
    margin: 0 auto;
}

/* Ajouter un box-shadow à un élément */ 
.shadow {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Met en forme les blocs de citations
 * En markdown utiliser le symbole > pour définir une citation
 */
[dir="ltr"] .md-typeset blockquote {
    border: .1rem solid var(--md-accent-fg-color);
    border-left: 1rem solid var(--md-accent-fg-color);
    background-color: rgba(255, 140, 0, 0.4);
    padding: 1px .6rem ;
}

#mkdocs-content-password {
    border: 1px solid black;
    padding: 5px;
    border-radius: 4px;
}

/* Admonitions astuce */
/* Source : https://squidfunk.github.io/mkdocs-material/reference/admonitions/#custom-admonitions */
.md-typeset .admonition.astuce,
.md-typeset details.astuce {
  border-color: #00bfa5;
}

.md-typeset .astuce > .admonition-title,
.md-typeset .astuce > summary {
  background-color: #00bfa51a;
}

.md-typeset .astuce > .admonition-title::before,
.md-typeset .astuce > summary::before {
  background-color: #00bfa5;
  -webkit-mask-image: var(--md-admonition-icon--astuce);
          mask-image: var(--md-admonition-icon--astuce);
}

.md-typeset .astuce > .admonition-title::after, 
.md-typeset .astuce > summary::after {
    color: #00bfa5;
}

/* Admonitions attention */
/* Source : https://squidfunk.github.io/mkdocs-material/reference/admonitions/#custom-admonitions */
.md-typeset .admonition.attention,
.md-typeset details.attention {
  border-color: #ee0634;
}

.md-typeset .attention > .admonition-title,
.md-typeset .attention > summary {
  background-color: #ffe7ec;
}

.md-typeset .attention > .admonition-title::before,
.md-typeset .attention > summary::before {
  background-color: #ee0634;
  -webkit-mask-image: var(--md-admonition-icon--attention);
          mask-image: var(--md-admonition-icon--attention);
}

.md-typeset .attention > .admonition-title::after, 
.md-typeset .attention > summary::after {
    color: #ee0634;
}