@font-face {
    font-family: 'Luciole';
    src: url('../fonts/luciole/Luciole-Regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/luciole/Luciole-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/luciole/Luciole-Regular.woff') format('woff'), /* Modern Browsers */
         url('./fonts/luciole/Luciole-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/luciole/Luciole-Regular.svg#Luciole-Regular') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'ITCAvantGardeStd-MdCn';
    src: url("../fonts/ITCavantGardeStd/ITCAvantGardeStd-MdCn.eot?") format("eot"), url("../fonts/ITCavantGardeStd/ITCAvantGardeStd-MdCn.ttf") format("truetype"), url("../fonts/ITCavantGardeStd/ITCAvantGardeStd-MdCn.woff") format("woff"), url("../fonts/ITCavantGardeStd/ITCAvantGardeStd-MdCn.svg#ITCAvantGardeStd-MdCnBold") format("svg");
    font-weight: normal;
    font-style: normal; }
  @font-face {
    font-family: 'ITC Avant Garde Gothic Std Demi Condensed';
    src: url("../fonts/ITCavantGardeStd/ITCavantgardestd-demicn.eot?") format("eot"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-demicn.ttf") format("truetype"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-demicn.woff") format("woff"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-demicn.svg#ITCavantgardestd-demicnBold") format("svg");
    font-weight: normal;
    font-style: normal; }
  @font-face {
    font-family: 'ITCAvantGardeStd book condensed';
    src: url("../fonts/ITCavantGardeStd/ITCavantgardestd-bkcn.eot?") format("eot"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-bkcn.ttf") format("truetype"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-bkcn.woff") format("woff"), url("../fonts/ITCavantGardeStd/ITCavantgardestd-bkcn.svg#ITCavantgardestd-bkcnBold") format("svg");
    font-weight: normal;
    font-style: normal; 
}

@font-face {
    font-family: 'Angleterre book';
    src: url("../fonts/angltrr.eot?") format("eot"), url("../fonts/angltrr.ttf") format("truetype"), url("../fonts/angltrr.woff") format("woff"), url("../fonts/angltrr.svg#angltrrBold") format("svg");
    font-weight: normal;
    font-style: normal; }

html {
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    padding: 0;
    padding-bottom: 5em;
    min-height: 100%;
    margin: -20px 0 0 0;
    min-height: 100%;
    width: 100%;
    /* font-family:"Luciole","Liberation Serif","serif"; */
    font-family: 'Angleterre book', georgia, times, serif;
}

div {
    display: block;
}

h1, h2, h3, h4, h5, h6, .contentheading, .componentheading {
    padding: 3px 0;
    margin: 0;
    line-height: 1.2;
    font-weight: bold;
    font-style: normal;
  }

/* p {
    font-size: clamp(18px, 4vmin, 24px);
} */

nav {
    /* font-family: "ITCAvantGardeStd-MdCn"; */
    display: flex;  
    padding: 0; 
    /* margin-top: 8.5%; */
}

nav ul {
    display: flex;
}

nav a {
    display:block;
    color: #333;     
    /* font-size: clamp(10px, 0.9em, 14px);             */
    text-decoration: none;
}

nav > ul li:hover .sousmenu {
    display: block;
}
/* nav > ul li:hover {
    display: block;
} */

#entete {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background-color: #edeee8;
    color: #222;
}

#logo {
    margin-top: 20px;
    margin-left: 6%;
    margin-bottom: -20px;
}

#menu-principal {
    align-items: center;
    margin-right: 14%;
    text-transform: uppercase;
    margin-top: 20px;
    font-family: "ITCAvantGardeStd-MdCn";
}

#menu-principal ul {
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

#menu-principal li {
    list-style-type: none ;       /* Suppression des puces */ 
    /* border-top: solid; */
}

#menu-principal li:first-child {
    border-top: solid;
    border-width: 1px;
}

#menu-principal li:nth-child(2) {
    border-bottom: solid;
    border-left: solid;
    border-top: solid;
    border-width: 1px;
}

#menu-principal li:nth-child(3) {
    /* border-bottom: solid; */
    border-top: solid;
    border-width: 1px;
}

#menu-principal li:nth-last-child(-n+3) {
    border-bottom: solid;
    /* border-top: solid; */
    border-width: 1px;
}

#menu-principal li:last-child {
    border-right: solid;
    border-bottom: solid;
    /* border-top: solid; */
    border-width: 1px;
}

#menu-principal a {
    min-width: 8vmax; 
    margin: 0.5rem;
    padding: 0.4rem 0;
    text-align: center; 
    font-size: clamp(8px, 0.9em, 20px);
}

#menu-principal ul li a:hover {
    background-image: url("../img/souligne.png");
    /* font-weight: normal; */
    background-repeat: no-repeat;
    background-position: center; 
}

#menu-principal .page-courante a {
    font-weight: bold;
}

#menu-principal li.factice {
    max-width: 3vmax;
    margin-top: 2.6em;
}

#menu-principal .factice a {
    margin-left: 7vmax;
    /* font-size: 0.91em; */
}

#corps {
    width: 100%;
    display: flex;
    margin-top: 25px;
    padding-bottom: 50px;
}

