/***************************/
/*    Polices Gelasio      */
/***************************/
.gelasio-police {
  font-family: "Gelasio", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/***************************/
/*    Polices IM Fell      */
/***************************/
.im-fell-english-sc-regular {
  font-family: "IM Fell English SC", serif;
  font-weight: 400;
  font-style: normal;
}
.im-fell-english-regular {
  font-family: "IM Fell English", serif;
  font-weight: 400;
  font-style: normal;
}
.im-fell-great-primer-sc-regular {
  font-family: "IM Fell Great Primer SC", serif;
  font-weight: 400;
  font-style: normal;
}
.im-fell-double-pica-regular {
  font-family: "IM Fell Double Pica", serif;
  font-weight: 400;
  font-style: normal;
}
.im-fell-double-pica-regular-italic {
  font-family: "IM Fell Double Pica", serif;
  font-weight: 400;
  font-style: italic;
}
.im-fell-double-pica-sc-regular {
  font-family: "IM Fell Double Pica SC", serif;
  font-weight: 400;
  font-style: normal;
}
.im-fell-dw-pica-sc-regular {
  font-family: "IM Fell DW Pica SC", serif;
  font-weight: 400;
  font-style: normal;
}
/*************************************************/
/*    Polices Libertinus (pour les nombres)      */
/*************************************************/
.eb-garamond {
  font-family: "EB Garamond", Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/**************************/
/*    Police Morpheus     */
/**************************/
/* Generated by https://transfonter.org/ on July 22, 2021 */

@font-face {
    font-family: 'Morpheus';
    src: url('/polices/Morpheus.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.morpheus { font-family: 'Morpheus', cambria, sans-serif; }
/************************/
/*    Police Exocet     */
/************************/
/* Generated by https://transfonter.org/ on July 22, 2021 */

@font-face {
    font-family: 'Exocet';
    src: url('/polices/ExocetLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exocet';
    src: url('/polices/ExocetHeavy.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
.exocet { font-family: 'Exocet', Georgia, sans-serif;} 
/**********************/
/*    Généralités     */
/**********************/
a { text-decoration : none }
a:link, a:visited { color: #800000 }
a:active { color: #000080 }
a:hover { color: red }
.etroit-1 { letter-spacing: -1px !important; }
.etroit-2 { letter-spacing: -2px !important; }
.etroit-01 { letter-spacing: -0.1em !important; }
.etroit-025 { letter-spacing: -0.025em !important; }
.etroit-05 { letter-spacing: -0.05em !important; }
.retrait40 { padding-left: 40px !important; }
.retrait26 { padding-left: 26px !important; }
.retrait20 { padding-left: 20px !important; }
.retrait15 { padding-left: 15px !important; }
.retrait10 { padding-left: 10px !important; }
.centre { text-align: center; display: block; margin-left: auto; margin-right: auto }
.marge0 { margin: 0 !important; }
.droite15 {margin-right: 15px!important;; }
.a_droite {
    float: right;
    margin: 6px 6px 6px 15px; }
.a_gauche {
    float: left;
    margin: 6px 15px 6px 6px; }
.haut0, .a_droite .haut0, .a_gauche .haut0, div.legende.haut0 { margin-top: 0px !important; }
.haut-6, .a_droite .haut-6, .a_gauche .haut-6, div.legende.haut-6 { margin-top: -6px !important; }
.haut-20, .a_droite .haut-20, .a_gauche .haut-20, div.legende.haut-20 { margin-top: -20px !important; }
.haut-28 {margin-top: -28px !important; }
.haut-50 {margin-top: -50px !important; }
.haut-72 {margin-top: -72px !important; }
.haut-90 {margin-top: -90px !important; }
.haut6 { padding-top: 6px !important;}
.haut12 { padding-top: 12px !important;}
.haut24 { padding-top: 24px !important;}
.hautmarg6 { margin-top: 6px !important;}
.hautmarg12 { margin-top: 12px !important;}
.hautmarg24 { margin-top: 24px !important;}
.L150 { width: 150px }
.L170 { width: 170px }
.L200 {	width: 200px }
.L210 {	width: 210px }
.L220 {	width: 220px }
.L250 {	width: 250px }
.L280 {	width: 280px }
.L300 {	width: 300px }
.L310 {	width: 310px }
.L320 {	width: 320px }
.L330 {	width: 330px }
.L350 {	width: 350px }
.L360 {	width: 360px }
.L390 {	width: 390px }
.L400 {	width: 400px }
.L420 {	width: 420px }
.L450 {	width: 450px }
.L500 {	width: 500px }
.L550 {	width: 550px }
.L600 {	width: 600px }
.L650 {	width: 650px }
.L700 {	width: 700px }
.L750 {	width: 750px }
.L800 {	width: 800px }
.L850 {	width: 850px }
.gras { font-weight: bold !important; }
.normal { font-weight: normal !important; }
.italique { font-style: italic !important; }
.droit { font-style: normal; }
.txt_barre { text-decoration: line-through; }
.bigger { font-size: larger; }
.a_cocher input {
	float: left;
	margin-left: -30px;
}
/********************************/
/*       Couleurs du site       */
/********************************/
.noir		{ color: #000000 !important; }
.blanc		{ color: #FFFFFF !important; }
.gris		{ color: #666666 !important; }
.grismoyen	{ color: #5A5A5A !important; }
.grisfonce	{ color: #333333 !important; }
.marron		{ color: #800000 !important; }
.marronfonce	{ color: #500000 !important; }
.marroncitation, .mc	{ color: #61300D !important; }
.noisette	{ color: #663300 !important; }
.violetclair    { color: #663366 !important; }
.marronclair	{ color: #996633 !important; }
.marronplan	{ color: #B8860B !important; }
.marronorange	{ color: #CC6600 !important; }
.marronpale	{ color: #CC9900 !important; }
.rouge		{ color: #FF0000 !important; }
.rougetitre	{ color: #C00000 !important; }
.rougeorange	{ color: #CC3300 !important; }
.rougefonce	{ color: #CC0000 !important; }
.vert		{ color: #008000 !important; }
.vertbleu	{ color: #008080 !important; }
.bleu		{ color: #0000FF !important; }
.bleueau	{ color: #0066FF !important; }
.bleufonce 	{ color: #000080 !important; }
.bleusoins	{ color: #3366CC !important; }
.bleuacier	{ color: #336699 !important; }
.bleucombat	{ color: #333366 !important; }
.bleucreation	{ color: #333399 !important; }
.bleumonstre	{ color: #4169E1 !important; }
.bleugris	{ color: #666699 !important; }
.bleunuit	{ color: #000066 !important; }
.pourpre	{ color: #800080 !important; }
.vertolive	{ color: #666633 !important; }
.olive  	{ color: #808000 !important; }
.olivenoire	{ color: #333300 !important; }
.violet	   	{ color: #660066 !important; }

/*************************/
/*    Structure page     */
/*************************/
html, body {
    margin: 0; padding: 0; outline: 0; height: 100%; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  font-variant-numeric: lining-nums;}
body {
    background: black url('images/fond4.jpg');
    background-attachment: fixed;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    overflow-y:auto;
}
#outer {
    width: 1265px;
    position: relative;
    margin: auto;
    margin-top: 10px !important;
}
#inner_haut {
    width: 1024px; height: 12px; margin: 0 0 0 242px;
    background: url('images/cadre_haut1.png') transparent;
}
#inner {
    width: 1004px; position: relative; margin: 0 0 0 242px; padding: 0 10px;
    background: url('images/cadre_centre1.png') transparent;
}
#inner_bas {
    width: 1024px; height: 12px; margin: 0 0 6px 242px;
    background: url('images/cadre_bas1.png') transparent;
}
#section {
    position: relative;
    clear: both;
    margin-bottom: 0;
}
/************************/
/*     Haut de page     */
/************************/
#header { margin-bottom: 64px }
#bandeau { margin: 0 }
#bandeau h1 {
    font-family: 'IM Fell Double Pica SC', sans-serif;
    font-size: 3.5em;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 100%;
    margin: 0 0 0 8px;
    color: #E2DAC5;
}
#bandeau h2 {
    font-family: 'EB Garamond', sans-serif;
    font-size: 1.25em;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 100%;
    margin: 0 0 12px 12px;
    color: #E2DAC5;
}
#lunes {
    float: right;
    width: 170px; 
    margin: 0;
}
#lunes img { float: left }
#lunes p {
    text-align: left;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    line-height: 100%;
    margin: 3px 0px 0px 40px;
}
/************************/
/*     Pied de page     */
/************************/
#footer {
    height: 66px;
    text-align: center;    
    font-size: 1.1em;
    margin-top: 10px;
    background-image: url('images/back3.jpg');
    color: #333333;
}

#footer * {
    font-family: 'Times New Roman', Times, serif;
}
#footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
#footer li {
    line-height: 46px;
    float : left; 
    padding: 10px 15px;
    border-right : 2px solid #fff;
}
#footer li:nth-last-child(2) {
    line-height: 23px;
}
#footer li:last-child {
    line-height: 23px;
    border-right : none;
}
#footer a {      
    display : inline-block;
    margin : auto;
}
#footer img {      
    margin : -10px 10px -10px 0;
    float: left;
}
/***********************************************/
/*  Logo et Menu vertical à gauche de la page  */
/***********************************************/
#logo {
    flex-shrink: 0;
    width: 242px; 
    margin: 10px 0 6px 0;
    text-align: center;
}
#sousmenu {
    position: fixed;
    top: 0;
    width: 236px;
    max-height: 100vh;   /* clé */
    display: flex;
    flex-direction: column;
}
#rouleau_haut {
    flex-shrink: 0;
    width: 236px;
    height: 90px;
    background: url('images/haut_rouleau10.gif') no-repeat;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
}
#rouleau_haut h2 {
    font-family: 'IM Fell English SC', sans-serif;
    font-size: 2.25em;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 80%;
    margin: 0;
    margin-bottom: 20px;
    text-align: center;
}
#rouleau_haut h2 small {
    font-size: 0.85em;
}
#rouleau_bas {
    flex-shrink: 0;
    width: 226px;
    height: 13px;
    margin-left: 5px;
    background: url('images/bas_rouleau5.gif') no-repeat;
}
#rouleau {
    flex: 1;
    width: 229px;
    margin-left: 5px;
    padding: 0px 0px 0px 8px;
    background-image: url('images/centre_rouleau4.gif');
    background-color: transparent;
    background-repeat: repeat-y;
    color: #500000;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #5a3b1a #f5f0e6;
}
#rouleau::-webkit-scrollbar {           width: 6px; }
#rouleau::-webkit-scrollbar-thumb {     background: #5a3b1a; }
#rouleau::-webkit-scrollbar-track {     background: #f5f0e6; }
#rouleau a {
    display: inline-block;
    padding: 1px 2px;
}
#rouleau a.en_ligne {
    display: inline;
    padding-left: 0;
}
#rouleau a:hover {
    color: white;
    padding: 1px 4px;
    background: url('images/back5_160b.jpg') repeat;
    border-radius: 4px;
    box-shadow: 
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateX(4px);
}
#rouleau a.en_ligne:hover {
    color: red;
    background: none;
}
#rouleau ul {
    padding: 0;
    margin: 0 0 12px 0;
    list-style: none;
    font-family: 'EB Garamond', 'Times New Roman', Times, serif;
    hyphens: none;
}
#rouleau ul li {
    line-height : 100%;
    width: 210px;
    padding-top: 3px;
    margin-left: 0px;
    text-align: left;     
    font-size: 18px;
    font-weight: bold;
}
#rouleau ul.police20 li {
    font-size: 20px;
}
#rouleau ul li ul { margin-bottom: 0 }
#rouleau ul li ul li {
    margin-left: 8px;
    width: 200px;
    font-size: 17px;
}
#rouleau span {
    display: block;
    margin-left: 8px;
    font-size: 16px;
}
#rouleau ul.col3 li {
    display: inline-block;
    width: 58px;
}
#rouleau hr {
    height : 2px;
    width: 190px;
    margin: 6px 10px;
    border: 0;
    background-color : #500000;
}
#rouleau img {
    display: block;
    margin: 0 auto;
}
#rouleau img.puce {
    display:inline-block;
    margin: 0;
    padding-right: 5px;
    border: 0;
    width: 13px;
    height: 13px;
}
#rouleau h6 {
    width: 203px;
    background: url('images/back4.jpg');
    border-radius: 6px;
    line-height: 100%;
    text-align: center;
    font-family: "IM Fell Double Pica SC", Georgia, serif;
    margin: 0;
    padding: 4px;
    font-size: 1.4em;
}
#rouleau p {
    width: 206px;
    text-align: center;
    margin: 0;
    margin-bottom: 6px;
    padding: 3px 0;
    font-size: 18px;
}
#rouleau small {
    font-size: 0.75em;
}
/*************************************/
/* MENU PRINCIPAL                    */
/*************************************/

#menu {
    font-weight: bold;
    font-family: "IM Fell Double Pica SC", serif;
    font-size: 1.4em;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1000;
}

#menu, #menu ul {
    padding: 0;
    margin: 0;
    margin-left: 1px;
    list-style: none;
}

#menu li {
    float: left;
    position: relative;
}

/*************************************/
/* ONGLETS                           */
/*************************************/

#menu > li > a {
    display: block;
    width: 137px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

/* onglet normal */
#menu li.onglet {
    background: url('images/back7.jpg');
    border: 1px solid #3C321E;
    border-radius: 7px;
    margin: 6px 2px 0 2px;
}

/* onglet actif */
#menu li.onglet:hover {
    background: url('images/back5_160b.jpg');
}

