@font-face {
  font-family: 'noto_serifregular';
  src: url('font/NotoSerif-Regular-webfont.woff') format('woff');
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'LibertinusSerif';
  font-style: normal;
  font-weight: normal;
  src: url('font/LibertinusSerif-Regular.woff2');
}
@font-face {
  font-family: 'LibertinusSerif';
  font-style: italic;
  font-weight: normal;
  src: url('font/LibertinusSerif-Italic.woff2');
}
@font-face {
  font-family: 'LibertinusSerif';
  font-style: normal;
  font-weight: bold;
  src: url('font/LibertinusSerif-Bold.woff2');
}
@font-face {
  font-family: 'LibertinusSerif';
  font-style: italic;
  font-weight: bold;
  src: url('font/LibertinusSerif-BoldItalic.woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible';
  font-style: normal;
  font-weight: normal;
  src: url('font/Atkinson-Hyperlegible-Regular-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible';
  font-style: italic;
  font-weight: normal;
  src: url('font/Atkinson-Hyperlegible-Italic-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible';
  font-style: normal;
  font-weight: bold;
  src: url('font/Atkinson-Hyperlegible-Bold-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible';
  font-style: italic;
  font-weight: bold;
  src: url('font/Atkinson-Hyperlegible-BoldItalic-102a.woff2') format('woff2');
}

* {
  min-width: 0;
}

*::selection {
  color: #fff !important;
  background: #e90596 !important;
}

/* a11y */
@media screen and (prefers-contrast: more) {
  *:focus {
    outline: 2px solid currentColor !important;
  }
}
@media screen and (prefers-reduced-motion: no-preference) {
  html:focus-within,
  body:focus-within {
    scroll-behavior: smooth;
  }
}

/* Couleurs */
:root {
  /* 05/08/2023
  --menu-background: #002451;
  --menu-background-alt: #003e8b;
  */
  --menu-background: #1f5788;
  --menu-background-alt: #1f5788;
  /* Prochaines couleurs ???
  --menu-background: #334657;
  --menu-background-alt: #2d5b85;
  */
}

/* Police */
body {
  font-family: 'Atkinson-Hyperlegible', Lato, 'Open Sans', 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans',
    'Helvetica Neue', Arial, sans-serif;
  /* Try for a bigger text */
  font-size: 1.125em; /* was 1.25em */
  /* From: https://gist.github.com/JayPanoz/9a20ac4be6f775730b5aa875e3f05c88 */
  line-height: calc(1.618em + (1ex - 1ch));
}
h1,
h2,
h3 {
  font-family: Lato, 'Open Sans', 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
}
.comment-info time {
  font-size: 0.8em;
}
@media screen and (min-width: 60.1em) {
  .banner,
  #footer p {
    margin-left: 1em;
  }
}
body {
  text-rendering: optimizelegibility;
  font-feature-settings: 'kern';
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
p {
  text-wrap: pretty;
}
a[hreflang]:after {
  content: ' [' attr(hreflang) ']';
  font-size: smaller;
}
a[hreflang='en']:lang(en):after,
a[hreflang='fr']:lang(fr):after,
a[hreflang='es']:lang(es):after {
  content: none;
}
sup[id^='fnref']:before {
  content: '[';
}
sup[id^='fnref']:after {
  content: ']';
}
blockquote {
  border-left: 1px solid #5b7785;
  margin-top: 1em;
  padding-left: 1em;
}
blockquote:before,
blockquote:after {
  display: none;
}
blockquote,
q {
  font-family: LibertinusSerif, noto_serifregular, 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L',
    Georgia, serif;
  font-size: 1.125em;
  color: inherit;
}
cite {
  font-family: LibertinusSerif, noto_serifregular, 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L',
    Georgia, serif;
  font-size: 1.125em;
  color: #673ab7;
}
blockquote cite {
  font-size: 1em;
}
blockquote em,
q em,
blockquote i,
q i {
  font-style: normal;
}
abbr[title] {
  text-decoration: none;
}
code {
  padding: 0.2em 0.4em;
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  background-color: #515570;
  color: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
code:not(.nohighlight):not(.hljs) {
  background-color: #733caa;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0.5em;
  font-size: 0.75em;
  word-wrap: anywhere;
}
code a {
  color: #fff;
}
code a:hover,
code a:active {
  border-color: #733caa;
}
pre {
  background-color: #515570;
  color: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 1em;
}
pre:not(:has(code)) {
  font-size: 0.75em;
  line-height: 1.5;
}
kbd {
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  font-size: 0.75em;
  line-height: 1.6;
  white-space: nowrap;
  background-color: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.2),
    0 0 0 2px #fff inset;
  color: #333;
  display: inline-block;
  margin: 0 0.1em;
  padding: 0.1em 0.6em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
samp {
  padding: 0.2em 0.4em;
  background-color: #9c27b0;
  color: #fff;
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  font-size: 0.75em;
  border-radius: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
var {
  border: 1px solid #fff;
  border-radius: 0.25em;
  padding: 0.125em 0.25em;
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  font-size: 0.75em;
  background: #e905a8;
  color: #fff;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
mark {
  background-color: hsl(65, 100%, 50%);
  padding-left: 0.25em;
  padding-right: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
del {
  opacity: 0.5;
}
q::before,
cite::before {
  content: open-quote;
}
q::after,
cite::after {
  content: close-quote;
}
:lang(en),
article:lang(en) {
  quotes: '“\00A0' '\00A0”' '‘' '’';
}
:lang(fr),
article:lang(fr) {
  quotes: '\00AB\00A0' '\00A0\00BB' '‘' '’';
}
:lang(es),
article:lang(es) {
  quotes: '“' '”' '‘' '’';
}
:lang(de),
article:lang(de) {
  quotes: '\00BB\00A0' '\00A0\00AB' '‘' '’';
}
:lang(en) > q:not(:lang),
:lang(en) > cite:not(:lang) {
  quotes: '“\00A0' '\00A0”' '‘' '’';
}
:lang(fr) > q:not(:lang),
:lang(fr) > cite:not(:lang) {
  quotes: '\00AB\00A0' '\00A0\00BB' '‘' '’';
}
:lang(es) > q:not(:lang),
:lang(es) > cite:not(:lang) {
  quotes: '“' '”' '‘' '’';
}
:lang(de) > q:not(:lang),
:lang(de) > cite:not(:lang) {
  quotes: '\00BB\00A0' '\00A0\00AB' '‘' '’';
}
em:lang(zh) {
  font-style: normal;
  text-emphasis: dot;
}
dl {
  display: flex;
  flex-direction: column;
}
dt {
  color: #fff;
  background: #267daf;
  padding: 0.25em 0.5em;
  border-radius: 0.25em;
  margin-bottom: 0.5em;
  font-weight: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
dd {
  margin-left: 1em;
  margin-bottom: 0.5em;
  padding-left: 1em;
  max-width: calc(100% - 2em);
  border-left: none;
}
dd::before {
  content: '⋆ ';
  margin-left: -1em;
  color: #287daf;
}
dd:has(p)::before {
  content: none;
}
summary {
  cursor: pointer;
  color: #003e8b;
}
img,
audio,
video,
iframe {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
#wrapper .post-icon {
  max-width: 100px;
}
/* Mediaqueries */
@media only screen and (max-width: 30em) {
  #wrapper img,
  #wrapper iframe {
    height: auto;
    width: 100%;
    box-sizing: border-box;
  }
}
@media only screen and (min-width: 30.1em) {
  pre {
    overflow: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  #wrapper img {
    height: auto;
    width: 100%;
    box-sizing: border-box;
  }
  #wrapper .post-icon {
    max-width: 100px;
  }
  #content pre img {
    max-width: none;
  }
}

/* Contenu standard */
.site-title__text {
  color: #636363;
  text-shadow: unset;
  font-weight: normal;
}
.site-baseline {
  font-family: LibertinusSerif, noto_serifregular, 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L',
    Georgia, serif;
}
.header__nav li:hover,
.header__nav li:active,
.header__nav li:focus,
.header__nav li:focus-within {
  background-color: #636363;
}
.footer__widgets {
  padding: 0; /* To be disabled if there is some widgets in footer */
}
.sidebar {
  text-shadow: unset;
  background: var(--menu-background);
}
.category-current {
  background-color: var(--menu-background-alt);
}
.category-current ul {
  background-color: var(--menu-background);
}
.sidebar li:hover ul {
  background-color: var(--menu-background);
}
.header__nav li:hover,
.header__nav li:active,
.header__nav li:focus,
.header__nav li:focus-within,
.header__nav li a:hover,
.header__nav li a:focus {
  background-color: var(--menu-background-alt);
}
/* Widgets */
.blognav__widgets li,
.blogextra__widgets li {
  position: relative;
}
.blognav__widgets li a::after,
.blogextra__widgets li a::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
/* Composants */
button.submit,
button.preview {
  background-image: none;
  box-shadow: none;
  text-shadow: unset;
  border-radius: 0.25em;
}
/* Contenu */
#content table {
  width: 100%;
}
#content th,
td {
  padding: 0.25rem;
  border: 1px solid #ccc;
}
#content tbody tr:nth-child(odd) {
  background: rgb(237, 243, 242);
}
.post.simple {
  margin-top: 2.225em;
}
.post-title {
  white-space: unset;
  text-wrap: balance;
  hyphens: auto;
}
.post-meta {
  border-radius: 0.25em;
}
.post-day-date {
  text-transform: none;
}
.post-day-date time {
  display: inline-block;
}
.post-day-date time::first-letter {
  text-transform: uppercase;
}
.pagination {
  font-size: 0.875em;
}
.prev,
.next {
  width: 2em;
  height: 2em;
  background-size: 1.5em;
}
.prev {
  background-image: url("data:image/svg+xml,%3Csvg clip-rule='evenodd' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' viewBox='0 0 32 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m179.17 242.758h28.235v27.809h-28.235z' fill='none' transform='matrix(1.13335 0 0 .791101 -203.06204 -192.0456)'/%3E%3Cpath d='m22.808 8.548c-.392-.392-1.03-.392-1.422 0l-5.92 6.69c-.2.2-.296.462-.292.724-.002.262.092.526.292.726l5.918 6.69c.392.392 1.03.392 1.422 0s.392-1.03 0-1.422l-5.3-5.992 5.3-5.992c.394-.394.394-1.032.002-1.424z' fill='%23646e79' fill-rule='nonzero' stroke='%23606c78' stroke-width='1' transform='matrix(1.19207 0 0 1.19207 -7.81362 -8.029009)'/%3E%3C/svg%3E");
}
.next {
  background-image: url("data:image/svg+xml,%3Csvg clip-rule='evenodd' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' viewBox='0 0 32 22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m179.17 242.758h28.235v27.809h-28.235z' fill='none' transform='matrix(1.13335 0 0 .791101 -203.06204 -192.0456)'/%3E%3Cpath d='m22.808 8.548c-.392-.392-1.03-.392-1.422 0l-5.92 6.69c-.2.2-.296.462-.292.724-.002.262.092.526.292.726l5.918 6.69c.392.392 1.03.392 1.422 0s.392-1.03 0-1.422l-5.3-5.992 5.3-5.992c.394-.394.394-1.032.002-1.424z' fill='%23646e79' fill-rule='nonzero' stroke='%23606c78' stroke-width='1' transform='matrix(-1.19207 0 0 1.19207 39.81366 -8.029009)'/%3E%3C/svg%3E");
}
.prev:hover,
.prev:focus,
.next:hover,
.next:focus {
  border-width: 2px;
}
/* Format excerpt */
#content p:has(> span.ellipsis) {
  word-break: break-word;
}
/*  Aside element
  --------------

  specific classes :
  - <none>  : float right; (default)
  - left    : float left;
  - inline  : in flow (looks like blockquote);

  Under 60em screen width use .inline way
*/
#content aside:not(.bigfoot-footnote) {
  background-color: rgb(250, 250, 250);
  color: rgb(99, 99, 99);
  width: 20em;
  padding: 0 1em;
  float: right;
  margin: 0 -5em 1em 2em;
  border-left: 3px solid #267daf;
}
#content aside.left:not(.bigfoot-footnote) {
  float: left;
  margin: 0 2em 1em -5em;
  border-right: 3px solid #267daf;
  border-left: none;
}
#content aside.inline:not(.bigfoot-footnote) {
  float: inherit;
  width: inherit;
  margin: 1em 2em;
}
#content aside:not(.bigfoot-footnote) :first-child:not(code) {
  margin-top: 0;
  padding-top: 0.5em;
}
#content aside:not(.bigfoot-footnote) :last-child:not(code) {
  padding-bottom: 0.5em;
}
@media only screen and (max-width: 60em) {
  #content aside:not(.bigfoot-footnote) {
    float: inherit;
    width: inherit;
    margin: 1em 2em;
    border-left: 3px solid #267daf;
    border-right: none;
  }
}
/* Figure */
#content figure a,
figure a:link,
figure a:visited {
  border-bottom: none;
}
#content figure figcaption {
  font-size: 0.75em;
  line-height: 1.5;
  width: fit-content;
}
#content figure figcaption::before {
  content: '→ ';
  content: 'ⓘ ' / '';
}
#content figure figcaption a:hover,
#content figure figcaption a:active,
#content figure figcaption a:focus {
  border-bottom: 1px solid;
}
#content figure figcaption p:first-of-type {
  display: inline-block;
  margin-block-start: 0;
}
/* Abbr */
@media (any-hover: none) {
  abbr::after {
    content: ' (' attr(title) ')';
  }
}
/* Details */
#content details {
  padding: 0.5em;
  border-radius: 0.25em;
  background: #f1f5f9;
}
#content details summary {
  padding: 0.5em;
}
#content details[open] summary {
  margin-bottom: 0.5em;
  background: #e2e8f0;
}
/* Recherche */
#q {
  height: 1.75em;
  border: none;
  margin-right: 0.5em;
}
/* Miscellaneous */
a.comment-number:hover,
a.comment-number:active {
  border-color: #d52125;
  color: white;
  background-color: #d52125;
}
#content hr {
  margin-top: 2.5em;
  margin-bottom: 2.5em;
  width: 50%;
  background: var(--menu-background);
  background-image: linear-gradient(to right, #fff, var(--menu-background), #fff);
}
.widget p a {
  width: 100%;
  padding: 0.25em;
  display: block;
}
#comments .me {
  background-color: #eeedf3;
}
.comment-content li {
  list-style-image: inherit;
  list-style-type: inherit;
}
.arch-by-tag {
  width: 100%;
  margin-left: 0;
}
.arch-by-tag-order {
  background: none;
  color: currentColor;
  border: 1px solid;
  border-radius: 0.25em;
  width: 44px;
  height: 40px;
  margin-left: 0.5em;
  padding: 2px;
}
.arch-tag-list li {
  display: inline-block;
}
/* Navigation archive/mois */
.dc-archive-month section#content {
  position: relative;
}
.dc-archive-month .navlinks.topnl {
  position: absolute;
}
.dc-archive-month .navlinks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.dc-archive-month #content-info {
  width: fit-content;
  margin-bottom: 2em;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.dc-archive-month #content-info h2 {
  margin: 0.2em 0 2em 0;
}
.dc-archive-month .js #content-info h2 {
  margin: 0.2em 0 2em 0;
}
@media screen and (max-width: 80em) {
  .dc-archive-month #content-info {
    padding-right: 3em;
  }
  .dc-archive-month .navlinks {
    width: calc(100% - 3em);
  }
}

