@import url(bandeau.css);

@font-face {
  font-family: "junicode-server";
  src: url('../fonts/junicode/Junicode-Regular.ttf');
}

@font-face {
  font-family: "junicode-serverItalic";
  src: url('../fonts/junicode/Junicode-Italic.ttf');
}

@font-face {
  font-family: "junicode-serverBold";
  src: url('../fonts/junicode/Junicode-Bold.ttf');
}

@font-face {
  font-family: "junicode-serverBoldItalic";
  src: url('../fonts/junicode/Junicode-BoldItalic.ttf');
}

@font-face {
  font-family: "alegreya-sans-server";
  src: url('../fonts/alegreya/AlegreyaSans-Regular.ttf');
}

@font-face {
  font-family: "alegreya-server-light";
  src: url('../fonts/alegreya/AlegreyaSans-Light.ttf');
}

@font-face {
  font-family: "alegreya-server-medium";
  src: url('../fonts/alegreya/AlegreyaSans-Medium.ttf');
}

:root {
  /* ici on définit les tailles "fixes" : hauteur du bandeau et du footer et largeur du conteneur principal */
  --bandeau-height: 700px;
  --content-width: 80vw;
  --footer-height: 2rem;
  /* "dropdown" - valeurs par défaut */
  --menu-height: 3rem;
  --submenu-height: 0rem;


  /* la hauteur du header et du conteneur principal en sont déduites */
  --header-height: calc(var(--bandeau-height) + var(--menu-height) + var(--submenu-height));
  --content-height: calc(100vw - var(--header-height) - var(--footer-height));
  --body-top : calc(2vw + var(--header-height));

  /* --font-size-base: 100%; */
  --font-size-base: 112.5%;
   /* --font-size-base: clamp(1rem, 0.85rem + 0.5vw, 1.25rem); */
  --ratio: 1.125; /* Facteur d’agrandissement de l’échelle de corps typographiques (entre 1.125 et 1.25, par défaut: 1.1666) */
	/* --base-font: 1.25rem; */

    --size-4xs: calc(var(--size-md) * pow(var(--ratio), -7));
    --size-3xs: calc(var(--size-md) * pow(var(--ratio), -5));
		--size-2xs: calc(var(--size-md) * pow(var(--ratio), -3));
		--size-xs: calc(var(--size-md) * pow(var(--ratio), -2));
		--size-sm: calc(var(--size-md) * pow(var(--ratio), -1));
		--size-md: var(--font-size-base);
		--size-lg: calc(var(--size-md) * pow(var(--ratio), 1));
		--size-xl: calc(var(--size-md) * pow(var(--ratio), 2));
		--size-2xl: calc(var(--size-md) * pow(var(--ratio), 3));
		--size-3xl: calc(var(--size-md) * pow(var(--ratio), 4));
		--size-4xl: calc(var(--size-md) * pow(var(--ratio), 5));
		--size-5xl: calc(var(--size-md) * pow(var(--ratio), 6));
		--size-6xl: calc(var(--size-md) * pow(var(--ratio), 7));

    @media all and (max-width: 65rem) {
    --menu-height: 2em;
  }

}


h1, .h1 {
		font-size: var(--size-3xl);
	}

@media (min-width: 65em) {
  h1, .h1 {
    font-size: var(--size-4xl);
  }
}
h2, .h2 {
  font-size: var(--size-2xl);
}
h3, .h3 {
  font-size: var(--size-lg);
}
h4, h5, h6, .h4, .h5, .h6 {
  font-size: var(--size-md);
}

html {
		font-size: var(--font-size-base);
}

/* Body général */
body {
  text-align: justify;
  /* font-family: junicode-server; */
  font-family: alegreya-sans-server;
  /* font-size: 17px; */
  font-size: var(--font-size-base);
  color: black;
  background-color: #f6f1e9;
  /* margin-top: 100px; */
  padding-top: 0;
}

#main-max-container {
  width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 2rem !important;
  max-width: initial;
  /* margin-top: var(--body-top); */
}

#main-max-container.full-volume{
  width: 100%;
}

/* Les liens */
a:hover {
  color: inherit;
}

li a {
  /* color: #7d4d69; changed for darker one below for accessibility */
  color: #59314b;

}

