@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  box-sizing: border-box;
  text-decoration-skip-ink: auto;
}

body, html {
  top: 0px;
  left: 0px;
  margin: 0px;
  padding: 0px;
}

*, *:before, *:after {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-smooth: never;
  -moz-font-smooth: never;
  widows: 1;
  orphans: 1;
  /* font-weight: normal; */
  position: relative;
}

em {
  font-style: italic;
}

button {
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: currentColor;
}

ul {
  list-style-type: none;
  list-style-position: inside;
}

*:focus {
  outline: none;
}

sup {
  line-height: 0;
}

@media screen and (max-width: 980px) {
  body, main {
    width: 100vw;
    overflow-x: hidden;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: rgb(251, 250, 248);
  --background: #fcfcfc;
  --color-text: rgb(34, 34, 34);
  --color-text-light: rgb(103, 91, 91);
  --color-title: rgb(166, 158, 141);
  --color-header: var(--color-text-light);
  --color-text-card: rgb(166, 158, 141);
  --max-card-height:150px;
  --creme-bg: rgb(221, 216, 208);
  --background-figure: rgb(255, 255, 255);
  --background-light: rgb(240, 238, 240);
  --background-table: rgba(240, 238, 240, 0.6);
  --border-light: 1px solid rgb(180, 177, 172);
  --border-very-light: 1px solid rgb(224, 223, 224);
  --case-h: 30px;
  --unit: 20px;
  --gap-grid: 4px;
  --h-header: calc(var(--unit)*3);
  --padding-small: calc(var(--unit)/2);
  --padding-large: calc(var(--unit)*2);
  --padding: calc(var(--unit)*2);
  --radius: 10px;
  --radius-phone: 14px;
  --radius-small: 4px;
  --border-color: rgb(167, 158, 141);
  --border-layout: 1px solid var(--border-color);
  --border-link: 1px dotted var(--border-color);
}

body {
  background-color: var(--background);
  color: var(--color-text);
}

figure, img {
  width: 100%;
}

button, a {
  cursor: pointer;
}

.close {
  --icon: url(./icons/close.svg) ;
}

.icon-fiche {
  --icon: url(./icons/fiches.svg) ;
}

.icon-photo {
  --icon: url(./icons/photo.svg) ;
}

.icon-dessin {
  --icon: url(./icons/dessin.svg) ;
}

.icon-fullscreen {
  --icon: url(./icons/fullscreen.svg) ;
}

.group-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.group-button button {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  padding: 0.75ch 1ch;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--background-figure);
  border: var(--border-layout);
  width: 30px;
  height: 30px;
  padding: 0px;
  margin-left: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.group-button button:hover {
  border: 1px solid var(--color-text-light);
}
.group-button button svg {
  width: 80%;
  height: 80%;
}
.group-button #zoom-reset svg {
  width: 70%;
  height: 70%;
}

:root {
  --font-size: 20px;
  --baseline: 28px;
  --font-small: 14px;
  --baseline-small: calc(var(--baseline)*0.75);
  --font-medium: 17px;
  --baseline-medium: calc(var(--baseline)*1);
  --indent-title: 60px;
  --font: "Podkova", serif;
  --font-title: "Specter";
  --sans-serif: "Specter";
  --arrow-title: "↳";
}

body {
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: var(--baseline);
}

#content-text p {
  margin-top: var(--baseline);
  margin-bottom: var(--baseline);
}
#content-text table p {
  margin-top: calc(var(--baseline) * 0.25);
  margin-bottom: calc(var(--baseline) * 0.25);
}
#content-text .num-chapter {
  font-family: var(--font-title);
  font-size: calc(var(--font-size) * 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
#content-text header h1 {
  font-family: var(--font-title);
  font-size: calc(var(--font-size) * 2);
  line-height: calc(var(--baseline) * 1.5);
  font-weight: normal;
}
#content-text header .object {
  font-family: var(--font-title);
  font-size: var(--font-size);
  line-height: var(--baseline);
  font-weight: 500;
}

#cover-txt button, #content-text button {
  font-family: var(--sans-serif);
  font-size: var(--font-small);
  font-weight: 500;
}

.card {
  font-family: var(--sans-serif);
  font-size: var(--font-small);
  line-height: 1.2em;
  font-weight: 500;
}

#selected-cards {
  font-family: var(--sans-serif);
  font-size: var(--font-small);
  line-height: calc(var(--baseline) * 0.75);
  font-weight: 500;
}

#grid-nav button {
  font-family: var(--sans-serif);
  font-size: var(--font-small);
}

figure figcaption {
  font-family: var(--sans-serif);
  font-size: var(--font-small);
  font-weight: 500;
  line-height: var(--baseline-small);
}

[data-layout=fiche] #content-text {
  font-family: var(--sans-serif);
}
[data-layout=fiche] #content-text h1 {
  font-weight: 400;
  font-size: calc(var(--font-size) * 2);
}
[data-layout=fiche] #content-text table th, [data-layout=fiche] #content-text table td {
  font-weight: 400;
  text-align: left;
}
[data-layout=fiche] #content-text table th {
  max-width: 10ch;
}
[data-layout=fiche] #content-text dl {
  margin-top: calc(var(--baseline) * 2);
  font-size: var(--font-small);
  line-height: var(--baseline-small);
}
[data-layout=fiche] #content-text dl dt {
  font-weight: 500;
}

@media screen and (max-width: 560px) {
  #content-text header h1,
  [data-layout=fiche] #content-text h1 {
    font-size: calc(var(--font-size) * 1.8);
    line-height: calc(var(--baseline) * 1.5);
  }
}
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: white;
  color: var(--color-text-light);
  border: 1px solid white;
  display: block;
}

.card a {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card a figure {
  width: 100%;
  height: 100%;
  padding: 10px;
  margin: 0px !important;
}
.card a figure img {
  width: 100%;
  height: 100%;
  max-height: var(--max-card-height);
  object-fit: contain;
  transition: scale 0.2s;
}
.card a ul {
  padding-top: calc(var(--baseline) * 0.25);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--color-text-card);
  color: var(--color-text-card);
}
.card a ul li:first-of-type {
  margin-right: 1ch;
}
.card a .identifiant {
  text-align: center;
}
.card a .numero-inventaire {
  text-align: center;
  font-size: 12px;
}

[data-layout=chapitre] .card:not(.unselected):hover {
  box-shadow: 0px 0px 0px 1px var(--color-text-light);
}
[data-layout=chapitre] .card:not(.unselected):hover img {
  scale: 1.1;
}

[data-layout=chapitre] .card.selected-contexte {
  box-shadow: 0px 0px 0px 1px var(--color-text-light);
}