#menu li.onglet {
    position: relative;
}

#menu li.onglet::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 6px; /* ton espace */
}
/*************************************/
/* SOUS-MENU                         */
/*************************************/

#menu ul.mega {
    position: absolute;
    top: 36px;
    width: 420px;
    padding: 10px 10px;
    background: url('images/back5_160b.jpg');
    background-repeat: repeat;
    border: 1px solid rgba(80,40,0,0.3);
    box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    3px 6px 12px rgba(0,0,0,0.35);
    border-radius: 7px;
    transform: translateY(5px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-align: left;
}
#menu li:hover ul.mega {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/*************************************/
/* ALIGNEMENTS                       */
/*************************************/

/* menus 1-7 */
#menu li.onglet.menu_accueil ul.mega { left: -2px; }
#menu li.onglet.menu_combat ul.mega { left: -71%; }
#menu li.onglet.menu_priere ul.mega { left: -110%; }
#menu li.onglet.menu_magie ul.mega { left: -214%; }
#menu li.onglet.menu_filouterie ul.mega { right: -105%; }
#menu li.onglet.menu_savoir ul.mega { right: -55%; }
#menu li.onglet.menu_planescape ul.mega { right: -1px; }
/*********************************/
/*      GESTION DES COLONNES     */
/*********************************/
#menu ul.mega > li {
    display: grid;
    gap: 5px 4px;
    align-items: start;
    grid-auto-rows: min-content;
    letter-spacing: normal;
}
/* 1 colonne */
#menu ul.mega.col1 { width: 259px; }
#menu ul.mega.col1 > li { grid-template-columns: 1fr; }
/* 2 colonnes */
#menu ul.mega.col2 { width: 550px; }
#menu ul.mega.col2 > li { grid-template-columns: 215px 1fr; }
#menu ul.mega.col2_4 { width: 510px; }
#menu ul.mega.col2_4 > li { grid-template-columns: 240px 1fr; }
/* 3 colonnes */
#menu ul.mega.col3_combat { width: 790px; }
#menu ul.mega.col3_combat > li { grid-template-columns: 255px 1fr 240px; }
#menu ul.mega.col3_magie { width: 700px; }
#menu ul.mega.col3_magie > li { grid-template-columns: 225px 235px 1fr; }
#menu ul.mega.col3_priere{ width: 700px; }
#menu ul.mega.col3_priere > li { grid-template-columns: 1fr 1.1fr 1fr; }
#menu ul.mega.col3_plane { width: 665px; }
#menu ul.mega.col3_plane > li { grid-template-columns: 1.1fr 1.1fr 0.8fr; }
#menu li.onglet.menu_combat ul > li {
    grid-template-areas:    "classe  manuel  objets"
                            "classe  manuel  armures"
                            "classe  manuel  aides";
}
#menu li.onglet.menu_priere ul > li {
    grid-template-areas:    "classe  divinites  spheres"
                            "classe  divinites  sorts"
                            "domaines  domaines  domaines";
}
#menu li.onglet.menu_magie ul > li {
    grid-template-areas:    "classe  manuel  objets"
                            "classe  manuel  objets"
                            "classe  manuel  objets";
}
#menu li.onglet.menu_filouterie ul > li {
    grid-template-areas:    "classe  aides"
                            "objets  manuel";
}
#menu li.onglet.menu_savoir ul > li {
    grid-template-areas:    "classe  manuel"
                            "classe  manuel"
                            "classe  objets";
}
#menu li.onglet.menu_planescape ul > li {
    grid-template-areas:    "classe  manuel  objets";
}
/* mapping des blocs */
#menu ul.mega .classe       { grid-area: classe; }
#menu ul.mega .manuel       { grid-area: manuel; }
#menu ul.mega .armes        { grid-area: armes; }
#menu ul.mega .armures      { grid-area: armures; }
#menu ul.mega .aides        { grid-area: aides; }
#menu ul.mega .divinites    { grid-area: divinites; }
#menu ul.mega .spheres      { grid-area: spheres; }
#menu ul.mega .domaines     { grid-area: domaines; }
#menu ul.mega .sorts        { grid-area: sorts; }
#menu ul.mega .objets       { grid-area: objets; }
#menu ul.mega a { display: block; }
#menu ul.mega dl { 
    align-self: start;
    margin: 0;
    padding: 0 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: left;
    font-variant: normal;
}
#menu ul.mega dt {
    color: #C00000;     /* rouge-titre */
    font-family: "IM Fell Double Pica SC", serif;
    font-weight: bold;
    line-height: 100%;
    padding: 0 0 2px 0;
    margin: 6px 0 2px 0;
}
#menu ul.mega dl > dt:first-of-type {
    font-size: 24px;
    color: #800000;
    border-bottom: 1px solid rgba(60,50,30,0.3);
}
#menu ul.mega dl > dt:not(:first-of-type) {
    font-size: 20px;
    color: #5a3b1a;
    margin-left: 4px;
}
#menu ul.mega dd + dt {
    margin-top: 12px;
}
#menu ul.mega dd {
    border-radius: 6px;
    margin: 0px 3px 2px 4px;
    padding: 2px 4px;
    color: #800000;     /* marron */
    font-family: "Gelasio", serif;
    font-size: 15px;
    line-height: normal;
}
#menu ul.mega dl > dt:first-of-type + dd {
    margin-top: 6px;
}
#menu ul.mega span {
    display: block;
    padding-right: 4px;
    margin-bottom: 3px;
    transform: translateX(8px);
    line-height: 125%;
    font-family: "Gelasio", serif;    
    font-size: 13px;
    color: #5a3b1a;
    font-variant: normal;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}
