/*
Theme Name: CPTS IDMAGINE
Description: Theme enfant de Divi
Author: Idmagine
Author URI: https://www.idmagine.com/
Template: Divi
Version: 0.1.0
*/


/*MENU PRINCIPAL*/
/*MENU PRINCIPAL - LIEN*/
.nav li ul {border-top: 3px solid #7BACCE!important;}

.MenuPrincipal a {
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	text-align: left;
	color: #042940!important;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;

}

.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 0px!important;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding-top:20px;
	padding-bottom:20px;
}

/* MENU PRINCIPAL - BOUTON   */

.MenuPrincipal .Adherer a,
.MenuPrincipal .EspacePRO a,
.MenuPrincipal .Plexus a,
.MenuPrincipal .annuaire a{
     color: #fff !important;
    border: 0;
    padding: 10px !important;
    padding-left: 40px !important;
    border-radius: 50px!important;
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    position: relative;
    display: inline-block;
     transition: background-color 700ms ease-in-out, border-radius 700ms ease-in-out !important;
	}

.MenuPrincipal .Adherer a { 
	background-color: #CF9E32;
}
.MenuPrincipal .EspacePRO a { 
	background-color: #379BA6;
}
.MenuPrincipal .Plexus a { 
	background-color: #126799;
}

.MenuPrincipal .annuaire a { 
	background-color: #51A5B1;
}
/*
.forme::before {
    content: "";
    position: absolute;
    top: -4.2em!important;
     left: -5em!important;
    width: 100%;
    height:12em!important;
    background-image: url('/wp-content/uploads/2025/07/FORME-MENU_CPTS.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}
*/

.et-db #et-boc .et-l .et_pb_sticky.et_pb_section_2_tb_header .forme::before {
	display:none;
}

.et-db #et-boc .et-l .et_pb_sticky.et_pb_section_2_tb_header .et_pb_menu__logo img{    
	width: 8em;
	top:2em!important;
}

@media only screen and (max-width: 690px) {  
	.forme::before {
	height: 12em !important;
        left: -5em !important;
        top: -2em !important;}
}

@media (min-width: 1200px) {
.MenuPrincipal .Adherer.mob a {display:none!important;} 
.MenuPrincipal .EspacePRO.mob a {display:none!important;}
.MenuPrincipal .annuaire.mob a {display:none!important;}
	.MenuPrincipal .Plexus.mob a {display:none!important;}
}

/*  HOVERS */
.MenuPrincipal .Adherer a:hover,
.MenuPrincipal .EspacePRO a:hover,
.MenuPrincipal .Plexus a:hover,
.MenuPrincipal .annuaire a{
    border-radius: 0;
    color: #fff !important;
}

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.Adherer a,
.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.EspacePRO a,
.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.Plexus a,
.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li.annuaire a,
.et_pb_menu_1_tb_header.et_pb_menu .et-menu-nav li.Adherer a,
.et_pb_menu_1_tb_header.et_pb_menu .et-menu-nav li.EspacePRO a,
.et_pb_menu_1_tb_header.et_pb_menu .et-menu-nav li.Plexus a ,
.et_pb_menu_1_tb_header.et_pb_menu .et-menu-nav li.annuaire a{
   transition: all 300ms ease-in-out!important;
}


.MenuPrincipal .Adherer a::before,
.MenuPrincipal .EspacePRO a::before,
.MenuPrincipal .Plexus a::before ,
.MenuPrincipal .annuaire a::before {
    content: '';
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 22px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}


.MenuPrincipal .Adherer a::before {
    background-image: url(images/adherer2.png);
}
.MenuPrincipal .EspacePRO a::before {
    background-image: url(images/espacePRO.png);
}
.MenuPrincipal .Plexus a::before {
    background-image: url(images/plexus.png);
}
.MenuPrincipal .annuaire a::before {
    background-image: url(images/annuaire.png);
}