/* Plugin HLJS */
pre.hljs,
code.hljs {
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
  font-size: 1.5ex;
  line-height: 1.5;
}

/* Plugin YASH */
#content div.dp-highlighter a {
  font-weight: normal;
}
#content div.dp-highlighter .keyword {
  font-weight: normal;
}
#content div.syntaxhighlighter {
  border: 1px solid rgb(204, 204, 204);
  border-radius: 3px;
  padding: 1em 0;
}

/* Plugin Colorbox */
#cboxTitle {
  padding: 0 20%;
}

/* Plugin Series */
.series-posts li.current {
  font-weight: bold;
}

/* Plugin bigfoot */
.bigfoot-footnote__content {
  font-size: 0.875em;
}

/* Plugin Markdown */
div.footnotes[role='doc-endnotes'] ol:before {
  content: 'Notes :';
  margin-left: -1em;
}
div.footnotes[role='doc-endnotes'] ol li::marker {
  font-size: smaller;
  color: #006a9a;
}

@media only screen and (min-width: 43em) {
  .field label:not([for='c_content']) {
    text-align: right;
  }
}

/* Table */
tbody {
  font-variant-numeric: tabular-nums;
}
td[align='right'] {
  text-align: right;
}
td[align='center'] {
  text-align: center;
}

