/* css Estrades A NETTOYER  */
@import url('estrades/template.css');
@import url('estrades/header.css');
@import url('estrades/fonts.css');
@import url('estrades/classes.css');
@import url('estrades/texte.css');
@import url('estrades/images.css');
@import url('estrades/listes.css');
@import url('estrades/notes.css');

@media print { 
 /* All your print styles go here */
 #header, footer, #nav, #page-background, #sommaire{ display:none; } 
}

@media screen and (max-width: 915px){
  footer #logos div img {
    height: 30%;
  }
}

body {
  font-size: 1.3rem;
  font-family : "Times New Roman";
  text-align: justify;
  line-height: 1.5;
}


td {
padding-right: 1em;
padding-left: 1em;
}


/* ecrasement bootstrap*/
.table td{
  border-top : 0;
}


#wrapper header a{
  color  : #ffffff;
}

.max-lang.selected a{
  font-weight:bold;
}

button.btn.dropdown-toggle, #txt_options{
  padding : 0;
} 


.bgcolor{
  background: linear-gradient(60deg, #9B2D29 50%, #9B2D29 100%);
  border: solid 1px;
}


/* Titre principal dans le bandeau du haut */
#id-site h1 {
  font-size: 2rem;
  margin: 0;
  color:whitesmoke;
}
#id-site h2 {
  font-size: 1.8rem;
  margin: 0;
  color:whitesmoke;
}

/* Fin */


.footnote, .footnote p{
  font-family : "Times New Roman";
}

#page-texte #introduction{
  font-family : "Times New Roman";
}

/* boutons de navigation du menu du haut */

a.nav-link {
  color: whitesmoke;
}

.nav-link:hover, .nav-link:focus {
  color: whitesmoke;
}

li.nav-item {
/*padding-left: auto;
padding-right: auto;*/
}

li.nav-item:hover {
background-color: #0076D8;
}

#menu-principal .nav-link {
  padding-left: 0;
  padding-right: 0;
  margin: 0px 8px 0px 8px;
}

/* Fin */

div.page p {
  text-align: justify;
  text-indent: 1%;
}

/* gestion de la page d'accueil */

#accueil li {
  text-align: justify;
}

#accueil img{
border: 3px solid #005aa5;
margin:auto;
width:800px;
}

/* Fin */

.abrv {
font-size: larger;
font-weight: bolder;
padding-right: 1em;
}


#abreviations ul {
list-style-type:none;
margin-top: 1em;
}

/* TITRES des .pages */


.page h1 {
font-size: 2rem;
border: 1px solid black;
border-top-right-radius: 2%;
padding: 10px;
margin: 0 0 1em 0;
}

#index h1{
font-size: 2.5rem;
text-align:center;
border:none;
}

.page h2  {
border-left: solid 1px;
padding: 0em 0.2em 0em 0.2em;
margin : 1em 0 0.5em 0;
font-size: 1.3em;
}

.page h3  {
margin : 1em 0 0 0;
font-style : italic;
font-size: 1.2em;
text-indent: 1%;
}

.page#alignement h2 {
  padding : 5px 0;
  font-family: "JuniusVF", "Times New Roman", serif;
  font-weight : 500;
  font-size : 1.5rem;
  border: none;
}

.page#alignement p{
  margin-bottom : 0;
  padding : 5px 0;
  font-family: "JuniusVF", "Times New Roman", serif;
  font-weight : 500;
  font-size : 1.2rem;
} 




/* fin */

/* illustrations */
.page img {
  border: 3px solid #005aa5;;
display: block;
margin : auto;
width:800px;
}

/* fin */

/* BOUTONS de redirection (transcription, leçons, etc.) de l'édition */
#presentation ul:first-of-type{
  width:100%;
  height:auto;
  list-style:none;
  padding:0;
}

#presentation ul:first-of-type li {
padding: 15px;
margin:1%;
background: #ffffff;
border-radius: 4px;
font-size: 1.1rem;
letter-spacing: 1.5px;
background-color: #005aa5;
text-align: center;
width:31%;
display:inline-block;
}

#presentation ul:first-of-type li a {
  color: white;
  font-weight: bold;
  width: 100%;
}

#presentation ul:first-of-type li a:hover {
  color: grey;
  width: 100%;
}



/* Fin */

/* Menu des langues */


.i18n-menu {
  padding-left: 2px;
}

.i18n-menu::before
{ 
  color:whitesmoke;
  border-color:whitesmoke;
}

.i18n-menu li {
display: inline-block;
padding-left: 10px;
cursor: pointer;
color: #fff;
}

.i18n-menu li a{
  color:whitesmoke;
}

.i18n-menu li a:hover {
  color: #666;
}

.i18n-menu li.selected{
  color: #333;
}

.i18n-menu li:not(:last-child)::after 
{ color : whitesmoke;}


/* Fin */



/* LEGENDE des images */

figcaption {
    font-size: smaller;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
    margin-bottom: 1em;
}


/* Fin */

/* gestion des logos de la page partenaires : attention le comportement est très tricky en fonction des navigateurs ! */

#team #logos + p{
        text-align: center;
}

#team #logos + p img{
        height : 70px;
        width:auto;
        border:none;
        float: none;
        display:inline-block;
        margin:10px;
}
/* Fin */

/* Titre H1 de la page d'accueil */

#accueil > h1 {
  text-align: center;
  margin-bottom: 1em;
}

/* Fin */