#corps h1 {
    color: #333;
    font-family: 'ITC Avant Garde Gothic Std Demi Condensed', Georgia, times, serif;
    font-size: 1.15em;
    margin-bottom: 40px;
    padding: 5px 0;
    text-transform: uppercase;
    font-weight: 400;
    border-bottom: 1px solid #CCCCCC;
}

#corps h2 {
color: #333;
  font-family: 'ITC Avant Garde Gothic Std Demi Condensed',Georgia,times,serif;
  font-size: 1.1em;
  margin-bottom: 20px;
  padding: 5px 0;
  text-transform: uppercase;
  font-weight: 400;
}

#corps h3, h4 {
    color: #69c;
  font-family: 'ITCAvantGardeStd book condensed',Georgia,times,serif;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

#corps h3 {
    font-size: 1em;
  }

#corps h4 {
    /* font-size: clamp(12px, 0.5em, 20px); */
    font-size: 13px;
  font-weight: 400;
}



#corps p {
    margin-bottom: 30px;
    text-align: justify;
    text-indent: 20px;
    line-height: 1.5em;
    font-size: clamp(12px, 1.1em, 20px);
}

#page {
    width: 65%;
    margin: 0 5% 0 6%;
}

#page img {
    max-width: 90%;
}

#page img.rubrique {
    max-width: 50%;    
}

#page a:link, #page a:visited {
    color: #69c;
    font-style: italic;
    text-decoration: none;
  }

  #page a:hover, a:active, a:focus {
    text-decoration: underline;
  }

#menu-secondaire, #panneau-lateral  {
    display: flex;
    width: 20%;
    margin-right: 6%;
    padding: 5px 10px 0 10px;
    background-color: #edeee8;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'Angleterre book', georgia, times, serif;
}

#menu-plan {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;    
}

#menu-secondaire ul, #menu-plan ul {
    flex-direction: column; 
}

#menu-secondaire li, #menu-plan li {
    margin: 0 0 10px -20px;
}

#menu-secondaire a {
    font-size: clamp(10px, 1em, 14px);
    color: black;
}

#menu-secondaire a:hover {
    background-color: #CCC;
}

#menu-secondaire .titre-menu {
    text-transform: uppercase;
    text-align: left;
    height: 30px;
}

#menu-secondaire h1 {
    color: #333;
    font-family: 'ITCAvantGardeStd book condensed', Georgia, times, serif;
    text-transform: uppercase;
    font-size: 0.9em;
    font-weight: 700;
    border-bottom: 1px solid #CCCCCC;
    padding: 5px 0;
}

#menu-secondaire .sousmenu li:first-child, #menu-plan .sousmenu li:first-child  {
    margin-top: 10px;
}

#menu-plan a:hover {
    background-color: #ccc;
}

#pied-page {
    display: block;
    position: absolute; 
    bottom: 0;
    width: 100%;
    height: 5em;
    background-color: #111418;
    color: #ccc;
}

#pied-page p {
    color: white;
    text-align: center;
    line-height: 0.7em;
    font-size: 0.8em;
    margin-bottom: 0px;
}

#pied-page a {
    color: #fff;
    font-style: italic;
    text-decoration: none;
}

#pied-page a:hover, a:active, a:focus {
    text-decoration: underline;
  }

.sousmenu {
    /* display: none; */
    display: block;
}

#menu-plan .sousmenu {
    display: block;
}

.deroulant > a::after {
    content:"▼";
    font-size: clamp(8px, 3vmin, 12px);
}

.flottant-gauche {
    float: left;
    margin: 0 15px 10px;
}

.flottant-droit {
    float: right;
    margin: 0 0 10px 15px;
}

.centre {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.visible {
    display: block;
}

.cache {
    display: none ;
}

.titre-date {
    font-family: Georgia;
    color: #69c;
    line-height: 1.2em;
}

.avertissement {
    text-transform: uppercase;
}

.slide {
    display: block;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
    height: 3em;
 }

 .titre-slide {
    color: #69c;
    font-weight: bold;
 }
 
 .texte-slide {
    border: solid;
    border-width: 1px;
    border-radius: 10px;
}

.slide p:hover{
    cursor: pointer;
}

#corps .texte-slide h1, #corps .texte-slide h2, #corps .texte-slide h3, #corps .texte-slide h4, #corps .texte-slide p  {
    margin: 10px 20px;
}

#survol-image a span {
    display: none;
    background: #FFF;
    position: absolute;
    /*left: 13%;*/
    right: 32%; }
  
  #survol-image a:hover span {
    display: block; 
}

.resume td {
    padding: 0 10px;
}

/* ###  vocabulaire des articles repris de Joomla  ### */
/* Règles reprises telles quelles de l'ancien template bricbroc :
   blocs de lignes de commande, sommaires internes aux articles,
   paragraphes sans retrait de première ligne. */

#corps .codebox {
    text-indent: 0;
    background-color: #333;
    border-radius: 5px;
    color: white;
    font-family: Consolas, "Lucida Console", "Bitstream Vera Sans Mono", "DejaVu Sans Mono", monospace;
    font-size: 1.1em;
    margin: 9px 0.2em 1em;
    max-height: 26em;
    overflow: auto;
    padding: 0.3em 0.5em;
}

#corps .sommaire {
    text-indent: 0;
    margin-left: 30px;
}

#corps .sans-retrait {
    text-indent: 0;
}
