/* Styles pour le Dictionnaire de l'Académie (9e édition), version imprimée.
   Revu L. Catach, 04/2023.
   S'applique aux fichiers HTML issus de la mise en pages "Academie-Fayard-XML2HTML.xsl", 
   version "livre", en 1 colonne, reproduisant au plus près la mise en pages imprimée (JO / Fayard).
   ** Version modifiée pour relectures Académie, avec textes agrandis; voir "Version large" en commentaires.
*/

/* AJout pour la version BIS : */
table {
	margin: auto;
	width: 90%;
	border-collapse: collapse;
	border: none;
}
.xtd1 {
	padding: 5px;
	padding-right: 20px;
	/*  width: 85%; */
	vertical-align: top;
	border: none;
	border-top: dotted 1px grey;
}
.xtd2 {
	padding: 5px;
	width: 130px;
	vertical-align: top;
	border: dotted 1px grey;
	border-right: none;
	line-height: 140%;
	font-family: Verdana;
	font-size: 10pt;
	background-color: rgb(245,245,245);
}

/* Liens hypertextes (sur les entrées) : */
a:link, a:visited, a:active {text-decoration: none; color: black;}
a:hover {text-decoration: underline; color: black;}

/* Corps de la page HTML : */
body {
  margin: 20px auto;
  hyphens: none;      /* TOME4 : au choix, mais mieux sans pour la relecture */
  /* width: 350px; */      /* TOME4 : largeur ok ~mise en pages JO */
  /* width: 420px; */   /* Version large */
  width: 900px;    /* Version bis */
 /*
    max-width: 740px;
    border-right: solid 1px gray;
    padding-right: 20px;

    height: 1160px;
    column-count: 2;
    column-gap: 2em;
    -moz-column-count: 2;
    -moz-column-gap: 2em;
    -moz-column-fill: auto;
    -moz-column-rule: 1px solid silver;
    column-rule: 1px solid silver;
*/    
}

/* Images utilisées dans les entités : */
.s_imgtxt {
    /* max-height: 16px; */    /* Ajusté TOME4 : 28px > 16px (~hauteur de ligne) */
    max-height: 20px;    /* Version large */
    vertical-align: bottom;
}

/* Article du dictionnaire : */
.s_Article {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10pt;
    text-indent: 10pt;
    /* line-height: 115%; */      /* TOME4 : au plus proche du JO */
    font-family: "Times New Roman", serif;
    /* font-size: 90%;  */
    font-size: 13pt;   /* Version large */
    line-height: 130%;   /* Version large */
/*    clear: both;*/
    text-align: justify;
/*    border-top: solid 2px silver;
    padding-top: 8pt;
*/
    widows: 2;
    orphans: 2;
/*    page-break-inside: avoid;*/
}

/* Catégorie grammaticale : */
.s_Cat {
/*    font-family: Verdana;
    font-size: 75%;
    font-weight: bold;
*/    
    font-style: normal;
    font-variant: normal;
    color: black;
}

/* Rubrique de conjugaison ou pluriel : pas de mise en forme visible */
.s_Conj {
/* masqué TOME4 — concerne <Conj> et <Plur>
    font-family: Arial;
    font-size: 90%;
*/
    font-style: normal;
    font-weight: normal;
}

/* Définition : */
.s_Def {
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
}

/* Division numérique (paragraphe) : */
.s_DivNum {
    margin-top: 2pt;
    margin-bottom: 2pt;
    clear: both;
    text-indent: 10pt;
    margin-left: 0;
}

/* Division paragraphe : */
.s_DivPar {
    margin: 0;
    margin-top: 2pt;
    text-indent: 10pt;
}

/* Division romaine ou alpha (paragraphe) : */
.s_DivRom {
    margin-top: 5pt;
    margin-left: 0;
    text-indent: 10pt;
    margin-bottom: 10pt;
    clear: both;
}