/* gestion particulière du comportement de l'adresse de la page Contact */

div.adresse p {
  text-align: justify;
  text-indent: unset;
}

/* Fin */

/* justification des textes pour l'alignement */

#alignement .align-right,
#alignement .align-left {
  padding-left: 20px;
  text-align: justify; 
}

/* fin */

/* affichage des FOLIO <pb> en petit */
.pb {
  font-size: small;
}

/* fin affichage folios */



/* navigation vers les ANCRES, permet d'ajuster la hauteur du bandeau en fonction des éditions */
.anchor {
  display: inline-block;
height: 100px;
margin-top: -100px;
visibility: hidden;
}

/* fin */

/* sub-menu des différentes éditions, accessibles depuis la barre de navigation */
#menu-principal ul.dropdown-menu li{
  position: relative;
}

#menu-principal ul.dropdown-menu li ul.dropdown-submenu{
  position: absolute;
  top:0;
  border-radius: 0 3px 3px 0;

}

.dropdown-menu,  #menu-principal .navbar{
   background-color: #9B2D29;
}

ul.dropdown-submenu li a {
  color: #0076D8;
}

ul.dropdown-submenu li a:hover {
  color: black;
}
/* fin */

/* affichage des NOTES MARGINALES, en petit à la fin des chapitres si présents */

div.notes {
  display: block;
margin-top: 1em;
font-size: 0.9rem;;
font-style: italic;
}

/* fin */

  /* début COLOPHON */

#colophon h1 {
  margin-bottom: 30px;
}

#colophon div > p{
    margin-left: 20px;
}

#colophon div + div {
  margin-top: 20px;
}

/* fin colophon */

/* début CONTACTS */

#contacts ul {
list-style-type: none;
}

/* fin */

/* permet de faire apparaître le SUBMENU des Traductions dans le menu */

.dropdown-submenu{
    display:none;
    position: absolute;
    top: 9px;
    left: 158px;
    background-color: #f8f9fa;
    right: -80px;
    list-style-type: none;
    border-radius: 3px;
    border: solid 1px lightgray;
    padding-left: 15px;
}

.dropdown-menu > li:hover > .dropdown-submenu{
  display:block;
}

#versions #vLangues, #episodes #eChapitres{
  padding:8px;
}

/* fin  */

/* permet de créer l'effet de triangle à côté du menu Traductions */

#traduction::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: 0.01em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}

/* Fin */

/* couleurs des boutons pour la navigation des versions et des chapitres des éditions */

a  {
  color: #890400;
}

/* Fin */

#page-image img{
  width:100%;
  height:100%;
  z-index:1;
}

.test{
  
}

/***********************************************************/

/* css edition Arthur*/

      #contenu {
        max-width: 800px;
        margin: auto;
        padding: 10px;
      }

      #contenu .logo {
        width: 120px;
        border-radius: 60px;
        /* filter: drop-shadow(2px 4px 6px black); */
      }

      #contenu hr.wavy {
        max-width: 300px;
        border-style: dashed;
      }

      #header{
        text-align:center;
      }

      #main {
        text-align: center;
      }

      [lang="de"] {
        font-style: italic;
      }

      .titles {
        margin: 20px 0;
        letter-spacing: 5px;
      }

      h1,
      h2 {
        margin: 0;
      }

      h1 {
        text-transform: uppercase;
      }

      .top-dates {
        margin: 20px 0;
        display: flex;
        justify-content: space-around;
      }

      .encart {
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        padding: 3px 0;
      }

      article {
        display: flex;
        justify-content: space-between;
        gap: 20px;

        section {
          flex: 1;
        }
        p {
          text-align: justify;
        }
      }

      blockquote{
        text-align: justify;
      }

      .right{
        text-align:right;
      }


/* compléments pour reset bootstrap */
      #contenu{
        font-size:0.9em;
      }

      #contenu hr.wavy {
        max-width: 300px;
        border: 1px dashed #000;
        /* reset bootstrap */
        margin:8px auto;
      }

      #contenu h1{
        font-weight:bold;
        font-size:1.3em;
      }

      #contenu h2{
        font-weight:bold;
        font-size:1.2em;
      }

      #contenu h3{
        font-weight:bold;
        font-size:1.1em;
        margin:15px 0;
      }

      ul.nostyle{
        text-align: justify;
        list-style: none;
        padding:0;
      }


/* page index */

.index{
  column-count: 4;
}

.indexList h1{
  font-weight:bold;
  font-size:1.3em;
  margin:15px 0;
}

.indexList h2{
  font-weight:bold;
  font-size:1.2em;
  margin:15px 0;
}

.indexList h3{
  font-weight:bold;
  font-size:1.1em;
  margin:15px 0;
}


/* options dans le texte */
#contenu nav{
  text-align:center;
  margin-bottom:20px;
}

#contenu a{
  text-decoration : none;
  color:black;
}

.visible{
  color:#9B2D29;
}

#contenu .visible a, #contenu a.visible{
  color:#9B2D29;
  text-decoration: underline;
}

.normal{
  color:black;
}

.break{
  display:block;
}

.no-break{
  display:inline;
}

.superscript{
  font-size:0.7em;
  margin-top:-10px;
}

#contenu label{
  margin-left:5px;
  margin-right:10px;
}

#contenu input:not(:first-child){
  margin-left:10px;
}

.highlight{
  background-color: #999;
}

.renvoisIndex{
  margin:0 5px;
  display:bloc;
}