#menu ul.mega dt span { transform: translateX(4px); }
#menu ul.mega dd span { transform: translateX(8px); }
#menu ul.mega dt:first-of-type a:link, #menu ul.mega dt:first-of-type a:visited  { color: #C00000; }
#menu ul.mega dt:not(:first-of-type) a:link, #menu ul.mega dt:not(:first-of-type) a:visited  { color: #6B2F1A; }
#menu ul.mega dt a { padding: 0; }
#menu ul.mega dd a {
    padding: 0;
    transform: translateX(0);
    transition: transform 0.15s ease, background 0.15s ease;
}
/*************************************/
/* HOVER                             */
/*************************************/

#menu a:hover, #menu ul.mega dt a:hover, #menu ul.mega dt:first-of-type a:hover, #menu ul.mega dt:not(:first-of-type) a:hover {
    color: white;
}
#menu ul.mega dd:has(a:hover)  {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    transform: translate(4px, -2px);
}
/* effet actif déclenché par le lien sur un bloc entier */
#menu ul.mega a:hover dt {
    color: white;
}
#menu ul.mega a:hover dl {
    color: white;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 
        0 2px 6px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.05);
    transform: translate(4px, -2px);
}
/*************************************/
/*    Bouton Retour Haut de Page     */
/*************************************/
a#cRetour{
  border-radius:3px;
  padding:10px;
  font-size:15px;
  text-align:center;
  color:#FFF;
  background:rgb(128, 0, 0);
  background:rgba(128, 0, 0, 0.5);
  position:fixed;
  right:60px;
  opacity:1;
  z-index:99999;
  transition:all ease-in 0.2s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-decoration: none; }