li a.link_page {
  /* color: #7d4d69; changed for darker one below for accessibility */
  color: #375e8b;

}

a.lien_vers_ref {
  /* color: #7d4d69; changed for darker one below for accessibility */
  color: #59314b;
  border: 1px dotted black;
  /* font-size: 24px; */
  font-size: var(--size-2xl);
  text-decoration: none;

}

a.lienInterne,
a.lienTexte,
a.link_ref {
  font-family: inherit;
  /*choose accessibility either blue or brick red*/
  color: #1e4d7b;
  /* color: #802520; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: border-color 0.4s ease-in-out;
  cursor: pointer;
}

a.lienInterne:hover,
a.lienTexte:hover,
a.link_ref:hover {
  border-color: #c6898e;
  text-decoration: none;
}

#retourTexte a.lienTexte {
  /* font-size: 18px; */
  font-family: alegreya-sans-server;;
}

/* 
#bas_de_page .noteBdp
{
  width: 100%;
}
 */

a {
  font-family: inherit;
  /*choose accessibility either blue or brick red*/
  color: #1e4d7b;
  /* color: #802520; */
}

/*lien numéro de page*/
.targetRef a {
  font-family: inherit;
  color: #7A00A3;
}


#retourTexte a.lienTexte {
  /* font-size: 18px; */
  font-family: alegreya-sans-server;
}

a:focus,
a:hover {
  /*changed accessibility*/
  color: #375e8b;
  /* color:#a0372b; */
  text-decoration: underline;
}

.infobulle {
  position: relative;
}

.togglerInfobulle {
  background-color: inherit;
  border: none;
  cursor: pointer;
  /* change accessibility*/
  color: #007AA3;
  /* color: #802520;  */
  font-size: 100%;
  /*font-variant-position: super;*/
}

.infobulleTitle {
  font-weight: bold;
  /* change accessibility*/
  color: #708090;
  /*  color: #802520;  */
}

.conteneurInfobulle {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  bottom: 20px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  display: none;
  /* font-size: 0.8rem; */
  font-size: var(--size-sm);
  left: 50%;
  padding: 0.6em;
  position: absolute;
  /* width: 400px; */
  z-index: 1060;
  text-align: justify;
  border-radius: 10px;
  top: 3rem;
  width: 20vw;
  height: 50vh;
  overflow-y: auto;
}

h2 .conteneurInfobulle{
  font-size: var(--size-3xs);
}

.infobulle:focus-within .conteneurInfobulle {
  display: block;
}

.infobulle:hover .conteneurInfobulle {
  display: block;
}

span.missing_title {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

span.missing_title:hover {
  color: black;
}

span.supplied_title {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

span.supplied_title:hover {
  color: black;
}

.item-label .missing_title {
  /* font-size: 16px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

.item-label .supplied_title {
  /* font-size: 16px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

.item-label .full_title {
  /* font-size: 16px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

span.missing_title:hover {
  color: black;
}

span.supplied_title {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

span.supplied_title:hover {
  color: black;
}

span.full_title {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #646D74;
}

span.full_title:hover {
  color: black;
}

ul[type="simple"] {
  list-style-type: none;
  /* font-size: 16px; */
  text-align: left;

}

p+ul[type="simple"] li {
  width: 68%;
}

p+ul[type="simple"] {
  margin-top: -10px;
  margin-left: -10px;
}

#toc ul li {
  list-style-type: none;
  color: #5F4343;
}

#toc ul li:before {
  content: ""
}

#toc ul {
  padding-left: 24px;
}

#navigation-tool #dropdown-navigation li {
  /* font-size: 11px; */
  font-family: alegreya-sans-server;
  line-height: 1.3;
  padding-bottom: 6px;
}

#navigation-tool #dropdown-navigation .dropdown-menu {
  width: 300px;
}

#options-list li {
  margin-top: 6px;
  margin-left: 5px;
  width: 300px;
  /* font-size: 11px; */
  font-family: alegreya-sans-server;
}

#front {
  /*border : 1px solid #dcddde;*/
  padding: 5px 20px;
  /*margin-bottom:30px;*/

}


#routeEntries {
  margin-top: 35px;
  line-height: 30px;
  list-style-type: none;
}

