/* ==========================================================================
   DOCUMENTS DE DROIT INTERNATIONAL — CSS PERSONNALISÉ
   Thème « Documents de droit international » (ddi) · fichier perso.css · version 1.1.1 (décembre 2026)
   ==========================================================================

   TABLE DES MATIÈRES

    0. Mode d'emploi
    1. Typographie et réglages généraux (dont la couleur des liens)
    2. En-tête, bannière et menu principal
    3. Barre latérale et sommaires (LuckyWP, Ultimate Blocks)
    4. Bouton « Plan » et popup du sommaire sur mobile (Ays Popup Box)
    5. Page d'accueil (diaporama Accordion Slider)
    6. Listes d'articles et grilles de recueils
    7. Liens vers des fichiers (Pretty File Links)
    8. Notes de bas de page en infobulle
    9. Tableaux wpDataTables
       9.1. Réglages de base des tableaux
       9.2. Mise en page des pages qui contiennent un tableau
       9.3. Petits écrans (900 px et moins)
       9.4. Réglages propres à chaque tableau
       9.5. Impression des tableaux
   10. Divers (fiches HAL, pied de page)
   11. Reprises de feuilles d'extensions (animations, Ultimate Blocks)
   12. Retouches visuelles (audit de décembre 2026)
       12.1. Sous-menus : largeur, corps, filets
       12.2. Menus de droite et séparateur « I »
       12.3. Rythme vertical des titres
       12.4. Couleur des liens dans le texte et le sommaire
       12.5. Mobile : justification, en-tête, bouton « haut de page »
       12.6. Accueil : espace au-dessus du diaporama
       12.7. Barre latérale : recherche en double
   13. Règles en sommeil (corrigées mais désactivées)

   PROVENANCE
   Les sections 1 à 11 réunissent, sans changer l'affichage du site :
   - la couleur des liens choisie dans les options de Twenty Eleven (#a5a5a5) ;
   - le « CSS additionnel » du Customizer (Apparence › Personnaliser) ;
   - le CSS de l'extension « Simple Custom CSS and JS » (.pop__up) ;
   - le « CSS personnalisé » général de wpDataTables et celui des tableaux
     n° 10, 12, 13, 16, 17 et 19 ;
   - la feuille de Pretty File Links (dans sa version retouchée du Customizer),
     les deux animations utiles de animate.css (Ays Popup Box) et les trois
     règles de la feuille « extensions » d'Ultimate Blocks.
   Le fichier functions.php empêche ces trois dernières feuilles d'être
   chargées en double.
   La section 12 ajoute, elle, les retouches visuelles retenues en
   décembre 2026 : c'est la seule qui modifie l'affichage.

   ========================================================================== */


/* ==========================================================================
   0. MODE D'EMPLOI
   ==========================================================================

   - Pour retrouver une section, chercher son numéro (Ctrl+F ou Cmd+F),
     par exemple « 9.4. ».
   - Les points d'arrêt utilisés sur tout le site sont :
       petits écrans : @media screen and (max-width: 900px)
       grands écrans : @media screen and (min-width: 901px)
   - Les règles placées sous « body:has(.wpdt-c) » ne s'appliquent qu'aux
     pages qui contiennent un tableau wpDataTables.
   - Les règles placées sous « .wpDataTableID-17 » (par exemple) ne
     s'appliquent qu'au tableau n° 17.
   - Avant toute modification : copier l'intégralité du fichier dans un
     document de sauvegarde.

   ========================================================================== */


/* ==========================================================================
   1. TYPOGRAPHIE ET RÉGLAGES GÉNÉRAUX
   ========================================================================== */

/* Couleur des liens (#a5a5a5), autrefois réglée dans les options de
   Twenty Eleven (Apparence › Options du thème). Pour la changer, remplacer
   #a5a5a5 par la couleur voulue dans les trois règles ci-dessous.
   Les liens du texte et du sommaire ont leur propre couleur (12.4). */
a,
#site-title a:focus,
#site-title a:hover,
#site-title a:active,
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active,
section.recent-posts .other-recent-posts a[rel="bookmark"]:hover,
section.recent-posts .other-recent-posts .comments-link a:hover,
#site-generator a:hover {
	color: #a5a5a5;
}
section.recent-posts .other-recent-posts .comments-link a:hover {
	border-color: #a5a5a5;
}
article.feature-image.small .entry-summary p a:hover,
.entry-header .comments-link a:hover,
.entry-header .comments-link a:focus,
.entry-header .comments-link a:active,
.feature-slider a.active {
	background-color: #a5a5a5;
}

/* Police et interligne du texte courant */
body {
	font: 1.1em "Baskerville", Helvetica, Arial, sans-serif;
	line-height: 1.625em;
}

/* Paragraphes justifiés */
p {
	text-align: justify;
	border-radius: 11px !important;
	margin-bottom: 1.5em;
}

/* Paragraphes qui suivent un bloc de notes (classe « notes ») */
.notes ~ p {
	text-align: justify;
	line-height: 1.2em;
	font-size: 0.9em !important;
	margin-bottom: 1.2em;
}

/* Paragraphes sur fond gris clair (réglage de couleur de l'éditeur) */
p.has-light-gray-background-color {
	background-color: rgba(226, 226, 226, 0.3);
}

