/* MSP Core — CSS global du site
 * Rapatrié depuis Divi > Options du thème > CSS personnalisé.
 * Seule modif vs l'original : le chemin du @font-face (../fonts/…).
 */

:root {
  --main-color: #009289;
  --dark-color: #333332;
  --pink-color: #dc277e;

}

@font-face {
  font-family: 'RenogareSoft';
  src: url('../fonts/RenogareSoft-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.title-heading2{
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2vw;
    font-weight: normal;
}

.white-color{
	color:white!important;
}
/* Exemple d'application globale */
body {
  font-family: 'RenogareSoft', sans-serif !important;
}



/*  HEADER---------------------------------------------------------------------------------------------------------------------- */
/*  HEADER---------------------------------------------------------------------------------------------------------------------- */
/*  HEADER---------------------------------------------------------------------------------------------------------------------- */
.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a:after{
	right:-15px!important;
}

header .et-l--header,
#et-boc>header {
  position: relative !important;
  z-index: 9999999 !important
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.msp-menu-item>a {
  padding: 25px 0 !important;
}


.msp-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin:  0;

}

div .msp-social-links a {
  font-size: 22px;
  color: var(--main-color);
}



.rotatefix {
  transform: rotate(-90deg) !important
}

.picto-link svg {
  max-width: 30px;
}

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li.msp-menu-item>a

 {
    padding: 25px 0 !important;
    font-size: clamp(10px, 0.78vw, 13px);
}

.et_pb_menu .et-menu>li {
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}
.menu-principal-container .et_pb_menu_inner_container{
    width:100%
}

/* Styles pour le sous-menu */
        .msp-menu-item.has-submenu .menu-link {
            display: flex;
            justify-content: center;
			gap:10px;
            align-items: center;
        }

        .msp-submenu-toggle {
            font-size: 18px;
            font-weight: bold;
            transition: transform 0.3s ease;
        }

        .msp-menu-item.has-submenu.open .msp-submenu-toggle {
            transform: rotate(45deg);
        }

        .submenu {
            display: none;
            list-style: none;
            padding-left: 20px;
            margin: 10px 0 0 0;
        }

        .msp-menu-item.has-submenu.open .submenu {
            display: block;
        }

        .submsp-menu-item {
            margin-bottom: 10px;
        }

        .msp-submenu-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .msp-submenu-link:hover {
            color: #fff;
        }

/* FIN HEADER---------------------------------------------------------------------------------------------------------------------- */
/* FIN HEADER---------------------------------------------------------------------------------------------------------------------- */
/* FIN HEADER---------------------------------------------------------------------------------------------------------------------- */



/*HOMEPAGE---------------------------------------------------------------------------------------------------------------------- */




/* CUSTOM BLURB------------------------ */
.custom-blurb {
  margin: 0 0 5vh;
}

.custom-blurb a {
  display: flex;
  gap: 20px
}

.custom-blurb .custom-blurb-pict {
  color: var(--main-color);
  width: 87px;
  height: 87px;
}

.custom-blurb .custom-blurb-content {
  position: relative;
}

.custom-blurb .custom-blurb-content,
.custom-blurb-title {
  color: white;
}

.custom-blurb-title {

  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1vw;
}

.custom-blurb-text {
  font-size: 1.1rem;
  letter-spacing: 0.1vw
}

.custom-blurb-round {
  background-color: white;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--pink-color);
  width: 80px;
  height: 80px;
  position: absolute;
  left: 150px;
  bottom: -25px
}

.custom-blurb-round-big {
  font-size: 2rem
}

.custom-blurb-round-medium {
  font-size: 1.2rem
}


/* 1) Définition des animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 2) État initial masqué et application de l'animation */
.custom-blurb-pict {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 0.6s ease-out forwards;
}

.custom-blurb-round {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInRight 0.6s ease-out forwards;
  /* tu peux ajuster le délai pour que le badge arrive un peu après */
  animation-delay: 0.3s;
}

.custom-blurb-round-small {
  text-align: center;
  line-height: 0.8rem;
}


/* CUSTOM BASCULE----------------------------------- */
/* CSS */
/* Container */
.toggle {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ddd;
  max-width: 600px;
  margin: 0 auto 1rem;
}

/* En-tête cliquable */
.toggle-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.35rem 1rem;
  background: white;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
}

.toggle-header .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-color);
}