#text {
  margin-bottom: 50px;
  /* width: 70vw; */
  /* margin-left: 12vw; */
  /* padding-left: 5em; */
  padding-right: 5em;
  display: flex;
  align-items: flex-start;
}



.subpart {
  text-align: center;
  font-family: alegreya-sans-server;
  margin-bottom: 30px;
}

h5 {
  font-weight: bold;
}

h2 {
  /* font-size: 22px; */
  margin-bottom: 1em;
  margin-top: 1em;
  /* width: 70%; */
  line-height: 120%;
  text-align: center;

}

h2.head_logo {
  /* font-size: 17px; */
  font-size: var(--size-sm);
  margin-bottom: 10px;
  margin-top: 35px;
}

h2.front {
  /* font-size: 20px; */
  font-size: var(--size-lg);
  text-align: left;
}
h2.subpart_sub.front, 
h2.subpart.front, h2.subpart_docEd.front, 
h2.subpart_byl.front, h2.subpart_docImpr.front{
  /* font-size: 20px; */
  font-size: var(--size-lg);
  text-align: center;
}

h4 {
  /* font-size: 18px; */
  font-style: italic;
  line-height: 120%;
}


persName[rend="underlined"] {
  text-decoration: underline;
}

.persname {
  color: #795f62;
  cursor: pointer;
}

.index .persname {
  color: black;
}

/***mise en forme***/
.underlined,
.centered-underlined {
  text-decoration: underline;
}

.centered {
  position: relative;
  bottom: 1px;
  /* font-size: 1em; */
  line-height: 145%;
  vertical-align: middle;
  text-decoration: none;
}

.superscription {
  position: relative;
  bottom: 1px;
  /* font-size: 80%; */
  font-size: fvar(--size-sm);
  line-height: .8em;
  vertical-align: super;
  text-decoration: none;
}

.foreign {
  font-style: italic;
}


/***abbr***/
abbr {
  color: blue;

}

/*.expan {
	color:orange;
	background-color:#E0D5C1;
}*/

.am {
  color: black;
}

.ex {
  color: black;
}

/***orig***/

.orig {
  color: black;
  display: none;
}

.reg {
  color: black;
  font-weight: bold;
}


/***handShift***/


.handNote {
  /* font-family: junicode, georgia, arial, helvetica; */
  font-family: alegreya-sans-server;
  color: #926a0c;
  /* font-size: 12px; */
  text-align: center;
  margin-left: 0px;
  margin-top: 3px;
  margin-bottom: 20px;
  line-height: 100%;
}

.btn {
  font-weight: 400;
  color: black;
  text-align: center;
  cursor: pointer;
  /* font-size: 1rem; */
  line-height: 1.5;
}

.btn:hover {
  color: #ad7d72;
  ;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0px;
  vertical-align: middle;
}

.navbar-left {
  float: left;
}



li a:hover {
  /*changed accessibility*/
  color: #375e8b;
  /* color:#a0372b; */
}

#bas_de_page table {
  margin-top: 30px;
}

#bas_de_page table tr td {
  vertical-align: top;
  padding-right: 5px;
  padding-bottom: 5px;
}

#bas_de_page table tr td:first-child {
  width: 3%;
}

/* index personnes */

#alphabetFixeAut {
  position: fixed;

  text-align: center;
  top: 72px;
  z-index: 2;
  margin-left: -2px;
}


.label {
  color: #808080;
}

span.list:before {
  content: "– ";
}

span.list {
  margin-left: 40px;
}

.logos {
  margin-top: 56px;
}

.all-logos{
  display: flex;
  /* padding-top: 8px;
  margin-bottom: 20px; */
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5em;
  background: white;
  padding: 15px;
  border-radius: 10px;
}

.logos img {
  margin: 0.5em;
  /* width:100px; */
  width: 6rem;
}

img#logocaeSAR{
  width: 10rem;
}

img#logoPDN, img#logoRegion,img#logoMRSH, img#logoPPB{
  width: 4rem;
}

.title1 p {
  line-height: 30px;
}

#responsabilites .title1 p {
  line-height: 1.2;
}

.title1 {
  margin-bottom: 25px;
}

.row {
  margin-top: 20px;
}

