* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: white;
}

/*
body {
    margin:60px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
}
*/

        body {
            margin: 0;
            padding: 20px 10px;
            background: #f2f2f2;
            color: #222;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
            font-weight: normal;
            line-height: 1.5;
        }


/* En-tête */

.header {
  width: 100%;
  padding-top: 20px;
  padding-left: 10px;
  background: white;
  color: #193366;
  font-size: 1.8rem;
  font-weight: bold
  justify-content: center;
  align-items: center;
  text-align: left;
}

/* Menu principal */

.menu {
  width: 100%;
  background: #19334d;
}

.menu ul {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  list-style: none;
}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 14px 18px;
  color: white;
  text-decoration: none;
  font-size: 0.95em;
}

.menu a:hover,
.menu a:focus {
  background: #3e80c1;
}

/* Sous-menus */

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width:320px;
  background: #ebf0fa;
  z-index: 1000;
}

.submenu a {
    min-width: 160px;
    color: #19334d;
    background: #ebf0fa;
    font-size: 0.95em;
    border-bottom: 1px solid #3e80c1;
}

.submenu a:last-child {
    border-bottom: none;
}

.submenu a:hover,
.submenu a:focus {
  color: white;
  background: #3e80c1;
}

.menu li:hover .submenu,
.menu li:focus-within .submenu {
  display: block;
}

/* Mise en page */

.layout {
  display: grid;
  grid-template-columns: 30% 70%;
  width: 100%;
}

/*
  La colonne latérale couvre les quatre lignes
  situées avant le Footer.
*/

.side {
  grid-row: 1 / span 4;
  padding: 20px;
  background: white;
}


/*
.content {
  padding: 20px;
}

.content h2 {
  margin-bottom: 15px;
  color: #193366;
}

*/

.titre,
.texte,
.tags {
  background: white;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.rubriques {
  background: white;
}

/*
  Footer fusionnant les colonnes 30 % et 70 %.
*/

.footer {
  grid-column: 1 / -1;
  width: 100%;
min-height: 100px;  
background:#EDE6E4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: justify;
}

/* Boutons zoom et impression */

.page-controls {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;
  padding: 0;

  border: 3px solid #665F5F;
  border-radius: 50%;

  background: transparent;
  color: #665F5F;

  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.control-button:hover {
  background-color: rgba(102, 95, 95, 0.15);
  transform: scale(1.08);
}

.control-button:active {
  transform: scale(0.95);
}

.control-button:focus-visible {
  outline: 2px solid #19334d;
  outline-offset: 3px;
}

.print-button svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* Mots-clés */

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.keyword {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 7px 12px;
  background: #990000;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.9em;
  white-space: nowrap;
}

.keyword:hover {
  background: #cc0000;
  color: white;
}

/* Adaptation mobile */

@media screen and (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side {
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid #d6dbe6;
  }

  .footer {
    grid-column: 1;
  }

  .menu ul {
    flex-direction: column;
  }

  .menu li,
  .menu a {
    width: 100%;
  }

  .submenu {
    position: static;
    width: 100%;
  }
}

/* TipTip */

#tiptip_holder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  z-index: 99999;
}

#tiptip_holder.tip_top {
  padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
  padding-top: 5px;
}

#tiptip_holder.tip_right {
  padding-left: 5px;
}

#tiptip_holder.tip_left {
  padding-right: 5px;
}

#tiptip_content {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;

  background: rgb(25, 25, 25);
  background: rgba(25, 25, 25, 0.92);
  background-image: linear-gradient(transparent, #000);

  color: #fff;
  font-size: 11px;
  text-shadow: 0 0 2px #000;

  box-shadow: 0 0 3px #555;
}

* html #tiptip_arrow {
  display: none;
}

#tiptip_arrow,
#tiptip_arrow_inner {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
}