#content-text figure:not(.figure-card) {
  background-color: var(--background-figure);
  height: 100%;
  width: 100%;
  object-fit: none;
  margin-top: var(--baseline);
  margin-bottom: var(--baseline);
  padding: calc(var(--padding) * 0.75);
}
#content-text figure:not(.figure-card) .img-container {
  height: 100%;
  width: 100%;
}
#content-text figure:not(.figure-card) figcaption {
  margin-top: calc(var(--padding) * 0.5);
}
#content-text figure:not(.figure-card) .button-fullFig {
  position: absolute;
  top: var(--padding);
  right: var(--padding);
  z-index: 100;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  padding: 0.75ch 1ch;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--background-figure);
  opacity: 0;
  transition: opacity 0.5;
  border: var(--border-layout);
  padding: 0px;
  padding-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#content-text figure:not(.figure-card) .button-fullFig:hover {
  border: 1px solid var(--color-text-light);
}
#content-text figure:not(.figure-card) .button-fullFig .icon {
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--color-text-light);
  mask-repeat: no-repeat;
}

#full-fig {
  background-color: var(--background-figure);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 5000;
  display: none;
}
#full-fig .container-fullscreen {
  width: 100vw;
  height: 100vh;
}
#full-fig .container-button {
  width: 100vw;
  height: var(--h-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 calc(var(--padding) * 0.5);
  border-bottom: var(--border-layout);
}
#full-fig .container-button .caption {
  color: var(--color-text-light);
  font-size: var(--font-small);
  font-family: var(--sans-serif);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: calc(100% - 40px);
}
#full-fig .container-button .close {
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 20px !important;
  height: 20px !important;
  background-color: var(--color-text);
  mask-repeat: no-repeat;
}
#full-fig .container-img {
  width: 100vw;
  height: calc(100vh - var(--h-header));
  padding: var(--padding);
}
#full-fig #full-fig-img {
  width: 100%;
  height: 100%;
}
#full-fig #full-fig-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#full-fig .group-button {
  z-index: 100;
  position: absolute;
  bottom: calc(var(--padding) * 0.75);
  right: calc(var(--padding) * 0.75);
}

@media screen and (min-width: 980px) {
  #content-text figure:not(.figure-card):hover {
    cursor: pointer;
  }
  #content-text figure:not(.figure-card):hover .button-fullFig {
    opacity: 1;
  }
  #full-fig .group-button {
    display: none;
  }
}
@media screen and (max-width: 560px) {
  #content-text figure:not(.figure-card) {
    width: 100vw;
    left: calc(var(--padding) * -0.5);
    padding: calc(var(--padding) * 0.5);
  }
}
.citation .ref-author {
  cursor: pointer;
  border-bottom: var(--border-link);
}
.citation .ref-author:hover {
  border-bottom: var(--border-layout);
}
.citation .ref-all {
  display: none;
  color: var(--color-text-card);
}
.citation .deploy {
  display: inline !important;
}

#button-menu {
  cursor: pointer;
  height: 100%;
  width: var(--h-header);
  display: flex;
  align-items: center;
  justify-content: center;
  --h-stroke: 2px;
  --w-menu: 23px;
  --color-menu: var(--color-header);
}
#button-menu div {
  background: var(--background);
}
#button-menu span {
  position: relative;
  display: block;
  width: var(--w-menu);
  height: var(--h-stroke);
  background: var(--color-menu);
  transition: all 0.2s ease-in-out;
}
#button-menu span::before, #button-menu span::after {
  position: absolute;
  background: var(--color-menu);
  content: "";
  width: var(--w-menu);
  height: var(--h-stroke);
  transition: all 0.2s ease-in-out;
  left: 0px;
}
#button-menu span::before {
  top: -8px;
}
#button-menu span::after {
  top: 8px;
}

#toggle-menu:checked ~ #header #button-menu span {
  background: transparent;
}
#toggle-menu:checked ~ #header #button-menu span::before {
  transform: rotate(45deg) translate(5px, 6px);
}
#toggle-menu:checked ~ #header #button-menu span::after {
  transform: rotate(-45deg) translate(5px, -6px);
}

#chapters-nav {
  margin-left: var(--padding);
  margin-right: var(--padding);
  margin-top: calc(var(--baseline) * 2);
  margin-bottom: calc(var(--baseline) * 3);
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 1fr 1fr;
}
#chapters-nav button {
  width: 100%;
  min-height: calc(var(--baseline) * 2);
  background: none !important;
  font-size: var(--font-size) !important;
}
#chapters-nav button a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#chapters-nav .prev {
  grid-column: 1;
  text-align: left;
  padding-left: var(--padding);
}
#chapters-nav .prev a {
  align-items: flex-start;
}
#chapters-nav .prev::before {
  content: "←";
  left: 0px;
}
#chapters-nav .next {
  grid-column: 2;
  text-align: right;
  padding-right: var(--padding);
}
#chapters-nav .next a {
  align-items: flex-end;
}
#chapters-nav .next::after {
  content: "→";
  right: 0px;
}
#chapters-nav .prev::before, #chapters-nav .next::after {
  position: absolute;
  height: 100%;
  top: 0px;
  display: flex;
  align-items: center;
}
#chapters-nav .chap-num {
  display: block;
  font-size: var(--font-small);
  margin-bottom: calc(var(--baseline) * 0.25);
}
#chapters-nav .chap-num::before {
  content: "Chapitre ";
}

@media screen and (min-width: 980px) {
  #menu {
    width: 50vw;
    height: calc(100vh - var(--h-header));
    position: fixed;
    top: var(--h-header);
    right: -50vw;
    transition: right 0.5s;
  }
}
@media screen and (max-width: 980px) {
  #menu {
    width: 100vw;
    height: calc(100vh - var(--h-header));
    position: fixed;
    top: var(--h-header);
    left: 120vw;
    transition: left 0.5s;
  }
}
#menu {
  z-index: 2000;
  place-items: center;
  display: block;
}
#menu .container {
  background-color: var(--color-text);
  color: var(--background);
  width: 100%;
  height: 100%;
  padding: var(--padding);
  overflow: scroll;
  padding-bottom: 10vh;
}
#menu .container > ul {
  font-family: var(--sans-serif);
}
#menu .container > ul .chapter-titles {
  display: none;
}
#menu .container > ul li {
  margin-bottom: calc(var(--baseline) * 0.5);
  font-size: calc(var(--font-size) * 1.4);
  line-height: calc(var(--baseline) * 1.4);
}
#menu .container > ul li.toc-conclusion {
  margin-top: calc(var(--baseline) * 0.75);
}
#menu .container > ul li.static {
  font-size: var(--font-small);
  line-height: var(--baseline-small);
  margin-bottom: calc(var(--baseline) * 0.25);
}
#menu .container > ul .chapter span {
  font-size: calc(var(--font-small) * 0.7);
  line-height: var(--baseline-small);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  opacity: 0.5;
}
#menu .container > ul li.bibliographie {
  margin-top: calc(var(--baseline) * 1);
}
#menu .container > ul li.search {
  margin-bottom: calc(var(--baseline) * 1);
}
#menu .container > ul li.home {
  margin-bottom: calc(var(--baseline) * 1);
}
#menu .container > ul li:hover {
  text-decoration: underline;
}
#menu .container > ul li:hover span {
  text-decoration: none;
}