/* .fullvolimg {
  display: block;
  position: absolute;
  right: 12%;
  text-align: center;
  color: #59314b;
} */

.fullvolimg{
  margin-bottom: 2rem;
  text-align: center;
  color: #59314b;
}

/* .fullvolimg{
  position: absolute;
  right: 1vw;
  width: 8vw;
  overflow-x: hidden;
  text-align: center;
  color: #59314b;
} */

.pbRight {
  display: inline;
  position: absolute;
  right: 40%;
  margin-right: -447px;
}

/* .pbRightadjust {
  display: inline;
  position: absolute;
  right: 40%;
  margin-right: -447px;
} */

.pbRightadjust{
  display: inline;
  position: absolute;
  right: 1vw;
  width: 8vw;
  overflow-x: hidden;
  font-size: var(--size-xs);
}

h2 .pbRightadjust{
  font-size: var(--size-4xs);
}

/*ppb Subha*/

.alphabet_liste {
  border: 1px solid #eee;
  background-color: #fcfcf7;
}

div#index .alphabet{
  position: sticky;
  top: var(--menu-height);
}

div#index .alphabet table{
  margin-left: 0;
}

#content table {
  margin-top: 20px;
  margin-left: 20px;
}

.corpus_titre {
  text-align: center;
  /* font-size: 1.5em */
}

div.index {
  min-width: 75%;
}


div.index fieldset {
  width: 100%;
  max-width: 800px;
  padding-top: 0px;
  padding-left: 20px;
  padding-bottom: 10px;
  padding-right: 60px;
  margin: 2px 2px 2px 2px;
  border: 1px solid #808080;
  border: none;
  scroll-margin-top: 10vw;
}

.index h1.pl-title {
  margin-top: 64px;
  margin-bottom: 20px;
}

fieldset {
  margin-left: 20px;
}

.index legend {
  /* font-size: 18px; */
  width: 79%;
  border-bottom: 1px solid #e5e5e5;
  margin: 10px 0px 30px 0;
  padding-left: 20px;

}

fieldset:target legend{
  background-color: #e5e5e5;
}


.index {
  /* font-size: 17px; */
  line-height: 150%;
  margin: 24px 0 0 8px;
  position: relative;
  text-align: justify;
  /* width: 650px; */
  color: #000000;
}


.pbRightadjustlist {
  display: inline;
  float: right;
  margin-right: -75px;
}

.frontispiece, .title_page {
  /* height: 150px; */
  text-align: center;
  /* margin-bottom: 100px; */
  /* display: inline-block; */
}

/* .frontispiece img{
  width: 60%;
}

.title_page img{
  width: 30%;
} */

div#lien_html p.para{
  text-align: center;
  /* font-size: 120%; */
  font-size: var(--size-lg);
  margin-bottom: 2rem;
  /* test */
  text-transform: uppercase;
  padding: 0.5em;
  border: 1px solid #59314b;
}

span.orig {
  display: none;
  position: absolute;
  background-color: #EADED9;
  /* facultatif pour la visibilité */
  bottom: 100%;
  left: 0;
  margin-bottom: 4px;
  padding: 4px 6px;
  /* font-size: 0.9em; */
  border-radius: 4px;
  border: 1px solid #ccc;
  z-index: 1;
  white-space: nowrap;
  writing-mode: horizontal-tb;

}

span.reg {
  position: relative;
  /* nécessaire pour que .orig soit positionné relativement à .reg */

}

span.reg:hover {
  color: blue;
}

span.orig:hover {
  color: blue;
}

span.reg:hover .orig {
  display: inline;
}

.sc {
  font-variant: small-caps;
  text-align: center;
  font-weight: 19px;
}

.speak .sc {
  display: inline;
}

.speak .it {
  display: inline;
}

.sc {
  /* font-family: "Old English Text MT", "Goudy Text MT", "Gothic", serif; */
  font-family: alegreya-sans-server;
  text-align: center;
  font-weight: 19px;
}

.note_ori {
  color: #604344;
  /* font-size: 14px; */
  display: block;
}

.note_ori_id {
  color: #604344;
  /* font-size: 14px; */
  display: block;
}

/* 
.illus {
  height: auto;
  text-align:center;
  margin-bottom:100px;
  width:500px;
}
 */

