/*
 * Theme custom EN - utilise --theme-primary (CSS variable)
 *
 * Remplace les 12 fichiers theme-colors/<slug>.css qui contenaient
 * chacun ~1600 lignes (dont ~95% de selecteurs jamais utilises sur EN).
 *
 * Couleur injectee dans <head> par le PHP :
 *   <style>:root { --theme-primary: #XXXXXX; }</style>
 *
 * Pas de couleur "hover" distincte : on applique un brightness(0.9)
 * au survol pour suggerer l'interaction sans charger une 2e couleur.
 */

/* ============================================================ */
/* Liens generiques                                              */
/* ============================================================ */
a {
	color: var(--theme-primary);
}
a:focus,
a:hover,
a:active {
	color: var(--theme-primary);
	filter: brightness(0.9);
}

/* ============================================================ */
/* Header v1 (navbar du site EN)                                 */
/* ============================================================ */
.header-v1 .topbar-v1 .top-v1-data li a:hover i {
	color: var(--theme-primary);
}
.header-v1 .navbar-default .navbar-nav > .active > a,
.header-v1 .navbar-default .navbar-nav > li > a:hover,
.header-v1 .navbar-default .navbar-nav > li > a:focus {
	color: var(--theme-primary);
}
.header-v1 .dropdown-menu {
	border-color: var(--theme-primary);
}
.header-v1 .navbar-default .navbar-nav > li:hover > a {
	color: var(--theme-primary);
}
.header-v1 .navbar .nav > li > .search:hover {
	color: var(--theme-primary);
}
.header-v1 .navbar-default .navbar-toggle,
.header-v1 .navbar-toggle,
.header-v1 .navbar-default .navbar-toggle:hover,
.header-v1 .navbar-default .navbar-toggle:focus {
	background: var(--theme-primary) !important;
	border-color: var(--theme-primary) !important;
}
.header-v1 .navbar-toggle:hover {
	background: var(--theme-primary) !important;
	filter: brightness(0.9);
}
/* Icone du burger (3 barres) : forcer blanc visible sur le fond theme */
.header-v1 .navbar-default .navbar-toggle .fa,
.header-v1 .navbar-toggle .fa {
	color: #fff !important;
}

/* ============================================================ */
/* Boutons (btn-u du framework Unify)                            */
/* ============================================================ */
.btn-u {
	background: var(--theme-primary);
}
.btn-u:hover,
.btn-u:focus,
.btn-u:active,
.btn-u.active,
.open .dropdown-toggle.btn-u {
	background: var(--theme-primary);
	color: #fff;
	filter: brightness(0.9);
}
.btn-u-split.dropdown-toggle {
	border-left: solid 1px var(--theme-primary);
	filter: brightness(0.9);
}
.btn-u.btn-brd {
	border-color: var(--theme-primary);
}
.btn-u.btn-brd:hover {
	color: var(--theme-primary);
	border-color: var(--theme-primary);
	filter: brightness(0.9);
}
.btn-u.btn-brd.btn-brd-hover:hover {
	background: var(--theme-primary);
	filter: brightness(0.9);
}

/* ============================================================ */
/* Cube Portfolio (grille des couvertures ebooks)                */
/* Au survol d'une couverture, l'overlay prend la couleur theme. */
/* On surcharge le rgba(114,192,44,.9) en dur du plugin.         */
/* ============================================================ */
.cube-portfolio .cbp-caption-activeWrap.default-transparent-hover {
	background: var(--theme-primary) !important;
	opacity: 0.9;
}
