* {
    box-sizing: border-box;
}

/*
body {
    margin:20px;
    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;
        }

/*
  margin: 0;
  padding: 0;
  border: 0;
  background-color: white;
  color: black;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transform-origin: top left;
*/
}

/*    HEADER     */

.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     */

.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 {
    background: #3e80c1;
    color: white;
}

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

/*  STRUCTURE PRINCIPALE    */

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

/*   SIDE   */

/* La colonne Side couvre les quatre blocs Titre, Texte, Rubriques et Tags. */

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

/*
.content {
    padding: 20px;
}

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

/*   Bloc Titre  */

.titre {
    background: white;
}

/*  Texte 2 colonnes */

.texte {
    background: white;
    text-align: justify;
}

.texte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.texte-col {
    padding: 5px;
    background: white;
    color: black;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    text-align: justify;
}

/*
.texte-col h3 {
    color: #193366;
    margin-bottom: 10px;
}
*/

/* 
   Bloc Rubriques
 */

.rubriques {
    background: #ebf0fa;
}

/*  Blocs Tags */

.tags {
    background: white;
}

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

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

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

/*  Bloc Footer */
/* Le Footer fusionne les colonnes de 30 % et de 70 %. */

.footer {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 100px;  
    background:#EDE6E4;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, 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;
}




/*       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 {
	font-size: 11px;
	color: #fff;
	text-shadow: 0 0 2px #000;
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background: rgb(25,25,25);
	background: rgba(25,25,25,0.92)
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

* html #tiptip_arrow{display:none;} /* IE6 bug with arrow, small black box, not arrow */

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

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

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

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

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	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: rgb(25,25,25);
	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: rgb(25,25,25);
	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: rgb(25,25,25);
	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: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
}




/*  Responsive */

@media screen and (max-width: 768px) {

    .layout {
        grid-template-columns: 1fr;
    }

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

    .menu ul {
        flex-direction: column;
    }

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

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

    .texte-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        grid-column: 1;
        width: 100%;
    }
}

/* Titres et textes */

.photo {background-color:#fafbfc; border:1px solid #b0b0b0; margin:0 0 5px 5px; padding:2px; max-width: 100%; }
.cliché {background-color:#fafbfc; max-width: 100%; }
.p {text-align:justify;color:green;}

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 {
font-family : Helvetica Neue, Helvetica, Arial, sans-serif;
font-size : 0.90em;
color : #262626;
font-weight : normal;
}
.T2 {
font-family : Helvetica Neue, Helvetica, Arial, sans-serif;
font-size : 0.80em;
color : grey;
font-weight : normal;
}
.T3 {
font-family : Helvetica Neue, Helvetica, Arial, sans-serif;
font-size : 0.90em;
color : #0066CC;
font-weight : normal;
}
.T4 {
font-family : Helvetica Neue, Helvetica, Arial, sans-serif;
font-size : 0.90em;
color : #999999;
font-weight : normal;
}

/* 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;

}