/*garde l'image dans le flux de texte, si aligner avec le para il faut les mêmes propriétés que les para*/
.illus {
  /* max-width: 100%; */
  width: 60%;
  height: auto;
  vertical-align: middle;
  margin: 0 10px;
  padding-bottom: 15px;
  padding-top: 15px;
}

div.figure{
  text-align: center;
  display: block;
}


.figure_rules {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 1px solid #888;
}

.figure_rules:before {
  position: absolute;
  top: -80px;
  /*étend la zone détectable par la souris*/
  bottom: -80px;
  /*étend la zone détectable par la souris*/
  background: transparent;
  /*ce qui rend la zone détectable par la souris*/
  pointer-events: auto;
}


table {
  border-collapse: collapse;
  /* espace entre les cellules et les tr */
  background-color: #EADED9;
  /*#e7e3de #f0f0f0;*/
  border: 1px solid #ccc;
  /* width: 69%; */
  width: 100%;
  /* min-width: 600px; */
  max-width: 100%;
  /* dépasse pas la largeur du conteneur parent para */
  table-layout: fixed;
  /* contrôle la largeur des colonnes */
  margin: 15px auto 18px auto;
}

.table_title {
  text-align: center;

}

td {
  min-width: 150px;
  /* ou width: 150px; la même taille partout */
  padding: 8px;
  /* espace intérieur*/
  border-right: 1px solid #ccc;
  text-align: left;
  overflow-wrap: break-word;

}


/*soit je mets table-layout auto soit je mets fixed et overflow-wrap*/
tr td:last-child {
  border-right: none;

}

.page_illus {
  height: 250px;
  text-align: center;
  margin-bottom: 100px;
}

/* a.pb img.page_num {
  height: 130px;
  position: relative;
  width: auto
} */

span.pbRightadjust a.pb img.page_num{
  object-fit: cover;
  width: 7vw;
  position: inherit;
  height: auto;
}

.pb {
  /* color:#3f1500; */
  color: #7A00A3;
  cursor: pointer;
  padding: 4px;
  /* font-size: 14px; */
}

a.pb:hover {
  text-decoration: none;
}

#text :target {
  font-weight: normal;
}

.content-wrapper {
  /* max-width: 60em; */
  /* ou 960px */
  /* margin: 0 0 0 70px; */
  margin: 0;
  /* padding: 0 3em; */
}

.content-wrapperfront {
  /* max-width: 60em; */
  /* ou 960px */
  /* max-width: 100%; */
  /* margin: 0 0 0 70px; */
  margin: 0;
  /* padding: 0 2em; */
}

.columns {
  display: flex;
  gap: 2em;
  margin-bottom: 2em;
  /* width: 69%; */
  /* min-width: 525px; */
  margin-left: auto;
  margin-right: auto;
}

.column {
  flex: 1;
  list-style: none;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  justify-content: center;
  max-width: 50%;
}

.listcolumns {
  display: flex;
  gap: 2em;
  margin-bottom: 2em;
  /* width: 69%; */
  width: 100%;
  min-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.listcolumn {
  flex: 1;
  list-style: none;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  justify-content: center;
  max-width: 50%;
}

.listcolumn:first-child {
  border-right: 1px dashed #ccc;
  padding-right: 1em;
  margin-right: 1em;
}

span ul[type="simple"] li {
  list-style-type: none;
  padding: 5px;
  /* font-size: 12px; */
}

.item-entry {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding-right: 1em;
}

.item {
  text-align: left;
  gap: 1em;
  padding-right: 1em;
  list-style-type: disc;
}

.list_poem_lines .item {
  text-align: left;
  gap: 1em;
  padding-right: 1em;
  list-style-type: none;
}

.item-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
  text-align: left;
}

.item-ref {
  white-space: nowrap;
}

li.simple_title_rubric {
  text-align: left;
}

.simple_title_rubric.item-ref {
  white-space: nowrap;
}

h2.subpart_cont.front {
  /* font-size: 20px; */
  font-size: var(--size-xl);
  text-align: center;
}

.centered-title {
  text-align: center;
}

h2.subpart_rub.front>ul>li {
  text-align: left;
  list-style: none;
  /* font-size: 16px; */
}