#tiptip_holder.tip_top #tiptip_arrow {
  border-top-color: rgba(255, 255, 255, 0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
  border-right-color: rgba(255, 255, 255, 0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
  border-left-color: rgba(255, 255, 255, 0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
  margin-top: -7px;
  margin-left: -6px;
  border-top-color: rgba(25, 25, 25, 0.92);
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-top: -5px;
  margin-left: -6px;
  border-bottom-color: rgba(25, 25, 25, 0.92);
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -5px;
  border-right-color: rgba(25, 25, 25, 0.92);
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -7px;
  border-left-color: rgba(25, 25, 25, 0.92);
}

/* WebKit */

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #tiptip_content {
    padding: 4px 8px 5px;
    background-color: rgba(45, 45, 45, 0.88);
  }

  #tiptip_holder.tip_bottom #tiptip_arrow_inner {
    border-bottom-color: rgba(45, 45, 45, 0.88);
  }

  #tiptip_holder.tip_top #tiptip_arrow_inner {
    border-top-color: rgba(20, 20, 20, 0.92);
  }
}

/* Tableau */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border: none;
  background-color: #FFFF99;
  text-align: justify;
}

th {
  height: 20pt;
  font-style: normal;
}

/* Slideshow */

.w3-content {
  max-width: 980px;
  margin: auto;
}

.mySlides {
  display: none;
}

/* Images */

.photo {
  max-width: 100%;
  margin: 0 0 5px 5px;
  padding: 2px;
  border: 1px solid #b0b0b0;
  background-color: #fafbfc;
}

.cliché {
  max-width: 100%;
  background-color: #fafbfc;
}

figure {
  display: flex;
  flex-flow: column;
  max-width: 550px;
  margin: auto;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

figcaption {
  padding: 5px;
  padding-top: 0;
  color: black;
  font: 13px sans-serif;
  text-align: center;
}

/* Titres et textes */

.p {
  color: grey;
  text-align: justify;
}

h1, .h1-like {
font-family : Georgia, "Times New Roman", serif;
font-size : 2em;
color : #990000;
font-weight : strong;
display: inline;
}


h2, .h2-like {
font-family : Georgia, "Times New Roman", serif;
font-size : 2em;
color : #4D4947;
font-weight : strong;
display: inline;
}

h3, .h3-like {
font-family : Georgia, "Times New Roman", serif;
font-size :1.2em;
color : #990000;
font-weight :normal;
}

.T1 {
  color: #262626;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.90em;
  font-weight: normal;
}

.T2 {
  color: grey;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.80em;
  font-weight: normal;
}

.T3 {
  color: #0066CC;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.90em;
  font-weight: normal;
}

.T4 {
  color: #999999;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.90em;
  font-weight: normal;
}

/* Liens */

a {
  color: #23445f;
  text-decoration: none;
}

/* Impression */

@media print {
  .page-controls,
  .menu {
    display: none !important;
  }

  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    zoom: 1 !important;
    transform: none !important;
  }

  .layout {
    display: block;
  }

  .side,
  .content {
    break-inside: avoid;
  }

  .footer {
    display: block;
    width: 100% !important;
    background: #A89F9D !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

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

/* Images */

.photo {
  max-width: 100%;
  margin: 0 0 5px 5px;
  padding: 2px;
  border: 1px solid #b0b0b0;
  background-color: #fafbfc;
}

.cliché {
  max-width: 100%;
  background-color: #fafbfc;
}


/* Liens */

a {
    color: #23445f;
    text-decoration:none;
}

/*   TOOLTIP   */
.tooltip{
    display:inline-block;
    cursor:pointer;
    color: #23445f;
    text-decoration:none;
/*
    color:#0066cc;
    text-decoration:underline;
*/
}

/* ---------- Infobulle ---------- */

.tooltip-box{

    position:fixed;

    display:none;

    width:320px;

    padding:12px;

    background:#ffffff;

    color:#000000;

    border:1px solid #c0c0c0;

    border-radius:0;

    box-sizing:border-box;

    box-shadow:0 4px 12px rgba(0,0,0,.20);

    font-family:system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    font-size:11px;

    font-weight:normal;

    line-height:1.4;

    z-index:99999;

}

/* ---------- Image ---------- */

.tooltip-box img{

    display:block;

    width:100%;

    height:auto;

    margin:0 0 10px 0;

}

/* ---------- Titre ---------- */

.tooltip-title{

    margin:0 0 8px 0;

    font-size:13px;

    font-weight:normal;

}

/* ---------- Texte ---------- */

.tooltip-text{

    margin:0;

    font-size:11px;

    font-weight:normal;

}

