/*-------------------------------*/
/* --- annuaiere.css ----------- */
/*-------------------------------*/

.header-annuaire{margin-top: 60px;height: 100px;position:relative;}

.header-annuaire h1{
	width:100%;
	font-size: 44px;
    display: inline-block;
    font-family : "Oswald";
	text-align:left;
	text-transform:uppercase;
}

.back-annuaire-alpha{
	position:absolute;
	top:0;
	right:0;
	width:50px;height:50px;
	background-image:url('../img/icon-alpha.svg');
	background-repeat:no-repeat;
	background-size:50px 50px;
	background-position:center center;
	transition: all 0.4s ease 0s;
}
.back-annuaire-alpha:hover{background-image:url('../img/icon-alpha-hover.svg');transition: all 0.4s ease 0s;}
.annuaire{overflow:hidden;}
.membres .um-members-total{font-size:21px;color:#EF5E04;text-transform:uppercase;font-weight:bold;letter-spacing:1px;}
.membres .um-members.masonry{float: right;width:74%;}



/* ANNUAIRE ALPHA */

.letter-title{
    display: flex;
    width: 100%;
    justify-content: center;
    padding:20px 0px;
}


/* FILTRES ANNUAIRE */

#filtres-annuaire{
    margin-bottom: 40px;
}

#filtre-form{
    display:flex;
    justify-content: space-between;
}

#filtre-form-inputs{
    display:flex;
    justify-content: space-between;
}


.filtre-item{
    display: flex;
    flex-direction: column;
    margin-right:15px;

}

.filtre-item label{
    width:100%;
    color: #EF5E04;
    font-size:13px;
    text-transform:uppercase;
    height:20px;
}

.btn-filtre{
    display: flex;
    width: fit-content;
    text-transform: uppercase;
    text-align: center;
    border-radius: 100px;
    background-color: #EF5E04;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.4s ease 0s;
    border:none;
    padding:5px 20px;
    cursor:pointer;
    margin-top: 24px;
}



/* --- BOUTON TOGGLE FILTRES --- */

/* Bouton toggle */
#toggle-filtres {
    display: none;
    width: 100%;
    background: #EF5E04;
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

#toggle-filtres:hover { background: #d74f00; }

/* Flèche animée */
#toggle-filtres .toggle-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}
#toggle-filtres[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

#filtres-conteneur {
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    max-height: none; /* desktop visible par défaut */
}

#filtres-conteneur.closed {
    max-height: 0;
    padding: 0;
}



/* CONTAINER ANNNUAIRE ======================================= */


.container-annuaire{max-width:1400px;margin:0 auto;}

.annuaire-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top:20px;
    padding-bottom:60px;
}
.annuaire-card{
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: transform 0.2s;
    padding-bottom:20px;
    overflow:hidden;
}

.annuaire-card:hover { transform: translateY(-5px);text-decoration:none; }
.annuaire-card .avatar { width:100%;height:215px;margin-bottom:10px; }
.annuaire-card .avatar img{width:100%;height:100%;object-fit: cover;}