h2.subpart_rub {
  text-align: left;
  list-style: none;
  /* font-size: 16px; */
}

h3 {
  /* font-size: 19px; */
  margin-bottom: 10px;
  margin-top: 35px;
  line-height: 120%;
  text-align: center;

}

.keywords {
  font-style: italic;
  font-weight: bold;
  /* color: #555; */
  margin-top: 0.5em;
  text-align: left;
  /* visibility:hidden; */
}


.all-keywords {
  /* position: fixed; 
  top: 6em; */
  /* left: 2em; */
  position: sticky;
  top: 5em;
  flex-shrink: 0;
  width: 17%;
  /* width: 20vw; */
  max-height: 87vh;
  overflow-y: auto;
  /* use : qn le contenu dépasse la hauteur de l'écran, cela ajoute une barre de scrolle*/
  background-color: #e4e3d4;
  padding: 18px;
  /* font-size: 17px; */
  line-height: 145%;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  /* z-index: 999; */
  text-align: left;
  font-weight: bold;
}

/* 
.all-keywords {
  position: sticky;
  top: 120px;
  align-self: flex-start;

  width: 20vw;
  max-height: calc(100vh - 140px);
  overflow-y: auto;

  background-color: #e4e3d4;
  padding: 18px;
  font-size: 17px;
  line-height: 145%;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
}
 */

 div#volume{
  width: 68%;
  margin: 0 auto;
 }

.year {
  color: #555;
  /* font-size: 15px; */
}

.peryear {
  color: #555;
  display: block;
}


.all-keywords h2 {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 15px;
  /* width: 80%; */
  text-align: center;
  line-height: 120%;
  /* padding-left:50px; */
  font-weight: bold;
}

div#backtotab {
  position: fixed;
  bottom: 25px;
  right: 80px;
  height: 50px;
  /* font-size: 48px; */
  font-size: var(--size-2xl)
}

a.flecheHaut {
  /*changed accessibility */
  color: #1e4d7b;
  /* color: #802520; */
  border: 1px dotted black;
  text-decoration: none;
  /* font-size: 70%; */
  font-size: var(--size-2xs);
}

a.flecheHaut:hover {
  /*changed accessibility */
  color: #375e8b;
  /*  color: #7d4d69; */
  text-decoration: none;

}

.target {
  background-color: #DCC9C0;
}

.term-links {
  margin-bottom: 0.5em;
}

.kwterms {
  font-style: italic;
}

.term-links a {
  margin-right: 0.2em;
  /* font-size: 14px; */
  white-space: normal;
}

.stage_delivery {
  padding-left: 5px;
  display: inline;
}

.stage_action {
  text-align: right;
  padding-left: 5px;
}

.stage_entrance {
  text-align: center;
}

.stage_final {
  text-align: center;
}


.sppara {
  display: block;
  padding-left: 20px;
  text-align: left;
}

.sppara .speak,
.sppara .speech {
  padding: 5px;
  display: inline;
}

.spspkp .speak,
.spspkp .speech {
  padding: 5px;
  display: block;
}

.spspkp {
  display: block;
  padding-left: 20px;
}


.it {
  font-style: italic;
}

.sub {
  /* font-size: 80%; */
  font-size: var(--size-sm);
  position: relative;
  line-height: 0;
  vertical-align: baseline;
}

.sub {
  bottom: -0.25em;
}

div#index div.entries{
  margin-top: 1em;
}

p.entries {
  margin: 5px 0px 0px 0px;
  color: black;
  max-width: 40vw;
  text-align: left;
}

.resultats>h1 {
  margin-top: 25px;
  /* font-size: 22px; */
  text-align: center;
  text-decoration: underline;
}

.div-titre>h2 {
  /* font-size: 22px; */
  margin-bottom: 35px;
  margin-top: 35px;
  /* width: 70%; */
  line-height: 120%;
  text-align: center !important;
}

/*SEARCH*/

/* #recherche  */
#search-form{
  position: relative;
  min-height: 200%;
  overflow: hidden;
}

#search-form h2{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  /* font-size: 150%; */
  font-size: var(--size-3xl);
  color: #59314b;
}

#search-form img{
  min-height: 100%;
  object-fit: cover;
  width: 100%;
  opacity: 0.5;
  height: 80vh;
}