#MenuPrincipal .Adherer a,
#MenuPrincipal .EspacePRO a,
#MenuPrincipal .Plexus a,
#MenuPrincipal .annuaire a {
    color: #fff !important;
}

/* ========== NAV SECONDAIRE (PAD) ========== */
.Secondaire.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li {
    padding: 5px !important;
}

/*SOUS MENU*/
.MenuPrincipal ul.sub-menu {
  padding: 18px 0!important;
  text-align: left;
  margin-top: 0px;
  width:250px!important;
  border-top: 0px solid #000;
	background-color:#FFF!important;
	display: flex;
    flex-direction: column;

}

.MenuPrincipal ul.sub-menu  a {
 line-height:1.3em;
 margin-top:0px;}

.MenuPrincipal li ul.sub-menu li a {
width:100%;
font-weight: 500;}

.Adherer {
	padding-left:4px!important;
padding-right:5px!important;}

.EspacePRO  {
	padding-left:4px!important;
padding-right:0!important;}

.plexus  {
	padding-left:4px!important;
padding-right:5px!important;}


/* ICON RS DANS LE MENU */

.MenuPrincipal .icon-menu {
    position: relative;
}

.MenuPrincipal .icon-menu span {
    display: none;
}

.et_pb_menu .et-menu > li.icon-menu {
    padding: 0 2px !important;
    margin-top: -10px !important;
}

/* Styles généraux pour tous les icônes */
.MenuPrincipal .icon-menu::before {
    font-family: ETmodules;
    speak: none;
    font-style: normal;
    transform: translateY(38%);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color:#022533;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icône spécifique avec taille différente */
.MenuPrincipal .icon-menu.linkedin::before {
    content: "\E09D";
}

/* Autres icônes */
.MenuPrincipal .icon-menu.youtube::before {
    content: "\e0a3";
}

.MenuPrincipal .icon-menu.facebook::before {
    content: "\e093";
}

.MenuPrincipal .icon-menu.insta::before {
    content: "\e09a";
}

/* Hover */
.MenuPrincipal .icon-menu:hover::before {
    border-radius: 0;
    transition: all 300ms ease;
}

/* Rendre le lien cliquable sans afficher le texte */
.MenuPrincipal .icon-menu a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    z-index: 1;
}




/* Point de rupture Ã  1200 pixels */
@media (max-width: 1200px) {
   /* Masquez le menu principal */
   .et_pb_menu .et_pb_menu__menu>nav {
       display: none;
   }
   /* Affichez le menu hamburger (icÃ´ne) */
   .et_mobile_nav_menu {
    float: none;
    margin: 0 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
}
@media (max-width: 1200px) and (min-width: 750px) {
	.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap, .et_pb_menu_0_tb_header .et_pb_menu__logo-slot {
    width: 20%!important;
	max-width: 100%;}
	
}

@media (max-width: 1200px) and (min-width: 768px) {
	.et_pb_section_3_tb_header.et_pb_section {
		padding-top: 6%!important;}

}
@media only screen and (min-width: 980px) and (max-width: 1200px) {
	.et_pb_image_0_tb_header {
    margin-top: -2.5em!important;
    width: 15em!important;
    z-index: 10;
    position: absolute !important;
    top: 0px;
    bottom: auto;
    left: 0px;
    right: auto;
    text-align: left;
    margin-left: 0;
	}
}

/*MENU - MAC*/
@media screen and (max-width: 1400px) and (min-width: 820px) {
	.et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {
        max-width: 21%!important;
    }
	.et_pb_menu_1_tb_header.et_pb_menu.globale .et_pb_menu__logo {
        max-width: 18%!important;
    }
	
	.MenuPrincipal.et_pb_menu .et-menu>li {
    padding-left: 8px!important;
    padding-right: 8px!important;
}
}

/*MENU - IPAD PRO*/
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {
               max-width: 9em !important;
        top: -1em !important;
    }
	ul#mobile_menu2.et_mobile_menu { list-style-type: none;}
}

/* MENU MOBILE */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}
ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #000;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