/* Boutons */
:root {
  --button-accent: #5c7785;
}
#a42-ac-button,
input.submit,
button.submit,
button.preview {
  color: #ffffff;
  background-color: var(--button-accent);
  border: 1px solid var(--button-accent);
  padding: 4px 12px;
  cursor: pointer;
  border-radius: 0.25em;
}
#a42-ac-button:hover,
#a42-ac-button:focus,
input.submit:hover,
input.submit:focus,
button.preview:hover,
button.preview:focus,
button.submit:hover,
button.submit:focus {
  color: var(--button-accent);
  background: #ffffff;
}

/* Responsive Cell Header */
.rch td::before {
  display: none;
}
@media screen and (max-width: 60em), print and (max-width: 5in) {
  table.rch {
    display: block;
  }
  table.rch caption,
  table.rch tbody,
  table.rch tr,
  table.rch td {
    display: block;
  }
  table.rch th,
  table.rch tr:first-of-type {
    display: none;
  }
  table.rch td:first-of-type {
    border-top: 1px solid;
  }
  table.rch td::before {
    display: inline;
    font-weight: bold;
  }
  table.rch td {
    display: grid;
    grid-template-columns: 10em auto;
    grid-gap: 1em 0.5em;
    text-align: left;
    border: none;
  }
  table.rch input,
  table.rch select {
    align-self: center;
  }
  table.rch-thead thead {
    display: none;
  }
  table.rch-thead tr:first-of-type {
    display: block;
  }
}