.toggle-header .title {
  flex-grow: 1;
  font-weight: normal;
  letter-spacing: 0.2vw;
  color: var(--dark-color);
  text-transform: uppercase;
  text-align: left;
  margin-left: 10px;
}

.toggle-header .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--main-color);
}

/* Contenu masqué par défaut */
.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
	    position: absolute;
    width: 100%;
    z-index: 1;
}

/* État ouvert */
.toggle.open .toggle-content {
  max-height: 500px;
  /* assez grand pour contenir l'iframe */
}

.toggle.open .toggle-header .arrow {
  transform: rotate(180deg);

}



.icon-btn{
	border-radius:10px;
	    padding: 7px 14px;
}


a.small-icon-button{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:20px;
	width:90%;
	max-width:400px!important;
	margin:10px auto!important;

}

body #page-container .et_pb_section a.small-icon-button:after{
	font-size:0.8em!important;
	position:relative;
}

a.small-icon-button-pink{
background-color: #ffffff;
    font-family: 'RenogareSoft Regular';
    color: var(--pink-color) !important;
    font-size: 15px !important;
    letter-spacing: 0.4rem !important;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-width: 0px;
    border-color: #333;
    border-style: solid;
	    display: flex
;
    max-width: 400px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


body #page-container .et_pb_section a.small-icon-button-pink:after{
	content: '+';
    font-family: "FontAwesome" !important;
    font-weight: 900 !important;
       font-size: 0.8em !important;
    position: relative;
    line-height: 1.7em !important;

    margin-left: .3em;
    color: var(--pink-color);

    opacity: 1;
}


a.small-icon-button-green{
background-color: #ffffff;
    font-family: 'RenogareSoft Regular';
    color: var(--dark-color) !important;
    font-size: 15px !important;
    letter-spacing: 0.4rem !important;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    border-width: 0px;
    border-color: #333;
    border-style: solid;
	    display: flex
;
    max-width: 400px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}


body #page-container .et_pb_section a.small-icon-button-green:after{
	content: '+';
    font-family: "FontAwesome" !important;
    font-weight: 900 !important;
       font-size: 0.8em !important;
    position: relative;
    line-height: 1.7em !important;

    margin-left: .3em;
    color: var(--green-color);

    opacity: 1;
}
.um-account-side ul li {
	margin: 2px 0 !important;}

.um-field-area input, .um-field-area select{
    padding:1% 2%;
    border-radius:600px
}

/* style du bouton "Choisir un fichier" */
#photo_du_profil::file-selector-button{
  padding: 8px 14px;
  border: 0;
  border-radius: 9999px;
  background: var(--pink-color);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, opacity .15s ease;
  margin-right: .75rem;
}
#photo_du_profil:hover::file-selector-button{ opacity: .9; }
#photo_du_profil:active::file-selector-button{ transform: translateY(1px); }

/* harmoniser l'input */
#photo_du_profil.um-file{
  font: inherit;
  color: inherit;
  border: 1px dashed #d6d8e6;
  border-radius: 12px;
  padding: .5rem .75rem;
}

.docto-btn{
	margin-bottom:1rem;
}
.um-field-area{
	display:flex;
	flex-direction:column
}
.um-field-custom{
	    margin-top: 20px;
    border: 1px solid white;
    border-radius: 10px;
    padding: 2%;
}
.helloasso-btn  svg{
border-bottom: none !important;
    border-right: 1px solid var(--main-color);
    padding: 5px 10px 5px 0 !important;
    width: 40px;
    height: 40px;
}

a.helloasso-btn{

padding: 10px 14px;}
a.helloasso-btn .title{
	color:var(--pink-color)
}

   /* Container flex responsive */
    .msp-blurbs {
      display: flex;
      gap: 4vw;
      flex-wrap: wrap;
      justify-content: center;
      margin: 2rem 0;
		    padding: 0 9vw;
    }
    /* Chaque blurb */
    .msp-blurb {
      flex: 1 1 30%; /* minimum 220px, s'étire */

      background: transparent;
      text-align: center;
      padding: 1rem;
    }
    /* Emplacement du picto */
    .msp-blurb-icon {
      width: 60px;
      height: 60px;
      margin: 0 auto 3rem;
      /* ici vous pouvez appliquer un background-image ou insérer directement votre SVG */

      display: flex;
      align-items: center;
      justify-content: center;
    }
    /* Texte en blanc */
    .msp-blurb-title,
    .msp-blurb-text {
      color: #fff;
    }
    .msp-blurb-title {
		margin-top:10px;
		letter-spacing:0.1vw;
      font-size: 1.2rem;
      margin: .5rem 0;
      text-transform: uppercase;
    }
    .msp-blurb-text {
      font-size: .95rem;
		font-weight:500;
		letter-spacing:0.1vw;
      line-height: 2;
    }