@media screen and (max-width: 980px) {
  #toggle-menu:checked ~ #menu {
    left: 0vw;
  }
}
@media screen and (min-width: 980px) {
  #toggle-menu:checked ~ #menu {
    right: 0vw;
  }
}
.lum-in-text-button {
  min-height: calc(var(--baseline) * 0.5);
  display: none;
}

.lum-in-text-button button {
  position: absolute;
  right: 0px;
  top: calc(var(--baseline) * -0.25);
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  padding: 0.75ch 1ch;
  border-radius: var(--radius-small);
  background: var(--background-figure);
  border: 1px solid var(--background-figure);
}
.lum-in-text-button button:hover {
  border: 1px solid var(--color-text-light);
}

.lum-in-text-button button .icon {
  margin-right: 8px;
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--color-text-light);
  mask-repeat: no-repeat;
}

.lum-in-text-card {
  width: 100vw;
  overflow: scroll;
  --h-card: calc(var(--case-h)*6);
  --w-card: calc(var(--case-h)*4.5);
}
.lum-in-text-card .container {
  display: flex;
  width: calc(var(--lum) * var(--w-card) + var(--lum) * var(--gap-grid));
  overflow: scroll;
  background-color: var(--creme-bg);
  padding: var(--padding-small);
}
.lum-in-text-card .card {
  background-color: white;
  width: calc(var(--case-h) * 4.5);
  min-height: calc(var(--case-h) * 6);
  margin-right: var(--gap-grid);
}
.lum-in-text-card .card figure {
  padding: 3px 0px;
}
.lum-in-text-card .card ul {
  display: block;
}
.lum-in-text-card .card ul li {
  text-align: left;
}

@media screen and (min-width: 980px) {
  .lum-in-text-button {
    display: block;
  }
  .lum-in-text-card {
    display: none !important;
  }
}
@media screen and (max-width: 980px) {
  .lum-in-text-button {
    display: none !important;
  }
  .lum-in-text-card {
    display: block;
    left: calc(var(--padding) * -0.5);
  }
}
sup[role=doc-noteref] {
  color: var(--color-text-card);
  padding-left: 2px;
}

.footnotes {
  border-top: var(--border-layout);
  background-color: var(--background);
  padding: var(--padding);
  transition: bottom 0.2s;
  --color-marker: currentColor;
  --width-marker: auto;
}
.footnotes #close-footnotes {
  background: none;
  font-size: 32px;
  float: right;
  font-weight: 300;
  color: var(--color-text-light);
  position: relative;
  top: calc(var(--padding) * -0.5);
}
.footnotes ol {
  margin: 0px;
  padding: 0px;
}
.footnotes ol li::marker {
  width: var(--width-marker);
  color: var(--color-marker);
}
.footnotes ol li::before {
  content: attr(data-counter) ".";
}
.footnotes li {
  color: var(--color-text-light);
  position: relative;
  padding-left: 3ch;
  padding-bottom: calc(var(--baseline) / 2);
}
.footnotes li p {
  margin: 0px !important;
}
.footnotes li .reversefootnote {
  display: none;
}
.footnotes li::before {
  display: block;
  width: 3ch;
  position: absolute;
  top: 0px;
  left: 0px;
}

#page-bibliographie {
  min-height: 200vh;
}
#page-bibliographie ul li {
  padding-top: calc(var(--baseline) * 1);
  max-width: 50ch;
}
#page-bibliographie ul li .csl-block {
  display: inline;
}
#page-bibliographie ul li .csl-block {
  margin-left: 1ch;
}
#page-bibliographie ul li .csl-block:first-of-type {
  display: block;
  background-color: var(--background-light);
  border-radius: 5px;
  padding: 0.4ch 1ch;
  margin-left: 0ch;
  margin-bottom: calc(var(--baseline) * 0.5);
}

#header {
  border-bottom: var(--border-layout);
  background-color: var(--background);
  min-height: var(--h-header);
  z-index: 1000;
}
#header h1 {
  font-family: var(--sans-serif);
  font-size: var(--font-medium);
  font-weight: 500;
  color: var(--color-header);
}

#header-title {
  width: 100%;
  height: var(--h-header);
  padding: var(--padding-small);
  padding-left: var(--padding-large);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#breadcrumb {
  padding: var(--padding-small) 0;
  border-bottom: var(--border-layout);
  max-height: 0px;
  overflow: hidden;
  background-color: var(--background);
  color: var(--color-header);
  font-family: var(--sans-serif);
  font-size: var(--font-medium);
  line-height: var(--baseline-small);
  transition: 0.5s;
}
#breadcrumb li span {
  display: block;
  margin-bottom: calc(var(--baseline) * 0.25);
}
#breadcrumb li span a:hover {
  text-decoration: underline;
}
#breadcrumb #breadcrumb-level-1 {
  font-weight: 500;
  border-bottom: var(--border-layout);
  padding: 0 var(--padding);
  padding-bottom: var(--padding-small);
}
#breadcrumb .breadcrumb-group {
  padding: 0 var(--padding);
}
#breadcrumb .breadcrumb-level-2 {
  margin-top: calc(var(--baseline) * 0.5);
  margin-bottom: calc(var(--baseline) * 0.25);
  font-weight: 500;
}
#breadcrumb .breadcrumb-level:not(#breadcrumb-level-1) span {
  padding-left: 2ch;
}
#breadcrumb .breadcrumb-level:not(#breadcrumb-level-1) span::before {
  content: "↳ ";
  font-size: var(--font-small);
  position: absolute;
  left: 0px;
}
#breadcrumb .breadcrumb-level-2 span {
  padding-left: 2ch !important;
}
#breadcrumb .breadcrumb-level-2 span::before {
  content: "↳ " !important;
}
#breadcrumb .breadcrumb-group-current .breadcrumb-level-2 span a,
#breadcrumb li.current span a {
  padding: 0px 0.25ch;
  background-color: var(--background-light);
}
#breadcrumb #breadcrumb-level-H3 {
  margin-left: 2ch;
}
#breadcrumb #breadcrumb-level-H4 {
  margin-left: 4ch;
}
#breadcrumb #breadcrumb-level-H5 {
  margin-left: 6ch;
}
#breadcrumb #breadcrumb-level-H6 {
  margin-left: 8ch;
}

#breadcrumb.is-visible {
  top: var(--h-header) !important;
  max-height: 1000px;
}

[data-layout=static] #breadcrumb {
  display: none !important;
}

#grid-cards {
  border-right: var(--border-layout);
  background-color: var(--creme-bg);
  overflow-y: scroll;
}
#grid-cards #selected-cards {
  grid-column-start: 1;
  grid-column-end: end;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--color-text-light);
  border-bottom: var(--border-layout);
  margin: var(--padding-small);
  margin-bottom: calc(var(--baseline) * 0.25);
  min-height: calc(var(--baseline) * 1.75 + 2px);
  display: none;
}
#grid-cards #selected-cards p {
  width: calc(100% - 30px);
  padding-bottom: calc(var(--baseline) * 0.25);
}
#grid-cards #selected-cards .title-level::after {
  content: " → ";
  position: relative;
  top: 2px;
}
#grid-cards #selected-cards .title-level-H6::after {
  content: "";
}
#grid-cards #selected-cards .number::before {
  content: " [ ";
}
#grid-cards #selected-cards .number::after {
  content: " ] ";
  top: 0px;
}
#grid-cards #selected-cards .close {
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 16px !important;
  height: 16px !important;
  background-color: var(--color-text-light);
  mask-repeat: no-repeat;
  cursor: pointer;
  position: relative;
  top: 5px;
}
#grid-cards #grid {
  display: grid;
  padding-bottom: 20vh;
  gap: var(--gap-grid);
  padding: var(--padding-small);
}
#grid-cards #grid .card.unselected {
  opacity: 0.5;
}

