/* Gris-brun : #3c332e
 * Gris moyen : #998f88
 * Rouge : #cc0000 ou #e2021c ou #e1021f
 * Fond : #f6f6f6
 */

/* @import url('https://fonts.googleapis.com/css?family=Oswald'); */

html {
   font-size: 16px;
}

body {
   line-height: 1.5;
   color: #000;
   background: #f6f6f6;
   font-family: Arial, Helvetica, sans-serif;
   margin-bottom: 0;
}

a:hover {
   background-color: transparent;
   color: black;
   text-decoration: underline;
}

#moteur_wrap {
   display: flex;
   max-width: 72rem;
   margin: 0 auto;
   flex-direction: row-reverse;
   padding: 0;
   box-shadow: 0 1.2em 1em #ccc;
}

.top-banner-inside {
   max-width: 72rem;
   margin: auto;

   flex-direction: row-reverse;
   justify-content: space-between;
}

.top-banner .mrp-titre {
   font-size: 2.2em;
   text-align: left;
   border-left: .3em solid #e1021f;
   border-radius: 2em;
   padding: .6em;
   text-shadow: 0 0 1em #000;
}

.top-banner .mrp-titre a {
   transform: rotate(-1deg);
   padding-left: 1.6em;
   text-indent: -1em;
}

.top-banner, #div_moteur_gauche {
   background-color: #3c332e;
}

.top-banner {
   background-image: linear-gradient(to right, #2e2723 20%, #3c332e 80%);
}



#div_moteur_gauche {
   flex-basis: 22.5em;
   flex-shrink: 0;
   float: none;
   margin-bottom: 0;
   color: white;
}

#div_moteur_droite {
   margin-left: 0;
   flex-grow: 1;
   flex-shrink: 1;
}

#div_moteur_droite, #div_moteur_spo, #div_moteur_resultat {
   background: #f6f6f6;
}

.mrp-titre {
   text-align: center;
}

.mrp-titre a {
   /* font-family: Oswald, sans-serif; */
   font-style: normal;
   color: #e1021f;
}

.mrp-titre a:hover {
   background: none;
   color: #ccc; /* #fd1e3b */
   text-decoration: none;
}

.texte_boitier, .c_moteur_tournee {
   color: #c00;
}

#div_titre_saisons {
   margin-top: 1em;
}

#div_moteur_titre_resultat {
   font-weight: bold;
   background: #998f88;
}

.fiche__titre, .fiche__sous-titre {
   font-family: /* Oswald, */ Verdana, Arial, sans-serif;
}

#ouvrirBoitier {
   color: #3c332e;
}

.bouton_resultat, .bouton_resultat:hover {
   font-family: sans-serif;
   font-size: 17px;
   height: 2rem;
   width: 2rem;
   position: relative;
   margin: 0;
   margin-right: .5em;
   background-image: none;
}

.bouton_resultat::after {
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    content: "\2212";
    background-color: #c00;
    font-weight: bold;
    line-height: 2rem;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.closed .bouton_resultat::after {
   content: "+";
}

/* Onglets */

.onglets__onglet {
   margin-right: 0;
   border: 1px solid #808080;
   border-bottom: none;
   border-left: none;
   background: transparent;
   padding: .9em;
   font-weight: bold;

   color: #000;
   text-decoration: none;
}

.onglets--reprises .onglets__onglet {
   padding: .3em .5em;
}

.onglets__onglet--first {
   border-left: 1px solid #808080;
}

.onglets__onglet--on, .onglets__onglet:hover, .onglets__onglet--on:hover {
   color: #998f88;
   background: initial;
   text-decoration: none;
}

#autres_documents,
#documents_disponibles {
   display: block;
   clear: both;
}

#div_moteur_telechargement a:hover {
   color: inherit;
}

@media screen and (max-width: 59em) {
   #moteur_wrap {
      flex-direction: column;
   }

   #div_moteur_gauche {
      width: auto;
      flex-basis: auto;
   }

   .top-banner {
      background-image: none;
   }

   .top-banner .mrp-titre {
      border: none;
   }

   .top-banner .mrp-titre a {
      text-indent: 0;
      padding-left: 0;
      text-align: center;
   }

   .top-banner-inside {
      flex-direction: column !important;
   }
}

/* Accueil et pages statiques */
.page-statique {
   padding: 2rem;
}

.retour-accueil {
   font-size: 1.1em;
}

.page-statique figure {
   text-align: center;
   margin: auto;
}
.page-statique img {
   max-width: 100%;
   height: auto;
}
.page-statique h2 {
   margin-top: 2em;
}

.presentation-accueil {
   margin: -2rem -2rem 2rem; /* Correspond à padding .page-statique */
   padding: 1rem;
   background: url(img/halle1.jpg) #3c332e;
   background-size: cover;
   font-size: 1.1em;
   color: white;
   text-shadow: 0 0 .2em #000;
}

.presentation-accueil p {
   padding: 1rem;
   background: rgba(0, 0, 0, .75);
}

.img-halle img {
   max-width: 35rem;
}

.img-halle {
   text-align: center;
}

.lien-img-accueil {
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
   align-items: center;
   max-width: 30rem;
   min-height: 13em; /* 16rem */
   margin: 2em auto;
   border: 1px solid #808080;
   background-size: cover;
   background-position: center;
   background-color: #808080;
   color: white;
   text-align: center;
   font-size: 1.5em;
   box-shadow: 0 0 1em #ccc;
   text-shadow: 0 0 .2em #333;
}

.lien-img-accueil:hover {
   color: white;
   text-decoration: none;
   opacity: .8;
}

.lien-img-accueil--ah-ec {
   background-image: url(img/adel-hakim-elisabeth-chailloux.jpg);
}

.lien-img-accueil--avant {
   background-image: url(img/mosaique-avant1992.jpg);
   min-height: 17em; /* 21rem */
   background-position: top center;
   background-color: #111;
}

.lien-img-accueil--avant:hover {
   background-color: #111;
}

.lien-img-accueil__texte {
   width: 100%;
   background-color: rgb(60, 51, 46, .85);
   padding: .5em;
}

.lien-img-accueil__sous-texte {
   font-size: .8em;
}

.gallery__label::before {
   content: "Photos";
}

.retour-accueil::before {
   content: "« ";
   font-size: 1.0em;
}

.soustitre-dates {
   font-weight: normal;
   font-size: 1.1rem;
}

.plus-d-infos {
   font-style: italic;
   font-size: .9em;
   margin-top: 1em;
   padding-top: 1em;
   border-top: 1px solid #ccc;
}

@media screen and (min-width: 35em) {
   .photo-directeur {
      float: right;
      padding-left: 1em;
   }
}