/* Titres de niveau 1 à 3 (hors titre du site, accordéons et titres masqués) */
h1:not(#site-title, .wp-block-ub-content-toggle-accordion-title, .hidden) {
	font-size: 1.4em !important;
	line-height: 1.4em !important;
	padding-top: 2.8em;
	padding-bottom: 1em;
}

h2:not(#site-description, .wp-block-ub-content-toggle-accordion-title, .as-layer, .hidden) {
	font-size: 1.2em !important;
	line-height: 1.2em !important;
	padding-top: 2.4em;
	padding-bottom: 1em;
}

h3 {
	font-size: 1em !important;
	line-height: 1em !important;
	padding-top: 1em;
	padding-bottom: 1em;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 500;
}

/* Titre de page masqué (classe « hidden » dans l'en-tête de l'article) */
.entry-header .hidden {
	padding: 0 !important;
	margin: 0 !important;
	font-size: 0 !important;
}

/* Suppression de la marge haute des pages */
.singular.page .hentry {
	padding-top: 0 !important;
}

/* Blocs « Détails » (accordéons natifs de WordPress) */
summary {
	margin-bottom: 1.4em;
}

/* Bloc « Média et texte » : texte collé à l'image */
.wp-block-media-text .wp-block-media-text__content {
	padding-left: 0;
}

/* Liens des widgets en graisse normale */
.widget a {
	font-weight: 400 !important;
}

/* Éléments réservés à l'impression, masqués à l'écran */
.imprint {
	display: none;
}


/* ==========================================================================
   2. EN-TÊTE, BANNIÈRE ET MENU PRINCIPAL
   ========================================================================== */

/* Image de bannière : bandeau bas et recadré */
#branding img {
	width: 100%;
	height: 110px;
	object-fit: cover;
	object-position: 25% 25%;
}

#page #branding img {
	object-fit: fill !important;
}

/* Pas de bannière sur la page d'accueil */
.home #page #branding img {
	display: none !important;
}

/* Menu principal : espacement des entrées */
#access a {
	padding: 0 0.7em;
}

#access div {
	padding-left: 0 !important;
	margin-left: 3%;
	margin-right: 3%;
}

/* Sous-menus des entrées de droite, ouverts vers la gauche */
#access .m_droite .sub-menu {
	left: -9em !important;
}

#access .m_pre_droite ul ul {
	left: -100% !important;
}

/* Séparateur du menu (sa largeur est calculée par js/general.js) */
.m_separator {
	margin-left: 0;
}

/* Entrées de menu non cliquables (« nc ») et exceptions (« clc ») */
.nc:active {
	pointer-events: none;
}

.clc:active {
	pointer-events: auto !important;
}

/* Petits écrans : bannière masquée, menu vertical à la place du menu horizontal */
@media screen and (max-width: 900px) {

	#branding {
		display: none;
	}

	#horizon {
		display: none;
	}

	#vertical {
		display: block;
	}
}

/* Grands écrans : menu horizontal */
@media screen and (min-width: 901px) {

	#horizon {
		display: block;
	}

	#vertical {
		display: none;
	}

	.mobile {
		display: none;
		cursor: pointer;
	}
}


/* ==========================================================================
   3. BARRE LATÉRALE ET SOMMAIRES (LuckyWP, Ultimate Blocks)
   ========================================================================== */

/* Hauteur de la barre latérale.
   Valeur de départ : js/general.js la remplace ensuite par la hauteur réelle
   du contenu, pour que le sommaire reste visible pendant la lecture. */
.widget-area {
	height: 80vw;
}

/* Sommaires « collants » de la barre latérale (blocs n° 25 et 21) */
#block-25,
#block-21 {
	position: sticky;
	top: 45px;
	width: 120%;
}

#block-25 .lwptoc_items {
	height: 205px !important;
	overflow-y: scroll;
	margin-bottom: 15px !important;
	width: 110%;
}

#block-21 .lwptoc_items {
	height: 600px !important;
	overflow-y: scroll;
	margin-bottom: 15px !important;
	width: 110%;
}

/* Listes de pages défilantes (classe « liste_p ») */
.liste_p {
	height: 300px !important;
	overflow-y: scroll;
	margin-bottom: 15px !important;
	width: 110%;
}

/* Liste de pages sans puces */
.wp-block-page-list ul {
	list-style: none !important;
}

/* Sommaire LuckyWP : espacement des entrées */
ul li.lwptoc_item {
	line-height: 1.3em;
	margin-bottom: 0.9em !important;
}

/* Sommaire Ultimate Blocks : en-tête */
.ub_table-of-contents-header-container {
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 0;
}

.ub_table-of-contents-header {
	text-align: left !important;
	font-size: 1em;
	padding-left: 2%;
	min-width: 300px;
}

.ub_table-of-contents-header-toggle {
	font-size: 0.8em;
}

/* Petits écrans : barre latérale masquée (le sommaire passe dans la popup, section 4) */
@media screen and (max-width: 900px) {

	#main #secondary {
		display: none !important;
	}
}