@media screen and (min-width: 980px) {
  #grid-cards #grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 1220px) {
  #grid-cards #grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
@media screen and (min-width: 980px) {
  #grid-cards .card {
    min-height: calc(var(--case-h) * 7);
  }
}
@media screen and (min-width: 1100px) {
  #grid-cards .card {
    min-height: calc(var(--case-h) * 7);
  }
}
@media screen and (min-width: 1220px) {
  #grid-cards .card {
    min-height: calc(var(--case-h) * 6.5);
  }
}
@media screen and (min-width: 1280px) {
  #grid-cards .card {
    min-height: calc(var(--case-h) * 7);
  }
}
@media screen and (min-width: 1420px) {
  #grid-cards .card {
    min-height: calc(var(--case-h) * 7.5);
  }
}
#toc-block {
  max-width: 800px;
  font-family: var(--font-title);
  margin-top: calc(var(--baseline) * 2);
}
#toc-block li {
  margin-top: calc(var(--baseline) * 0.25);
  margin-bottom: calc(var(--baseline) * 0.25);
}
#toc-block .toc-page {
  font-size: calc(var(--font-size) * 1.2);
  line-height: calc(var(--baseline) * 1);
  margin-top: calc(var(--baseline) * 1);
  margin-bottom: calc(var(--baseline) * 0.5);
  font-weight: 500;
}
#toc-block li a:hover {
  text-decoration: underline;
}
#toc-block .toc-page.chapter,
#toc-block .toc-introduction,
#toc-block .toc-conclusion {
  margin-top: calc(var(--baseline) * 3);
  margin-bottom: calc(var(--baseline) * 1);
  border: 1px solid currentColor;
  border-radius: 3px;
}
#toc-block .toc-page.chapter a,
#toc-block .toc-introduction a,
#toc-block .toc-conclusion a {
  display: block;
  width: 100%;
  height: 100%;
  padding: calc(var(--baseline) * 0.5);
}
#toc-block .toc-page.chapter span,
#toc-block .toc-introduction span,
#toc-block .toc-conclusion span {
  font-size: calc(var(--font-small) * 0.8);
  line-height: var(--baseline-small);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
}
#toc-block .toc-page.chapter:hover,
#toc-block .toc-introduction:hover,
#toc-block .toc-conclusion:hover {
  box-shadow: 0 0 0 1px currentColor;
}
#toc-block .toc-page.chapter:hover a,
#toc-block .toc-introduction:hover a,
#toc-block .toc-conclusion:hover a {
  text-decoration: none !important;
}
#toc-block .toc-page.chapter a:hover,
#toc-block .toc-introduction a:hover,
#toc-block .toc-conclusion a:hover {
  text-decoration: none !important;
}
#toc-block .toc-introduction {
  margin-top: var(--baseline);
}
#toc-block .toc-introduction + .toc-page {
  margin-top: calc(var(--baseline) * 2);
}
#toc-block .toc-page.static {
  margin-top: 0;
  margin-left: 1ch;
}
#toc-block .toc-page.bibliographie {
  margin-top: calc(var(--baseline) * 3);
}
#toc-block .toc__list .toc-entry {
  padding-left: 2ch;
}
#toc-block .toc__list .toc-entry::before {
  content: "↳";
  position: absolute;
  left: 0ch;
}
#toc-block .toc__sublist, #toc-block .toc-h2 {
  margin-bottom: calc(var(--baseline) * 0.5);
}
#toc-block .toc-page.static {
  font-size: var(--font-medium);
  line-height: var(--baseline-medium);
}
#toc-block .toc-h2 > a {
  font-weight: 500;
  display: block;
}
#toc-block .toc-h2 > a::after {
  content: "";
  display: block;
  width: calc(100% + 2ch);
  position: relative;
  left: -2ch;
  height: calc(var(--baseline) * 0.25);
  border-bottom: 1px solid var(--border-color);
}
#toc-block .toc-h2 > a:hover {
  text-decoration: none;
}
#toc-block .toc-h2 > a:hover::after {
  box-shadow: 0px 1px 0px 0px var(--border-color);
}
#toc-block .toc-h2 > .toc__sublist {
  margin-top: calc(var(--baseline) * 0.5);
  margin-bottom: calc(var(--baseline) * 1);
}
#toc-block .toc-h2::before {
  top: calc(var(--baseline) * 0.25);
}
#toc-block .toc-h3 > a {
  font-weight: 500;
}
#toc-block .toc-h4 > a {
  font-style: italic;
}
#toc-block .toc-h6 > a {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.7em;
  color: var(--color-text-light);
}
#toc-block .toc-h6::before {
  color: var(--color-text-light);
}

[data-layout=chapitre] #toc-block {
  display: none !important;
}

/*  Supprimer ??? */
#grid-nav {
  padding: 0px calc(var(--padding-small) * 2);
  display: flex;
  flex-direction: row-reverse;
  display: none;
}
#grid-nav button {
  display: inline-flex;
  align-items: center;
  height: calc(var(--unit) * 2);
  padding-left: 3ch;
  padding-right: 10ch;
  background-color: var(--creme-bg);
  font-family: var(--sans-serif);
  font-size: var(--font-small);
  font-weight: bold;
  border-top-left-radius: calc(var(--radius) * 0.75);
  border-top-right-radius: calc(var(--radius) * 0.75);
  border: 2px solid var(--color-text);
  border-bottom: none;
  margin-left: calc(var(--padding-small) * -1);
  cursor: pointer;
}
#grid-nav button:nth-of-type(1) {
  z-index: 40;
}
#grid-nav button:nth-of-type(2) {
  z-index: 30;
}
#grid-nav button:nth-of-type(3) {
  z-index: 20;
}
#grid-nav button:nth-of-type(4) {
  z-index: 10;
}
#grid-nav button:not(.selected):hover {
  background-color: var(--color-text-light);
  color: var(--creme-bg);
}
#grid-nav button.selected {
  background-color: var(--color-text);
  color: var(--creme-bg);
}

#input-grid-card, #input-toc {
  display: none;
}

#input-toc:checked ~ #grid-nav label[for=input-toc],
#input-grid-card:checked ~ #grid-nav label[for=input-grid-card] {
  background-color: var(--color-text);
  color: var(--creme-bg);
  cursor: default;
}

body {
  overflow-x: hidden;
}

