/* Police adaptée à la dyslexie */
.body-dyslexia {
	font-family: 'Open-Dyslexic', "Inter", sans-serif;
    --cnvs-primary-font: 'Open-Dyslexic', "Inter", sans-serif !important;
    --cnvs-secondary-font: 'Open-Dyslexic', "Inter", sans-serif !important;
    --bs-font-sans-serif: 'Open-Dyslexic', sans-serif !important;
    --bs-font-monospace: 'Open-Dyslexic', monospace !important;
    --cnvs-primary-menu-submenu-font: 'Open-Dyslexic', "Inter", sans-serif !important;
}

.dark .custom-border-shadow {
	--cnvs-box-shadow-sm: 0 0.125rem 0.25rem rgb(255 255 255 / 8%);
	--cnvs-box-shadow: 0 0.5rem 1rem rgb(255 255 255 / 15%);
}

.dark .module.shadow {
	box-shadow: 0 2px 20px 0 rgb(255 255 255 / 10%) !important;
}

a:focus-visible {
	border: 0.1rem dashed #1f1c00;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.allmargin-xs {
	margin: 1rem !important;
}

.leftmargin-xs {
	margin-left: 1rem !important;
}

.rightmargin-xs {
	margin-right: 1rem !important;
}

.topmargin-xs {
	margin-top: 1rem !important;
}

.bottommargin-xs {
	margin-bottom: 1rem !important;
}

.dark .quickLink:hover {
	color: #CCC;
	filter: none;
	transform: scale(1.35);
	background-color: rgb(238, 185, 62);
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	cursor: pointer;
	width: 100px;
	height: 100px;
}

.footer-logo {
	display: block;
	margin-bottom: 30px;
	max-width: 250px;
}

.bgiconAccueil {
	display: block;
	position: absolute;
	bottom: -44px;
	right: 23px;
	font-size: 210px;
	color: rgba(0, 0, 0, 0.1);
}

/* Correction de la position des listes à puces dans la section blog */
.entry-content ul {
	margin-left: 30px;
}

.map {
	margin-bottom: 0px !important;
}

.primary-menu .menu-item:focus {
	outline: 1px solid #205089 !important;
	background-color: #020101;
	margin-left: 7px;
}

.entry-content a:not(.button):not(.relatifContent) {
	display: inline-block;
	font-style: italic;
	border-bottom: 1px solid #205089;
}

.entry-content a:not(.button):not(.relatifContent):hover {
	color: #E2001A;
	border-bottom-color: #E2001A;
	text-decoration: none !important;
	transition: all 0.3s ease-in-out;
}

.dark .button:hover {
	border: solid 2px #fff;
}

/* Ajout des différentes style pour la partie : Contact du Template Tinymce */
.highlightEvent {
	display: flex;
	flex-direction: column;
	margin-top: 3rem;
}

.module.shadow {
	border-radius: 17px;
	background-color: var(--white);
	padding: 1.5rem 1.5rem;
	box-shadow: 0 2px 20px 0 rgb(0 0 0 / 10%) !important;
}

.module {
	width: 100%;
	min-width: 50%;
	max-width: 100%;
	border: 0;
	margin-top: 0;
	margin-bottom: 2rem;
	overflow: hidden;
}

.iconTest {
	fill: #fff;
	/* Couleur initiale de l'icône */
	transition: fill 0.3s;
	/* Animation de transition de couleur */
}

.iconTest:hover {
	fill: #eeb93e;
	/* Couleur au survol de la souris */
}

.wprock-img-zoom-hover .wprock-img-zoom {
	overflow: hidden;
	position: relative;
}

.wprock-img-zoom-hover .wprock-img-zoom img {

	max-width: 100%;
	-moz-transition: all 0.8s;
	-webkit-transition: all 0.8s;
	transition: all 0.8s;
}

.wprock-img-zoom-hover .wprock-img-zoom * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.wprock-img-zoom-hover:hover .wprock-img-zoom img {
	-moz-transform: scale(1.20);
	-webkit-transform: scale(1.20);
	transform: scale(1.20);
}