@media only screen and (max-width: 1200px) {
	.et_mobile_menu {
	border-top: 3px solid #126799;
	margin-top: 2.3%;
	}
    .Secondaire.et_mobile_nav_menu.m .secondaire {
        visibility: hidden !important;
    }
    .Secondaire  .et_mobile_nav_menu .mobile_nav {
        display: none !important;
    }
	   .Secondaire .et_pb_menu__menu {
        display: block !important;
    }
    .Secondaire .et_pb_menu__menu > nav > ul > li {
        display: inline-block !important;
        margin-right: 20px; /* Optionnel : pour ajouter un espace entre les éléments */
    }

	.Secondaire .et_pb_menu__menu nav {
    display: block !important;
	}
	
	.MenuPrincipal .Adherer a {margin-top: 10px;
	}


.MenuPrincipal ul.sub-menu {
	margin-left: 2%!important;
    width: 100%!important;
}
.popup.bouton-recherche.menu-item {
    padding: 10px 5%!important;
	}

	}
.MenuPrincipal .Adherer a,
.MenuPrincipal .EspacePRO a,
.MenuPrincipal .Plexus a, 
.MenuPrincipal .annuaire a,
.MenuPrincipal .bouton-recherche {
	width:fit-content!important;
	display:block!important;
	margin-bottom: 0.5em;
	}

#mobile_menu2 li {
  list-style-type: none!important; 
  padding-left: 0;
  margin-left: 0;
}

#mobile_menu1 li {
  list-style-type: none!important; 
  padding-left: 0;
  margin-left: 0;
}


@media (min-width: 1200px) {
	.MenuPrincipal .Adherer.mob {display:none!important;}
	.MenuPrincipal .Plexus.mob {display:none!important;}
	.MenuPrincipal .linkedin.mob{display:none!important;}
	.MenuPrincipal .annuaire.mob {display:none!important;}
	}

@media (max-width: 1200px) {
.Secondaire.et_pb_menu .et_pb_menu__wrap {display:none!important;}
}

	.et_pb_menu_1_tb_header.et_pb_menu .Adherer ul li a {
		color:#fff!important;
}
	li.plexus.mob .et_pb_menu_1_tb_header.et_pb_menu  a {
		color:#fff!important;
}

@media only screen and (max-width: 690px) {	.et_pb_menu .et-menu>li.icon-menu {
	display: none !important;}
	}

.wpp-search-icon {
    position: relative; /* Assure que l'icône est placée par rapport au conteneur */
}

@media only screen and (max-width: 1200px) and (min-width: 980px) {
	.et-l--header ul{padding: 2em 4em 2em 4em;}
}

/* Sticky menu */

.et_pb_menu__logo {
	transition: max-width 0.3s ease-in-out !important;
}

.et_pb_sticky--top .et_pb_menu__logo {
	max-width: 13% !important;
	position: absolute !important;
	top: 0em;
	left: 0;
}
@media only screen and (min-width: 981px) {
	.et_pb_sticky--top .et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {
		  width: 11em !important;
	}
	
	.et_pb_sticky--top .et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {        top: -0.5em!important;}
}

.head-menu.et_pb_sticky--top .et_pb_image_0_tb_header {
	width: 11em !important;
margin-top: -41px !important;
	left: 21px;
	transition: max-width 0.3s ease-in-out;
	position: relative;
	overflow: hidden !important; 
}

.bandeau2 .et_pb_image img {
	transition: max-width 0.3s ease-in-out !important;
}
div.et_pb_section_2_tb_header .et_pb_sticky--top  {padding-top: auto;}
.et_pb_section.et_pb_section_2_tb_header.et_pb_sticky--top {
	background-color: #EAF1FF!important;
	width: 100% !important;
	left: 0 !important;
	padding-bottom: 20px!important;
	z-index: 10010 !important;
}
.et-db #et-boc .et-l .et_pb_sticky.et_pb_section_2_tb_header {
	background-color: #E4F2FC!important;
	width: 100% !important;
	left: 0 !important;
	padding-bottom: 20px!important;
	z-index: 10010 !important;
}