#content-text {
  margin-bottom: 20vh;
}
#content-text .csl-block {
  display: none;
}
#content-text header {
  padding-top: calc(var(--baseline) * 1.5);
  margin-bottom: calc(var(--baseline) * 3);
  position: relative;
}
#content-text header .num-chapter {
  margin: 0px;
}
#content-text h2, #content-text h3, #content-text h4, #content-text h5, #content-text h6 {
  font-family: var(--font-title);
  font-weight: normal;
  margin-top: calc(var(--baseline) * 2.5);
  margin-bottom: var(--baseline);
}
#content-text .title-level-H2 + .title-level-H2 {
  margin-top: calc(var(--baseline) * 2);
}
#content-text h2 {
  font-size: calc(var(--font-size) * 1.2);
  line-height: calc(var(--baseline) * 1);
  font-weight: 500;
  color: var(--color-text-light);
}
#content-text h2::before {
  content: "";
  display: block;
  border-top: var(--border-light);
  height: calc(var(--baseline) * 0.5);
  width: calc(100% + var(--padding) * 2);
  left: calc(var(--padding) * -1);
}
#content-text h2::after {
  content: "";
  display: block;
  border-bottom: var(--border-very-light);
  height: calc(var(--baseline) * 0.5);
  width: calc(100% + var(--padding) * 2);
  left: calc(var(--padding) * -1);
}
#content-text h3 {
  font-size: calc(var(--font-size) * 1.2);
  line-height: calc(var(--baseline) * 1);
}
#content-text h4 {
  font-size: calc(var(--font-size) * 1.2);
  line-height: calc(var(--baseline) * 1);
  margin-left: 2ch;
}
#content-text h5 {
  font-size: calc(var(--font-size) * 1);
  line-height: calc(var(--baseline) * 1);
  margin-left: 4ch;
}
#content-text h3, #content-text h4, #content-text h5 {
  padding-left: 2ch;
}
#content-text h3::before, #content-text h4::before, #content-text h5::before {
  content: "↳";
  font-size: var(--font-size);
  display: block;
  position: absolute;
  left: 0px;
  top: 2px;
}
#content-text h2 + h3,
#content-text h2 + .title-level-H3 h3 {
  margin-top: calc(var(--baseline) * 0);
}
#content-text h3 + h4,
#content-text h3 + .title-level-H4 h4 {
  margin-top: calc(var(--baseline) * 0);
}
#content-text h4 + h5,
#content-text h4 + .title-level-H5 h5 {
  margin-top: calc(var(--baseline) * 0);
}
#content-text h6 {
  font-family: var(--font-title);
  font-size: var(--font-size);
  line-height: var(--baseline);
  font-weight: 500;
  margin-top: calc(var(--baseline) * 2);
  margin-bottom: calc(var(--baseline) * -0.5);
}
#content-text ul:not(.ul-card) {
  margin-left: var(--padding);
  margin-bottom: calc(var(--baseline) * 1);
  position: relative;
}
#content-text ul:not(.ul-card) li {
  margin-bottom: calc(var(--baseline) * 0.5);
}
#content-text ul:not(.ul-card) li::before {
  content: "– ";
  position: absolute;
  left: calc(var(--padding-large) * -0.75);
}
#content-text p + ul:not(.ul-card) {
  margin-top: calc(var(--baseline) * -0.5);
}
#content-text .icon-fiche {
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 20px !important;
  height: 20px !important;
  background-color: var(--color-text-light);
  mask-repeat: no-repeat;
  cursor: pointer;
  margin: 0px 3px;
}
#content-text .icon-fiche:hover {
  background-color: var(--color-text) !important;
}
#content-text .title-level-H2:target {
  padding-top: var(--h-header) !important;
}
#content-text h3:target, #content-text h4:target, #content-text h5:target, #content-text h6:target {
  padding-top: calc(var(--h-header) + var(--baseline) * 2.5) !important;
}
#content-text h3:target::before, #content-text h4:target::before, #content-text h5:target::before, #content-text h6:target::before {
  top: calc(var(--h-header) + var(--baseline) * 2.5) !important;
}
#content-text .title-level-H3:target, #content-text .title-level-H4:target, #content-text .title-level-H5:target, #content-text .title-level-H6:target {
  padding-top: 1px !important;
}
#content-text .selected-title {
  padding-top: var(--baseline);
}
#content-text .selected-title::before {
  content: "←";
  position: absolute;
  left: -1.5ch;
  color: var(--border-color);
}

#chapitre-2 .content > p:nth-of-type(1) {
  margin-bottom: calc(var(--baseline) * 2);
}

@media screen and (min-width: 980px) {
  [data-layout=chapitre] #header, [data-layout=chapitre] #breadcrumb,
  [data-layout=search] #header,
  [data-layout=search] #breadcrumb,
  [data-layout=sommaire] #header,
  [data-layout=sommaire] #breadcrumb {
    width: 50vw;
    position: fixed;
    left: 50vw;
    top: 0px;
    z-index: 1000;
  }
  [data-layout=chapitre] #breadcrumb,
  [data-layout=search] #breadcrumb,
  [data-layout=sommaire] #breadcrumb {
    z-index: 999;
  }
  [data-layout=chapitre] #content-text,
  [data-layout=search] #content-text,
  [data-layout=sommaire] #content-text {
    width: 50vw;
    margin-left: 50vw;
    display: inline-block;
    margin-top: var(--h-header);
    z-index: 800;
    padding-left: var(--padding);
    padding-right: var(--padding);
    max-width: 930px;
  }
  [data-layout=chapitre] #grid-cards,
  [data-layout=search] #grid-cards,
  [data-layout=sommaire] #grid-cards {
    width: 50vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 800;
  }
  [data-layout=chapitre] #grid-nav,
  [data-layout=search] #grid-nav,
  [data-layout=sommaire] #grid-nav {
    width: 50vw;
    z-index: 1000;
    position: fixed;
    left: 0;
    bottom: 0;
  }
  [data-layout=chapitre] #toc-block,
  [data-layout=search] #toc-block,
  [data-layout=sommaire] #toc-block {
    width: 50vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 900;
  }
  [data-layout=chapitre] .footnotes-scripted,
  [data-layout=search] .footnotes-scripted,
  [data-layout=sommaire] .footnotes-scripted {
    position: fixed;
    bottom: -50vh;
    right: 0px;
    width: 50vw;
    z-index: 1000;
    max-height: 50vh;
  }
}
@media screen and (max-width: 980px) {
  [data-layout=chapitre] #header,
  [data-layout=search] #header,
  [data-layout=sommaire] #header {
    width: 100vw;
    position: fixed;
    left: 0vw;
    top: 0px;
    z-index: 1000;
  }
  [data-layout=chapitre] #content-text,
  [data-layout=search] #content-text,
  [data-layout=sommaire] #content-text {
    margin-top: var(--h-header);
    z-index: 800;
    padding-left: calc(var(--padding) * 0.5);
    padding-right: calc(var(--padding) * 0.5);
  }
  [data-layout=chapitre] #grid-cards,
  [data-layout=search] #grid-cards,
  [data-layout=sommaire] #grid-cards {
    display: none;
  }
  [data-layout=chapitre] #toc-block,
  [data-layout=search] #toc-block,
  [data-layout=sommaire] #toc-block {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 900;
  }
  [data-layout=chapitre] .footnotes-scripted,
  [data-layout=search] .footnotes-scripted,
  [data-layout=sommaire] .footnotes-scripted {
    position: fixed;
    bottom: -50vh;
    right: 0px;
    width: 100vw;
    z-index: 1000;
    max-height: 50vh;
  }
}
#section-fullscren-images {
  border-right: var(--border-layout);
  height: 100vh;
  width: 100vw;
  z-index: 99999;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
}