.dp-none {
	display: none !important;
}

.responsive-video {
	position: relative;
	padding-bottom: 56.25%;
	/* ratio d'aspect 16:9 pour une vidéo YouTube */
	height: 0;
	overflow: hidden;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.button i {
	margin-right: 15px !important;
}

.button-mini i {
	margin-right: 9px !important;
}

.fw-extrabold {
	font-weight: 1000 !important;
	font-size: 1.0em;
}

.sib-form {
	padding: 0px !important;
	margin: 0px !important;
}

.sib-form-container {
	padding: 0px !important;
	margin: 0px !important;
}

.dark a {
	color: white;
}

.dark .entry-content a:not(.button) {
	border-bottom: 1px solid #fff;
}

.dark .iconlist>li i:first-child,
.iconlist>li img:first-child {
	color: white;
}

.quickaccess {
	background-color: #215089;
	padding: 1rem;
	margin-right: -0px;
	margin-left: -0px;
}

.dark .quickaccess {
	background-color: #36393d;
}

.dark .button.button-border {
	--cnvs-btn-border-color: #ffffff;
	border: var(--cnvs-btn-border-width) solid var(--cnvs-btn-border-color);
	background: none;
	color: var(--cnvs-btn-border-color);
}

.dark #oc-clients-full {
	background-color: #dddcdc;
}

/* ---------------------------------------------------------------- Communiqués de presse -----------------------------------------------------------------*/
.color-2,
.h-color-2:hover {
	color: var(--cnvs-secondary-color) !important;
}

.color-3,
.h-color-3:hover {
	color: #6c7885 !important;
}

.bg-color-2,
.h-bg-color-2:hover {
	background-color: var(--cnvs-secondary-color) !important;
}

.iconlist>li {
	line-height: 24px;
}

.iconlist>li [class^="icon-"]:first-child,
.iconlist>li [class*=" icon-"]:first-child {
	width: 24px;
	height: 24px;
	text-align: center;
	border-radius: 50%;
}

.dotted-bg:before {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	width: 110%;
	height: 100%;
	background-size: 12px 12px;
	background-position: center;
	transform: translate(-50%, -50%);
	background-image: radial-gradient(rgba(var(--cnvs-themecolor-rgb), 0.3) 14%, transparent 14%);
	-webkit-mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
	mask-image: radial-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 75%);
	z-index: 0;
}

.services-grid .feature-box {
	padding: 2rem;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	border-radius: .5rem;
	border: 1px solid var(--cnvs-secondary-color);
}

.services-grid .feature-box:hover {
	background-size: cover;
}

.hover-button {
	display: block;
	margin-top: 20px;
	font-weight: 600;
}

.dark .hover-button {
	color: #FFF;
}

.dark .services-grid .feature-box {
	background-color: #343a40;
}

.services-grid .feature-box {
	background-color: #e0e0e0;
}

.fbox-icon i {
	background-color: #343a40;
}

.dark .fbox-icon i {
	background-color: rgba(0, 0, 0, 0.1);
	color: #fff;
}


.services-grid .feature-box,
.services-grid .feature-box .fbox-icon,
.services-grid .feature-box .fbox-content,
.hover-button {
	transition: all .4s ease, border-color .0s ease;
}

.heading-block h3 {
	font-size: 2.1rem;
	line-height: 1.3 !important;
}


.form-widget label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 5px;
}

.dark .presse {
	color: #fff !important;
}

.presse {
	color: #000 !important;
}

/* Changement de couleur lors du survol */
.feature-box:hover .presse {
	color: white !important;
}