/* ==========================================================================
   4. BOUTON « PLAN » ET POPUP DU SOMMAIRE SUR MOBILE (Ays Popup Box)
   ==========================================================================
   Sur petit écran, deux boutons fixés en bas de page (.pop_up et .popup)
   ouvrent les popups « Plan page » et « Plan », qui contiennent le sommaire
   LuckyWP. Sur grand écran, ces boutons sont masqués.
   Les animations d'ouverture et de fermeture sont en section 11. */

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

	.popup {
		position: fixed;
		bottom: 3.8px;
		left: 172px;
		line-height: 2.8em;
		width: 150px !important;
	}

	.pop_up {
		position: fixed;
		bottom: 3.8px;
		left: 15px;
		line-height: 2.8em;
		width: 150px !important;
	}

	.plan {
		display: block !important;
	}

	/* Sommaire LuckyWP à l'intérieur de la popup */
	.ays_content_box .lwptoc-rightwithoutflow {
		text-align: left !important;
		margin-left: 5px;
		font-size: 13px !important;
	}

	.ays_content_box .lwptoc {
		margin-top: 0 !important;
	}

	.ays_content_box .lwptoc_item {
		font-size: 13px !important;
	}

	.ays_content_box .lwptoc_header {
		display: none !important;
	}

	/* Bouton « remonter en haut » (WPFront Scroll Top) */
	#wpfront-scroll-top-container {
		right: 15px !important;
		bottom: 15px !important;
	}
}

@media screen and (min-width: 901px) {

	.popup,
	.pop_up,
	.plan {
		display: none !important;
	}
}


/* ==========================================================================
   5. PAGE D'ACCUEIL (diaporama Accordion Slider)
   ========================================================================== */

/* Pas de barre latérale sur l'accueil (page n° 70894) */
#post-70894 ~ .widget-area {
	display: none;
}

/* Contenu de l'accueil en pleine largeur */
.home #content {
	margin: 0 !important;
}

.showcase .entry-content,
.content,
.intro {
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.intro {
	margin: 0;
}

/* Textes blancs sur les volets du diaporama */
.as-layer,
.as-black {
	color: #ffffff !important;
}

/* Position du diaporama */
@media screen and (max-width: 900px) {

	.home #page,
	#main,
	#primary {
		background: none !important;
	}

	.accordion-slider {
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

@media screen and (min-width: 901px) {

	.accordion-slider {
		margin-top: -4% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}


/* ==========================================================================
   6. LISTES D'ARTICLES ET GRILLES DE RECUEILS
   ========================================================================== */

/* Images des listes d'articles : taille limitée et coins arrondis */
.wp-block-post-featured-image img {
	margin-top: 6px;
	max-height: 200px;
	max-width: 250px;
	border-radius: 11px;
}

/* Colonnes des listes d'articles : moitié / moitié */
.wp-block-column-is-layout-flow {
	flex-basis: 50% !important;
}

/* Extraits justifiés */
.wp-block-post-excerpt__excerpt {
	text-align: justify;
}

/* Grilles des recueils, par tome.
   Attention : la règle vaut pour tous les blocs en disposition « flex » du
   site (groupes en ligne, boutons…), comme auparavant. */
body .is-layout-flex {
	display: grid;
	box-sizing: border-box;
	overflow: hidden;
	grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
	gap: 20px;
	padding: 0 0 0 3rem;
}


/* ==========================================================================
   7. LIENS VERS DES FICHIERS (Pretty File Links)
   ==========================================================================
   Reprend la feuille de l'extension, dans la version retouchée qui figurait
   dans le Customizer. La feuille d'origine n'est plus chargée (functions.php).
   Les préfixes pour anciens navigateurs (-moz-, -webkit-, filter IE…) ont été
   retirés : l'affichage est le même dans les navigateurs actuels. */

a.prettylink,
a.prettylink:visited {
	background: #e2e2e2;
	background: linear-gradient(to bottom, #ffffff 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	text-shadow: 0 1px 0 #fff;
	border: solid 1px #ccc;
	color: #555;
	cursor: pointer;
	display: block;
	font-size: 14px;
	line-height: 1.2em;
	margin: 10px 0;
	padding: 10px 10px 10px 35px;
	position: relative;
	text-decoration: none;
	zoom: 0.95;
}

/* Emplacement de l'icône, à gauche du lien */
a.prettylink:after {
	content: "";
	display: block;
	height: 20px;
	left: 10px;
	margin-right: 2px;
	position: absolute;
	top: 11px;
	width: 20px;
}

a:hover.prettylink {
	background-color: #ccc;
	border-color: #aaa;
	color: #D54E21;
}

a:active.prettylink {
	box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.2);
	background-color: #ededed;
	background-image: none;
	background-position: 0 -10px;
	background-repeat: repeat-x;
	border-color: #aaa;
}

/* Icônes par type de fichier (images fournies par l'extension) */
a.doc:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/page_word.png) no-repeat 0 0; }
a.mp3:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/music.png) no-repeat 0 0; }
a.pdf:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/page_white_acrobat.png) no-repeat 0 0; }
a.ppt:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/page_white_powerpoint.png) no-repeat 0 0; }
a.xls:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/page_excel.png) no-repeat 0 0; }
a.video:after { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/film.png) no-repeat 0 0; }
/* Adresse corrigée : l'ancienne contenait une espace et omettait « plugins/ » */
a.zip:after   { background: transparent url(/wp-content/plugins/pretty-file-links/images/silk_icons/page_white_zip.png) no-repeat 0 0; }


/* ==========================================================================
   8. NOTES DE BAS DE PAGE EN INFOBULLE
   ==========================================================================
   Infobulle créée par js/onglets.js au survol d'un appel de note
   (textes en onglets, notes de type « sdfootnote »).
   Provenance : extension « Simple Custom CSS and JS ». */