/* COMPTEURS HOME */
 .compteurs-sante-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
            row-gap:10vh;
        }
        .compteur-item {
            text-align: center;
            padding: 1rem;
            transition: transform 0.3s ease;
        }
        .compteur-icon {
			max-width:170px;
            height: 50px;
            margin-bottom: 0.5rem;
        }
        .compteur-chiffre {
            font-size: 2.5rem;
            font-weight: bold;
	position:relative;
			top:5vh;
			color:white;
			z-index:1

        }
.compteur-chiffre:after{
	content:'';
	display:block;
	width: 6vw;
	height:0;
	padding-top:6vw;
	position:absolute;
	top :50%;
	left:50%;
	transform:translate(-50%, -50% );
	background-color:var(--main-color);
			border-radius:150px;
	z-index:-1;


}
.sub-counter-container{
	margin-top:20px;
	display:flex;
	align-items:center;
	justify-content:center;
}


.slider-actus-container {
				position: relative;
				overflow: hidden;
			}
			.slider-actus-wrapper {
				display: flex;
				transition: transform 0.5s ease;
			}
.slider-actus-container:before{
	content:'';
	display:block;
	width:100%;
	height:60%;
	background-color:white;
	position:absolute;
	left:0;
	top:50%;
	transform: translatey(-50%);
	z-index:-1
}
			.slider-actus-slide {

				padding: 0vh 5%;
				min-width: 100%;
				display: flex;
				flex-wrap: wrap;
				align-items: center;
			}
			.slider-actus-image {
				flex: 1 1 50%;
			}
			.slider-actus-image img {
				width: 100%;
				height: auto;
				display: block;
			}
			.slider-actus-content {
				flex: 1 1 50%;
				padding: 4rem;
			}
			.slider-actus-title {
				color: var(--main-color);
				text-transform: uppercase;
				letter-spacing: 1px;
			}
			.slider-actus-btn {
				display: inline-block;
				margin-top: 1rem;
				padding: 0.3rem 1.5rem;
				background: var(--main-color);
				letter-spacing:0.1rem;
				color: white;
				border-radius: 30px;
				text-decoration: none;
				float:inline-end
			}
			.slider-actus-prev,
			.slider-actus-next {
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				background: none;
				border: none;
				font-size: 2rem;
				color: #d10e5f;
				cursor: pointer;
				z-index: 10;
			}
			.slider-actus-prev { left: 1rem; }
			.slider-actus-next { right: 1rem; }


.slider-actus-excerpt{
	letter-spacing:0.1rem;
}

.cpf-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top:10vh
}

.cpf-post {
	background: #fff;
    box-shadow: 0px 7px 15px #adadad;
	display: flex;
	justify-content:space-between;
	flex-direction: column;
}


.grid-cpf-post-content{
	display: flex;
	flex-direction: column;
	padding:2% 15px;
}
.cpf-img{
	min-height:26vh;
	margin-top: -20px;
    margin-left: -20px;
    margin-right: 20px;
}
.cpf-img img {
	width:auto;
	height: 100%;
}

.cpf-title {
	margin-top: 1rem;
	font-size: 1.4rem;
}

.cpf-excerpt {
    margin-top: 0.5rem;
    letter-spacing: 0.051vw;
    font-size: 0.81rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 20px;
    min-height: 96px;
}

.cpf-button {

    display: inline-block;
    background: #009289;
    color: #fff;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    margin-bottom: -28px;
    margin-right: -23px;
    margin-left: 115px;
    border-radius: 60px;
}

.cpf-search-bar{margin:1vh 0;}

#cpf-search-input, .cpf-filters select{
	padding:8px 18px 8px 10px;
	border-radius:500px;
	cursor:pointer;
}



.user-badge {
			display: inline-block;
			background: #009289;
			color: white;
			padding: 5px 10px;
			margin: 5px 5px 0 0;
			border-radius: 20px;
			cursor: pointer;
			font-size: 14px;
		}
		#user-reset-filters {

			padding: 6px 12px;
			border: none;

			cursor: pointer;
				min-height:100%;
	background-color:var(--pink-color);
	color:white;
	border-radius:100px;
		}
