/*-------------------------------------------------------------------------------GENERAL---*/
.couleur_du_site {
	color: #7C43B6;
	font-weight: bold;
}

/*===========================================================================================PAGE DE CONNEXION=====*/
#bp-login-widget-form .bp-login-widget-register-link {
	margin-left: 0;}

#nav {
    background-color: white; !important
}

/*=======================================================================================Page de test 2==========================*/
body.page-id-29782 .container{
	max-width: 1450px ;
}

body.page-id-29782 .site-sub-header{
	display: none;
}


/*---------------------------------------------------------------------------------PAGE D'ACCUEIL---*/
body.page-id-29651 .container {
	max-width: 1450px ;
}

.titre_accueil_container {
            text-align: center;
        }

.titre_du_site {
            font-size: 60px; 
            font-weight: 600; 
            margin:0;
        }

.sous_titre_accueil {
            font-size: 25px; 
            font-weight: 600; 
            margin:0; 
            margin-bottom: 12px;
        }

.p_accueil {
            font-size: 17px;
        }

.hr_accueil {
            color: black;
        }

.container_colonnes_accueil {
            display: flex; 
            gap: 20px; 
            justify-content: center; 
            margin: 50px 0;
        }

.colonne_accueil_basse {
            flex: 1; 
            background: #f5f0fa; 
            border-radius: 20px; 
            padding: 25px; 
            text-align: center; 
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); 
            border: 2px solid #d6c3f0;
        }

.colonne_accueil_haute {
            flex: 1; 
            background: #f5f0fa; 
            border-radius: 20px; 
            padding: 25px; 
            text-align: center; 
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
            border: 2px solid #d6c3f0; 
            transform: translateY(-20px); 
            z-index: 1;
        }

.accueil_titres_colonnes {
	color: #7C43B6; 
	font-size: 1.6em;
	font-weight: bold;
}

.accueil_p_colonnes {
	color: #333; 
	font-size:18px;
}

.accueil_images_colonnes {
	margin: 0 auto 15px; 
	max-width: 160px;
	font-size: 128px;
	color: #7C43B6;
}


@media (min-width: 769px){
.colonne_accueil_basse_animation {
  --start-y: 20px;   /* Commence en bas */
  --mid-y: 0;        /* Se retrouve au centre */
  animation: converge-diverge 4s ease-in-out infinite;
}

.colonne_accueil_haute_animation {
  --start-y: -20px;  /* Commence en haut */
  --mid-y: 0;        /* Se retrouve au centre */
  animation: converge-diverge 4s ease-in-out infinite;
}

@keyframes converge-diverge {
  0%, 100% {
    transform: translateY(var(--start-y));
  }
  50% {
    transform: translateY(var(--mid-y));
  }
	}}


@media (max-width: 768px) {
  .container_colonnes_accueil {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-inline: 16px;
    gap: 16px;
    width: 100%;
	scroll-padding-left: 16px;  
  }

  /* 3. override du flex:1 et définition d’une largeur fixe */
  .container_colonnes_accueil > div {
    flex: 0 0 85% !important;
    min-width: 85%;
    scroll-snap-align: start;
    box-sizing: border-box;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 16px;
  }

.colonne_accueil_haute {
	transform: translateY(0px); }

	
}

.accueil_container_bouton {
            text-align:center; 
            margin-bottom: 32px;
        }

.accueil_bouton_inscription {
            background:#f3eaff;
            color:#7c43b6;
            font-size:1.75rem;
            font-weight:700;
            padding:18px 60px;
            border:2px solid #b39ddb;
            border-radius:40px;
            box-shadow:0 4px 8px rgba(124,67,182,0.3);
            cursor:pointer;
            transition: background 0.3s ease,color 0.3s ease,transform 0.3s ease,box-shadow 0.3s ease;
			display: inline-block;
        }

.titre_avant_reseaux {
            text-align: center; 
            font-weight: bold; 
            font-size: 16px;
        }

.accueil_container_reseaux {
            display: flex; 
            justify-content: center; 
            gap: 10px;
        }

.lien_reseaux {
            position: relative; 
            width: 32px; 
            height: 32px;
        }

.accueil_image_reseaux{
            position: absolute; 
            width: 32px; 
            height: 32px; 
            transition: all 0.3s ease; 
            top: 0; 
            left: 0; 
            z-index: 1
        }