.pop__up {
	display: none;
	position: absolute;
	background-color: #ffffff;
	padding: 15px;
	border: 1px solid #000000;
	border-radius: 5px;
	z-index: 1;
	max-width: 300px;
	text-align: justify;
	line-height: 1em;
	font-size: 0.9em;
}


/* ==========================================================================
   9. TABLEAUX wpDataTables
   ==========================================================================
   Les règles générées automatiquement par wpDataTables à partir des réglages
   de chaque tableau (alignement des colonnes, bordures, couleur des en-têtes,
   taille de police) restent gérées par l'extension. Seul le CSS écrit à la
   main est repris ici. */


/* --------------------------------------------------------------------------
   9.1. Réglages de base des tableaux
   -------------------------------------------------------------------------- */

/* Colonnes « organe » sur une seule ligne */
.wpdt-c td.column-r_organe {
	white-space: nowrap;
}

/* Bouton « + » de dépliage des lignes */
.wpdt-c td.expand .responsiveExpander {
	float: none;
	vertical-align: middle;
}

/* Paragraphes des textes intégraux (découpés par js/tableaux.js) */
.par_cij {
	padding: 0.3em 5%;
	line-height: 1.5em;
}

/* Lignes de détail (« Texte intégral ») */
.row-detail li {
	margin-top: 1em;
	margin-bottom: 1em;
}

/* Tableaux à défilement */
.wdtscroll tr {
	font-size: 14px;
	font-family: "Baskerville";
	line-height: 1em;
}

.wdtscroll tr .column-r_text {
	white-space: pre-line;
	line-height: 1.3;
}

/* Boutons d'export et de pagination réduits */
.dt-button {
	transform: scale(0.7) !important;
	padding: 0.6em 0.3em 0.4em 0.3em !important;
}

.paginate_button {
	padding: 0.3em 0.2em 0.3em 0.2em !important;
}

/* Édition des tableaux : masquer les boutons « précédent / suivant » */
.wdt-prev-edit-button,
.wdt-next-edit-button {
	display: none !important;
}

/* Éléments masqués dans les tableaux (classe « masquee ») */
.masquee {
	display: none !important;
}


/* --------------------------------------------------------------------------
   9.2. Mise en page des pages qui contiennent un tableau
   --------------------------------------------------------------------------
   Provenance : wpDataTables › Réglages › CSS personnalisé.
   Ces règles n'étaient chargées que sur les pages à tableau : le préfixe
   « body:has(.wpdt-c) » les y limite toujours. */

/* Tableau placé dans un bloc « Détails » : hauteur limitée, défilement */
body:has(.wpdt-c) .wp-block-details .wdtscroll {
	max-height: 500px;
	overflow-y: auto;
}

/* Tailles de texte des commandes */
body:has(.wpdt-c) .wpDataTableFilterBox,
body:has(.wpdt-c) .dataTables_filter,
body:has(.wpdt-c) .dataTables_length {
	font-size: 0.9em !important;
}

body:has(.wpdt-c) .wpdt-c .wpDataTablesWrapper {
	width: 100% !important;
}

body:has(.wpdt-c) .wpdt-c label {
	transform: scale(0.85);
}

/* Hauteur des lignes d'en-tête */
body:has(.wpdt-c) .entry-content th {
	line-height: 1.8em !important;
}

/* Espace blanc sous le volet « Texte intégral » */
body:has(.wpdt-c) li.column-r_texte {
	padding-bottom: 35px;
}

/* Zone des filtres avancés (masquée ; ouverte par le bouton « Recherche avancée ») */
body:has(.wpdt-c) [id^="table_"][id$="_wrapper"].wpDataTablesWrapper > .wpDataTablesFilter {
	width: 100% !important;
	border: solid 0.3px;
	display: none;
	margin-top: 1% !important;
	margin-bottom: 3% !important;
	padding-top: 1% !important;
	padding-bottom: 1% !important;
}

body:has(.wpdt-c) .wpDataTablesFilter {
	display: none;
}

body:has(.wpdt-c) .wpDataTableFilterSection {
	width: 140px;
	min-height: 100% !important;
	margin-bottom: 0.5% !important;
	transform: scale(0.9) !important;
}

/* Plages d'années ou de sessions côte à côte */
body:has(.wpdt-c) span.wdt-filter-number-range {
	width: 150px !important;
	display: flex !important;
	flex-direction: row !important;
}

/* Lignes de détail en pleine largeur */
body:has(.wpdt-c) .row-detail td {
	padding-bottom: 3% !important;
}

body:has(.wpdt-c) .wpdt-c .wpDataTablesWrapper table.has-columns-hidden > tbody > tr.row-detail > td > ul > li {
	width: 100% !important;
}

body:has(.wpdt-c) #table_1 {
	width: 100% !important;
}

/* Grands écrans : le tableau déborde de la colonne de texte */
@media screen and (min-width: 901px) {

	body.singular:has(.wpdt-c) .entry-content {
		margin: 0 auto !important;
		width: 68.9% !important;
	}

	body.page:has(.wpdt-c) .wpdt-c,
	body:has(.wpdt-c) .alignfull {
		width: calc(100% + 70%);
		margin-left: -35%;
	}

	/* … sauf dans un accordéon Ultimate Blocks ou un bloc « Détails » */
	body.page:has(.wpdt-c) .wp-block-ub-content-toggle .wpdt-c {
		width: 100% !important;
		margin-left: 0 !important;
	}

	body:has(.wpdt-c) .wp-block-details .wpdt-c {
		width: 100% !important;
		margin-left: 0;
	}
}