a#cRetour:before{ content: "\25b2"; }
a#cRetour:hover{
  background:rgba(128, 0, 0, 1);
  transition:all ease-in 0.2s; }
a#cRetour.cInvisible{
  bottom:-35px;
  opacity:0;
  transition:all ease-in 0.5s; }

a#cRetour.cVisible{
  bottom:20px;
  opacity:1; }
/*****************************************/
/*  Boutons de navigation verticale v3   */
/*****************************************/
#scrollButtons {
  position: fixed;
  right: max(calc(50vw - 703px), 10px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  animation: fadeInScrollBtns 0.8s ease forwards;
}
/* Boutons carrés à bords arrondis */
#scrollButtons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: rgba(128, 0, 0, 0.6);
  border-radius: 8px; /* coins arrondis, pas circulaires */
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  transition: all 0.25s ease;
  user-select: none;
}
/* Effet au survol */
#scrollButtons a:hover {
  background: rgba(128, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
/* Effet au clic */
#scrollButtons a:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Animation d’apparition douce */
@keyframes fadeInScrollBtns {
  from { opacity: 0; transform: translateY(-50%) scale(0.9); }
  to { opacity: 1; transform: translateY(-50%) scale(1); }
}
/* Affichage lettre précédente et lettre suivante*/
#scrollButtons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;               /* espace entre flèche et label */
  width: 50px;
  height: 50px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: rgba(128, 0, 0, 0.6);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}
#scrollButtons a:hover {
  background: rgba(128, 0, 0, 0.9);
}
.letterLabel {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  pointer-events: none;
}

/***************************************************/
/*    Article en cours dans la page principale     */
/***************************************************/
.article {
    position: relative;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    background: #000 url('images/back7.jpg') repeat;
    min-height: 400px;
    padding: 10px;
}
#article_accueil {
    position: relative;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    background: #000 url('images/fond_accueil1.jpg') no-repeat;
    width: 1004px;
    height: 753px;
    padding: 0;
    margin: 0;
}

p { text-align: justify; }
p, ul, dl:not(.entete_objet) {
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    line-height: 125%;
    margin: 6px;
    padding: 0;
    hyphens: auto;
}
h1, h2, h3, h4 {
    font-family: 'morpheus', Georgia, Serif;
    line-height: 125%;
    font-weight: bold;
}
h1 {
    margin-top: 0px;
    margin-bottom: 12px;
    font-size: 3em;
}
h1 small { font-size: 0.8em }
h2 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.8em;
}
.article h2:first-child, .article h3:first-child {
    margin-top: 0;
}
h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.5em;
}
h4 span:not(.nombre, .apostrophe), h3 span:not(.nombre, .apostrophe), h2 span:not(.nombre, .apostrophe) {
    font-family: Gelasio, Georgia,'Times New Roman', Times, serif;
    font-size: 0.8em;
}
h4 {
    margin: 18px 0px 6px 6px;
    font-size: 1.25em;
}
h1 + h4, h2 + h4, h3 + h4 { margin-top: 6px; }
h5, h6 {
    font-family: Gelasio, Georgia,'Times New Roman', Times, serif;
    line-height: 125%;
    margin: 18px 0px 6px 6px;
    font-weight: bold;
}
h5 { font-size: 1.25em }
h6 { font-size: 1.15em }
/************** Nouveau *****************/
/*************************/
/*  Polices et Couleurs  */
/*************************/
h1, h2, h3 { 
    color: #663300;
    line-height: 100%;
    margin-bottom: 6px;  
    letter-spacing: -0.02em;
    font-family: "IM Fell Great Primer SC", "EB Garamond", serif; }
h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; }
.apostrophe { font-weight: normal; }
h1 span:not(.nombre, .apostrophe), h2 span:not(.nombre, .apostrophe), h3 span:not(.nombre, .apostrophe) { 
    font-family: "IM Fell English", "EB Garamond", serif;
    font-size: 0.8em;
    font-weight: normal; }
h4 { 
    color: #663300;
    line-height: 125%;
    margin-bottom: 0;
    font-size: 1.75em;
    font-family: "IM Fell Great Primer SC", "EB Garamond", serif; } 