.accueil_image_reseaux_arriere{
            position: absolute; 
            width: 32px; 
            height: 32px; 
            top: 0; 
            left: 0"
        }

.accueil_image_reseaux_tiktok {
            position: absolute; 
            width: 32px; 
            height: 32px; 
            transition: all 0.6s ease; 
            top: 0; 
            left: 0; 
            z-index: 1;
        }

.accueil_image_reseaux_tiktok_arriere{
            position: absolute; 
            width: 32px; 
            height: 32px; 
            top: 0; 
            left: 0; 
            opacity:0; 
            transition: all 0.6s ease;
        }

/* Style pour les boutons de la page des profils */
.hidden {
    display: none !important;
}

.button-nav-profile {
    font-family: inherit !important;
    font-size: medium !important;
    color: white !important;              /* couleur texte par défaut */
    background-color: #7c43b6 !important; /* fond violet par défaut */
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    display: inline-block !important;
    line-height: 1.3 !important;
    border: 1px solid #5a2d8b !important;
    outline: 0 !important;
    vertical-align: middle !important;
    transition: all 0.2s ease !important;
}

/* Bouton actif (catégorie visible) */
.button-nav-profile.active {
    background-color: #7c43b6 !important;  /* fond violet */
    color: white !important;                /* texte blanc */
}

/* Bouton inactif */
.button-nav-profile:not(.active) {
    background-color: white !important;    /* fond blanc */
    color: #7c43b6 !important;              /* texte violet */
}

.titre-faq-pagedaccueil {
	text-align: center;
	margin-top: 16px;
	font-weight: bold;
}

.conteneur-faq-pagedaccueil {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	margin: 32px auto;
}

.question-faq-accueil {
	flex: 1 1 30%;
	background-color: #f9f9ff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	padding: 24px;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid black;
}

.question-faq-accueil:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.titre-question-faq-accueil {
	background-color: #7C43B6;
	color: white;
	font-size: 18px;
	font-weight: 600;
	padding: 12px 16px;
	margin: -24px -24px 16px -24px;
	border-bottom: 2px solid #69389a;
	text-align: center;
}

.question-faq-accueil p {
	font-size: 15px;
	line-height: 1.6;
	color: black;
}

.titre-faq-pagedaccueil {
	text-align: center;
	margin-top: 48px;
	font-size: 28px;
	font-weight: bold;
	color: #2d2d2d;
}

@media (max-width: 768px){
	.conteneur-faq-pagedaccueil {
	display: block;
	}
	
	.question-faq-accueil{
		margin-bottom: 10px;
	}
	
	.question-faq-accueil p {
		text-align: center;
	}
	
}


/*-------------------------------------------------------------------------------------------------------------------------BOUTON DISCORD*/
.container-boutondiscord{
            width: fit-content;
        }

        .boutondiscord{
            background-color: #1f1f1f;
            border:solid #1f1f1f 3px;
            border-radius: 25px;
            text-align: center;
            color: #5865F2;
            display: flex;
            align-items: center;
            padding: 8px;
			transition: transform .5s ease;
        }

		.boutondiscord:hover{
			transform: scale(1.1);
			box-shadow: 0px 5px 3px gray;
			border: solid #5865F2 3px;
		}

        .boutondiscord a{
             display: flex;
             align-items: center;
             text-decoration: none;
             color: #5865F2;
        }

        .logodiscord-boutondiscord{
            width:40px;
            margin-right: 15px;
        }

		.texte-boutondiscord{
			color: inherit;
			font-weight: bold;
			margin-top: 0;
			margin-bottom: 0;
			font-size: 18px;
		}

/*Bouton discord intégré au menu*/
		.container-boutondiscordmenu{
			display: flex;
			align-items: center;
			margin-left: 10px;
        }

		.boutondiscordmenu{
	        background-color: #1f1f1f;
            border:solid #1f1f1f 3px;
            border-radius: 25px;
            text-align: center;
            color: #5865F2;
            display: block;
			text-align: center;
            align-items: center;
            padding: 4px;
			transition: transform .5s ease;
		}

		.boutondiscordmenu:hover{
			transform: scale(1.1);
			box-shadow: 0px 5px 3px gray;
			border: solid #5865F2 3px;
		}

        .boutondiscordmenu a{
             display: block;
             align-items: center;
             text-decoration: none;
             color: #5865F2;
			 padding: 0px;
        }