.user-grid{
	padding:2%;
    display:flex;
	flex-direction:column;
    gap:10px
}
		.user-card {
			background-color:white;
			    max-width: 350px;
			padding: 10px;
			flex:1 19%;
			display: flex;
			flex-direction:column;
			align-items: center;
			margin: 110px 0 10px;
			box-shadow:0px 0px 10px #22222254;
		}
.user-img{
	margin-top:-120px;
	margin-bottom:20px
}
		.user-img img {
			border-radius: 50%;
			width: 200px;
			height: 200px;
			object-fit: cover;

		}
		#toggle-profession-filter {
	background: #f2f2f2;
	border: 1px solid var(--main-color);
	padding: 6px 12px;
	cursor: pointer;
	border-radius: 400px;
			min-height:100%;

}
		.user-search-bar{
			    display: flex
;
			width: fit-content;
    margin: 0 auto;
    gap: 10px;
    align-items: stretch;
    padding: 1%;
    background-color:#ffffff30;
    border-radius: 100px;

    margin-top: 4vh;
			margin-bottom:4vh

		}
.user-search-bar input{
	border-radius:100px;
	    padding: 5px 10px;

	 border: 1px solid var(--main-color);

}
.profession-users{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:15px;
}
.professions-header{
	margin-top: 7vh;
    text-align: center;
    padding:2%;
    border-top: 1px solid var(--main-color);



}

.user-name{
	font-size:13px;
}
.professions-header a{
	color:var(--main-color);
}
.meta-data-user-container svg{
    width:20px;
    height:20px;
}
.meta-data-user-container{
    display:flex;
    flex-direction: column;
    gap:3px
}



/* ULTIMATE MEMBER CUSTOM STYLE--------------------------------------------------------------------------------------- */



.um a.um-link, .um .um-cover-add:hover, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-item-meta a, .um .um-member-less a:hover, .um .um-member-more a:hover, .um .um-member-name a:hover, .um .um-members-pagi a:hover, .um .um-profile-subnav a.active, .um .um-tip:hover, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, .um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color {
    color: var(--main-color);
}

.um-account-side ul{
    border-radius: 10px;
}

.um-account-side ul li:nth-child(1){
    border-radius:10px 10px 0 0;
}
.um-account-side ul li:nth-child(4){
    border-radius:0px 0px 10px 10px;

}

.um-account-side ul li{
    padding:1%!important;
    background-color:rgb(206,206,206);

}
.um-form input, .um-form button,.um-field .select2.select2-container .select2-selection, .um-search-filter .select2.select2-container .select2-selection,  .um-form span.selection{
   border-radius:100px!important;
}


.um-request-button, .um-button, #um_account_submit_privacy, .um a.um-button, .um a.um-button.um-disabled:active, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:hover, .um input[type=submit].um-button, .um input[type=submit].um-button:focus{
    background:var(--main-color);
    border-radius:100px;
}

/* Style commun */
#cpf-cat-filter, #toggle-profession-filter,
#cpf-tag-filter {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-repeat: no-repeat;
  background-position:
    calc(100% - 1.15rem) 50%,  /* chevron gauche */
    calc(100% - 0.75rem) 50%,  /* chevron droite */
    calc(100% - 2.25rem) 50%;  /* petite barre séparatrice (facultatif) */
  background-size:
    7px 7px,
    7px 7px,
    1px 60%;

  /* Trois backgrounds : chevron (2 triangles) + petite barre */
  background-image:
    linear-gradient(45deg, transparent 50%, #333332 50%),
    linear-gradient(-45deg, transparent 50%, #333332 50%),
    linear-gradient(#ddd, #ddd);

  padding-right: 2.75rem; /* assez d'espace à droite */


  cursor: pointer;
}



/* exemple : branche tes pictos */
.mcs-profession.profession--medecins-generalistes .mcs-profession__icon{
  background-image:url('/wp-content/uploads/icn-stetho.svg');
}
.mcs-profession.profession--infirmiers-liberaux .mcs-profession__icon{
  background-image:url('/wp-content/uploads/icn-seringue.svg');
}
.mcs-profession.profession--pharmaciens .mcs-profession__icon{
  background-image:url('/wp-content/uploads/icn-caducee.svg');
}


.user-profession{
	color:var(--main-color);
	font-size:12px;
}


.meta-data-user-container{
text-align: center;
    margin-top: 11px;
    font-size: 12px;
    margin-bottom: -22px;
    background-color: #03948b;
    padding: 2%;
    color: white !important;
    box-shadow: 2px 2px 7px #999898;
}

.um-account-side .um-account-meta{
    display:none
}


.um .um-button.um-alt, .um input[type=submit].um-button.um-alt{
	border-radius:60px!important;
	background:var(--pink-color);
	color:white;
}
#um-account-wrapper {
  position: relative;
  min-height: 300px; /* évite que la page saute trop */
}




/* .um-account-tab{
    max-height:826px;
    overflow-y: auto;
    overflow-x:hidden;
} */

#google_map_container{
	margin-top:10px
}