/* #recherche::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bandeau_1855old.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;

  z-index: -1;
} */


div#searchtype{
  /* margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em; */
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  /* width: 95%; */
  display: grid;
  grid-template-columns: 79% 20%;
  gap: 1%;
}

/* #searchInput {
  margin-top: 22px;
  margin-right: 30px;
  width: 400px;
  border: 2px solid gray;
  border-radius: 12px;
  height: 30px;
  background-color: #e8e3e6;
  display: flex;
  font-size: .875rem;
  height: 2.5rem;
  line-height: 1.25rem;
  position: relative;
  width: 100%;
  padding-left: 30px;
  background: transparent url(../images/loupe.png) no-repeat 8px 10px;
  background: white url(../images/loupe.png) no-repeat 8px 10px;
  background-size: 18px;
} */

#searchInput {
  border: 2px solid gray;
  /* border-radius: 12px; */
  border-radius: 8px;
  height: 2.5rem;
  line-height: 1.25rem;
  position: relative;
  padding-left: 30px;
  background: white url(../images/loupe.png) no-repeat 8px 10px;
  background-size: 18px;
}

.div-entry{
  display: none;
}

.collapsibleSearch{
  cursor: pointer;
}

.collapsibleSearch::after {
  content: "▶";
  /* font-size: 110%; */
  font-size: var(--size-lg);
  padding-left: 9px;
  display: inline;
}

.collapsibleSearch.active::after {
  content: "▼";
}

.icon {
  position: absolute;
  background: transparent url(../images/loupe.png);

}

#sendButton {
  border: 2px solid gray;
  border-radius: 8px;
  background-color: #c1b3bb;
  height: 2.5rem;
}

input:focus {
  outline: none;
}




#toc h1,
#document-toc h1 {
  margin-bottom: 50px;
  text-align: center;
  /* margin-top: 50px; */
}


/*facsimile*/

/* 
.page img {
  max-width: 100px;
  margin: 5px;
  max-height: 100px;
  width: auto;
}

.page figure {
  width: 112px;
  display: inline-block;
}
 */



/***Page de présentation***/

/* #toc {
  margin-top: 55px;
} */


h1.pl-title {
  /* font-size: 1.5em; */
  /* height: 30px; */
  text-align: center;
  font-weight: normal;
  /* background: transparent none repeat scroll 0%; */
  /* margin: 30px 0px 20px 105px; */
  /* padding: 0px 0px 0px 0px; */
  color: #802520;
  margin-bottom: 1em;
}

h1.main {
  /* font-size: 1.5em; */
  height: 30px;
  text-align: center;
  font-weight: normal;
  background: transparent none repeat scroll 0%;
  /* margin: 30px 0px 20px 105px; */
  padding: 0px 0px 0px 0px;
  color: #802520;
}

.justif_p {
  line-height: 170%;
  text-align: justify;
  width: 65%;
  /*margin-left:30px;*/
  vertical-align: top;
}

.justif p {
  text-align: left;
}

.pla-title {
  /* font-size: 22px; */
  margin-bottom: 10px;
  margin-top: 10px;
  width: 70%;
  line-height: 120%;
  color: #802520;
}

.pl-contact-title {
  border-bottom: 1px solid #999999;
  /* font-size: 26px; */
  margin-bottom: 40px;
  margin-top: 10px;
  /* width: 70%; */
  line-height: 120%;
  color: #802520;
  text-align: center;
}

#responsabilites .pl-title {
  margin-bottom: 13px;
}

.sub_title {
  /* font-size: 22px; */
  line-height: 170%;
}

figcaption {
  font-style: italic;
  /* font-size: 0.9em; */
  font-size: var(--size-xs);
  color: #555;
  margin-top: 4px;
}

details>summary {
  color: #503834;
}

details[open]>summary {
  color: #802520;
}

.img_decoAc {
  float: right;
  width: 400px;
  margin: -30px;
}

h2.pl-title2_left {
  /* font-size: 1.1em; */
  line-height: 40px;
  text-align: left;
  font-weight: bold;
  background: transparent none repeat scroll 0%;
  color: #802520;
}