.logodiscord-boutondiscordmenu{
            width:25px;
        }

@media (max-width: 768px) {
	.logodiscord-boutondiscordmenu{
            width:18px;
        }

	.container-boutondiscordmenu{
			display: flex;
			align-items: center;
			margin-left: auto;
			margin-right: 5px;
        }}

/*------------------------------------------------------------------------------------------------------------------------------Register Page*/
#basic-details-section {
	background-color: white;
	padding: 10px;
	margin-bottom: 32px;
	border: 3px solid #7C43B6;
	border-radius: 7px !important;
	box-shadow: 0px 3px 3px lightgray;
}


.buddypress-wrap .standard-form .description{
	background-color: transparent;
	text-decoration: none;
}

.register-page .signup-form .editfield fieldset legend{
	color: white;
	text-decoration: none !important;
	background-color: #7C43B6;
	width: 100%;
	padding: 5px;
}

.bp-required-field-label{
	font-size: 14px;
	color: white;
	font-weight: normal;
}

.buddypress-wrap .signup-form label, .buddypress-wrap .signup-form legend{
	color: black;
}

.buddypress-wrap .standard-form input[type=text]{
	width: 94%;
	margin-left: 3%;
	border-color: black !important;
}

.buddypress-wrap .standard-form input[type=number]{
	width: 94%;
	margin-left: 3%;
	border-color: black !important; 
}

.buddypress-wrap .standard-form input[type=email]{
	width: 94%;
	margin-left: 3%;
	border-color: black !important;
}

.buddypress-wrap .standard-form select {
	width: 94%;
	margin-left: 3%;
	border-color: black !important;
}

.buddypress-wrap .field_type_multiselectbox select[multiple] {
	width: 94%;
	margin-left: 3%;
	border-color: black !important;
}

.buddypress-wrap .field_type_multiselectbox select[multiple] option {
	border-bottom: 1px solid black;
}

.buddypress-wrap .standard-form .field-visibility-settings-header {
	margin-left: 5px;
}

.option-label{
	margin-left: 3% !important;
}

.clear-value {
	margin-left: 5px;
}

.buddypress-wrap .standard-form p.description {
	margin-left: 5px;
}

.field_380, .field_339, .field_334, .field_336 {
    display: none;
}

.editfield {
	margin-bottom: 32px !important;
	background-color: white;
	border: 3px solid #7C43B6;
	border-radius: 7px !important;
	box-shadow: 0px 3px 3px lightgray;
}

@media screen and (min-width: 46.8em) {
	body.register .buddypress-wrap {
		max-width: 650px;
	}}
/*========================================================================================================================Profils*/
.buddypress-wrap table.profile-fields .data{
	width: 70%;
}

body.buddypress.bp-user .buddypress-wrap .member-header-actions *>* {
    display: inline-block;
}


/*========================================================================================================================Liste des membres*/
@media (max-width: 768px) {
	body #buddypress li{
		width: 90% !important;
		margin-left: 5%;
		}
	.th-menuderoulant {
		font-size: 13px;
	}
	
	.td-menuderoulant{
		font-size: 13px;
	}}



.bps-form input[type=number] {
    margin-top: 10px;	
}

form#form_28946 > div:last-of-type > button[type="submit"],
form#form_28947 > div:last-of-type > button[type="submit"], 
form#form_28948 > div:last-of-type > button[type="submit"],
form#form_29110 > div:last-of-type > button[type="submit"] {
    font-family: inherit !important;
    font-size: medium !important;
    color: white !important;
    background-color: #7c43b6 !important;
    border-radius: 6px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    display: inline-block !important;
    line-height: 1.3 !important;
    border: 1px solid #5a2d8b !important;
    outline: 0 !important;
    vertical-align: middle !important;
    transition: all 0.2s ease !important;
    margin-right: 10px !important;
}

form#form_28946 > div:last-of-type > button[type="submit"]:hover,
form#form_28947 > div:last-of-type > button[type="submit"]:hover {
    background-color: #5a2d8b !important;
    border-color: #3f1f5e !important;
}

/*-----------------------------------------------------Menu deroulant*/
.boutonmenuderoulant{
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 15px !important;
	border-radius: 5px !important;
}

.boutonactif-menuderoulant{
	color: white !important;
	background-color: #7C43B6 !important;
}

.hr-menuderoulant {
	margin-bottom: 5px;
}