@media (min-width: 992px) {

	.services-grid .feature-box {
		padding: 3rem;
		background-size: 0;
		border: 1px solid rgba(0, 0, 0, 0.1);
	}

	.dark .services-grid .feature-box {
		border: 1px solid rgba(255, 255, 255, 0.1);
	}

	.services-grid .feature-box:hover {
		transform: translateY(-6px);
		border-color: var(--cnvs-themecolor);
	}

	.services-grid .feature-box:not(:hover) .hover-button {
		opacity: 0;
		transform: translateY(-5px);
	}

	.services-grid .feature-box .fbox-icon,
	.services-grid .feature-box .fbox-content {
		transform: translateY(20px);
	}

	.services-grid .feature-box:hover .fbox-icon,
	.services-grid .feature-box:hover .fbox-content {
		transform: translateY(0px);
	}

	.dark .services-grid .feature-box:hover .fbox-icon i {
		background-color: rgba(92, 112, 131, 0.6);
	}

	.services-grid .feature-box:hover .fbox-icon i {
		background-color: rgba(52, 58, 64, 0.6);
	}

	.heading-block h3 {
		font-size: 2.5rem;
		line-height: 1.3 !important;
	}

	body .dark .heading-block h3 {
		color: #000 !important;
	}

	.hero-title.display-3 {
		font-size: 4.25rem;
		letter-spacing: -3px;
	}
}

@media (max-width: 991.98px) {
	.presse {
		color: #fff !important;
	}

	.dark .fbox-icon i {
		background-color: #343a40;
	}
}

/* CSS pour masquer le contenu du titre destiné à l'affichage visuel */
h3 .ellipsis {
	visibility: visible;
	/* rend les points de suspension visibles seulement si 'ellipsis' n'est pas vide */
}

/* Classe pour masquer le texte hors de l'écran mais le rendre lisible par les lecteurs d'écran */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.clickable-composite {
	cursor: pointer;
}

#footer {
	--cnvs-copyrights-link-color: var(--cnvs-contrast-900);
}

/* ----------------------------------------------------------------
	accessibilité : Gestion des différents focus
-----------------------------------------------------------------*/
.using-keyboard a:focus {
	outline: 3px solid blue !important;
}

.using-keyboard button:focus {
	outline: 3px solid green !important;
}

.using-keyboard div[tabindex]:focus {
	outline: 3px solid yellow !important;
}

.using-keyboard .entry a:focus {
	outline: 3px solid blue;
	display: block;
}

.using-keyboard #gotoTop:focus {
	outline: 3px solid blue;
	box-shadow: 0 0 5px blue;
}

.using-keyboard .menu-link:focus {
	outline: 3px solid #007BFF;
}

.using-keyboard .leaflet-marker-icon:focus {
	outline: 3px solid orange !important;
	box-shadow: 0 0 5px orange;
}

.using-keyboard .leaflet-marker-icon:focus-visible {
	outline: 3px solid orange !important;
	box-shadow: 0 0 5px orange;
}

.widget>h2,
.widget>.h2 {
	margin-bottom: var(--cnvs-widget-title-margin);
	font-size: var(--cnvs-widget-title-font-size);
	font-weight: var(--cnvs-widget-title-font-weight);
	letter-spacing: var(--cnvs-widget-title-letter-spacing);
	text-transform: var(--cnvs-widget-title-text-transform);
}

.entry-title h3,
.entry-title .h3 {
	--cnvs-post-title-font-size: 0.875rem;
}

/* Classe CSS pour cacher les éléments visuellement mais les rendre accessibles aux lecteurs d'écran */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Retailler les images de la page voir le visuel de l'annuaire */
.image-container-annuaire-view {
	height: 193px;
	overflow: hidden;
	position: relative;
}

.image-container-annuaire-view img {
	display: block;
	min-height: 193px;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.btn-blue {
	--bs-btn-color: #fff;
	--bs-btn-bg: #1265a8;
	--bs-btn-border-color: #1265a8;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--bs-gray-900);
	;
	--bs-btn-hover-border-color: #565e64;
	--bs-btn-focus-shadow-rgb: 130, 138, 145;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--bs-gray-900);
	;
	--bs-btn-active-border-color: var(--bs-gray-900);
	;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #1265a8;
	--bs-btn-disabled-border-color: #1265a8;
}