.pl-title2 {
  /* font-size: 1.1em; */
  line-height: 40px;
  text-align: left;
  font-weight: bold;
  background: transparent none repeat scroll 0%;
  color: #802520;
}

.pl-title3 {
  /* font-size: 1.1em; */
  line-height: 40px;
  text-align: left;
  margin-top: 8px;
  font-weight: normal;
  background: transparent none repeat scroll 0%;
  color: #802520;
}

.images {
  display: flex;
  gap: 30px;
  /* justify-content: center; */
}



.fig {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.figHP {
  width: 70%;
  /* max-width: 400px; */
  height: auto;
}

.images_banners {
  display: block;
  /* gap:30px; */
  gap: 30px;
  text-align: center;
}

.caption_author {
  font-style: italic;
  text-align: left;
  margin-bottom: 30px;
}

/*home page*/

.book-list {
  /* display: flex;
  flex-wrap: nowrap; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 3em;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto; /* scroll horizontal si trop d'éléments */
}

div.book-list-fac{
  margin-top: 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  list-style: none;
  padding: 0;
  overflow-x: auto; /* scroll horizontal si trop d'éléments */
}

.book-item {
  /* flex: 0 0 auto; */
  text-align: center;
  /* width: 250px; */
  list-style: none;
  /* font-size: 14px; */
  font-weight: 500;
}


.img_book {
  width: 100%;
  /* max-height: 200px; */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75em;
  height: 90%;

}

.img_book_fac{
  max-height: 80%;
  object-fit: cover;
  border-radius: 8px;
}

.book-title {
  margin-top: 0.75em;
  margin-left: 1em;
  /* font-size: 14px; */
  font-weight: 500;
}

/*index citation*/
.citation {
  font-style: italic;

}

.sign {
  font-style: italic;
  text-align: right;
}

#p1 {
  display: none;
}

#pi {
  display: none;
}

footer {
  background-color: #f6f1e9;
  color: #333333;
  /* font-size: 12px; */
  height: 0.3em;
  clear: both;
  width: 100%;
  vertical-align: middle;
  text-align: center;
  padding: 6px 0px 20px 240px;
  /* font-family: "Arial", "Helvetica", sans-serif; */
  font-family: alegreya-sans-server;
  border-top: 1px dotted gray;
  display: none;
}

label[for=keywords]{
  display: none;
}

/* @media all and (max-width: 1150px) {
  main#main-max-container{
    width: 90vw;
    max-width: 90vw;
    padding: 1rem !important;
  }

  main#main-max-container.full-volume{
    margin: 0;
    padding-top: 16px;
  }

  .img_book_fac{
    max-height: 75%;
  }
  div#text table, div#text .listcolumns{
    width: 100%;
    min-width: fit-content;
    max-width: 100%;
  }

  div#backtotab{
    right: 1vw;
  }
} */

/* @media all and (max-width: 750px) { */
@media all and (max-width: 65rem) {
  main#main-max-container{
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 1rem !important;
  }

    main#main-max-container.full-volume{
    margin-top: 16px;
  }

  div#text{
    padding-right: 2em;
  }

  div.all-keywords
  {
    display: none;
    z-index: 999;
    position: fixed;
    width: 96%;
    top: 2.5em;
  }

  label[for=keywords]{
  display: block;
  position: fixed;
  left: 0;
  font-size: 30px;
  background: #c9c9c9;
  padding-right: 8px;
  }

  div#volume{
    width: 97%;
  }

  /* div#text div#volume{
    width: 60vw;
  } */

  div#backtotab{
    right: 1vw;
  }

  .listcolumns{
    min-width: auto;
  }

  .alphabet_liste td{
    border-right: none;
    padding: 0;
  }

  div.index{
    min-width: auto;
  }

  div.index fieldset{
    max-width: 97%;
    padding: 0;
  }

  .pbRightadjust{
    font-size: var(--size-3xs)
  }

  div#volume table{
    font-size: var(--size-3xs);
  }

  #search-form img{
    height: auto;
    opacity: 0.5;
    margin-top: 1em;
  }

  .figHP {
  width: 100%;
  }

  .book-list{
    gap: 0;
  }

  #toc h1{
    margin-bottom: 0;
  }

  .conteneurInfobulle{
    left: initial;
    width: 85vw;
  }
}