
html  {
  font-size: 110%;
}

/* ############################# DEBUT DES ASTUCES A COPIER-COLLER
   &nbsp;  <!-- paragraphe vide pour garder le sous-titre -->   &#8239;:
   <!-- paragraphe sous-titre -->
   > !!! success "OK 2026"
   ![](./img/utilities/petits/PastilleChiffreVert_1.png){.img-inline}
   <a href="https://www.vive.com/fr/product/" target="_blank">texte visible</a>
   [](){}
   
   IMAGES: voir custom.css
   ############################# FIN DES ASTUCES */




/* =====================================================
   NAVIGATION (LEFT PANEL)
   ===================================================== */
/*Description*/
.md-nav__item .md-nav__link--active {
    /* font-size: 12pt; */
    color: coral; /* royalblue coral*/
    font-weight: bold;
}



/* =====================================================
   DEBUT DES TITRES
   ===================================================== */
/*Titres de h1 à h6*/
.md-typeset h1 {
    color: coral;
    text-align: center;
    position: relative;
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 0.1em; /* réduit l’espace sous le titre */

    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.md-typeset h1 .headerlink {
  position: absolute;
  right: 0;
  top: 0;
}

/* SOUS-TITRE PLUS PETIT : utiliser <span class="subtitle-small">sous-titre-plus-petit</span> */
.md-typeset h1 .subtitle-small {
  display: block;
  font-size: 0.45em;
  line-height: 1.2;
  font-weight: 400;
  opacity: 0.5;
  color: red;
}


/* Paragraphe immédiatement après un titre = sous-titre */
.md-typeset h1 ~ p:first-of-type:not(.admonition) {
  color: coral; /* couleur identique au titre */
  font-size: 1.2em;
  line-height: 1.2;
  opacity: 0.8;
  text-align: center;
  margin-top: 0; /* pas d’espace supplémentaire */
  margin-bottom: 3em; /* ajoute l’espace sous le sous-titre */
  
  /* Pour limiter à 2 lignes un sous-titre trop long, suivi de ... */
  display: -webkit-box;
  -webkit-line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.md-typeset h2 {
    color: coral; /*royalblue*/
    text-align: left;
    font-style: normal;
    font-weight: bold;
    text-transform: none;
    font-size: 2.8em;
    margin-top: 80px;
    margin-bottom: 25px;
    line-height: 1.2;

    padding-top: 0.6em;
    border-top: 6px solid lightgray;
}


.md-typeset h3 {
    color: royalblue;
    font-style: normal; /*normal italic*/
    font-weight: bold;
    /*text-decoration: underline;*/
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}


.md-typeset h4 {
    color: royalblue;
    font-style: normal;
    font-weight: bold;
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 5px;
    line-height: 1.2;
}


.md-typeset h5 {
    color: royalblue;
    font-style: italic;
    font-weight: bold; /*normal bold*/
    font-size: 1.0em;
    margin-top: 30px;
    margin-bottom: 5px;
    line-height: 1.2;
}


.md-typeset h6 {
    color: coral;
    font-style: normal; /*italic*/
    font-weight: bold; /*normal bold*/
    font-size: 1.1em;
    margin-top: 20px;
    margin-bottom: 5px;
    line-height: 1.2;
}
/* ############################# FIN DES TITRES */

/*Paragraphe courant*/
p {
    margin-top: 0px;
}

/* ####################### */
/*Pour la mise en page des couples Titre/Description du glossaire*/
dl {}
.md-typeset dt {
    color: royalblue; /*royalblue coral*/
    font-weight: bold;    
    margin-bottom: 0px;
}
.md-typeset dd {
    margin-top: 0px;
    /*font-style: italic;*/
}
/* ############################ */




/*Description*/
.rst-content blockquote {
    margin-left: 0px;
    line-height: 24px;  /*24px*/
    margin-bottom: 24px;
}

/*Description*/
.rst-content img {
    margin-left: 10px;
    line-height: 24px;
    margin-bottom: 20px;
}


/*Encard en haut de page pour les commentaires de rédaction*/
blockquote {
    background-color: lightgray;
	/*background-color: #d9edf7 #e88484; changement provisoire*/
    padding: 15px;
	border: 1px solid;
	border-radius: 8px;
	border-color: #2980B9;
}


/*Description*/
mark {
	font-weight: normal;
	background-color: #d9edf7;
	padding: 1px;
	padding-left: 4px;
	padding-right: 4px;
}


/*Mise en page des listes bullet point*/
.md-typeset ul li{
	font-size: 95%;
    margin-bottom: 5px;
    line-height: 1.4;
}

/*Mise en page des listes bullet numérotées*/
.md-typeset ol li {	
    font-size: 95%;
    margin-bottom: 5px;
    line-height: 1.4;
}


/*Description*/
.wy-nav-side {
    color: #259bbd; /* #259bbd */
    /*border-left-width: 0px;*/
}

/*Description*/
.wy-menu-vertical a {
    border-left-width: 0px;
    padding-left: 3em;

}


/*Description*/
.note {
    color: #3a87ad;
    background-color: #d9edf7;
    border-color: #bce8f1;
}
/*
.admonition {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    border-radius: 12px;
    text-align: left;
}
*/
/*
.admonition-title {
    color: #fff;
    font-weight: bold;
    display: block;
    color: #fff;
    background: #6ab0de;
    margin: -12px;
        margin-bottom: -12px;
    padding: 6px 12px;
    margin-bottom: 12px;
}
*/

/* ####################### DEBUT TABLEAUX */
table {
    border-collapse: collapse;
}
table td, table th {
    border: 1px solid #ddd;
    padding: 8px;
}
table th {
    background-color: #f2f2f2;
}
/* ####################### FIN TABLEAUX */


/* ============================
   Ligne horizontale
   ============================ */
hr {
  border: none;              /* enlève le style par défaut */
  height: 1px;               /* épaisseur de la ligne */
  background-color: silver;    /* couleur de la ligne */
  margin: 2em 0;             /* espace au-dessus et en dessous */
}

/* CARACTERE EN ROUGE : utiliser <span class="text-red">motenrouge</span> */
.md-typeset .text-red {
  color: #d32f2f;
  /*font-weight: 600; /* optionnel */
}
/* CARACTERE EN GRIS : utiliser <span class="text-gray">motenrouge</span> */
.md-typeset .text-gray {
  color: darkgray;
  /*font-weight: 600; /* optionnel */
}






/* ###################################### DEBUT DES BADGES */
/* ==========================
   Badges Draft / WIP / Relecture / EMPTY
   Style Material Design amélioré
   ========================== */

.draft-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15em 0.5em;
    margin-left: 0.3em;
    border-radius: 0.4em;
    font-size: 0.75em;
    font-weight: 600;
    vertical-align: middle;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icônes Unicode simples pour différencier */
.draft-badge.relecture::before {
    content: "🟠";
    margin-right: 0.25em;
    font-size: 0.85em;
    vertical-align: middle;
    background: none;
}
.draft-badge.wip::before {
    content: "🔵";
    margin-right: 0.25em;
    font-size: 0.85em;
}
.draft-badge.draft::before {
    content: "🔴";
    margin-right: 0.25em;
    font-size: 0.85em;
}
.draft-badge.empty::before {
    content: "⚪";
    margin-right: 0.25em;
    font-size: 0.85em;
}

/* Couleurs Material Design */
.draft-badge.relecture { background-color: #f39c12; } /* orange */
.draft-badge.wip       { background-color: #3498db; } /* bleu */
.draft-badge.draft     { background-color: #e74c3c; } /* rouge */
.draft-badge.empty     { background-color: #7f8c8d; font-style: italic; } /* gris */

.draft-description {
    display: block;
    font-size: 0.85em;
    color: #555;
    margin-left: 1.2em;
    margin-bottom: 0.5em;
}
/* ###################################### FIN DES BADGES */


/* Optionnel : léger hover pour les liens */
a:hover {
    text-decoration: underline;
}

/* Cadre autour des images */ 
.img-border {
  border: 1px solid lightgray;   /* gris sombre #222 */
  border-radius: 6px;            /* coins légèrement arrondis */
  padding: 4px;                  /* espace entre image et cadre */
  background-color: #1e1e1e;     /* fond sombre (optionnel) */
}