.btn-outline-blue {
	--bs-btn-color: #1265a8;
	--bs-btn-border-color: #1265a8;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #1265a8;
	--bs-btn-hover-border-color: #1265a8;
	--bs-btn-focus-shadow-rgb: 13, 110, 253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #1265a8;
	--bs-btn-active-border-color: #1265a8;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #1265a8;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: #1265a8;
	--bs-gradient: none;
}

.dark .btn-outline-blue {
	--bs-btn-color: #fff;

}

.dark .button.button-circle {
	border: solid 3px white;
}

.theme {
	width: 9rem;
	height: 3.5rem;
	border: 2px solid #a8a699;
	border-radius: 4.5rem;
	padding: 3px;
	display: flex;
	box-sizing: border-box;
	justify-content: space-between;
}

.theme-btn {
	font-size: 1.6rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 0;
}

.theme-clair {
	color: #000;
	background-color: #fff;
}

.theme-sombre {
	color: #fff;
	background-color: #000;
}

.text-acc {
	width: auto;
	height: 6rem;
	border: 1px solid #a8a699;
	background-color: #fff;
	border-radius: 1rem;
	padding: 0 1.2rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.text-acc-btn {
	font-size: 1.6rem;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: solid 1px #000;
	background-color: #fff;
	color: #000;
}

.text-acc-btn:hover {
	background-color: #000;
	color: #fff;
}

button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.modal1 .block .button {
	white-space: normal;
	/* Permet au texte de s'adapter à la largeur disponible */
	word-wrap: break-word;
	/* Si le texte est trop long, il sera coupé et placé à la ligne suivante */
	width: 100%;
	/* Assurez-vous que le bouton utilise toute la largeur du modal */
	text-align: center;
	/* Centrer le texte à l'intérieur du bouton */
	box-sizing: border-box;
	/* Assure que le padding et la bordure n'augmentent pas la largeur totale du bouton */
}

.zoom-value,
.spacing-value {
	font-size: 16px;
	font-weight: bold;
	margin-left: 10px;
}

.dark .entry-title h2 a:hover,
.dark .entry-title h3 a:hover,
.dark .entry-title h4 a:hover {
	color: #E2001A;
	border-bottom-color: #E2001A;
	text-decoration: none !important;
	transition: all 0.3s ease-in-out;
}

.dark .menu-item>.menu-link span,
.menu-item:hover>.menu-link span {
	color: #fff !important;
}

.dark .sub-menu-container .menu-item .menu-link:hover {
	color: #fff !important;
	/* Forcer l'application avec !important */
	border: solid 1px #fff !important;
	/* Forcer également la bordure */
}

.entry-meta li {
	color: var(--cnvs-contrast-700) !important;
}

.dark#footer .footer-widgets-wrap a,
.dark #footer .footer-widgets-wrap a {
	color: rgba(255, 255, 255, 1);
}

.dark .text-copyright {
	color: rgba(255, 255, 255, 1);
}

.menu-header-link {
	text-transform: uppercase;
	font-weight: 700 !important;
	font: var(--cnvs-primary-font);
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 1.1);
	letter-spacing: 1px;
	color: var(--cnvs-primary-menu-submenu-color);
	padding: 0 !important;
	line-height: 1.3 !important;
}

.entry-title a.hover {
	color: var(--cnvs-themecolor);
	border-bottom: 1px solid #205089;
}

.dark .entry-title a.hover {
	color: var(--cnvs-contrast-700) !important;
	border-bottom: 1px solid #fff;
}

.card-title a.hover {
	color: var(--cnvs-themecolor);
	border-bottom: 1px solid #205089;
}

.dark .card-title a.hover {
	color: var(--cnvs-contrast-700) !important;
	border-bottom: 1px solid #fff;
}

.img-search {
    width: 100%;
    /* Occupe toute la largeur disponible */
    height: 250px !important;
    /* Fixe une hauteur identique pour toutes les images */
    object-fit: cover;
    /* Adapte l'image tout en remplissant l'espace */
    border-radius: 8px;
    /* Conserve les coins arrondis */
}

.bg-light2 {
	background-color: #f8f9fa;
}

.dark .bg-light2 {
	background-color: #4a4b4c;
}