/* =========================================
   CHAMPS MOT DE PASSE + BOUTON ŒIL
   ========================================= */
.um-field .um-field-area {
  position: relative;
}

/* Bouton œil */
.um-pass-toggle {
  position: absolute;
  top:22px;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  border: none;
  background: transparent;
  color: #666;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  z-index: 3;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.um-pass-toggle:hover {
  opacity: 1;
  color: #000;
}

/* Espace à droite pour l'œil */
.um-field-area input[type="password"] {
  padding-right: 2.2em !important;
  box-sizing: border-box;
}

/* =========================================
   BARRE DE FORCE DU MOT DE PASSE
   ========================================= */
.password-strength-wrapper {
  margin-top: 8px;
  font-size: 13px;
  color: #555;
}

.password-strength-bar {
  width: 100%;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.password-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: red;
  transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-text {
  font-size: 12.5px;
  color: #555;
  font-style: italic;
  margin-top: 4px;
}




.mcs-professions{
	    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8vh 3vw;
    align-items: start;
    flex-wrap: wrap;
    justify-content: center;
	    align-items: flex-end;

}



.mcs-profession{display:flex;flex-direction:column;gap:12px;text-align:center;     flex: 1 21%;}
.mcs-profession__title{font-weight:700;letter-spacing:.02em;text-transform:uppercase;display:flex;align-items:center;justify-content:center;gap:10px}
.mcs-profession__title img{width:60px;height:60px;object-fit:contain}
.mcs-profession__row{display:flex;align-items:center;justify-content:center;gap:22px}
.mcs-profession__badge{width:108px;height:108px;border-radius:9999px;display:flex;align-items:center;justify-content:center;background:#0d9a8b;color:#fff;font-weight:800;font-size:36px;line-height:1}



/* Masquer le formulaire par défaut */
.hidden-form {
    display: none !important;
}

/* Bouton flottant */
.btn-gestion-equipe {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    width: 55px;
    height: 55px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.btn-gestion-equipe img {
    width: 24px;
    height: 24px;
}

/* Popup latérale */
.popup-gestion-equipe {
    position: fixed;
    bottom: 0;
    left: -100%;
    width: 95vw;
    max-width: 400px;
    height: 90vh;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transition: left 0.4s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.popup-gestion-equipe.open {
    left: 0;
}

/* Header */
.popup-header-edit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;

    flex-shrink: 0;
}

.popup-header-edit h4 {
    margin: 0;
    font-size: 18px;
	padding:0!important
}

.popup-header-edit button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.popup-header-edit button img {
    width: 20px;
    height: 20px;

}

/* Contenu */
.popup-content-edit {
    padding: 15px 6px 0;
    flex: 1;
    overflow-y: auto;
}

/* Liste des professionnels */
.ligne-equipe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.titre-equipe {
    flex: 1;
    font-family: 'Nexa light';
    font-weight: 600;
}

.btn-edit,
.btn-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
}

.btn-edit img,
.btn-delete img {
    width: 20px;
    height: 20px;
}

.compteur-equipe {
    margin-top: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 6px;
    text-align: center;
}

/* Formulaire */
.form-equipe {
    margin-top: 15px;
	position:relative;
}

.form-equipe label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

.form-equipe input[type="text"],
.form-equipe input[type="email"],
.form-equipe input[type="number"],
.form-equipe input[type="file"] {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.form-equipe fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-top: 15px;
}

.form-equipe legend {
    padding: 0 5px;
    font-weight: 500;
}

.liste-communes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.liste-communes label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
}

.liste-communes input[type="checkbox"] {
    margin-right: 5px;
    width: auto;
}

/* Actions du formulaire */
.form-actions {
display: flex
;
    justify-content: space-around;
    gap: 10px;
	padding: 10px 0;
    margin-top: 20px;
    position: sticky;
    background-color: white;
    bottom: 0;
    width: 100%;
}

.btn-save,
.btn-cancel {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.btn-save {
  background: #c9ddd8ba;
    border: 1px solid #33ae8f;
}

.btn-save:hover {
    background: #fff;
}

.btn-cancel {
     background: #edb0b0a3;
    border: 1px solid #e82828;
}

.btn-cancel:hover {
    background: #fff;
}

.btn-save img,
.btn-cancel img {
    width: 20px;
    height: 20px;
}

/* Footer */
.popup-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    text-align: center;
    padding: 12px;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.btn-add {
background: #4d74b557;
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    border: 2px solid #4d74b5;
    box-shadow: 0px 0px 10px #b6b6b6;
    transition: background 0.3s
ease;
}

.btn-add:hover {
    background: #fff;
}

.btn-add img {
    width: 40px;
    height: 40px;
}


/* Preview image */
.image-preview-container {
    margin: 10px 0;
    text-align: center;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    background: #f9f9f9;
}

.image-preview.hidden {
    display: none;
}
.event-badge {
    display: inline-block;
    padding: 0px 10px;
    border-radius: 12px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    color: #fff;
    vertical-align: middle;
}

.badge-past {
    background-color: #d0ad75; /* orange */
}

.badge-future {
    background-color: #00a19b; /* vert */
}

.form-equipe input[type="date"]
{
    border: 1px solid #b3b3b3;
    border-radius:5px;
    padding:8px 5px;
}



.form-equipe input[type="time"]{
    border: 1px solid #b3b3b3;
    border-radius:5px;
    padding:7px 5px;
}
.form-equipe input[type="url"]
{
	    border: 1px solid #b3b3b3;
    border-radius: 5px;
    padding: 10px 5px;
}

.form-equipe select{
    border: 1px solid #b3b3b3;
    border-radius:5px;
    padding:8px 5px!important;
}
strong{
    letter-spacing:0.1vw!important;
}


.small-icon-button:after{
top:5px!important;
	margin-left:20px!important;
}

.cpf-grid{
	margin-bottom:30vh;
}


.menu-logo-mobile{
	display:none
}

/* Accordéon */
.projets-intro-toggle {
    background:#e9eef0;
    padding:12px;
    cursor:pointer;
    border:1px solid #ddd;
    border-radius:6px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:15px 24px 10px;
}

.chevron { transition:transform .3s ease; }
.projets-intro-toggle.active .chevron { transform:rotate(180deg); }

.projets-intro-form {
    margin:0 24px 15px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:6px;
    background:#fafafa;
}

.projets-intro-form.collapsed { display:none; }

#projets_intro_msg.show { opacity:1; }

#cff .cff-author a{
	color:var(--main-color)!important;
}
#cff .cff-post-links a{
	color:var(--pink-color)!important;
}
div.et_pb_section_0_tb_header{
	background:transparent!important;
	background-image:none!important;
}