#et-boc > header > div > div.et_pb_section.et_pb_section_2_tb_header.et_pb_sticky_module.et_pb_with_background.et_section_regular.et_pb_section--with-menu.et_pb_sticky.et_pb_sticky--top {
    padding-bottom: 10px!important;
}

.et_pb_menu_1_tb_header.et_pb_sticky--top {
	padding: 10px 50px 10px 50px !important;
}

.et_pb_menu_1_tb_header.et_pb_sticky--top .et_pb_menu__menu {
	border: 1px solid #312B6B !important;
}

/* En sticky : padding réduit */
.et_pb_sticky--top .et_pb_menu--with-logo .et_pb_menu__menu > nav > ul > li > a {
	    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

/* Tablettes */
@media only screen and (min-width: 768px) and (max-width: 980px) {
	.et_pb_sticky--top .et_pb_image_0_tb_header {
		margin-top: -57px !important;
		width: 8em !important;
	}
	.et_pb_sticky--top .et_pb_menu__logo {
		max-width: 18% !important;
		top: -2em;
	}
	.head-menu.et_pb_sticky--top .et_pb_menu__logo {
		max-width: 18% !important;
		top: -7px;
	}
	.et_pb_sticky--top .bandeau2 {
		padding: 0 !important;
	}
	.head-menu.et_pb_sticky--top {
		top: 0 !important;
	}
}

/* Mobile */
@media only screen and (max-width: 767px) {
	.et_pb_sticky--top .et_pb_menu__logo {
		max-width: 5em !important;
		top: -0.5em;
		left: -6px;
		position: absolute !important;
	}
	.et_pb_sticky--top .bandeau2,
	.head-menu.et_pb_sticky--top .bandeau2 {
		padding: 0 !important;
	}
	.et_pb_sticky--top .et_pb_menu_1_tb_header {margin-bottom: 0px !important;}
	
}

/* Petits desktops / grandes tablettes */
@media (max-width: 1200px) and (min-width: 750px) {
	.et_pb_menu.bandeau2 .et_pb_menu__menu {
		background-color: transparent !important;
		border: 0 !important;
	}
	.head-menu.et_pb_sticky--top .et_pb_menu.bandeau2 .et_pb_menu__menu {
		border: 0 !important;
	}
}

/***************** Popup recherche ***********************/

.popup-overlay {
    position: fixed!important; /* fixed it */
    top: 0; /* moves it to the top */
    width: 100%; /* makes it fullwidth */
    height: 100vh; /* makes it full height of the screen */
    z-index: -1; /* moves the section behind all the rest so it is not shown */
    justify-content: center; /* centers the row in the middle */
    align-items: center;  /* centers the row in the middle */
      opacity: 0; /* hides the overlay */
      overflow: hidden;
      display: none;
      transition: opacity 0.4s ease-in-out; /* fades it in */
      -moz-transition: opacity 0.4s ease-in-out;
      -webkit-transition: opacity 0.4s ease-in-out;
}

/* CSS for overlay when shown */
.popup-overlay.show {
      display: flex; /* flex as this allows us to center the row */
      opacity: 1; /* shows the overlay */
    z-index: 99999; /* moves the overlay on top of all the other sections */
}

/* CSS X icon above the content */
.popup-overlay:after {
    display: block;
    content: "\4d"; /* Elegant themes icon code */
    font-family: ETmodules;
    position: absolute; /* makes the icon absolute to the parent */
    top: 67px; /* moves to top */
    right: 14px; /* moves to right */
    font-size: 40px;
    visibility: visible;
    color: #fff;
    cursor: pointer; /* changes the cursor to be a pointer */
}

/*Hide the search button*/
.popup-overlay .et_pb_searchform input.et_pb_searchsubmit {
    background: transparent;
    color: transparent!important;
    border: none;
    width: 55px;
    z-index: 2;
}
/*Add padding to the search input field*/
.popup-overlay .et_pb_searchform input.et_pb_s{
    padding-right: 55px !important;
}
/*Add the icon*/
.popup-overlay .et_pb_searchform :before {
    content: " ";
    background: url("images/recherche.png") no-repeat center;
    background-size: cover;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 26px;
}

.popup.bouton-recherche.menu-item {
    position: relative;
    display: inline-block;
    color: white;
    border-radius: 50%;
    font-family: ETmodules!important;
    color: #ffffff!important;
    
}
.MenuPrincipal .popup.bouton-recherche.menu-item a {font-family: ETmodules!important;}
/***************** Popup recherche ***********************/

.popup-overlay {
    position: fixed!important; /* fixed it */
    top: 0; /* moves it to the top */
    width: 100%; /* makes it fullwidth */
    height: 100vh; /* makes it full height of the screen */
    z-index: -1; /* moves the section behind all the rest so it is not shown */
    justify-content: center; /* centers the row in the middle */
    align-items: center;  /* centers the row in the middle */
      opacity: 0; /* hides the overlay */
      overflow: hidden;
      display: none;
      transition: opacity 0.4s ease-in-out; /* fades it in */
      -moz-transition: opacity 0.4s ease-in-out;
      -webkit-transition: opacity 0.4s ease-in-out;
}

/* CSS for overlay when shown */
.popup-overlay.show {
      display: flex; /* flex as this allows us to center the row */
      opacity: 1; /* shows the overlay */
    z-index: 99999; /* moves the overlay on top of all the other sections */
}

/* CSS X icon above the content */
.popup-overlay:after {
    display: block;
    content: "\4d"; /* Elegant themes icon code */
    font-family: ETmodules;
    position: absolute; /* makes the icon absolute to the parent */
    top: 67px; /* moves to top */
    right: 14px; /* moves to right */
    font-size: 40px;
    visibility: visible;
    color: #fff;
    cursor: pointer; /* changes the cursor to be a pointer */
}

/*Hide the search button*/
.popup-overlay .et_pb_searchform input.et_pb_searchsubmit {
    background: transparent;
    color: transparent!important;
    border: none;
    width: 55px;
    z-index: 2;
}
/*Add padding to the search input field*/
.popup-overlay .et_pb_searchform input.et_pb_s{
    padding-right: 55px !important;
}
/*Add the icon*/
.popup-overlay .et_pb_searchform :before {
    content: " ";
    background: url("images/recherche.png") no-repeat center;
    background-size: cover;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 26px;
}

.popup.bouton-recherche.menu-item {
    position: relative;
    display: inline-block;
    color: white;
    border-radius: 50%;
    font-family: ETmodules!important;
    color: #ffffff!important;
    
}
.MenuPrincipal .popup.bouton-recherche.menu-item a {font-family: ETmodules!important;}

/***************** FLEX CENTER ***********************/
.flex.center .et_pb_column {
    justify-content: center!important;
}
.flex.right .et_pb_column {
    justify-content: right!important;
}

.flex .et_pb_column {
    display: flex!important;
    flex-wrap: wrap!important;
    flex-direction: row!important;}

/* PAGES PORTAILS*/

.liste-pages-enfant {
    max-width: 1350px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
	margin-top: -20px;
}

/* Flexbox pour chaque page enfant */
.page-enfant {
    display: flex;
    flex-direction: column;
    width: 30%;
    margin: 15px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
	background-color:#fff;
}

/* Image de la page enfant */
.page-enfant img {
    height: 15em;
    object-fit: cover;
    transition: transform 0.3s ease;
	margin-bottom: -59px;
	 border-radius: 40px;
}

/* Titre de la page enfant */
.page-enfant .titre-page-enfant {
    font-weight: 800;
    font-size: 22px;
    color: #042940;
    padding:0.5em;
    position: relative;
    z-index: 2;
	    margin-top: 2.5em;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
}

 .titre-page-enfant  a {
    text-decoration: none;
    background-image: linear-gradient(to right, currentColor 0, currentColor 100%);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-enfant:hover .titre-page-enfant a {
    background-size: 100% 2px; /* Extension du soulignement au survol */
}
/* Effet hover sur l'image */
.page-enfant img {
  transition: opacity 0.4s ease-in-out;
}

.page-enfant img:hover {
  opacity: 0.6;
}


/* Responsive styles */
@media only screen and (min-width: 920px) and (max-width: 1562px) {
    .page-enfant {
        width: 45%;
    }
}

@media only screen and (max-width: 768px) {
    .page-enfant {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .page-enfant {
        width: 100%;
    }
	.page-enfant img {
			height: 11em!important;}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .page-enfant {
        width: 46%;
    }
	
}

@media only screen and (max-width: 480px) {
    .page-enfant {
        width: 100%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .page-enfant {
        width: 94%;
    }
	.page-enfant img {
			height: 11em!important;}

}

@media screen and (max-width: 1400px) and (min-width: 820px) {
    .page-enfant {
        width: 30% !important;
    }
}

@media screen and (max-width: 1111px) and (min-width: 768px) {
    .page-enfant {
        width: 44% !important;
    }
		.page-enfant img {
		height: 14em;}
}
/* PAGES PORTAIL – ALTERNATIVE */

.liste-pages-enfant-alt {
    max-width: 1350px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: -20px;
}

.page-enfant-alt {
    display: flex;
    flex-direction: column;
    width: 30%;
    margin: 15px;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
    background-color: #fff;
	box-shadow: 0px 2px 29px 0px rgba(18, 103, 153, 0.2);
	border-radius:40px;
	padding:20px;
}

.page-enfant-alt img {
    height: 8em;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin-bottom: -59px;
    border-radius: 40px;
}

.page-enfant-alt .titre-page-enfant-alt {
    font-weight: 800;
    font-size: 22px;
    color: #042940;
    padding: 0.5em;
    position: relative;
    z-index: 2;
    margin-top: 2.5em;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	    line-height: 1.1em;
}

.titre-page-enfant-alt a {
    text-decoration: none;
    background-image: linear-gradient(to right, currentColor 0, currentColor 100%);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page-enfant-alt:hover .titre-page-enfant-alt a {
    background-size: 100% 2px;
}

.page-enfant-alt img {
    transition: opacity 0.4s ease-in-out;
}

.page-enfant-alt img:hover {
    opacity: 0.6;
}

/* Responsive styles pour ALT */
@media only screen and (min-width: 920px) and (max-width: 1562px) {
    .page-enfant-alt {
        width: 45%;
    }
}

@media only screen and (max-width: 768px) {
    .page-enfant-alt {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .page-enfant-alt {
        width: 100%;
    }
    .page-enfant-alt img {
        height: 11em !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .page-enfant-alt {
        width: 45%;
    }
}

@media only screen and (max-width: 480px) {
    .page-enfant-alt {
        width: 100%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .page-enfant-alt {
        width: 94%;
    }
    .page-enfant-alt img {
        height: 11em !important;
    }
}

@media screen and (max-width: 1400px) and (min-width: 820px) {
    .page-enfant-alt {
        width: 46% !important;
    }
}

@media screen and (max-width: 1111px) and (min-width: 768px) {
    .page-enfant-alt {
        width: 44% !important;
    }
    .page-enfant-alt img {
        height: 14em;
    }
}



/******************** SIDEBAR ACTION ******************/

.project_category_title h3 {
    font-size: 1.3em!important;
    line-height: 1.1em;
    font-weight: 600!important;
    color: #FFFFFF !important;
    display: block;
    border-top: solid 1px;
    padding-top: 15px;
    padding-bottom: 15px;
	font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;
  }

.project_category_title h3:hover {
      color: #042940!important;
     border-top: solid 1px #FFFFFF;
    transition: all 300ms ease 0ms;
}
ul.project_list li a{    
    font-size: 16px !important;
    line-height: 1.5em;
    font-weight: 400 !important;
    color: #fff;
    display: block;
    border-top: solid 0px;
    padding-top:5px !important;
    padding-bottom: 5px !important;
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif;
margin-top: -5px;}

ul.project_list li a:hover{
    color: #042940!important;
transition: all 300ms ease 0ms;}

.project_list li::marker {
	color:#fff!important;
}

.project_category_title.active h3 {  
font-weight: 600!important;
 border-top: solid 1px #fff;
	color: #042940!important;
}

ul.project_list li.active a{
     font-weight: 800!important;
}

.project_list  li.active::marker {  
	font-weight: 800!important;
}

/******************** PAGE ENFANT LISTE ******************/


ul.sibling_page_list  li.sub-page-title::marker {color:#fff!important;}

ul.sibling_page_list .sub-page-title { 
	font-size: 1.3em!important;
    line-height: 1.1em;
    font-weight: 600 !important;
    color: #fff!important;
    display: block;
    border-top: solid 1px #fff;
    padding-top: 15px;
    padding-bottom: 15px;
        font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
}

ul.sibling_page_list .sub-page-title:hover{
	color: #042940!important;
	 transition: all 300ms ease 0ms;
	border-top: solid 1px #fff;}

ul.sibling_page_list li {
    list-style-type: none;
    padding-left: 0;
}

ul.sub_page_list.circle-bullet li {
	list-style-type: disc;
color:#fff;}

ul.sub_page_list.circle-bullet li a{
	 color:#fff !important;
}

ul.sub_page_list.circle-bullet li a:hover{
	 color: #fff !important;
	 transition: all 300ms ease 0ms;
}
ul.sibling_page_list .sub-page-title.active {
	color: #042940 !important;
	border-top: solid 1px #fff;
}

/******************** TITRE PAGE PARENT SIDEBAR ******************/

.titre-page-parente {
font-weight: 800;
    font-size: 1.5em;
	text-transform: uppercase;
    text-align: center;
    color: #fff !important;
	    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	    padding-bottom: 1em;
}

/******************** PAGE ENFANT TITRES ******************/
.titres-pages-enfant-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* Style commun */
.titre-page-enfant-item {
    font-family:'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
font-weight: 600;
    text-decoration: none;
    color: #fff;
    border-radius: 15px;
    padding: 5px 12px;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: none!important;
    letter-spacing: 0px!important;
}

/* Bleu */
.bleu .titre-page-enfant-item {
    background-color: #e1358a;
}

/* Jaune */
.jaune .titre-page-enfant-item {
    background-color: #f2ca52;
}

/* Hover - commun pour les deux */
.bleu .titre-page-enfant-item:hover,
.jaune .titre-page-enfant-item:hover {
    background-color: #0f0f63;
    color: #fff;
}

/* GUTEMBERG*/

.wp-block-separator {
    border: none;
    border-bottom: 1px solid #7BACCE;
    margin-left: auto;
    margin-right: auto;
    margin: 20px 0px 20px 0px;
}
.kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active {
	       border-radius: 8px 8px 0px 0px!important;
}

.wp-element-button, .wp-block-button__link {
    margin: 5px 0px 5px 0px;
   color:#fff!important;
    padding: 0.8em 01em !important;
    line-height: 1em!important;
    font-size: 18px;
    background-color: #022533!important;
    border: 0px solid;
	border-color: #022533!important;
    border-radius: 10px!important;
    font-weight: bold;
    font-style: normal;
  text-decoration: none;
	      transition: all 300ms ease 0ms;
	    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

 .wp-block-button__link:hover {
	background-color: #7BACCE!important;
	 border-color: #7BACCE!important;
}

/* GUTEMBERG ACCORDEON */
.kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active {
	    border-bottom: none !important;
}

body.is-layout-flex .wp-block-buttons {margin-top: 10px!important;}

.kt-inside-inner-col p {
    line-height: 1.7em !important;
}

.kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active {
    border-radius: 20px 20px 0px 0px!important;
}