/* --------------------------------------------------------------------------
   9.3. Petits écrans (900 px et moins)
   --------------------------------------------------------------------------
   Provenance : Customizer et wpDataTables › Réglages › CSS personnalisé. */

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

	/* Mise en page de la colonne de texte */
	body.singular:has(.wpdt-c) .entry-content {
		margin: 0 auto !important;
		width: 90% !important;
	}

	body.page:has(.wpdt-c) .wpdt-c,
	body:has(.wpdt-c) .alignfull {
		width: calc(100% + 30%);
		margin-left: -15%;
	}

	body.page:has(.wpdt-c) .wp-block-ub-content-toggle .wpdt-c {
		width: 100% !important;
		margin-left: 0 !important;
	}

	/* Pagination */
	#table_1_paginate {
		margin-top: 11px;
		padding-bottom: 11px;
	}

	/* Barre d'outils ajoutée par js/tableaux.js :
	   « Recherche avancée », « Texte intégral », menu des universités */
	#rech_av_1 {
		left: 0 !important;
		width: 47%;
		height: 30px !important;
		margin-right: 6%;
	}

	#show_hide_1 {
		right: 0 !important;
		display: inline-block !important;
		width: 47% !important;
		height: 30px !important;
	}

	#choix_univ {
		position: absolute !important;
		right: 0 !important;
		display: inline-block !important;
		width: 47% !important;
		height: 30px !important;
	}

	/* Filtres sur toute la largeur */
	.wpDataTableFilterSection {
		margin: 0 !important;
		padding: 0 !important;
		clear: both !important;
		width: 100% !important;
	}

	body:has(.wpdt-c) .wpDataTableFilterSection {
		display: inline-block !important;
		margin-right: -15% !important;
	}

	.filter_column,
	.filter_column .wdt-filter-control {
		width: 100% !important;
	}

	/* « Afficher n entrées », boutons d'export, champ de recherche */
	.dataTables_length,
	.dt-buttons {
		display: inline-block !important;
		float: left !important;
		margin-left: -10px !important;
		margin-bottom: 0 !important;
	}

	.dataTables_filter {
		position: absolute !important;
		padding-top: 4px;
		right: 0 !important;
		display: inline-block !important;
		float: right !important;
		width: 50% !important;
		margin-bottom: 0 !important;
	}

	.form-control {
		display: inline-block !important;
		width: 60% !important;
	}

	/* Onglets Ultimate Blocks (textes en plusieurs langues) */
	[class^="wp-block-ub-tabbed-content-holder"] {
		width: 85% !important;
	}

	.wp-block-ub-tabbed-content-holder.wp-block-ub-tabbed-content-horizontal-holder-mobile > .wp-block-ub-tabbed-content-tabs-content {
		width: 85% !important;
	}
}

@media screen and (min-width: 901px) {

	/* Saut de ligne de la barre d'outils inutile sur grand écran */
	#span_br {
		display: none;
	}

	#rech_av_1 {
		height: 30px !important;
	}

	#show_hide_1 {
		margin-left: 50px;
		height: 30px !important;
	}

	#choix_univ {
		height: 30px !important;
		margin-bottom: 0.5% !important;
	}
}


/* --------------------------------------------------------------------------
   9.4. Réglages propres à chaque tableau
   --------------------------------------------------------------------------
   Provenance : champ « CSS personnalisé » de chaque tableau wpDataTables.
   Le préfixe « .wpDataTableID-n » limite chaque règle au tableau n° n.
   Les textes transparents (« aaaa ») élargissent artificiellement les
   en-têtes de colonnes : plus il y a de « a », plus la colonne est large. */

/* Tableau n° 10 — Traités de paix */
.wpDataTableID-10 .column-parties,
.wpDataTableID-10 .column-lien {
	white-space: normal !important;
}

.wpDataTableID-10 th.column-parties,
.wpDataTableID-10 th.column-lien {
	white-space: nowrap !important;
}

.wpDataTableID-10 th.column-parties:after {
	content: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
	color: transparent !important;
}

.wpDataTableID-10 th.column-lien:after {
	content: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
	color: transparent !important;
}

/* Tableau n° 12 — Résolutions du Conseil de sécurité */
.wpDataTableID-12 .column-r_titre,
.wpDataTableID-12 .column-r_text {
	white-space: normal !important;
	text-align: justify !important;
}

.wpDataTableID-12 th.column-r_organe,
.wpDataTableID-12 th.column-r_index {
	white-space: nowrap !important;
}

.wpDataTableID-12 th.column-r_titre {
	white-space: nowrap !important;
	text-align: left !important;
}

.wpDataTableID-12 th.column-r_organe:after {
	content: "aaaa";
	color: transparent !important;
}

.wpDataTableID-12 th.column-r_index:before {
	content: "aaa";
	color: transparent !important;
}

.wpDataTableID-12 th.column-r_titre:after {
	content: "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
	color: transparent !important;
}

/* Tableau n° 13 — Résolutions de l'Assemblée générale */
.wpDataTableID-13 .column-r_infos {
	white-space: normal !important;
}

