.resource-link img {
    min-width: 45px;
    min-height: 45px;
  }
  
  .page-content {
    padding: 0;
  }
  
  .site-title {
       font-size: 1.4em;
      margin: 20px; 
      background-color: transparent;
  }
  
  .site-header a{
      color: #3e4d78;
  }
  
  .site-nav a  { 
    color: #3e4d78;
  }
  
  .navigation { 
    font-size: 1.2em;
  }
  
  
header nav ul.navigation {
    justify-content: center;
}

  a {
    color: #4171c4; /* navy link color */
    text-decoration: none; /* remove underline */
    transition: color 0.3s ease-in-out; /* smooth transition effect */
  }
  
  a:hover {
    color: #87CEEB; /* sky blue on hover */
  
  }
  
  .container { /*article personnage cle*/
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px;
    font-family: 'Georgia', serif; /* serif font for a classic look */
    font-size: 1em;
    color: #564E43; /* dark brown text */
    text-align: justify;
  }
  
  .container2 { /*credit*/
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 20px;
    font-family: 'Georgia', serif; /* serif font for a classic look */
    font-size: 1em;
    color: #564E43; /* dark brown text */
    text-align: justify;
  }
  
  .container3 { /*partenariat*/
    text-align: center;
  }
  
  .co-glossaire { /*centrer*/
      max-width: 900px; 
      font-size: 1.0em;
      margin: 0 auto; 
  }
  
  .oeuvre { /*description oeuvre personnage cle*/
    max-width: 600px; 
    margin: 0 auto; 
    padding: 0 20px;
    font-size: 0.9em;
    color: gray;
  }
  
  .biblio { /*biblio en bas de page*/
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 20px;
    font-size: 0.9em;
    text-align: left;
    color: #564E43;
  }
  
  /*Description dans la liste de resultat de quête*/
   .description{
      max-height:90px;
      overflow:hidden;
      position:relative}
  
  .description:after{
      content:"";
      position:absolute;
      top:52.5px;
      left:0;right:0;height:37.5px;
      background:linear-gradient(to top, #EDEAEA, rgba(248, 248, 248, 0))
  }
  
  
  h1 {
      text-align: center;
      font-family: Baskerville, serif;
      font-size: 1.5em;
  }
  
  h2{
      text-align: center;
      font-family: 'Georgia', serif; 
      padding: 30px  0  0 0;
     margin-bottom: 0px
  }

  .wrapper h3 {
       display: none;
      text-align: center;
      font-family: 'Georgia', serif; 
  }

  li {
     font-family: Baskerville, serif;
      margin-left: 30px;
  }

  /*Bulle navigation*/
  ul, ol {
      margin-left: 30px;
  }
  
  li > ul,
  li > ol {
    margin-bottom: 0;
  }
  
  .blocks {
    max-width: 1500px;
    margin: auto;
  }
  
  .blocks ul {
      display: none;
  }
  
  
  ul {
      display: block;
      list-style-type: disc;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
      padding-inline-start: 40px;
  }
  
/*Bulle grid*/
  .blocks ul:first-child {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      column-gap: 1rem;
      row-gap: 1rem;
      list-style: none;
      margin-left: 8%;
      margin-right: 10%;
      margin-top: 3.5%;
      min-height: 50px;  }
  
  .blocks li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .blocks li > a {
      font-family: Garamond bold;
      font-size: 25px;
      text-align: center !important;
      border-radius: 0.5rem;
      min-height: 200px;
      max-height: 200px;
      width: 100%;
      padding-top: 70px;
      padding-right: 4%;
      padding-left: 4%;
    }
  
    .blocks li a:hover{
        opacity: 0.7;
        filter: brightness(100%)
        }
        

   /*Conception chaque bulle*/ 
  .blocks li a[href="/s/la-censure-de-fenelon/page/context"] {
    background: url(/themes/paperma/asset/img/thumbnails/Maximes.jpeg);
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    background-size: cover;
    font-size: 22px !important;
    color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/manuscrit"] {
    background: url(/themes/paperma/asset/img/thumbnails/Manuscrit.jpg);
    background-size: cover;
     color: white;
     text-shadow: 1px 1px grey !important;
    font-size: 22px !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/glossaire"] {
  background:url(/themes/paperma/asset/img/thumbnails/laTrinitedeMonts.jpg);
    background-size: cover;
    color: white;
    font-size: 22px !important;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/personnage-cles"] {
    background: url(/themes/paperma/asset/img/thumbnails/FenelonGallica.jpg);
    background-size: cover;
    color: white;
    font-size: 22px !important;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/signataires"] {
    background: url(/files/asset/ce7f36783e3244bd961266a37d16334a20da5d83.jpg);
    background-size: cover;
    color: white;
    font-size: 22px !important;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/chronologie"] {
    background: url(/themes/paperma/asset/img/thumbnails/chronothum.jpg);
    background-size: cover;
    font-size: 22px !important;
    color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/Paris_censure"] {
    background: url(/themes/paperma/asset/img/thumbnails/Diocèse_de_Paris.jpg);
    background-size: cover;
     color: white;
     text-shadow: 1px 1px grey !important;
    font-size: 22px !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/quietisme"] {
    background: url(/themes/paperma/asset/img/thumbnails/Quietisme.jpg);
    background-size: cover;
     color: white;
     text-shadow: 1px 1px grey !important;
    font-size: 22px !important;
  }
  
  /*personnages clés thumbnail*/
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/fenelon"] {
    background: url(/themes/paperma/asset/img/thumbnails/FenelonGallica.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/bossuet"] {
    background: url(/themes/paperma/asset/img/thumbnails/BossuetGallica.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/noailles"] {
    background: url(/themes/paperma/asset/img/thumbnails/Noailles.jpeg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/madame_guyon"] {
    background: url(/themes/paperma/asset/img/thumbnails/Guyon.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/innocent_xii"] {
    background: url(/themes/paperma/asset/img/thumbnails/Innocent_XII.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/bouillon"] {
    background: url(/themes/paperma/asset/img/thumbnails/Bouillon.jpeg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/clement_xi"] {
    background: url(/themes/paperma/asset/img/thumbnails/Albani.JPEG);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/gabriel-de-la-cropte-de-chanterac"] {
    background: url(/files/asset/ce7f36783e3244bd961266a37d16334a20da5d83.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/madame_de_maintenon"] {
    background: url(/themes/paperma/asset/img/thumbnails/Maintenon.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/charles-honore-d-albert"] {
    background: url(/themes/paperma/asset/img/thumbnails/Chevreuse.jpeg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/paul-godet-des-marais"] {
    background: url(/themes/paperma/asset/img/thumbnails/Marais.jpeg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/louis-tronson"] {
    background: url(/themes/paperma/asset/img/thumbnails/Tronson.jpeg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/roslet"] {
    background: url(/files/asset/ce7f36783e3244bd961266a37d16334a20da5d83.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }
  
  .blocks li a[href="/s/la-censure-de-fenelon/page/abbe-jean-phelypeaux"] {
    background: url(/files/asset/ce7f36783e3244bd961266a37d16334a20da5d83.jpg);
    background-size: cover;
    font-size: 22px !important;
     color: white;
    text-shadow: 1px 1px grey !important;
  }

  /*Ajustement contenus*/
  .content{
     font-family: Baskerville, serif;
  }
  
  .advanced-search-content{
      margin-left: 11%;
      margin-right: 10%;
  }
  
  #page-actions{
      text-align:center
  }
  
  .file {
    margin-top: 0rem; 
  }
  
  /*Chronologie taille*/
  iframe{
    width: 1400px;
    height: 550px;
    border: 0
  }
  
/*button*/

  .original-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #000000;
  font-size: 15px;
  border-radius: 10px;
  width: 200px;
  height: 40px;
  border-bottom: 5px solid #b46436;
  transition: 0.3s;
  background-color: #68b1c8;
  }
  
  .original-button:hover {
  border-bottom-width: 0;
  transform: translateY(5px);
  }
  
  .button, .resource-list.preview + a {
  display: inline-block;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  }
  
  /* glossaire liens */
  a.notion{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  a.notion::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #bbbbbb;
    transition: 0.2s ease 0s;
  }
  
  a.notion::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #bbbbbb;
    transition: 0.2s ease 0.2s;
  }
  
  a.notion:hover::before {
    width: 0%;
  }
  
  a.notion:hover::after {
    height: 0%;
  }
  
  a.notion:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
  
  
  /* etablissement liens */
  a.etabli{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  
  a.etabli::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #d22da1;
    transition: 0.2s ease 0s;
  }
  
  a.etabli::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #d22da1;
    transition: 0.2s ease 0.2s;
  }
  
  a.etabli:hover::before {
    width: 0%;
  }
  
  a.etabli:hover::after {
    height: 0%;
  }
  
  a.etabli:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
  
  
  /* personnage liens */
  a.person{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  
  a.person::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #33bd7f;
    transition: 0.2s ease 0s;
  }
  
  a.person::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #33bd7f;
    transition: 0.2s ease 0.2s;
  }
  
  a.person:hover::before {
    width: 0%;
  }
  
  a.person:hover::after {
    height: 0%;
  }
  
  a.person:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
  
  /* terme théologique liens */
  a.theologie{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  
  a.theologie::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #5588d5;
    transition: 0.2s ease 0s;
  }
  
  a.theologie::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #5588d5;
    transition: 0.2s ease 0.2s;
  }
  
  a.theologie:hover::before {
    width: 0%;
  }
  
  a.theologie:hover::after {
    height: 0%;
  }
  
  a.theologie:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
  
  
  /* ouvrage liens */
  a.ouvrage{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  a.ouvrage::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #ffd451;
    transition: 0.2s ease 0s;
  }
  
  a.ouvrage::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #ffd451;
    transition: 0.2s ease 0.2s;
  }
  
  a.ouvrage:hover::before {
    width: 0%;
  }
  
  a.ouvrage:hover::after {
    height: 0%;
  }
  
  a.ouvrage:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
  
  
  a.event{
      background: white;
      border-radius: 3px;
      position: relative;
      display: inline-block;
      vertical-align: bottom;
      font-size: 1.1em;
      margin: 0 auto;
      width: 295px;
      height: 70px;
      padding: 20px 20px;
      color: #38302c;
      transition: 0.3s ease-in-out;
      font-weight: 500;
      font-family: Garamond bold;
  }
  
  a.event::before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: -7px;
    width: 100%;
    height: 2px;
    background-color: #e85b5b;
    transition: 0.2s ease 0s;
  }
  
  a.event::after {
    content: '';
    position: absolute;
    top: 7px;
    right: -7px;
    width: 2px;
    height: 100%;
    background-color: #e85b5b;
    transition: 0.2s ease 0.2s;
  }
  
  a.event:hover::before {
    width: 0%;
  }
  
  a.event:hover::after {
    height: 0%;
  }
  
  a.event:hover {
    text-decoration: none;
    background-color: #ccc;
    color:  black;
  }