/* Entrée ou variante : */
.s_Entree {
    font-style: normal;
    font-weight: bold;
    font-variant: normal;
    font-size: 100%;
    text-transform: uppercase;
/*    color: navy;
    font-family: "Arial Unicode MS", "Lucida Grande", "Times New Roman";
    margin-right: 2pt;
    text-shadow: 1px 1px 1px rgb(204, 204, 204);
*/  
}

/* Cas des entrées en bas de casse (avec opposition minuscules/majuscules) : */
/* Finalement : pas de distinction (choix Académie). */
.s_bdc {
/* 
    text-transform: none;
    font-variant: small-caps;
    font-size: 110%;
*/
}

/* Etymologie : en corps plus petit */
.s_Etym {
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-size: 90%; 
}

/* Italiques : */
.s_im {
    font-style: italic;
}
.s_ig {
    font-style: italic;
    font-weight: bold;
}

/* Marque de domaine, en petites cap. : */
.s_Marq {
    text-transform: uppercase;
    /* font-size: 78%; */    /* TOME4 : 75% > 78%  */
    font-size: 80%;    /* Version large */
    font-style: normal;
    font-weight: normal;
/*    font-family: Verdana;
    color: rgb(80, 80, 80);
    border: dotted 1px silver;
    padding: 0 3px;
*/
}

/* Métalangue : pas de mise en forme visible */
.s_Meta {
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
/*    font-family: Verdana;
    font-size: 80%;
    color: rgb(80, 80, 80);
*/
}

/* Numéro de division (numérique, romaine, etc.) : */
.s_nDiv {
    font-style: normal;
    font-weight: bold;
    color: black;
}

/* Numéro d'homographe : */
.s_rvh .s_NumHom {
    font-style: italic;
    font-weight: normal;
    font-size: 100%;
}
.s_NumHom {
    font-style: normal;
/*    font-weight: normal;*/
    font-size: 100%;
}

/* Petites capitales (surtout les siècles) : */
.s_pc {
    font-variant: small-caps;
    font-size: 110%;
}

/* Prononciation : pas de mise en forme visible */
.s_Pron {
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
/* masqué TOME4 
    font-family: Arial;
    font-size: 90%;
*/
}

/* En-tête des articles (zone entrée) : */
.s_pti {
    margin: 0;
    text-indent: 10pt;
}

/* Corps des articles : */
.s_Corps {
    margin-top: 2pt;
    text-indent: 10pt;   /* Ajout TOME4 */
}

/* Remarque normative : */
.s_Rem {
    font-style: normal;
    font-weight: bold;
}

/* Zone de renvoi(s) : */
.s_Renv {
    font-style: normal;
    font-weight: normal;
}

/* Renvoi sur un mot : */
.s_rvh {
    font-style: italic;
}

/* Unicode [non utilisé] : */
.s_uni {
    font-size: 110%;
}

/* Ruptures typos : */
.s_Def .s_x {
    font-style: italic;
}
.s_im .s_x, .s_ig .s_x {
    font-style: normal;
}
.s_x {
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
}

/* Exemple [non utilisé] : */
.s_Exemple {
    font-style: italic;
    font-weight: normal;
}

/* Zone de remarques [non utilisé] : */
.s_ZoneRem {
    font-style: normal;
    font-weight: normal;
    text-indent: 0;
    color: black;
}

/* Casseau orthographe (◊) : */
.s_ortho{
    font-style: normal;
    font-weight: normal;
}

/* Casseau aster (*) pur les mots nouveaux : */
.s_Aster {
    font-style: normal;
    font-weight: normal;
    text-transform: none;
    font-size: 100%;     /* ajusté TOME4 : 90% > 100% */
    /*margin-right: 2pt;*/
    vertical-align: middle;
}

/* Exposant : */
sup {
    /* Repris 04/2020 pour avoir des hauteurs de lignes homogènes : */
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
    font-size: 80%;
    text-transform: none;
}

.s_DivPar_inter {
    margin-top: 6pt;    /*  au lieu de 2pt pour s_DivPar */
    margin-left: 0;
    color: black;
}