.wpDataTableID-13 .column-r_titre,
.wpDataTableID-13 .column-r_text {
	white-space: normal !important;
	text-align: justify !important;
}

.wpDataTableID-13 th.column-r_session,
.wpDataTableID-13 .column-r_session,
.wpDataTableID-13 th.column-r_organe,
.wpDataTableID-13 th.column-r_index,
.wpDataTableID-13 th.column-r_infos {
	white-space: nowrap !important;
}

.wpDataTableID-13 th.column-r_titre {
	white-space: nowrap !important;
	text-align: left !important;
}

.wpDataTableID-13 th.column-r_organe:after {
	content: "aa";
	color: transparent !important;
}

.wpDataTableID-13 th.column-r_index:before {
	content: "aaa";
	color: transparent !important;
}

.wpDataTableID-13 th.column-r_titre:after {
	content: "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
	color: transparent !important;
}

.wpDataTableID-13 th.column-r_infos:after {
	content: "aaaaaaa";
	color: transparent !important;
}

.wpDataTableID-13 .column-r_lien {
	min-width: max-content;
}

/* Tableau n° 16 — Travaux de la Commission du droit international */
.wpDataTableID-16 .column-r_titre,
.wpDataTableID-16 .column-r_domaine,
.wpDataTableID-16 .column-r_statut {
	white-space: normal !important;
}

.wpDataTableID-16 th.column-r_domaine {
	padding-right: 120px !important;
	white-space: nowrap !important;
}

.wpDataTableID-16 th.column-r_statut {
	padding-right: 50px !important;
	white-space: nowrap !important;
}

/* En-têtes masqués des colonnes « date de début » et « organe » */
.wpDataTableID-16 th.column-r_date_deb,
.wpDataTableID-16 th.column-r_organe {
	font-size: 0 !important;
}

/* Tableau n° 17 — Revues de droit international (AFDI, JDI, RCADI, RBDI, RDILC, RGDIP, RQDI) */
.wpDataTableID-17 .column-r_titre,
.wpDataTableID-17 .column-r_domaine,
.wpDataTableID-17 .column-r_statut {
	white-space: normal !important;
}

.wpDataTableID-17 .column-r_titre {
	font-style: italic;
}

.wpDataTableID-17 .column-r_name,
.wpDataTableID-17 .column-r_volume,
.wpDataTableID-17 .column-r_num {
	white-space: nowrap;
}

.wpDataTableID-17 th.column-r_titre {
	padding-right: 250px !important;
	white-space: nowrap !important;
}

/* Tableau n° 19 — Décisions de la Cour internationale de Justice */
.wpDataTableID-19 .column-r_titre,
.wpDataTableID-19 .column-r_infos,
.wpDataTableID-19 .column-r_session {
	white-space: normal !important;
}

.wpDataTableID-19 .column-r_titre,
.wpDataTableID-19 .column-r_text {
	text-align: justify !important;
}

.wpDataTableID-19 th.column-r_session {
	width: 17% !important;
}

.wpDataTableID-19 th.column-r_organe,
.wpDataTableID-19 th.column-r_index,
.wpDataTableID-19 th.column-r_infos {
	white-space: nowrap !important;
}

.wpDataTableID-19 th.column-r_titre {
	white-space: nowrap !important;
	text-align: left !important;
}

.wpDataTableID-19 th.column-r_organe:after {
	content: "aa";
	color: transparent !important;
}

.wpDataTableID-19 th.column-r_index:before {
	content: "aaa";
	color: transparent !important;
}

.wpDataTableID-19 th.column-r_titre:after {
	content: "aaaaaaaaaaaaaaaaaaaaaaaaaaa";
	color: transparent !important;
}

.wpDataTableID-19 th.column-r_infos:after {
	content: "aaaaaaa";
	color: transparent !important;
}


/* --------------------------------------------------------------------------
   9.5. Impression des tableaux
   --------------------------------------------------------------------------
   Provenance : wpDataTables › Réglages › CSS personnalisé. */

@media print {

	@page {
		margin: 10mm;
		/* size: A4 landscape; */
	}

	/* « :not(#x) » n'exclut rien en pratique, mais donne à la règle le poids
	   d'un identifiant face à celles de wpDataTables. */
	table.wpDataTable:not(#x) {
		width: 100% !important;
		border-collapse: collapse !important;
	}

	table.wpDataTable:not(#x) th,
	table.wpDataTable:not(#x) td {
		border: 1px solid #444 !important;
		padding: 4px 6px !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	/* La taille se fixe sur les cellules, sans zoom */
	table.wpDataTable:not(#x) td {
		font-size: 9pt !important;
	}

	/* Sans !important : avec, les en-têtes masquent le reste */
	table.wpDataTable thead th {
		font-size: 8pt;
	}

	/* Ne pas couper une ligne entre deux pages */
	table.wpDataTable tr {
		break-inside: avoid;
	}

	/* Déployer la zone défilante */
	.wdtscroll {
		max-height: none !important;
		overflow: visible !important;
	}

	/* Masquer les commandes */
	.wpdt-c .dt-buttons,
	.wpdt-c .dataTables_length,
	.wpdt-c .dataTables_filter,
	.wpdt-c .dataTables_paginate,
	.wpdt-c [id^="filterBox_"] {
		display: none !important;
	}
}


/* ==========================================================================
   10. DIVERS (fiches HAL, pied de page)
   ========================================================================== */

/* Fiches HAL intégrées : masquer la colonne « p50 » */
#resume-visu .p50 {
	display: none !important;
}

/* Mention du pied de page */
#site-generator:after {
	content: 'Documents de droit international - AerRI - Wordpress.org';
	left: -50px;
}