.menuderoulant-apropos {
	display: none;	
}

.b3-menuderoulant{
	display: none;
}

.table-menuderoulant {
table-layout: fixed;
hyphens: auto;
	
}

.th-menuderoulant {
	padding: 5px;
}

.td-menuderoulant {
	padding: 5px;
}

.tr-menuderoulant {
	font-size:15px;
}
/*========================================================================================================= Feed ===================
.friendship_created {
	display: none;
}

.new_avatar {
display: none;
} 
.new_member {
display: none;
} */

@media (min-width: 769px) {
.buddypress-wrap .activity-comments{
    margin-left:45px;
	}}

@media (max-width: 768px){
	.acomment-meta{
		margin-bottom: 5px;
	}}

/*========================================================================================================= Ressources =============*/
body.page-id-29699 .container {
	max-width: 100% ;
}

.intro-ressources {
	margin-bottom: 32px;
}

.titre-intro-ressources {
	text-align: center;
}

.sous-titre-intro-ressources {
	text-align: center;
}

.p-intro-ressources {
	color: black;
	text-align: center;
	font-size: 16px;
	width: 80%;
	margin: auto;
}

.conteneur-bandes-ressources {
      display: flex;
      flex: 1;
	  height: auto;
    }

    .bande-ressources {
      width: 25%;
      padding: 20px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }

    .contenu-ressources {
      width: 50%;
      padding: 20px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .titre-ressources {
      font-size: 36px;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .carre-button-ressources {
      	display: flex;
      	align-items: center;
      	justify-content: space-between;
      	background-color: white;
      	border: 2px solid #7c43b6;
      	border-radius: 10px;
      	box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
      	padding: 20px;
      	height: 150px;
      	cursor: pointer;
      	transition: all 0.3s ease;
      	width: 100%;
      	max-width: 800px;
		margin-bottom: 8px;
		
    }


    .carre-button-ressources:hover {
      color: black;
      border: 2px solid #7c43b6;
      transform: scale(1.02);
      box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
	  background-color: white;
    }

    .texte-bouton-ressources {
		flex: 1;
		 
    }

.texte-bouton-ressources h1,  {
      margin-top: 8px;
	  padding-bottom: 8px;
	  margin-bottom: 8px;
    }

.texte-bouton-ressources p {
      margin-top: 8px;
	  padding-bottom: 8px;
	  margin-bottom: 8px;
    }


.image-bouton-ressources {
      width: 180px;
      height: 180px;
      object-fit: contain;
      margin-left: 20px;
    }

.div-articles-hpi{
	margin-bottom: 16px;
	
}

.div-articles-autisme{
	margin-bottom: 16px;
	
}

.div-articles-tdah{
	margin-bottom: 16px;
	
}

.ressource-titre-categorie {
	background-color: #7C43B6;
	border: 1px solid black;
	color: white;
	text-align: center;
	border-radius: 10px;
	margin-bottom: 8px;
}



/*-------------------------------------------------------------------------FAQ*/

.faq-ressources {
      	border: 1px solid black;
		border-radius: 5px 5px 0 0; 
		overflow: hidden;
    }

    .faq-ressources h2 {
	font-size: 20px;
	background-color: #7C43B6;
	padding: 5px;
	color: white;
	font-weight: bold;
	text-align: center;
	margin: 0;
	border-radius: 5px 5px 0 0; 
	border-bottom: 1p solid black;
}



    .question-ressources {
	border-top: 1px solid black;
	border-bottom: 1px solid black;
    }

    .question-btn-ressources {
	background-color: white;
	font-size: 18px;
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: black;
	padding: 10px;
	text-align: center;
	border: none;
   }

#faq-last {
	border-bottom: 0;
}

.reponse-ressources{
	display: none;
}

  .reponse-ressources::active {
      	display: none;
      	font-size: 16px;
      	padding: 5px 0 0 10px;
	  border-bottom : solid 1px black;  }
    


 .question-btn-ressources::after {
	 	margin-left: 5px;
      content: "▼";
      font-size: 16px;
      transition: transform 0.3s ease;
    }

    .question-btn-ressources.active::after {
      transform: rotate(180deg);
		
    }


/*======================================================== page qui apparait quand on essaie d'aller sur le feed sans être connecté*/
#bp-login-widget-submit {
margin-bottom:15px !important;
}