@font-face {
  font-family: 'noto_serifregular';
  src: url('font/NotoSerif-Regular-webfont.eot');
  src:
    url('font/NotoSerif-Regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('font/NotoSerif-Regular-webfont.woff') format('woff'),
    url('font/NotoSerif-Regular-webfont.ttf') format('truetype'),
    url('font/NotoSerif-Regular-webfont.svg#noto_serifregular') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Marianne_Regular';
  src: url('font/Marianne-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Marianne_Light';
  src: url('font/Marianne-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Taviraj_Regular';
  src: url('font/Taviraj-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Taviraj_Light';
  src: url('font/Taviraj-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Taviraj_Thin';
  src: url('font/Taviraj-Thin.woff2') format('woff2');
}
@font-face {
  font-family: 'Taviraj_ExtraLight';
  src: url('font/Taviraj-ExtraLight.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible-Regular';
  src: url('font/Atkinson-Hyperlegible-Regular-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible-Italic';
  src: url('font/Atkinson-Hyperlegible-Italic-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible-Bold';
  src: url('font/Atkinson-Hyperlegible-Bold-102a.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson-Hyperlegible-BoldItalic';
  src: url('font/Atkinson-Hyperlegible-BoldItalic-102a.woff2') format('woff2');
}

* {
  min-width: 0;
}

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

/* 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-Regular', 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;
}
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: Taviraj_Light, noto_serifregular, 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L', Georgia,
    serif;
  font-size: 1em;
  line-height: 1.4;
  color: inherit;
}
cite {
  font-family: Taviraj_Regular, noto_serifregular, 'New Century Schoolbook', 'Century Schoolbook', 'Century Schoolbook L',
    Georgia, serif;
  font-size: 1em;
  line-height: 1.4;
  color: #673ab7;
}
blockquote em,
q em,
blockquote i,
q i {
  font-style: normal;
}
abbr[title] {
  text-decoration: none;
}
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;
}
code {
  padding: 0.2em 0.4em;
  font-family: 'JetBrainsMono-Regular', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono',
    monospace;
}
code:not(.nohighlight):not(.hljs) {
  background-color: #733caa;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0.5em;
  font-size: 0.75em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  word-wrap: anywhere;
}
code a {
  color: #fff;
}
code a:hover,
code a:active {
  border-color: #733caa;
}
code,
pre,
kbd {
  background-color: #384aad;
  color: #ffffff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 1em;
}
mark {
  background-color: hsl(65, 100%, 50%);
  padding-left: 0.25em;
  padding-right: 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
kbd {
  white-space: nowrap;
  font-size: 1em;
  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;
}
var {
  border: 1px solid #fff;
  border-radius: 0.25em;
  padding: 0.125em 0.25em;
  font-size: 0.9em;
  background: #e905a8;
  color: #fff;
  font-style: normal;
  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;
}
img {
  max-width: 100%;
  max-height: 90vh;
}
summary {
  cursor: pointer;
  color: #003e8b;
}
#wrapper .post-icon {
  max-width: 100px;
}

/* Mediaqueries */
@media only screen and (max-width: 30em) {
  #wrapper img,
  #wrapper iframe {
    max-width: 100%;
    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 {
    max-width: 100%;
    height: auto;
    width: auto;
    box-sizing: border-box;
  }
  #wrapper .post-icon {
    max-width: 100px;
  }
  #content pre img {
    max-width: none;
  }
}
audio,
video,
iframe {
  max-width: 100%;
}

/* Contenu standard */
.site-title__text {
  color: #636363;
  text-shadow: unset;
  font-weight: normal;
}
.site-baseline {
  font-family: Taviraj_Light, 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);
}
button.submit,
button.preview {
  text-shadow: unset;
}
#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: 1.75em;
}
.post-title {
  white-space: unset;
  text-wrap: balance;
  hyphens: auto;
}
.post-meta {
  border-radius: 0.25em;
}
/* 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;
  }
}
#content figure a,
figure a:link,
figure a:visited {
  border-bottom: none;
}
#content figure a:focus {
  color: inherit;
  background-color: inherit;
}
#content figure {
  position: relative;
}
#content figure figcaption {
  font-size: 0.75em;
  position: absolute;
  width: 100%;
  top: 0;
  color: white;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.75);
  transition: 0.6s ease;
  opacity: 0;
}
#content figure figcaption a {
  color: #ffeb3b;
}
#content figure:hover figcaption {
  opacity: 1;
}
@media (any-hover: none) {
  #content figure figcaption {
    opacity: 1;
    position: relative;
  }
  abbr::after {
    content: ' (' attr(title) ')';
  }
}
#content figure figcaption + audio {
  position: relative;
  z-index: 1;
}

#content figure.audio-card {
  display: grid;
  place-items: center;
  width: 90%;
  margin: auto;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 1em;
}
#content figure.audio-card figcaption {
  background-color: transparent;
  position: relative;
  width: initial;
  opacity: 1;
}
#content figure.audio-card audio {
  margin-bottom: 1em;
}

#content figure figcaption,
.adaptive-glass {
  --glass-lightness: 0%;
  --glass-text: white;
  color: var(--glass-text);
  background: hsl(0 0% var(--glass-lightness) / 66%);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}
@media (prefers-color-scheme: dark) {
  #content figure figcaption,
  .adaptive-glass {
    --glass-lightness: 0%;
    --glass-text: white;
  }
}
@media (any-hover: none) {
  #content figure figcaption,
  .adaptive-glass {
    --glass-lightness: 0%;
    --glass-text: white;
  }
}
#content details {
  padding: 0.5em;
  border: 1px solid #287caf;
  border-radius: 0.5em;
}
#content details[open] summary {
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #287caf;
}

#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;
}

/* 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;
}

/* Divers */

div.mosaique {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
div.mosaique > div {
  float: left;
  padding: 0 0.5em 1em 0.5em;
}
.signature {
  display: block;
  text-align: right;
  margin-right: 1.5em;
}
.author {
  font-variant: small-caps;
}
.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;
  -moz-box-sizing: content-box;
  margin: 1.5em 1em;
}
.attention {
  background: #fcf3f1 no-repeat 14px 0.7em url(img/attention.svg);
}
.information {
  background: #edf7fc no-repeat 14px 0.7em url(img/information.svg);
}
.timestamp {
  border-radius: 3px;
  padding: 0.2em 0.5em;
  background-color: #ddd;
}
.center {
  text-align: center;
}
.img-legend {
  text-align: center;
  font-size: smaller;
}

.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;
}

.svg-small {
  width: 2em;
}

.svg-medium {
  width: 4em;
}

.svg-large {
  width: 8em;
}

.svg-max {
  width: 80%;
}

.svg-wide {
  width: 100%;
}

@media screen and (prefers-reduced-motion: no-preference) {
  html:focus-within,
  body:focus-within {
    scroll-behavior: smooth;
  }
}

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

/* 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;
}

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);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
}

#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;
}

/* a11y */
@media (prefers-contrast: more) {
  *:focus {
    outline: 2px solid currentColor !important;
  }
}