/* Media alignement */
.media-center {
  display: table;
  margin: 0 auto;
}
.media-left {
  float: inline-start;
  margin-inline-end: 1em;
  margin-block-end: 1em;
}
.media-right {
  float: inline-end;
  margin-inline-start: 1em;
  margin-block-end: 1em;
}

/* Divers ---- */

/* Mosaique */
div.mosaique {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
div.mosaique > div {
  float: left;
  padding: 0 0.5em 1em 0.5em;
}

/* Citation */
.signature {
  display: block;
  text-align: right;
  margin-right: 1.5em;
}
.author {
  font-variant: small-caps;
}

/* Messages */
.attention,
.information {
  display: block;
  border: 1px solid #9a9a9a;
  padding: 1em 1em 1em calc(38px + 1em); /* 38px = width SVG 24px + left 14px */
  min-height: 3.5em;
  box-sizing: content-box;
  margin: 1.5em 1em;
}
span.information,
span.attention {
  box-sizing: border-box;
}
.attention {
  background: #fcf3f1 no-repeat 14px 0.7em url(img/attention.svg);
}
.information {
  background: #edf7fc no-repeat 14px 0.7em url(img/information.svg);
}

/* Exemple de résultat du parseur wiki/markdown/… */
.parser-result {
  padding: 0.5em 0.5em 0.5em 0.5em;
  border: 1px #578fff solid;
  background-color: #eaf1ff;
  border-radius: 0.25em;
  font-size: smaller;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.parser-result > *:first-child {
  margin-top: initial;
}
.parser-result > *:last-child {
  margin-bottom: initial;
}

/* Classes diverses */
.timestamp {
  border-radius: 3px;
  padding: 0.2em 0.5em;
  background-color: #ddd;
}
.center {
  text-align: center;
}
.img-legend {
  text-align: center;
  font-size: smaller;
}

/* SVG */
#wrapper .svg-max {
  width: 80%;
  max-width: 100%;
}
#wrapper .svg-wide {
  width: 100%;
  max-width: 100%;
}
/* Fixed sizes (depending on EM) */
#wrapper .svg-xxs,
#wrapper .svg-small {
  width: 2em;
  max-width: 100%;
}
#wrapper .svg-xs,
#wrapper .svg-medium {
  width: 4em;
  max-width: 100%;
}
#wrapper .svg-s,
#wrapper .svg-large {
  width: 8em;
  max-width: 100%;
}
#wrapper .svg-m {
  width: 16em;
  max-width: 100%;
}
#wrapper .svg-l {
  width: 24em;
  max-width: 100%;
}
#wrapper .svg-xl {
  width: 32em;
  max-width: 100%;
}
#wrapper .svg-xxl {
  width: 48em;
  max-width: 100%;
}