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


.bandeau2 .nav li li
{padding:0 10px!important}


/*MENU PRINCIPAL*/
/*MENU PRINCIPAL - LIEN*/
.nav li ul {border-top: 3px solid #5EBEBA!important;}
.MenuPrincipal a {
	font-size: 18px;
	font-weight: 600;
	font-style: normal;
	text-align: left;
	color: #1D1D1B!important;
	font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
    margin-top: 0px!important;
}
/* ===== MENU PRINCIPAL - BOUTON ADHERER ===== */
.MenuPrincipal .Adherer a {
    background-color: #5EBEBA;
    color: #fff !important;
    border: none;
    padding: 15px !important;
    padding-left: 40px !important; /* Ajusté pour l’icône */
    border-radius: 50px;
    font-family: 'Fredoka',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    position: relative;
}

.MenuPrincipal .Adherer a::before {
    content: '';
    display: inline-block;
    background-image: url(images/adherer.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 22px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.MenuPrincipal .Adherer a:hover {
    color: #fff !important;
    border: none;
    border-radius: 0;
    transition: all 300ms ease;
}

#MenuPrincipal .adherer a {
    color: #fff !important;
}


/* ===== MENU PRINCIPAL - BOUTON PLEXUS ===== */
.MenuPrincipal .Plexus a {
    background-color: #82B582;
    color: #fff !important;
    border: none;
    padding: 15px !important;
    padding-left: 40px !important;
    border-radius: 50px;
    font-family: 'Fredoka',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.MenuPrincipal .Plexus a::before {
    content: '';
    display: inline-block;
    background-image: url(images/plexus.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 22px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    text-transform: uppercase;
    font-weight: 500;
}

.MenuPrincipal .Plexus a:hover {
    border-radius: 0;
    transition: all 300ms ease;
}

#MenuPrincipal .Plexus a {
    color: #fff !important;
}


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

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

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


/* ===== ESPACEMENTS BOUTONS ===== */
.Adherer, .plexus {
    padding-left: 4px !important;
    padding-right: 5px !important;
}

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

/* ===== MENU PRINCIPAL - BOUTON ANNUAIRE ===== */
.MenuPrincipal .annuaire a {
    background-color: #F0C43D;
    color: #fff !important;
    border: none;
    padding: 15px !important;
    padding-left: 40px !important;
    border-radius: 50px;
    font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.MenuPrincipal .annuaire a::before {
    content: '';
    display: inline-block;
    background-image: url(images/annuaire.png); /* à adapter si le fichier a un autre nom */
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 22px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.MenuPrincipal .annuaire a:hover {
    border-radius: 0;
    transition: all 300ms ease;
    color: #fff !important;
}

#MenuPrincipal .annuaire a {
    color: #fff !important;
}

/* ===== MENU SECONDAIRE (sans logo) ===== */
.Secondaire.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li {
    padding: 3px !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-left: 2px!important;
    padding-right: 2px!important;
	margin-top: -10px !important;
}
.MenuPrincipal .icon-menu.linkedin::before {
    content: "\E09D";
        font-family: ETmodules;
    speak: none;
    font-style: normal;
    transform: translateY(38%);
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color: #1D1D1B;
    color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.MenuPrincipal .icon-menu.youtube::before {
    content: "\e0a3";
        font-family: ETmodules;
    speak: none;
    font-style: normal;
    transform: translateY(38%);
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color: #1D1D1B;
    color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.MenuPrincipal .icon-menu.facebook::before {
    content: "\e093";
        font-family: ETmodules;
    speak: none;
    font-style: normal;
    transform: translateY(38%);
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color: #1D1D1B;
    color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.MenuPrincipal .icon-menu.insta::before {
    content: "\e09a";
        font-family: ETmodules;
    speak: none;
    font-style: normal;
    transform: translateY(38%);
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color: #1D1D1B;
    color: #fff;
    font-size: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

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


.MenuPrincipal .icon-menu a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px; /* Cache le texte en le déplaçant hors de la zone visible */
    z-index: 1; /* Assure que le lien soit cliquable */
}

.forme::before {
    content: "";
    position: absolute;
    top: -2em!important;
     left: -2em!important;
    width: 100%; /* Ajuste la taille selon tes besoins */
    height:14em!important;
    background-image: url('http://cpts3s.fr/wp-content/uploads/2025/06/forme-menu.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;

}


@media only screen and (max-width: 690px) {  .forme::before { height:13em!important;}}

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


@media only screen and (max-width: 1200px) {
.et_mobile_menu {
	border-top: 3px solid #72C9EB;
	margin-top: 2.3%;
	}
.et_mobile_menu li a {
	padding:0!important;
	font-size: 18px;
	}
.MenuPrincipal li {
	height: max-content;
	margin-bottom: 12px;
	}
.EspacePRO {
	padding-left: 0px!important;
	}
.MenuPrincipal .Adherer a,
.MenuPrincipal .EspacePRO a,
.MenuPrincipal .plexus a {
	width:fit-content!important;
	}
.MenuPrincipal .Adherer {
	margin-top: 00px!important;
	}
.MenuPrincipal .EspacePRO {
}
    .et_pb_menu .et_mobile_menu {
        top: 100%;
        padding: 5%;
    }
	
.et_mobile_menu::marker {
		display:none;
	}
}

/* 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: 0%!important;}

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

@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;}
}

/*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: 20% !important;
        top: -1em !important;
    }
	ul#mobile_menu2.et_mobile_menu { list-style-type: none;}
}

/*MENU SUR MOBILE*/
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;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
	border-bottom: 0;
	text-align: center;
}
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: #FFF;
}

/*Hide the Sub-menu*/
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 {
	background-color: #FFF!important;
	z-index: 5000;
    position: absolute;}

/*Show the sub-menu when the + icon is clicked*/
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;
}

/*Create the opening/closing icon using the SVG Icons*/
ul.et_mobile_menu li.menu-item-has-children .mobile-toggle .dt-icons,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle .dt-icons {
	top: 10px;
	position: relative;
}

/*Hide the closing icon if the sub-menu is not open*/
ul.et_mobile_menu li.menu-item-has-children:not(.dt-open) .mobile-toggle .dt-close-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children:not(.dt-open) .mobile-toggle .dt-close-icon {
	display: none;
}

/*Hide the opening icon if the sub-menu is open*/
ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle .dt-open-icon,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open > .mobile-toggle .dt-open-icon {
	display: none;
}

@media only screen and (max-width: 1200px) {
    .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;}
	}

@media (min-width: 1200px) {
	.MenuPrincipal .Adherer.mob {display:none!important;}
	.MenuPrincipal .Plexus.mob {display:none!important;}
	.MenuPrincipal .linkedin.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 */
}


/*MENU STICKY*/
.et_pb_menu__logo {
    transition: max-width 0.3s ease-in-out; /* Ajuste la durée (0.3s) et l'effet (ease-in-out) selon tes préférences */
}

.et_pb_row .dnxte_data_attributes .et_pb_row_1_tb_header .et_pb_sticky_module .et_pb_row--with-menu .et_pb_sticky .et_pb_sticky--top { 
	padding: 0px 0px 0px!important;
    bottom: none!important;
bottom:20px!important;}

.et_pb_sticky--top   {
    
	background-color:#EAF1FF!important;
	    width: 100%!important;    
	left: 0px!important;
		padding: 0px 0px 0px!important;
	    }

.head-menu.et_pb_sticky--top .et_pb_menu.bandeau2
.et_pb_menu__menu  { 
	border: solid 1px #312B6B!important;
	}

.et_pb_sticky--top .bandeau2 { 
	padding: 20px 50px 20px 50px!important;
}

	.et_pb_sticky--top .et_pb_image{
       margin-top: -20px !important;
    left: 47px;
    width: 6em !important;
    transition: max-width 0.3s ease-in-out; /* Ajuste la durée (0.3s) et l'effet (ease-in-out) selon tes préférences */}

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

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

.head-menu.et_pb_sticky--top .bandeau2 { 
	padding: 20px 0px 20px 50px!important;
}

.head-menu.et_pb_sticky--top .et_pb_image_0_tb_header {
overflow: hidden!important;
position:relative;}

@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_row_2_tb_header.et_pb_row .et_pb_sticky--top  {
		margin-top: 0px !important;}

	
	.et_pb_sticky--top .bandeau2, .et_pb_sticky--top.et_pb_row_2_tb_header {
    padding: 0px !important;
}
	
	.head-menu.et_pb_sticky--top { 
	top:0px!important;
}

	.head-menu.et_pb_sticky--top .bandeau2 {
    padding: 0px 20px 20px 20px !important;}
}
@media only screen and (max-width: 980px) {
   .et_pb_sticky--top.et_pb_row_1_tb_header,.et_pb_sticky--top.et_pb_row_2_tb_header {
        border-radius: 0px 0px 0px 0px!important;;
    }
	
}

@media only screen and (max-width: 767px) {
	
	.et_pb_sticky--top.et_pb_row_2_tb_header.et_pb_row, 	.et_pb_sticky--top.et_pb_row_1_tb_header.et_pb_row  {
		margin-top: 0px !important;
	    border-radius: 0px 0px 0px 0px !important;} 

.et_pb_sticky--top .bandeau2 {
    padding: 0px!important;
	}
	.head-menu.et_pb_sticky--top .bandeau2 { 
	padding: 0px!important;
	}
	}
	
	@media (max-width: 1200px) and (min-width: 750px) {

	.et_pb_menu.bandeau2 .et_pb_menu__menu {
		background-color:#ffffff00!important;}
	.head-menu.et_pb_sticky--top .et_pb_menu.bandeau2 .et_pb_menu__menu, .et_pb_menu.bandeau2 .et_pb_menu__menu {
    border: solid 0px #312B6B !important;}
 
}

@media (min-width: 981px) and (max-width: 1220px) {
	.et_pb_sticky--top .et_pb_image{
		    margin-top: -3em !important;
    left: 1em;
    width: 5em !important;
    transition: max-width 0.3s ease-in-out;
	}
	.et_pb_sticky--top .bandeau2 {
    padding: 0px 20px 0px 50px !important;
}
}


@media (min-width:755px) and (max-width: 980px)  {
		.et_pb_sticky--top .et_pb_menu_1.et_pb_menu .et_pb_menu__logo{
		    margin-top: 0em !important;
    left: 1em;
    width: 4.5em!important;
    transition: max-width 0.3s ease-in-out;
	}
	
	.et_pb_sticky--top .et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {
		    margin-top: 1em !important;
    left: 1em;
    width: 4.5em!important;
    transition: max-width 0.3s ease-in-out;
	}
}

@media (max-width: 755px) {	
	.et_pb_sticky--top .et_pb_menu_1.et_pb_menu .et_pb_menu__logo{
		    margin-top: 1em !important;
    left: 1em;
    width: 5.5em!important;
    transition: max-width 0.3s ease-in-out;
	}
	.et_pb_sticky--top .et_pb_menu_1_tb_header.et_pb_menu .et_pb_menu__logo {
		margin-top: 1em !important;
    left: 1em;
    width: 5.5em!important;
    transition: max-width 0.3s ease-in-out;
	}
}


/***************** 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;
    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: 600;
    font-size: 24px;
    color: #1D1D1B;
    padding:0.5em;
    position: relative;
    z-index: 2;
	    margin-top: 2.5em;
	font-family: 'Fredoka', 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%;
    }
}

@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: 14em;}
}

@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;}
}


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

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

.project_category_title h3:hover {
      color: #5EBEBA!important;
     border-top: solid 1px #5EBEBA;
    transition: all 300ms ease 0ms;
}
ul.project_list li a{    
    font-size: 16px !important;
    line-height: 1.5em;
    font-weight: 400 !important;
    color: #1D1D1B;
    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: #5EBEBA!important;
transition: all 300ms ease 0ms;}

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

.project_category_title.active h3 {  
font-weight: 600!important;
 border-top: solid 1px #5EBEBA;
	color: #5EBEBA!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: #1D1D1B!important;
    display: block;
    border-top: solid 1px #5EBEBA;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
}

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

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

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

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

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

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

.titre-page-enfant-item {
   font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    text-decoration: none;
    color: #1D1D1B;
    border: 2px solid #5EBEBA;
    border-radius: 20px;
    padding: 5px 10px;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
	text-transform: none!important;
    letter-spacing: 0px!important;
 }

.titre-page-enfant-item:hover {
    background-color: #1D1D1B;
	border: 2px solid #1D1D1B;
    color: #fff;
}

/* REFERENT ACTION */
.referent-container { 
	padding: 1.5em;
	}  

.referent-container h3 {
    flex-basis: 100%;
  color: white;
    font-weight: bold;
    text-transform: none;
    text-align: center;
    margin-bottom: 10px;
	font-size: 1.5em !important;
}

.referent-container .referent-item {
    display: flex;
	align-items: flex-start;
    margin-top: 10px;
	    
}

.referent-container .referent-text {
    flex: 1;
	color: #fff;
    line-height: 1.2em;
}

.referent-container img {
	margin-right: 20px; 
	    width: 2em;
}
.nom-prenom {
    color: #fff; 
    font-size: 18px;
}

/* GUTEMBERG*/

.wp-block-separator {
    border: none;
    border-bottom: 1px solid #50BCBD;
    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.7em 1em;
    line-height: 1em!important;
    font-size: 18px;
    background-color: #1D1D1B!important;
    border: 0px solid;
	border-color: #000!important;
    border-radius: 50px!important;
    font-weight: 500;
    font-style: normal;
  text-decoration: none;
	      transition: all 300ms ease 0ms;
	font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
}

 .wp-block-button__link:hover {
   border-radius:0px!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;
}



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

.titre-page-parente {
font-weight: 700;
    font-size: 1em;
    line-height: 1em;
    text-align: center;
    color: #1D1D1B!important;
}

/******************** Enquêtes ********************/



.enquete-content {
   
    border-bottom: 1px solid #5EBEBA;
    position: relative;
    margin-top: 30px;
    padding-bottom:20px;
}
.enquete-content:first-of-type {
    margin-top: 0;
}
.enquete-content:last-of-type {
    border-bottom: none;
}
.enquete-content .enquete-title {
    padding-bottom: 0;
    font-size: 25px;
    font-weight: 800;
    color: #1D1D1B;
    line-height: 1em;
    margin-bottom:5px;
    font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
}
.enquete-content .enquete-description {
    padding: 10px 0;
    color: #333;
}
.enquete-content .enquete-lien {
    display: flex;
    align-items: center;
}
.enquete-content .enquete-lien a {
    color: #5EBEBA;
    text-decoration: underline;
    transition: 300ms all ease-in-out;
}
.enquete-content .enquete-lien a:hover {
    transform: translateX(10px);
}


/******************** Style enquêtes (version carte, corrigé) ********************/

.enquete-card {
    display: block;
    text-decoration: none;
    margin-bottom: 5px;
}

.enquete-card-inner {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 40px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0px 2px 18px 0px rgba(212, 225, 249, 0.63);
    transition: box-shadow 0.3s ease;
    margin-bottom:10px;
}

.enquete-card-inner:hover {
    box-shadow: 0px 4px 24px rgba(94, 190, 186, 0.45);
}

.enquete-card-arrow {
    font-size: 28px;
    margin-right: 15px;
    line-height: 1.2em;
}

.enquete-card-text {
    flex: 1;
}

.enquete-card-title {
    font-size: 22px;
    font-weight: bold;
    color: #1D1D1B;
    font-family: 'Fredoka', Helvetica, Arial, Lucida, sans-serif;
    margin: 0 0 5px 0;
}

.enquete-card-lien a {
    font-size: 16px;
    color: #5EBEBA;
    text-decoration: underline;
    transition: 0.3s ease;
}

.enquete-card-lien a:hover {
    transform: translateX(5px);
    display: inline-block;
}