/* ==========================================================================
   11. REPRISES DE FEUILLES D'EXTENSIONS
   ========================================================================== */

/* 11.1. Animations de la popup « Plan » (Ays Popup Box).
   La feuille animate.css de l'extension (57 Ko, une centaine d'animations)
   n'est plus chargée : seules les deux animations réglées dans les popups
   (ouverture « fadeIn », fermeture « fadeOutUpBig ») sont reprises ici.
   Si vous choisissez une autre animation dans les réglages de la popup,
   retirez la ligne correspondante de functions.php (section 3.3). */

.animated {
	animation-duration: 1s !important;
	animation-fill-mode: both;
}

@keyframes fadeIn {
	0%   { opacity: 0; }
	100% { opacity: 1; }
}

.fadeIn {
	animation-name: fadeIn;
}

@keyframes fadeOutUpBig {
	0%   { opacity: 1; }
	100% { opacity: 0; transform: translate3d(0, -2000px, 0); }
}

.fadeOutUpBig {
	animation-name: fadeOutUpBig;
}

/* 11.2. Ultimate Blocks : masquer un bloc selon la taille d'écran.
   Reprend la petite feuille « extensions » de l'extension (une requête de moins). */

@media only screen and (max-width: 799px) {
	.ub-hide-on-mobile { display: none; }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) {
	.ub-hide-on-tablet { display: none; }
}

@media only screen and (min-width: 1024px) {
	.ub-hide-on-desktop { display: none; }
}


/* ==========================================================================
   12. RETOUCHES VISUELLES (audit de décembre 2026)
   ==========================================================================
   Sept retouches issues du parcours visuel du site (ordinateur et mobile),
   testées en injectant ce CSS dans le navigateur sur le site en ligne.
   Elles sont regroupées ici, en fin de fichier, pour l'emporter sur les
   règles des sections précédentes et sur la feuille de base du thème.
   Pour désactiver une retouche, mettre sa sous-section en commentaire.

   12.1. Sous-menus : largeur, corps, filets
   12.2. Menus de droite et séparateur « I »
   12.3. Rythme vertical des titres
   12.4. Couleur des liens dans le texte et le sommaire
   12.5. Mobile : justification, titre de l'en-tête, bouton « haut de page »
   12.6. Accueil : espace au-dessus du diaporama
   12.7. Barre latérale : recherche en double
   ========================================================================== */

/* 12.1. Sous-menus : largeur, corps, filets
   Twenty Eleven fixait les sous-menus à 188 px, en 13 px, avec des filets
   pointillés. Ils prennent désormais la largeur de leur intitulé le plus
   long, au plus 22 em, et jamais moins que l'entrée sous laquelle ils se
   déroulent. Cette largeur minimale est aussi fixée en pixels par
   js/menu.js, car certains navigateurs calculent mal « min-width: 100% »
   sur un élément en position absolue. */
#access ul ul {
	width: max-content;
	min-width: 100%;
	max-width: 22em;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
#access ul ul li {
	float: none;
}
#access ul ul a {
	width: auto;
	font-size: 14px;
	line-height: 1.4;
	padding: .7em 1.25em;
	background: #fff;
	border-bottom: 1px solid #ededed;
	color: #333;
	white-space: normal;
}
#access ul ul li:last-child > a {
	border-bottom: 0;
}
#access ul ul :hover > a,
#access ul ul a:focus {
	background: #f4f4f4;
	color: #000;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}

/* 12.2. Menus de droite et séparateur « I »
   Les sous-menus de droite (« Auteurs », « À propos ») s'alignent sur le
   bord droit de leur entrée au lieu d'être décalés de 9 em (section 2),
   ce qui les garde dans l'écran. Le « I » devient un filet fin, non
   cliquable ; sa marge reste calculée par js/general.js. */
#access .m_droite > .sub-menu,
#access .m_pre_droite > .sub-menu {
	left: auto !important;
	right: 0;
}
#access .m_separator > a {
	position: relative;
	color: transparent;
	pointer-events: none;
	cursor: default;
}
#access .m_separator > a::before {
	content: "";
	position: absolute;
	right: .7em;
	top: 32%;
	bottom: 32%;
	width: 1px;
	background: rgba(255, 255, 255, .35);
}

/* 12.3. Rythme vertical des titres
   Entre le titre de la page et le premier intertitre s'empilaient environ
   240 px de marges ; l'écart tombe à environ 80 px. Ces règles priment sur
   les marges des titres fixées en section 1. */
.entry-header .entry-title:not(.hidden) {
	padding-top: 1.4em !important;
	padding-bottom: .5em !important;
}
.entry-content > .wp-block-spacer:first-child {
	height: 0 !important;
}
.entry-content h1:not(.hidden, .wp-block-ub-content-toggle-accordion-title) {
	padding-top: 1.5em !important;
	padding-bottom: .6em !important;
}
.entry-content h2:not(.as-layer, .hidden, .wp-block-ub-content-toggle-accordion-title) {
	padding-top: 1.3em !important;
	padding-bottom: .5em !important;
}
.entry-content h3 {
	padding-top: .9em !important;
	padding-bottom: .4em !important;
}
.entry-content > .wp-block-spacer:first-child + h1,
.entry-content > h1:first-child {
	padding-top: .6em !important;
}