@media screen and (min-width: 980px) {
  [data-layout=fiche] #header {
    width: 50vw;
    position: fixed;
    left: 50vw;
    top: 0px;
    z-index: 10;
  }
  [data-layout=fiche] #content-text {
    width: 50vw;
    margin-left: 50vw;
    padding: 0 calc(var(--unit) * 2);
    max-width: 930px;
  }
  [data-layout=fiche] #section-images {
    border-right: var(--border-layout);
    height: 100vh;
    width: 50vw;
    position: fixed;
    top: 0px;
    left: 0px;
  }
}
@media screen and (max-width: 980px) {
  [data-layout=fiche] #header {
    width: 100vw;
    position: fixed;
    left: 0vw;
    top: 0px;
    z-index: 10;
  }
  [data-layout=fiche] #content-text {
    width: 100vw;
    margin-left: 0vw;
    padding: 0 calc(var(--padding) * 0.5);
  }
  [data-layout=fiche] #section-images {
    border-top: var(--border-layout);
    border-bottom: var(--border-layout);
    width: 100vw;
    height: 500px;
    max-height: 70vh;
    left: calc(var(--padding) * -0.5);
    margin-bottom: calc(var(--baseline) * 1.5);
  }
}
[data-layout=fiche-pdf] .citation .ref-all {
  display: inline;
  color: black;
}
[data-layout=fiche-pdf] .citation .ref-author {
  display: none;
}

[data-layout=fiche] {
  /* TEXT PART ----------------------------------------------------------------------------
  ------------------------------------------------------------------------------------------
  ------------------------------------------------------------------------------------------- */
}
[data-layout=fiche] .citation .ref-all {
  display: none;
  color: var(--color-text-card);
}
[data-layout=fiche] .citation .ref-author {
  cursor: pointer;
  border-bottom: var(--border-link);
}
[data-layout=fiche] #content-text {
  display: inline-block;
  margin-top: var(--h-header);
}
[data-layout=fiche] #content-text #nav-url-lum button, [data-layout=fiche] #content-text #back-context {
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  padding: 0.75ch 1ch;
  border-radius: var(--radius-small);
  background: var(--background-figure);
  border: 1px solid var(--background-figure);
}
[data-layout=fiche] #content-text #nav-url-lum button:hover, [data-layout=fiche] #content-text #back-context:hover {
  border: 1px solid var(--color-text-light);
}
[data-layout=fiche] #content-text dd p {
  margin-top: unset;
}
[data-layout=fiche] #navigation {
  position: absolute;
  right: 0px;
  display: flex;
  flex-direction: column;
}
[data-layout=fiche] #section-fullscren-images .container-fullscren-img, [data-layout=fiche] #section-fullscren-images #content-fullscren-img {
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: hidden;
}
[data-layout=fiche] #section-fullscren-images #content-fullscren-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
[data-layout=fiche] #section-fullscren-images .group-button {
  z-index: 100;
  position: absolute;
  bottom: calc(var(--padding-small) * 2);
  right: calc(var(--padding-small) * 1.5);
}
[data-layout=fiche] #section-fullscren-images #zoom-reset-group {
  right: calc(var(--padding-small) * 2.5 + 60px);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-layout=fiche] #section-fullscren-images #zoom-reset-group button {
  width: 20px;
}
[data-layout=fiche] #section-fullscren-images #minimize {
  padding: 5px;
}
[data-layout=fiche] #section-images {
  display: grid;
  grid-template-rows: 1fr calc(var(--case-h) * 4);
}
[data-layout=fiche] #section-images .container-img, [data-layout=fiche] #section-images #content-img {
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: hidden;
}
[data-layout=fiche] #section-images #content-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
[data-layout=fiche] #section-images .group-button {
  z-index: 100;
  position: absolute;
  bottom: calc(var(--padding-small) * 2);
  right: calc(var(--padding-small) * 1.5);
}
[data-layout=fiche] #section-images #zoom-reset-group {
  right: calc(var(--padding-small) * 2.5 + 60px);
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-layout=fiche] #section-images #zoom-reset-group button {
  width: 20px;
}
[data-layout=fiche] #section-images #maximize {
  padding: 5px;
}
[data-layout=fiche] #section-images .container-list-img {
  width: 100%;
  border-top: var(--border-layout);
  background-color: var(--creme-bg);
  padding: calc(var(--padding-small) * 1);
  overflow-y: hidden;
}
[data-layout=fiche] #section-images .container-list-img input, [data-layout=fiche] #section-images .container-list-img label {
  z-index: 100;
}
[data-layout=fiche] #section-images .container-list-img ul {
  height: 100%;
  margin: 0;
  padding: 0;
  display: inline-block;
}
[data-layout=fiche] #section-images .container-list-img ul li {
  height: 100%;
  width: 90px;
  background-color: white;
  margin-right: var(--grid-gap);
  display: inline-block;
  padding: var(--padding-small);
  border: var(--border-layout);
  border-radius: calc(var(--radius) / 3 * 2);
  overflow: hidden;
}
[data-layout=fiche] #section-images .container-list-img ul li img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
[data-layout=fiche] #section-images .container-list-img ul li::before {
  display: none;
}
[data-layout=fiche] #section-images .container-list-img ul li .icon-type {
  position: absolute;
  bottom: 0;
  left: 0px;
  z-index: 20;
  padding-left: 6px;
  padding-top: 3px;
  padding-right: 5px;
  height: 30px;
  border-top: var(--border-layout);
  border-right: var(--border-layout);
  border-top-right-radius: 4px;
  background-color: var(--background);
}
[data-layout=fiche] #section-images .container-list-img ul li .icon-type .icon {
  content: "";
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  display: inline-block;
  --size: $size;
  width: 20px !important;
  height: 20px !important;
  background-color: var(--color-text-light);
  mask-repeat: no-repeat;
}
[data-layout=fiche] #section-images .container-list-img input {
  display: none;
}
[data-layout=fiche] #section-images .container-list-img .toggle-type {
  height: 0%;
  width: calc(var(--unit) * 2);
  position: sticky;
  left: 0px;
  top: 0px;
  z-index: 100;
}
[data-layout=fiche] #section-images .container-list-img .toggle-type::after {
  content: "";
  display: block;
  width: calc(var(--unit) * 2);
  height: calc(var(--case-h) * 6);
  background-color: var(--creme-bg);
  border-right: var(--border-layout);
  position: absolute;
  top: 0px;
  left: 0px;
}
[data-layout=fiche] #section-images .container-list-img .toggle-type label {
  font-family: var(--sans-serif);
  cursor: pointer;
  border-bottom: var(--border-layout);
  width: calc(var(--unit) * 2);
  height: calc(var(--unit) * 2);
  display: flex;
  justify-content: center;
  align-items: center;
}
[data-layout=fiche] #content-text .object {
  padding: 0;
  margin: 0;
  border-top: var(--border-layout);
  border-color: var(--background-figure);
  width: 100%;
  margin-top: calc(var(--baseline) * 0.25);
  padding-top: calc(var(--baseline) * 0.25);
}
[data-layout=fiche] #content-text #nav-back-context {
  display: inline-flex;
  flex-direction: row-reverse;
}
[data-layout=fiche] #content-text #nav-back-context button {
  margin-left: 1ch;
}
[data-layout=fiche] #content-text #nav-back-context button a {
  display: block;
  width: 100%;
  height: 100%;
}
[data-layout=fiche] #content-text #nav-url-lum {
  display: inline-flex;
  flex-direction: row;
}
[data-layout=fiche] #content-text #nav-url-lum button {
  margin-left: 1ch;
}
[data-layout=fiche] #content-text #nav-url-lum button a {
  display: block;
  width: 100%;
  height: 100%;
}
[data-layout=fiche] #content-text #nav-url-lum #prev-lum a::before {
  content: "←  ";
}
[data-layout=fiche] #content-text #nav-url-lum #next-lum a::after {
  content: "  →";
}
[data-layout=fiche] #content-text #back-context {
  display: flex;
  flex-direction: row-reverse;
}
[data-layout=fiche] #content-text #back-context a::after {
  content: "  ↩";
  position: relative;
  top: 2px;
}
[data-layout=fiche] #content-text table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /*tr:nth-of-type(2n){
      background-color: var(--background-table);
  }*/
}
[data-layout=fiche] #content-text table tbody {
  font-size: 14px;
  line-height: 16px;
}
[data-layout=fiche] #content-text table th, [data-layout=fiche] #content-text table td {
  border-top: 1px solid rgb(180, 177, 172);
  border-bottom: 1px solid rgb(180, 177, 172);
  padding: calc(var(--baseline) * 0.25) 0ch;
}
[data-layout=fiche] #content-text table th {
  padding-right: 3ch;
  width: 40%;
}
[data-layout=fiche] #content-text table td {
  text-align: left;
}
[data-layout=fiche] #content-text table ul:not(.ul-card) {
  margin-left: 0px;
  margin-bottom: 0px;
  position: relative;
}
[data-layout=fiche] #content-text table ul:not(.ul-card) li {
  margin-bottom: calc(var(--baseline) * 0.5);
  list-style-type: none;
}
[data-layout=fiche] #content-text table ul:not(.ul-card) li:last-child {
  margin-bottom: 0px;
}
[data-layout=fiche] #content-text table ul:not(.ul-card) li::before {
  content: none;
}
[data-layout=fiche] #content-text table .subtable tr {
  border-bottom: 1px solid rgb(167, 158, 141);
}
[data-layout=fiche] #content-text table .subtable tr:is(:last-child) {
  border-bottom: none;
}
[data-layout=fiche] #content-text table .subtable td {
  color: #775e4b;
  border-top: none;
  border-bottom: none;
}
[data-layout=fiche] #content-text table .subtable th {
  border-top: none;
  border-bottom: none;
}
[data-layout=fiche] #content-text dl {
  margin-top: calc(var(--baseline) * 2);
  max-width: 64ch;
}
[data-layout=fiche] #content-text dl dd {
  margin-bottom: calc(var(--baseline) * 0.75);
}