.annuaire-card .member-info h3 {display:flex;justify-content:center;align-items:center;text-align:center;width:90%;margin:0 auto;font-size: 16px;color:#EF5E04;font-weight:bold;height:40px;letter-spacing: 1px;}
.annuaire-card .member-info .um-member-activity { display:flex;justify-content:center;align-items:center;width:90%;margin:0 auto; font-size: 14px; color:#434E64;text-align:center;height: 30px;}
.annuaire-card .member-info .um-member-role{display:flex;justify-content:center;align-items:center;text-align:center;font-size:10px;width:90%;margin:0 auto;color:#EF5E04;height:20px;}



.pagination-annuaire {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 80px;

}
.pagination-annuaire .page-link {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color:#434E64;
}
.pagination-annuaire .page-link.active {
  background:#434E64;
  color: #fff;
  font-weight: 600;
}



.message-annuaire{
    color: #EF5E04;
    text-align:center;
    font-weight:bold;
    margin-bottom:30px;
    font-size:18px;
}


.message-none{
    font-size:21px;
    grid-column: 1 / -1;
    text-align: center;
    font-weight: bold;
}



    .membres-alpha{width:96%!important;margin:0px auto;padding-bottom:100px;}

    .header-membres-alpha{width:100%;margin-top:60px;height:100px;position:relative;margin-top: 100px;}

    .header-membres-alpha h1{
	font-size:44px;
	display:inline-block;
	text-align:left;
	text-transform:uppercase;
	}


    .back-annuaire-profil{
        position:absolute;
        top:0;
        right:0;
        width:50px;height:50px;
        background-image:url('../img/icon-profile.svg');
        background-repeat:no-repeat;
        background-size:50px 50px;
        background-position:center center;
        transition: all 0.4s ease 0s;
	}
	
	.back-annuaire-profil:hover{
	background-image:url('../img/icon-profile-hover.svg');
	transition: all 0.4s ease 0s;
	}
	.container-members-alpha{width:50%;margin:0 auto;}
	.container-members-alpha h3{
		background-color:#EF5E04;
		color:#FFF;
		display: block;
		width: 80px;
		padding: 10px 20px;
		font-size: 44px;
		text-align: center;
		margin-bottom: 40px;
		font-family : "Oswald";
	}
	
	.container-members-alpha li{color:#cecccc;}
	
	
	.container-members-alpha a{padding:0px 10px;color:#434E64;border:2px solid #FFF;display:block;height:40px;transition: all 0.4s ease 0s;}
	.container-members-alpha a:hover{text-decoration:none;border:2px solid #EF5E04;transition: all 0.4s ease 0s;}
	.container-members-alpha .nom-membre-alpha{font-size:1em;font-weight:bold;line-height:40px;}
	.container-members-alpha .prenom-membre-alpha{font-size:1em;line-height:40px;}
	.container-members-alpha .activite-membre-alpha{float:right;font-size:0.75em;color:#434E64;line-height:40px;}


/*====================================================================*/

@media screen and (max-width: 1024px) {
    #toggle-filtres {
        display: flex;
    }
    #filtres-conteneur {
        background: #f9f9f9;
        padding: 0 10px;
    }
}


@media screen and (min-width:1024px) and (max-width:1169px){  

    /* ----------------------------------------------- */
	/* ------ PAGE MEMBRES ALPHA  -------------------- */
	/* ----------------------------------------------- */		

	.membres-alpha{width:96%!important;margin:0px auto;padding-bottom:100px;}

	.header-membres-alpha{width:90%;margin:0 auto;margin-top:60px;height:100px;position:relative;}

	.header-membres-alpha h1{
	font-size:44px;
	display:inline-block;
	text-align:left;
	}

	.back-annuaire-profil{
	position:absolute;
	top:0;
	right:0;
	width:50px;height:50px;
	background-image:url('../img/icon-profile.svg');
	background-repeat:no-repeat;
	background-size:50px 50px;
	background-position:center center;
	transition: all 0.4s ease 0s;
	}

	.back-annuaire-profil:hover{
	background-image:url('../img/icon-profile-hover.svg');
	transition: all 0.4s ease 0s;
	}
	.container-members-alpha{width:50%;margin:0 auto;}
	.container-members-alpha h3{
	background-color:#EF5E04;
	color:#FFF;
	display: block;
	width: 80px;
	padding: 10px 20px;
	font-size: 44px;
	text-align: center;
	margin-bottom: 40px;
	font-family : "Oswald";
	}

	.container-members-alpha li{color:#cecccc;}


	.container-members-alpha a{padding:0px 10px;color:#434E64;border:2px solid #FFF;display:block;height:40px;transition: all 0.4s ease 0s;}
	.container-members-alpha a:hover{text-decoration:none;border:2px solid #EF5E04;transition: all 0.4s ease 0s;}
	.container-members-alpha .nom-membre-alpha{font-size:1em;font-weight:bold;line-height:40px;}
	.container-members-alpha .prenom-membre-alpha{font-size:1em;line-height:40px;}
	.container-members-alpha .activite-membre-alpha{float:right;font-size:0.75em;color:#434E64;line-height:40px;}

}

/*====================================================================*/

@media screen and (min-width:1201px) and (max-width:1400px){

    .container-annuaire{width:94%;max-width:94%;margin:0 auto;}
    .annuaire-grid{width:100%;margin:0 auto;grid-template-columns: repeat(5, 1fr);gap: 20px;margin-top:20px;}
 
}


/*====================================================================*/

@media screen and (min-width:1025px) and (max-width:1200px){

    .container-annuaire{width:94%;max-width:94%;margin:0 auto;}
    .annuaire-grid{grid-template-columns: repeat(5, 1fr);gap: 20px;margin-top:20px;}

    #filtres-annuaire{width:100%;}

    #filtres-conteneur{padding:30px;}

    #filtre-form-inputs{
        width:80%;
        flex-wrap:wrap;
        justify-content:center;
        margin:0 auto;
    }
    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{width:20%;align-items:flex-end;justify-content: center;}
    .btn-filtre{margin-top: 0;}
}

/*====================================================================*/
@media screen and (min-width:769px) and (max-width:1024px){

    .header-annuaire{width: 90%;margin: 0 auto;margin-top: 100px;}



    .container-annuaire{max-width:94%;margin:0 auto;}
    .annuaire-grid{grid-template-columns: repeat(4, 1fr);gap: 20px;margin-top:20px;}

    #filtres-annuaire{width:100%;border:1px solid #d74f00;}
    #filtres-conteneur{padding:30px;}

    #filtre-form-inputs{
        width:70%;
        flex-direction:column;
        justify-content:flex-start;
        margin:0 auto;
    }
    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }
    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{width:30%;align-items:flex-end;justify-content:center;}
    .btn-filtre{margin-top:0;}




}

/*====================================================================*/

@media screen and (min-width:769px) and (max-width:960px){  

    .header-annuaire{width: 90%;margin: 0 auto;margin-top: 100px;}

    .container-annuaire{max-width:94%;margin:0 auto;}
    .annuaire-grid{grid-template-columns: repeat(3, 1fr);gap: 20px;margin-top:20px;width: 90%;margin:0 auto;}

    #filtres-annuaire{width:100%;border:1px solid #d74f00;background:#f1f1f1;border-radius: 5px;}
    #filtres-conteneur{padding:30px;}

    #filtre-form{flex-direction:column;}
    #filtre-form-inputs{
        width:90%;
        margin:0 auto;
        flex-direction:column;
        justify-content:flex-start;
    }

    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{
        width:100%;
        align-items:center;
        justify-content:center;
        margin-top:30px;
    }

    .btn-filtre{margin-top:0;}

    .select2-container {
        width: 100% !important;
        max-width: 100%;
    }
}


/*====================================================================*/

@media screen and (min-width:601px) and (max-width:768px){

    .header-annuaire{width: 90%;margin: 0 auto;margin-top: 100px;}
    .header-annuaire h1{font-size:44px;}

    .annuaire-grid{grid-template-columns: repeat(3, 1fr);gap: 20px;margin-top:20px;width: 90%;margin:0 auto;}
    .annuaire-card .avatar{height:200px;}
    .annuaire-card .member-info h3{padding:30px 0px;}

    #filtres-annuaire{width:90%;margin:0 auto;margin-bottom:30px;}
    #filtres-conteneur{padding:30px;}

    #filtre-form{flex-direction:column;}
    #filtre-form-inputs{
        width:90%;
        margin:0 auto;
        flex-direction:column;
        justify-content:flex-start;
    }

    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{
        width:100%;
        align-items:center;
        justify-content:center;
        margin-top:30px;
    }

    .btn-filtre{margin-top:0;}

    .select2-container {
        width: 100% !important;
        max-width: 100%;
    }


    /* ----------------------------------------------- */
	/* ------ PAGE MEMBRES ALPHA  -------------------- */
	/* ----------------------------------------------- */		
		
	.header-membres-alpha{width:90%;margin:0 auto;margin-top:80px;height:auto;}	
	.header-membres-alpha h1{
		font-size:44px;
		display:inline-block;
		text-align:left;
		padding-right:100px;
	}

	.container-members-alpha{width:80%;margin:0 auto;}
}

/*====================================================================*/

@media screen and (min-width:481px) and (max-width:600px){

    .header-annuaire{width: 90%;margin: 0 auto;margin-top: 100px;}
    .header-annuaire h1{font-size:36px;}

    .annuaire-grid{grid-template-columns: repeat(2, 1fr);gap: 20px;margin-top:20px;width: 90%;margin:0 auto;}

    .annuaire-card .avatar{height:150px;}
    .annuaire-card .member-info h3{padding:30px 0px;}

    #filtres-annuaire{width:90%;margin:0 auto;margin-bottom:30px;}
    #filtres-conteneur{padding:30px;}

    #filtre-form{flex-direction:column;}
    #filtre-form-inputs{
        width:90%;
        margin:0 auto;
        flex-direction:column;
        justify-content:flex-start;
    }

    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{
        width:100%;
        align-items:center;
        justify-content:center;
        margin-top:30px;
    }

    .btn-filtre{margin-top:0;}

    .select2-container {
        width: 100% !important;
        max-width: 100%;
    }

    /* ----------------------------------------------- */
	/* ------ PAGE MEMBRES ALPHA  -------------------- */
	/* ----------------------------------------------- */		
		
	.header-membres-alpha{width:90%;margin:0 auto;margin-top:100px;height:auto;}	
	.header-membres-alpha h1{
		font-size:36px;
		display:inline-block;
		text-align:left;
		padding-right:100px;
	}

	.container-members-alpha{width:90%;margin:0 auto;}

}




/*====================================================================*/

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



    .header-annuaire{width: 90%;margin: 0 auto;margin-top: 100px;}
    .header-annuaire h1{font-size:28px;}

    .annuaire-grid{grid-template-columns: repeat(2, 1fr);gap: 20px;margin-top:20px;width: 90%;margin:0 auto;}

    .annuaire-card .avatar{height:150px;}
    .annuaire-card .member-info h3{padding:30px 0px;}

    #filtres-annuaire{width:90%;margin:0 auto;margin-bottom:30px;}
    #filtres-conteneur{padding:30px;}

    #filtre-form{flex-direction:column;}
    #filtre-form-inputs{
        width:90%;
        margin:0 auto;
        flex-direction:column;
        justify-content:flex-start;
    }

    #filtre-form-inputs .filtre-item{
        margin:8px auto;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #filtre-form-inputs .filtre-item input,
    #filtre-form-inputs .filtre-item select{
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .filtre-item-submit{
        width:100%;
        align-items:center;
        justify-content:center;
        margin-top:30px;
    }

    .btn-filtre{margin-top:0;}

    .select2-container {
        width: 100% !important;
        max-width: 100%;
    }

    /* ----------------------------------------------- */
	/* ------ PAGE MEMBRES ALPHA  -------------------- */
	/* ----------------------------------------------- */		
		
	.header-membres-alpha{width:90%;margin:0 auto;margin-top:100px;height:auto;}	
	.header-membres-alpha h1{
		font-size:28px;padding-left:16px;
		display:inline-block;
		text-align:left;
		padding-right:100px;
	}
		
	.back-annuaire-profil{width:40px;height:40px;background-size: 40px 40px;}	
	.container-members-alpha{width:90%;margin:0 auto;}
	.container-members-alpha a{height:70px;}	
	.container-members-alpha .activite-membre-alpha{width:100%;float:none;display:block;height:20px;line-height:20px;}

}