.et-db #et-boc .et-l .et_pb_section_0_tb_header{
	background-image:none!important;
}
#et-main-area .et_pb_section_0_tb_body{
	padding-top:70px!important
}

.et-l.et-l--footer
{
	position:relative;
	z-index:10
}
.col-img-equipe-home
{min-height:40vh!important;
display:flex!important
}
h3{
	border:none!important
}
.gravityflow_wrap a{
	color:#009289!important
}
/* .gravityflow_wrap{
	margin-top:10vh
} */
.profession-description-container a{
	color:var(--main-color);
}


.projets-iframe-container{
	height:100%;
}


.cff-posts-wrap .cff-text,.cff-posts-wrap .cff-expand,.cff-posts-wrap .cff-author,.cff-posts-wrap .cff-item .cff-author,.cff-posts-wrap .cff-item .cff-img-attachments, .cff-posts-wrap .cff-item .cff-post-text{
    display:none!important;
}
.cff-item{
    padding:0!important
}
#cff .cff-meta-wrap{
	padding:2%
}


.single-formulaire #sidebar{
    display:none;
}
.single-formulaire #main-content > .container{
    max-width:100%;
    padding:15vh 0 25vh;
    min-height:100vh
}
.single-formulaire #main-content > .container:before{
    display:none;
}
.single-formulaire #main-content > .container #content-area{
    padding-top:10vh;
}
.single-formulaire #left-area{
    width:80%;
    margin: 0 auto;
    padding:0;
    float:none;
}
.single-formulaire .et_post_meta_wrapper{
    display:none;
}
.single-formulaire .entry-content{
    padding:2%;
    border-radius:15px;
    background-color:#e7e4e4;
}
.gform-theme--framework .gf_progressbar .percentbar_blue{
    background-color: #00928a
}
.gform-theme--framework a, .gform-theme--framework button{
    color:#dc277e
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	border-radius:80px;
}
.colored-button a{
	background-color:#009289
}
span.colored-button{
	margin:20px 0;
}
.cust-btn-colored{
	color:white!important;

	padding:1% 2%;
	border-radius:80px;
}
/*  ---------------------------------------------------------------------------------------------------------------------------------*/
/*  ---------------------------------------------------------------------------------------------------------------------------------*/
/*  ---------------------------------------------------------------------------------------------------------------------------------*/