#cover-txt {
  font-family: var(--sans-serif);
  background-color: white;
  color: var(--color-text);
  overflow: hidden;
  padding: var(--padding-small);
}
#cover-txt .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}
#cover-txt .hgroup {
  margin-top: calc(var(--baseline) * 1);
  margin-bottom: calc(var(--baseline) * 2);
}
#cover-txt h1 {
  font-weight: normal;
  font-size: calc(var(--font-size) * 2);
  line-height: calc(var(--baseline) * 1.5);
  margin-top: calc(var(--baseline) * 0.5);
}
#cover-txt h1 small {
  display: block;
  font-size: var(--font-size);
  line-height: calc(var(--baseline) * 1);
  font-weight: 500;
}
#cover-txt .author {
  margin-top: calc(var(--baseline) * 0.5);
}
#cover-txt button {
  background: none;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
  padding: 0.75ch 1ch;
  position: absolute;
  right: 0;
  bottom: 0;
}
#cover-txt button::after {
  content: " →";
}
#cover-txt button:hover {
  text-decoration: underline;
}
#cover-txt .collection {
  font-weight: 500;
  text-transform: uppercase;
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: var(--font-small);
}
#cover-txt .collection .title-collection, #cover-txt .collection .num-collection {
  background-color: var(--color);
  color: var(--background);
  padding: 0 0.5ch;
  border-radius: var(--radius-small);
}
#cover-txt .collection .title-collection {
  letter-spacing: 0.2px;
  margin-right: 2ch;
  margin-right: 0.5ch;
  padding: 0 1ch;
}
#cover-txt:hover {
  box-shadow: 0px 0px 0px 1px var(--color-text-light);
}

#home {
  overflow: hidden;
}

#grid-home {
  background-color: var(--creme-bg);
  padding: calc(var(--padding-small) * 1) var(--padding-small);
}
#grid-home #grid {
  display: grid;
  place-items: center;
  gap: var(--gap-grid);
}
#grid-home #grid .card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
#grid-home #grid .card figure {
  padding: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
  height: calc(var(--case-h) * 6.5);
}
#grid-home #cover-txt {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}
#grid-home #logo-efa {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--padding-small);
  background-color: white;
}
#grid-home #logo-efa img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 560px) {
  #grid-home .card,
  #grid-home #logo-efa,
  #grid-home #cover-txt {
    border-radius: var(--radius-phone);
  }
  #cover-txt h1 {
    font-weight: 500;
    font-size: calc(var(--font-size) * 1.5);
    line-height: calc(var(--baseline) * 1.2);
  }
  #cover-txt h1 small {
    padding-top: calc(var(--baseline) * 0.25);
  }
}
#grid-home #grid {
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  top: calc(var(--case-h) * -2);
}
#grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
  height: calc(var(--case-h) * 5);
}

#cover-txt {
  grid-column: 1/4;
  grid-row: 2/4;
}

#logo-efa {
  grid-column: 3;
  grid-row: 4;
}