h5 { 
    margin-bottom: 0;
    font-family: "IM Fell English", "EB Garamond", serif;
    font-size: 1.5em;
    color: #C00000; }
caption.titre_tableau {
    font-family: "IM Fell Great Primer SC", serif;
    font-size: 1.3em;    
    letter-spacing: -0.02em;
    font-weight: bold; }

small {
    font-size: 0.8em;
}
/*******************************************************************/
br.page { page-break-after: always; }
label {
    font-family: calibri, arial;
    font-size: 0.8em;
}
.article a { 
    hyphens: none; }
.article q:before, q:before {
    content: "\0000AB\202F"; }
.article q:after, q:after {
    content: "\202F\0000BB"; }
cite {
    display: inline;
    text-align: right;
    font-style: italic;
    font-weight: 600; }
p.auteur {
    text-align: right; }
p.auteur > cite {
    display: block;
    margin: 0; }
p.annonce {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}
p.entete {
    color: #663300;
    font-weight: bold;
    font-family: "IM Fell English", "EB Garamond", serif;
    font-size: 1.2em;
    margin-bottom: 12px;
}
p.entete em { font-size: 1.08em; }
.retrait140 { margin-left: 140px !important; }
p.retrait140 span:not(.nombre, .apostrophe) {
    font-weight: bold;
    float: left;
    width: 130px;
    margin-left: -130px;
}
.retrait120 { margin-left: 120px !important; }
p.retrait120 span:not(.nombre, .apostrophe) {
    font-weight: bold;
    float: left;
    width: 114px;
    margin-left: -114px;
}
p.retrait202 { margin-left: 202px }
sup {
    vertical-align: text-top;
}
/*******************************************/
p.note {
    font-size: 0.95em;
    line-height: 130%;  
    padding: 8px 10px;
    margin-top: 15px;
    border: 1px solid rgba(102, 51, 0, 0.45);
    border-left: 3px solid rgba(102, 51, 0, 0.55);
    border-color: #663300;
    border-radius: 0 6px 6px 0;
    background: rgba(102, 51, 0, 0.07);
}
div.note {
    position: relative;
    display: table;
    padding: 4px 10px;
    margin: 12px 6px;
    border: 1px solid rgba(102, 51, 0, 0.65);
    border-left: 4px solid rgba(102, 51, 0, 0.75);
    border-radius: 0 6px 6px 0;
    background: rgba(102, 51, 0, 0.07);
}
div.note::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 6px solid rgba(102, 51, 0, 0.75);
}
div.note > :first-child {
    margin-top: 6px !important;
}
div.note > dl.description:first-child dt {
    margin-top: 6px !important;
}
div.note p, div.note li {
    font-size: 0.95em;
    line-height: 130%;  
}
div.note p {
    margin-left: 12px;
}
div.note dd, div.note dl.description dd {
    font-size: 0.95em;
    line-height: 130%;  
}
dd > div.note {
    margin-left: 0;  
}
strong.note {
    font-size: 1.1em;
    color: #663300;
}
/*******************************************/
div.fiche {
    display: flex;
    align-items: center; /* Force les enfants à prendre la même hauteur */
    gap: 0; /* Espace entre texte et image */
    margin: 0;
    padding: 0;
}
div.alignement_haut {
    align-items: flex-start;
}

div.fiche .texte {
    flex: 1; /* Le texte prend tout l’espace disponible restant */
    min-width: 0; /* ← IMPORTANT */
}
.fiche a.highslide {
    margin: 0 15px 10px 15px;
}
.fiche img {
    flex-shrink: 0;
    margin: 6px 6px 6px 15px;
    border: none;
}
.fiche img.colonne_gauche {
    margin: 6px 15px 6px 6px;
}
.fiche table {
    flex-shrink: 0;
    margin: 0 15px 10px 15px;
}
.fiche table.table_centre {
    margin: 0 auto 10px auto;
}
/*******************************************/
div.tableau {
    display: table;
    width: 100%;
}
div.flexible {
    display: flex;
    flex-direction: row;
    align-items: center;
}
div.tableau ul, div.tableau div {
    display: table-cell;
    vertical-align: middle;
}
div.tableau div:last-child {
    text-align: center;
}
.sous_rubrique  { margin-left: 16px }
.colonne1sur2	{ float: left }
.colonne2sur2	{ float: right }
.large30	{ width: 37% }
.large40	{ width: 40% }
.large47	{ width: 47% }
.large49	{ width: 49% }
.large50	{ width: 50% }
.large60	{ width: 60% }
.large70	{ width: 62% }
.colonne_1sur3, .colonne_2sur3, .colonne_3sur3 {
    float: left;
    width: 32%;
    margin: 0;
    padding: 0;
}
.colonne_2sur3 {
    margin-right: 2%;
    margin-left: 2%;
}.colonne_1asur3, .colonne_2asur3, .colonne_3asur3 {
    float: left;
    width: 33%;
    margin: 0;
    padding: 0;
}
.colonne_2asur3 {
    margin-right: 0.5%;
    margin-left: 0.5%;
}
.fin {
    clear: both;
    height: 0; overflow: hidden; /* Précaution pour IE 7 */
}
.finH30 { height: 30px }
div.intitule_competence { margin: 0; }
div.intitule_competence h5 {
    margin: 6px 6px 0px;
    color: #C00000;
}
div.intitule_competence p { margin: 6px 6px 0px }
div.intitule_competence p span:not(.nombre, .apostrophe) {
    font-weight: bold;
    letter-spacing: -1px;
}

img { border: 0 }
img.marge15 { margin: 0 15px }
img.danstexte, a.danstexte {
    margin-top: 15px;
    margin-bottom: 15px;
}
img.image_entete {
    position: absolute;
    top: 10px;
    right: 10px;
}
img.titre {
    width: 984px;
    height: 60px;
    margin-bottom: 12px;
}
img.add2 {
    display: block;
    width: 200px;
    height: 56px;
    margin: 16px auto;
}
figure {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 0.8em;
    margin: 0;
}
figure.gauche { float: left; }
figure.droite { float: right; }
/** Indication de l'auteur d'une image **/
figure.perso {
    margin-left: 9px;
}
figure.illustration, figure.perso {
    position: relative;
    display: inline-block;
}
figure.illustration img, figure.perso img {
    display: block;
}
figure.perso img {
    margin: 6px;
}
.fiche figure.perso a {
    margin: 0;
}
/* légende sur l'image */
figure.illustration figcaption {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-family: "EB Garamond", serif;
    font-style: italic;
    font-size: 0.85em;
    letter-spacing: 0.03em;
    color: rgba(60, 40, 20, 0.95);
    background: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
}
figure.perso figcaption {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: "IM Fell Double Pica SC", "EB Garamond", serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.5em;
    color: rgba(60, 40, 20, 0.95);
    background: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    border-radius: 6px;
}
figure.bas24 figcaption {
    bottom: 0px;
}
figure.bas24 img {
    padding-bottom: 24px;
}
/***********************************************/
figure.texte_sur_image {
    position: relative;
    display: block;
    width: 800px;
    margin: auto;
}
figure.texte_sur_image img {
    display: block;
    margin: 0 auto;
}
/* textes sur l'image */
figure.texte_sur_image figcaption {
    position: absolute;
    top: 0;
    text-align: center;
    color: whitesmoke;
}
figure.texte_sur_image figcaption h2, figure.texte_sur_image figcaption h5, figure.texte_sur_image figcaption p {
    color: antiquewhite;
    margin: 0;
    padding: 20px;
    text-align: center;
}
figure.texte_sur_image figcaption h2 {
    margin-top: 10px !important;
}
figure.texte_sur_image figcaption h5 {
    padding: 10px;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    font-size: 1.85em;
}
figure.texte_sur_image figcaption h5:first-of-type {
    margin-top: 140px;
}
figure.texte_sur_image figcaption p {
    padding: 0 20px;
    margin-top: 20px;
    font-weight: bold;
    font-family: "IM Fell English", "EB Garamond", serif;
    font-size: 1.5em;
}