/* Desktop : cacher le select */
@media (min-width: 1025px) {
    .annuaire-tabs-select {
        display: none;
    }
}


@media screen and (max-width:1024px) {
.custom-blurb {
    margin: 0 0 4vh;
}
	.custom-blurb .custom-blurb-pict {

    width: 57px;
    height: 57px;
}
.custom-blurb-round {

    width: 60px;
    height: 60px;

}
.custom-blurb-round-big {
    font-size: 1.5rem;
}

	.msp-blurbs{
		padding:0
	}
	.mcs-profession__row{
		flex-direction:column
	}

	.mcs-profession__row, .mcs-profession{
		gap:0px!important;
	}

	.cpf-grid{
		column-gap: 2rem!important;
    row-gap: 7vh!important;
	}
	.cpf-search-bar.user-search-bar{
		margin-top:-6vh;
		margin-bottom:0;
		flex-direction:column;
		border-radius:20px;
		border:1px solid #ececec
	}
	.cpf-img {
		min-height: 22vh;}
	.picto-appel, .picto-pharma{
		display:none;
	}

	.menu-logo-mobile{
		display:initial!important
	}
	 /* Cacher les onglets verticaux */
    .annuaire-tabs-nav {
        display: none!important;
    }
	.annuaire-tabs-container{
		flex-direction:column
	}


	.user-card{
		flex:1 30%;
	}
    /* Afficher le select mobile */
    .annuaire-tabs-select {
        display: block;
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        background: #fff;
        font-size: 16px;
        border-radius: 5px;
    }

.slider-actus-image {
    flex: 1 1 27%;
}
}


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

  div.row-flex-col-custom{
	display:flex!important;
		flex-direction:column!important
}

	div.row-flex-col-custom-rev{
			display:flex!important;
		flex-direction:column-reverse!important
	}
	div.menu-cartouche-col{
		padding:0!important;
	}
	div.logo-home-row.et_pb_row_8.et_pb_row{
		margin-top:731px!important;
		width:68vw!important;
	}
	div.custom-col-reponsive{
		height:auto!important
	}
	div.custom-col-reponsive .et_pb_row_10{
		margin-top:15vh!important
	}
	.cpf-img img{
		min-width:100%;
	}
	.slider-actus-container:before{
		height:100%
	}
	div.et_pb_code_0_tb_footer{
		margin-top:-130px !important
	}
	.msp-blurbs{
		flex-direction:column
	}
	.mcs-professions{
		display:flex!important;
		flex-direction:column;
		align-items:center!important;


	}
	.custom-blurb{
		padding-left:6vw;
		margin-bottom:7vh!important
	}

	.slider-actus-image{
		min-width:100%;
	}
	.slider-actus-content{
		padding: 10px 0 10px;

	}
	.slider-actus-prev {
	top:30%
	}
			.slider-actus-next {
	top:30%;
	}
	    .user-card {
      min-width:100%!important
    }
	.home div.et_pb_section_7.custom-col-reponsive{
		height:70vh!important
	}

	#logo-home{
		        margin-top: -297px !important;
    }
	.msp-blurb{
		flex:1 1 100%!important;
		min-width:90%;
	}
	.mcs-profession{
		    flex: 1 46%;
	}
	.slider-actus-slide{
		flex-direction:column;
	}
}