@media screen and (min-width: 499px) {
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6.5);
  }
}
@media screen and (min-width: 620px) {
  #grid-home #grid {
    grid-template-columns: repeat(4, 1fr);
    top: calc(var(--case-h) * -3);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6.5);
  }
}
@media screen and (min-width: 680px) {
  #grid-home #grid {
    grid-template-columns: repeat(5, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6.5);
  }
  #grid-home #grid #cover-txt {
    grid-column: 2/6;
  }
  #grid-home #grid #logo-efa {
    grid-column: 4;
  }
}
@media screen and (min-width: 780px) {
  #grid-home #grid {
    grid-template-columns: repeat(6, 1fr);
  }
  #grid-home #grid #logo-efa {
    grid-column: 5;
  }
}
@media screen and (min-width: 900px) {
  #grid-home #grid {
    grid-template-columns: repeat(7, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6);
  }
  #grid-home #grid #logo-efa {
    grid-column: 6;
  }
}
@media screen and (min-width: 1020px) {
  #grid-home #grid {
    grid-template-columns: repeat(8, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6);
  }
  #grid-home #grid #logo-efa {
    grid-column: 7;
  }
}
@media screen and (min-width: 1140px) {
  #grid-home #grid {
    grid-template-columns: repeat(8, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6.5);
  }
}
@media screen and (min-width: 1150px) {
  #grid-home #grid {
    grid-template-columns: repeat(9, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6);
  }
}
@media screen and (min-width: 1220px) {
  #grid-home #grid {
    grid-template-columns: repeat(9, 1fr);
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6.5);
  }
}
@media screen and (min-width: 1280px) {
  #grid-home #grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  #grid-home #grid .card, #grid-home #grid .card a, #grid-home #grid .card figure {
    height: calc(var(--case-h) * 6);
  }
  #grid-home #grid #logo-efa {
    grid-column: 8;
  }
}
@media screen and (min-width: 1442px) {
  #grid-home #grid #logo-efa {
    grid-column: 5;
  }
}
[data-layout=static] #toc-block {
  display: block;
}
[data-layout=static] #header {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1000;
  width: 100vw;
}
[data-layout=static] main {
  padding: calc(var(--baseline) * 2) var(--padding);
}
[data-layout=static] main .content {
  max-width: 930px;
}
[data-layout=static] main .content > h1 {
  font-family: var(--font-title);
  font-size: calc(var(--font-size) * 2);
  line-height: calc(var(--baseline) * 1.5);
  font-weight: normal;
  margin-top: calc(var(--baseline) * 2);
}

[data-layout=search] {
  /* Chaque groupe label + select */
  /* Chaque groupe select + reset*/
}
[data-layout=search] main {
  background-color: var(--color-text);
}
[data-layout=search] #content-text {
  background-color: var(--color-text);
  color: var(--background);
  height: 100vh;
}
[data-layout=search] #basic-search {
  width: 50%;
  padding: 5px;
  font-size: 14px;
}
[data-layout=search] .title {
  font-size: calc(var(--font-small));
  line-height: var(--baseline-small);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: block;
  opacity: 0.8;
}
[data-layout=search] .search-container {
  display: flex;
}
[data-layout=search] .filters-container {
  margin-top: 60px;
}
[data-layout=search] .reset-all {
  font-size: calc(var(--font-small));
  line-height: var(--baseline-small);
  letter-spacing: 0.5px;
  display: flex;
  margin-top: 40px;
}
[data-layout=search] .search_filters {
  padding-top: 20px;
}
[data-layout=search] .form-container {
  display: flex;
  /* Active Flexbox */
  flex-wrap: wrap;
  /* Permet le retour à la ligne si nécessaire */
  gap: 20px;
  /* Espacement entre les groupes */
  align-items: flex-start;
  /* Aligne les éléments en haut */
}
[data-layout=search] .form-group {
  display: flex;
  /* Alignement interne */
  flex-direction: column;
  /* Aligne verticalement label et select */
  width: 200px;
  /* Largeur uniforme */
}
[data-layout=search] .form-select {
  display: flex;
  /* Alignement interne */
  flex-direction: row;
  /* Aligne verticalement label et select */
  width: 200px;
  /* Largeur uniforme */
}
[data-layout=search] .reset {
  width: 25px;
  height: 25px;
  background: url(./icons/reset.svg) center no-repeat;
}
[data-layout=search] .search-container .search {
  width: 25px;
  height: 25px;
  background: url(./icons/search.svg) center no-repeat;
}
[data-layout=search] label {
  margin-bottom: 5px;
  /* Espacement entre le label et le select */
  font-size: 14px;
}
[data-layout=search] select {
  width: 100%;
  /* Prend toute la largeur de son conteneur */
  padding: 5px;
  /* Espacement interne */
  font-size: 14px;
}

@media screen and (min-width: 980px) {
  [data-layout=search] #header,
  [data-layout=search] #breadcrumb {
    width: 50vw;
    position: fixed;
    left: 50vw;
    top: 0px;
    z-index: 1000;
  }
  [data-layout=search] #breadcrumb {
    z-index: 999;
  }
  [data-layout=search] #content-text {
    width: 50vw;
    margin-left: 50vw;
    display: inline-block;
    margin-top: var(--h-header);
    z-index: 800;
    padding-left: var(--padding);
    padding-right: var(--padding);
    max-width: 930px;
  }
  [data-layout=search] #grid-cards {
    width: 50vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 800;
  }
  [data-layout=search] #grid-nav {
    width: 50vw;
    z-index: 1000;
    position: fixed;
    left: 0;
    bottom: 0;
  }
  [data-layout=search] #toc-block {
    width: 50vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 900;
  }
  [data-layout=search] .footnotes-scripted {
    position: fixed;
    bottom: -50vh;
    right: 0px;
    width: 50vw;
    z-index: 1000;
    max-height: 50vh;
  }
}
@media screen and (max-width: 980px) {
  [data-layout=search] #header {
    width: 100vw;
    position: fixed;
    left: 0vw;
    top: 0px;
    z-index: 1000;
  }
  [data-layout=search] #content-text {
    margin-top: var(--h-header);
    z-index: 800;
    padding-left: calc(var(--padding) * 0.5);
    padding-right: calc(var(--padding) * 0.5);
    height: calc(100vh + var(--case-h) * 3 + var(--baseline));
  }
  [data-layout=search] #grid-cards {
    display: block;
    width: 100vw;
    position: fixed;
    left: 0vw;
    bottom: 0px;
    z-index: 1000;
    overflow: unset;
  }
  [data-layout=search] #grid-cards #grid {
    display: flex;
    padding-bottom: 20vh;
    gap: var(--gap-grid);
    padding: var(--padding-small);
    overflow-x: scroll;
  }
  [data-layout=search] .search_filters {
    padding-top: unset;
  }
  [data-layout=search] .title {
    font-size: var(--font-smaller);
  }
  [data-layout=search] #basic-search {
    font-size: var(--font-smaller);
  }
  [data-layout=search] .filters-container {
    margin-top: unset;
  }
  [data-layout=search] .form-container {
    gap: 10px;
  }
  [data-layout=search] select {
    font-size: var(--font-smaller);
  }
  .footnotes-scripted {
    position: fixed;
    bottom: -50vh;
    right: 0px;
    width: 100vw;
    z-index: 1000;
    max-height: 50vh;
  }
}

/*# sourceMappingURL=style.css.map */