/*****************************/
/*   Lignes de séparation   **/
/*****************************/
hr {
    width: 100%;
    clear: both;
    height: 2px;
    border-width: 0;
    color: #663300;
    background-color: #663300;
}
hr.sans_saut {
    clear: none;
    width: 60%;
}
hr.double {
    height: 5px;
    color: transparent;
    background-color: transparent;
    border-top: 2px #663300 solid;
    border-bottom: 4px #663300 solid;
}

img.hr-manuscrit {
  width: 400px;      /* largeur fixe */
  max-width: 100%;   /* responsive si écran plus petit */
  height: 40px;
  display: block;
  margin: 2.5em auto;
}
img.hr-greyhawk {
  width: 400px;
  max-width: 100%;
  height: 40px;
  display: block;
  margin: 1em auto;
}

/***************************/
/*   Bordure décorative   **/
/***************************/
.cadre {
  border: 30px solid transparent;

  border-image-source: url("images/cadre_reduit.png");
  border-image-slice: 95;
  border-image-width: 40px;
  border-image-repeat: round;

  background: url("images/cadre_reduit.png") center;
  background-size: cover;
  background-clip: padding-box;
}
.cadre_transparent {
  border: 25px solid;
  border-image-source: url("images/cadre_transparent.gif");
  border-image-slice: 90;
  border-image-width: 30px;
  border-image-repeat: repeat;
  background: url('images/back4.jpg') repeat;
}
.cadre1_transparent {
  border: 25px solid;
  border-image-source: url("images/cadre1_transparent.gif");
  border-image-slice: 90;
  border-image-width: 30px;
  border-image-repeat: repeat;
  background: url('images/back4.jpg') repeat;
}
.cadre1_transparent p {
    margin: 0;
    padding: 0;
}
.cadre1_transparent h4 {
    margin-top: -10px;
    text-align: center;
}
.cadre1_transparent p:not(:last-child) {
    margin-bottom: 6px;
}

/***************************/
/* Définition des colonnes */
/***************************/
section.deux_colonnes {
    -webkit-columns: 2 450px; /* Opera, Safari, Google Chrome */
    -moz-columns: 2 450px; /* Firefox */
    columns: 2 450px; /* Internet Explorer */
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
    widows: 3;
    orphans: 2;
    margin: 6px 0;
}
section.deux_colonnes > div.note {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
section.trois_colonnes {
    -webkit-columns: 3 320px; /* Opera, Safari, Google Chrome */
    -moz-columns: 3 320px; /* Firefox */
    columns: 3 320px; /* Internet Explorer */
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    widows: 3;
    orphans: 2;
    margin: 6px 0;
}
section.deux_colonnes *:first-child, section.trois_colonnes *:first-child {
    margin-top: 0;
}
.en_retrait {
    margin-left: 16px !important;
}
.saut_colonne {
    break-before: column;
    -webkit-column-break-before: always;
    margin-top: 0 !important; }
.pas_de_saut {
    break-inside: avoid;
    -webkit-column-break-inside: avoid; }

/*********************************/
/* Définition style des tableaux */
/*********************************/
div.tableau_titre {
    margin: 0 auto; 
}
div.tableau_titre h6 {
    font-family: "IM Fell Great Primer SC", serif;
    font-size: 1.3em;
    font-weight: bold;
    color: #663300;
    text-align: left;
    margin: 12px 0 -6px 0; 
}
table.large90 { width: 90%; }
table.large80 { width: 80%; }
table {
    border: 3px double #663300;
    border-collapse: collapse;
    margin: 12px auto;
    font-family: 'Times New Roman', Times, serif;
}
table.fixe { table-layout: fixed }
caption.titre_tableau {
    caption-side: top;
    font-family: "IM Fell Great Primer SC", serif;
    font-size: 1.3em;
    color: #663300;
    text-align: left;
}
caption.legende_tableau {
    caption-side: bottom;
    font-size: 0.9em;
    font-style: italic;
    text-align: justify;
    margin-top: 6px;
}
caption.legende_tableau p, p.legende_table {
    text-indent: -22px;
    margin-left: 22px;
}
caption.legende_tableau p span {
    float: left;
    width: 22px;
}
.legende_tableau dl {
    padding: 5px;
    margin: 0px;
    line-height: 1.25em;
    font-size: 1.1em;
}
.legende_tableau dl dt {
    float: left;
    width: 25px;
    text-align: center;
    font-weight: bold;
    font-style: normal;
}
.legende_tableau dl dd {
    margin-left: 30px;
    margin-bottom: 3px;
    text-align: justify;
}
th, thead td { background: url('images/back1.jpg') repeat }
td { background: url('images/back4.jpg') repeat }
td, th {
    border: 1px solid #663300;
    border-spacing: 0;
    padding: 2px 5px;
    text-align: center;
}
.ligne25 td, .ligne25 th {
    height: 25px;
}
/*** Pour une image remplissant entièrement une cellule de tableau **/
td.padding0, th.padding0 { padding: 0; }
td.padding0 img, th.padding0 img { display: block; }
/********************************************************************/
table.texte_gauche td, td.texte_gauche {text-align: left}
table.d100 tbody td:first-child, table.d100 tbody th:first-child  {
    text-align: center;
    width: 50px; }
table.texte_col1 td:first-child, table.texte_col2 td:first-child + td { text-align: left }
td span.en_vertical, th span.en_vertical {
    display: inline;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform-origin: center;
    transform: rotate(180deg);
    text-align: center;
}
td.texte_justifie { text-align: justify }
table.niveau_experience tbody td:first-child {
    background: url('images/back1.jpg') repeat;
    width: 50px; }
table.xp td:first-child + td {
    text-align: right;
    width: 80px; }
table.niveau_experience tbody td.imbrique {
    text-align: right;
    background: url('images/back4.jpg') repeat; }
td.tirage { background: url('images/back1.jpg') repeat }
td.tirage, table.col60 tr td, table.col60 tr th  { width: 60px }
table.competences.a_gauche { margin: 6px 6px 6px 20px }
table.competences.a_droite { margin: 6px 20px 6px 6px }
table.competences th, table.competences td {
    padding: 3px 0px;
    width: 50px; }
table.competences_generales th, table.competences_generales td {
    padding: 1px;
    border: 0; }
table.competences_generales {
    border: 1px solid #663300;
    margin: 12px 0px 12px 10px;
    font-size: 1em;
    float: left; }
table.competences th:first-child, table.competences td:first-child { width: 250px }
table.competences th:first-child + th, table.competences td:first-child + td { width: 40px }
table.competences th:first-child + th + th, table.competences td:first-child + td + td { width: 60px }
table.competences th:first-child + th + th + th, table.competences td:first-child + td + td + td { width: 40px }
table.competences th:first-child, table.competences_generales th:first-child {
    font-size: 1.1em;
    line-height: 125%;
    color: #333333 ; }
table.competences td:first-child, table.competences_generales td:first-child {
    text-align: left;
    padding-left: 5px; }
table.competences_generales th:first-child, table.competences_generales td:first-child { width: 200px }
table.competences_generales th:first-child + th, table.competences_generales td:first-child + td { width: 20px }
table.competences_generales th:first-child + th + th, table.competences_generales td:first-child + td + td { width: 50px }
table.competences_generales th:first-child + th + th + th, table.competences_generales td:first-child + td + td + td { width: 30px }
table.competences tr:hover td, table.competences_generales tr:hover td { background : url('images/back5_160b.jpg') repeat }
#nb_attaques_specialiste td, #nb_attaques_specialiste th { width: 70px }
/**************************************************/
/* Définition style des listes et des définitions */
/**************************************************/
ol {
    margin: 6px;
    padding-left: 26px;
    font-weight: normal;
}
ol li {
    line-height: 125%;
    margin : 6px;
    text-align: justify;
}
ol li::marker {
    font-weight: bold;
}
ol li span:not(.nombre), dl.description dd ol li span:not(.nombre) { font-weight: normal }
ol.parenthese {
    counter-reset: o-counter 0;
    list-style-type: none;
}
ol.parenthese li {
    display: table-row;
    font-weight: normal;
}
ol.parenthese li:before {
    content: "(" counter(o-counter) ") ";
    counter-increment: o-counter;
    display: table-cell;
    padding-right: 5px;
    font-family: 'Times New Roman', Times, serif;
    text-align: left;
    font-weight: bold;
}
/**************************************************/
ul.puce_rouge {
	margin: 0;
	padding-left: 26px;
	list-style-image: url("images/puce_rouge5.gif");
}
ul.puce_rouge li {
	line-height: 125%;
	margin : 6px;
	text-align: justify;
}
/**************************************************/
.valeur {
 	padding: 6px 6px 3px 20px;
 	margin: 0;
}
dl.valeur dt {
	display: inline-block;
	vertical-align: top;
 	margin: 0;
 	padding: 0px 10px 3px 0px;
 	line-height: 125%;
 	text-align: left;
}
dl.valeur dd {
 	display: inline-block;
	vertical-align: top;
	margin: 0;
 	padding: 0px 0px 3px 0px;
 	line-height: 125%;
	text-align: left;
}
dl.L520 dt, dl.L150 dd { width: 520px }
dl.L150 dt, dl.L520 dd { width: 150px }

/**************************************************/
dl.une_ligne {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 0;
    row-gap: 0;
    margin: 10px 6px;
    line-height: 125%;
}
dl.une_ligne dt {
    text-align: right;
    font-weight: bold;
    hyphens: none;
    padding: 6px 10px;
    color: #663300;
}
dl.une_ligne dd {
    margin: 0;
    padding: 6px 10px 6px 10px;
    text-align: justify;
}
/* Séquences impaires : léger assombrissement */
dl.une_ligne > dt:nth-of-type(odd),
dl.une_ligne > dd:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.14);
}
/* Séquences paires : léger éclaircissement */
dl.une_ligne > dt:nth-of-type(even),
dl.une_ligne > dd:nth-of-type(even) {
    background-color: rgba(255, 255, 255, 0.28);
}
/**************************************************/
dl.une_ligne_danscadre {
 	padding: 0px;
 	margin: 6px;
 	line-height: 125%;
}
dl.une_ligne_danscadre dt {
	float: left;
	text-align: right;
	font-weight: bold;
        hyphens: none;
}
dl.une_ligne_danscadre dt { width: 160px }
dl.une_ligne_danscadre dd {
 	margin-bottom: 6px;
	text-align: justify;
}
dl.une_ligne_danscadre dd { margin-left: 170px }