/* 12.4. Couleur des liens dans le texte et le sommaire
   Le gris #a5a5a5 (section 1) n'offre qu'un contraste de 2,46:1 sur fond
   blanc ; le critère 1.4.3 des WCAG 2.1 demande au moins 4,5:1. Les liens
   du texte passent en bleu encre (#2b5d87, 6,96:1), soulignés finement.
   Les boutons « Source » (Pretty File Links, section 7) ne sont pas
   touchés. Le gris #a5a5a5 reste en vigueur ailleurs (survols du titre du
   site, des titres d'articles, etc.). */
.entry-content a:not(.prettylink):not(.wp-block-button__link),
.entry-summary a {
	color: #2b5d87 !important;
	text-decoration: underline;
	text-decoration-color: rgba(43, 93, 135, .35);
	text-underline-offset: .18em;
	text-decoration-thickness: 1px;
}
.entry-content a:not(.prettylink):not(.wp-block-button__link):hover,
.entry-summary a:hover {
	color: #123a5c !important;
	text-decoration-color: currentColor;
}
.lwptoc_item a {
	color: #3a3a3a !important;
}
.lwptoc_item a:hover {
	color: #000 !important;
}

/* 12.5. Mobile : justification, titre de l'en-tête, bouton « haut de page »
   a) Sur petit écran, le texte justifié ouvrait de grands blancs : il est
      aligné à gauche, avec coupure des mots (la page est déclarée fr-FR).
      Pour garder la justification, supprimer seulement « text-align ».
   b) Le titre de l'en-tête mobile (WP Mobile Menu) passe de Dosis à
      Baskerville, comme sur ordinateur.
   c) Le bouton « haut de page » (WPFront Scroll Top) devient un rond
      sombre avec un chevron dessiné en CSS ; son image est masquée. */
@media (max-width: 600px) {
	.entry-content p,
	.entry-content li {
		text-align: left !important;
		hyphens: auto;
		-webkit-hyphens: auto;
		overflow-wrap: break-word;
	}
}
.mob-menu-header-holder .headertext,
.mob-menu-header-holder .headertext span {
	font-family: "Libre Baskerville", Baskerville, Georgia, serif !important;
	font-size: 17px !important;
	font-weight: 400 !important;
	letter-spacing: .01em;
}
#wpfront-scroll-top-container img {
	display: none !important;
}
#wpfront-scroll-top-container {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(20, 20, 20, .78);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	opacity: .9;
}
#wpfront-scroll-top-container::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 55%;
	width: 11px;
	height: 11px;
	border-left: 2px solid #fff;
	border-top: 2px solid #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}

/* 12.6. Accueil : espace au-dessus du diaporama
   Un titre de page vide (94 px) s'intercalait entre le menu et le
   diaporama. Tout titre vide est désormais masqué. */
.entry-title:empty,
.home .entry-header {
	display: none;
}
.home #main {
	padding-top: 2em;
}
.home .entry-content {
	padding-top: 0;
}
.home .entry-content .accordion-slider {
	margin-top: 0 !important;
}

/* 12.7. Barre latérale : recherche en double
   La recherche figure déjà dans l'en-tête. (On peut aussi retirer le
   widget « Recherche » dans Apparence › Widgets et supprimer cette règle.) */
#secondary .widget_search {
	display: none;
}


/* ==========================================================================
   13. RÈGLES EN SOMMEIL (corrigées mais désactivées)
   ==========================================================================
   Ces règles figuraient dans le Customizer, mais une erreur de syntaxe les
   rendait inopérantes : le navigateur les ignorait. Elles sont corrigées
   ci-dessous mais laissées en commentaire, pour que l'installation du thème
   ne change rien à l'affichage. Pour en réactiver une, la copier
   au-dessus de cette section 13 (hors du commentaire), puis vérifier le
   résultat à l'écran.

   a) Citations — ignorée à cause d'une accolade « } » en trop juste avant :

.wp-block-quote {
	line-height: 1.3em;
	font-family: inherit;
	font-weight: inherit;
	font-size: 0.95em;
}

   b) Sommaire Ultimate Blocks — point-virgule manquant après « 10% 0 ».
      Attention : « width: 100px » rendrait le sommaire très étroit.

.ub_table-of-contents {
	margin: 0 0 10% 0;
	width: 100px !important;
}

   c) En-tête du sommaire Ultimate Blocks — deux-points manquants (« margin 0 ») :

.ub_table-of-contents-header-container {
	margin: 0;
}

   d) Diaporama de l'accueil — « 80%% » au lieu de « 80% ».
      Attention : réduirait les volets du diaporama à 80 %.

.home .as-mask {
	transform: scaleX(80%) scaleY(80%) !important;
}

   e) Titres des volets du diaporama — point manquant devant « as-padding » :

.as-padding h2 {
	color: #ffffff !important;
}

   Supprimées car sans effet : « body { font: "baskerville!important"; } »
   (déclaration invalide, la police est déjà fixée en section 1) et
   « transform: scale(0.) » dans les filtres des tableaux (valeur invalide).

   ========================================================================== */