/**************************************************/
dl.description { margin: 0 }
dl.description dt {
 	margin: 12px 6px 3px 6px;
 	line-height: 125%;
 	text-align: left;
        font-size: 1.1em;
 	font-weight: bold;
}
dl.description dt.saut_colonne {
 	margin-top: 0;
}
dl.description.titre_h5 dt {
    font-family: "IM Fell English", "EB Garamond", serif;
    font-size: 1.25em;
    color: #C00000;
}
dl.description dd {
	margin: 0px 6px 6px 16px;
 	line-height: 125%;
	text-align: justify;
}
dl.description dd span:not(.nombre, .apostrophe) {
        display: inline;
        margin: 0 0 0 3px;
        font-weight: bold;
}
dl.description dd span small {
        font-weight: normal;
        font-size: 1em;
}
dl.description dt span:not(.nombre, .apostrophe) { 
    float: right;
    font-style: italic;
    font-weight: normal;
    }
dl.description ul.puce_rouge { padding-left: 36px }
dl.description ul.puce_rouge li { line-height: 100% }

/*********************************/
/*  Profil classe de personnage  */
/*********************************/
#entete_profil {
	position: relative;
	margin: 0;
	padding: 0; }
#entete_profil img {
	position: absolute;
	bottom: 0;
	right: 10px; }
#entete_profil dl {
 	padding: 0px;
 	margin: 0px; }
#entete_profil dl dt {
	display: inline-block;
	vertical-align: top;
 	width: 210px;
 	margin: 0;
 	padding: 5px 0px;
 	text-align: right;
 	line-height: 22px;
	font-family: "IM Fell English", "EB Garamond", serif;
	font-size: 1.1em;
	font-weight: bold;
	color: #A52A2A;	}
/* Pour l'afffichage des nombres qui sont trop petits en police IM Fell English */
.entete span, .nombre {
  font-family: "EB Garamond", Georgia, serif;
}
#entete_profil dl dt span { 
    font-family: 'IBM Plex Mono','Lucida Console', Tahoma, serif; }
#entete_profil dl dt small {
	font-family: "IM Fell English", "EB Garamond", serif; }
/********************************************************************************/
#entete_profil dl dd {
 	display: inline-block;
	vertical-align: top;
	margin: 0;
 	padding: 5px 10px;
 	width: 60%;
	text-align: left;
 	line-height: 22px;
	font-size: 1.1em;
	font-weight: bold;
	color: #663300;	}
/**************/
/* Info bulle */
/**************/
.info-bulle {
    cursor: help;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* Infobulle créée par JavaScript */
.info-bulle-popup {
    position: fixed;
    z-index: 10000;

    max-width: 400px;
    padding: 8px;

    border: 1px solid rgba(102, 51, 0, 0.85);
    border-radius: 6px;
    background: rgba(102, 51, 0, 0.95);

    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.1em;
    font-weight: normal;
    line-height: 1.3;
    text-align: center;
    color: #FFFFFF;

    box-sizing: border-box;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.15s ease;
}

.info-bulle-popup.visible {
    opacity: 1;
    visibility: visible;
}
/*********************************/
/* Page pour imprimer sélection  */
/*********************************/
body#cadreimpression {
   	width: 21cm;
   	height: 29.7cm;
   	margin: auto;
   	padding: 0;
   	outline: 0;
	background-color: #FFFFFF;
	background: url('images/back3.jpg') repeat;
}
#pageA4 {
	margin: 0;
	background-color: white;
	font-size: 11pt;
}
#pageA4.sans_image img { display: none }
#pageA4.sans_barre hr { display: none }
@media screen { body#cadreimpression #pageA4 { padding: 1cm } }
@media print { body#cadreimpression #pageA4 { padding: 0 } }
/************************************************/
/*  Zone de validation de sélection à imprimer  */
/************************************************/
p#imprimer {
	position: absolute;
	right: 6px;
	bottom: 0px;
}
/****************************************/
/* Définition style pour liste de sorts */
/****************************************/
body#cadresort {
	background-color: #FFFFFF;
	background: url('images/back3.jpg') repeat;
	padding: 10px;
        overflow: hidden;
}
body#cadresort h3 { margin-top: 0px; }
body#cadresort h6 { margin-top: 0px; }
body#cadresort > p:last-child {
	margin-bottom: 12px;
}
div.legende, div.grand_cadre, #magie_universelle {
	background: url('images/back4.jpg') repeat;
	margin: 10px 6px;
	padding: 5px 6px;
	border: 2px ridge #663300;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}
div.legende *:first-child, div.grand_cadre *:first-child { margin-top: 0px !important; }
div.legende, #magie_universelle { float: right; }
div.legende.colonne { margin-left: 16px }
div.legende.haut30, .haut30 { margin-top: 30px}  /* pour aligner sur milieu hauteur h1 */
div.legende ul, div.grand_cadre ul {
    list-style-type: square;
    margin: 5px 0px;
    padding-left: 20px;
    text-align: left;
}
div.legende ul li, div.grand_cadre ul li {
    margin: 0px 0px 3px 0px;
}
dl.liste_sorts {
    display: inline-block;
    vertical-align: top;
    width: 31%;
    margin: 6px 10px;
    padding: 0;
    text-align: left;
}
div.sorts_ecole {
  border: 1px solid #8b6f3d;
  background: rgba(245, 240, 230, 0.4);
  display: inline-block;
  width: 100%;
  margin-bottom: 6px;
}
dl.liste_sorts dt {
    text-align: left;
    line-height : 100%;
    font-size: 1.2em;
    font-weight: bold;
    color: #C00000;
    margin: 12px 0px 3px 5px; 
}
dl.liste_sorts dt:first-child {
    margin-top: 6px; 
}
dl.liste_sorts dd {
    text-align: left;
    line-height : 100%;
    margin: 0px 0px 3px 15px; 
}
div.legende dl.liste_sorts {
    width: 245px;
    margin-left: 3px;
}
div.legende dl.liste_sorts.pluslarge {
    width: 260px;
}
div.legende dl.liste_sorts dt {
    margin-left: 0;
}
div.legende dl.liste_sorts dd {
    text-indent: -10px;
}
span.composant { color: #008000 }
/*************************************/
/*  entete des descriptifs des sorts */
/*************************************/
dl.entete_sort {
    display: inline-block;
    width: 48%;
    margin: 0px 0px 0px 6px;
    line-height: 1.1em;
}
dl.entete_sort dt {
    float:left;
    padding-right: 5px;
    color: #61300D ;
}
dl.entete_sort dd       { font-weight: normal }
.MdJ			{ color: black }			/* Manuel des Joueurs */
.RdM			{ font-style: italic }			/* Recueil de Magie */
.MeS			{ text-decoration: underline }		/* Magie et Sortilèges */
.MdM, .New		{ font-variant:small-caps }		/* Manuel du Magicien, Nouveau sort de prêtre */
.Autre			{ font-weight: bold }			/* Autre source */
.Spec			{ color: #990000;
			  font-weight: bold }			/* Sort spécifique */
/**************************************/
/*  Formulaire de contact et Messages */
/**************************************/
form#contact fieldset {
    border: none;
}
form#contact label {
    display: inline-block;
    width: 60px;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
}
form#contact textarea {
    width: 350px;
}
form#contact input {
    width: 190px;
}
form#contact legend, #commentaire_form_B legend {
    color: #663300;
    font-weight: bold;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
}
form#contact p.erreur {
    color: #FF0000;
    font-family: Gelasio, Georgia,'Times New Roman', Times, serif;
    height: 20px;
}
body#cadrecommentaire {
	background-color: #FFFFFF;
	background: url('images/back3.jpg') repeat;
	padding: 10px;
}
form#commentaire_form_B label {
    display: inline-block;
    width: 200px;
    font-family: Gelasio, Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
}
/***************/
/*  Highslide  */
/***************/
.highslide img {
    background: #f5f0e6;
    border: 1px solid #8b6f3d;    
    border-radius: 4px;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    transition: all 0.2s ease; }
.highslide:hover img {
    border-color: #3e2f18;          /* brun plus foncé */
    box-shadow: 5px 5px 10px rgba(0,0,0,0.4); }
.highslide-active-anchor img {
    visibility: visible;
    border-color: #3e2f18 !important; /* brun très foncé */
    box-shadow: 5px 5px 10px rgba(0,0,0,0.4); }
.highslide {
    float: right;
    margin: 6px 6px 6px 15px; }
.highslide.gauche {
    float: left;
    margin: 6px 15px 6px 6px; }
.highslide.centre {
    float: none;
    margin: 15px auto; }

/***************/
/*  Fancybox  */
/***************/
.fancybox__backdrop { background: rgba(0, 0, 0, 0.75); }
body.compensate-for-scrollbar { padding-right: 0 !important; }
.fancybox__content, .fancybox__slide { 
    padding: 5px 20px 10px 20px !important; }

/*****************************/
/* Recherche dans le menu    */
/*****************************/
div.recherche_menu {
    display: block;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 7.5pt;
    margin-bottom: 12px;
}

div.recherche_menu form {
    margin: 4px 0 0 0;
}

div.recherche_menu input[type="text"] {
    width: 170px;
    padding: 4px 6px;
    font-size: 14px;
}

div.recherche_menu button {
    position: relative;
    width: 130px;
    margin-top: 5px;
    padding: 4px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
div.recherche_menu button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

#rouleau button .points-recherche {
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 35px;
    text-align: left;
}

