/* ANNUAIRE */

.archive-member .search-filters button {
	margin: 5px 5px 5px 0;
}

.archive-member .search-filters button:last-child {
	margin: 5px 0 5px 0;
}

.annuaire-filters {
    display: flex;
    flex-direction: row;
    flex-wrap : wrap;
    justify-content: space-between;
    width: 100%;
}

.annuaire-filters #userfilterform {
    display:  inline-block;
}

.annuaire-filters #userfilterform #user-filter {
	width: calc(70% - 20px)
}

.annuaire-filters #userfilterform #filtersubmit {
	width: calc(30% - 40px)
}

.archive-member button {
	background-color: transparent;
	border: 1px solid #000000;
	color: #000000;
	font-size: 1em;
	padding: 10px 20px;
}

.archive-member button:hover, .archive-member button:focus {
	background-color: var(--color--primary);
	color: #FFFFFF;
	border: 1px solid var(--color--primary);
}

.member, .info-perso, .contact {
	background-color: #FFFFFF;
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.member {
	text-align: center;
	justify-content: center;
}

.single-member {
	margin-top: 50px;
}

.single-member .member {
	margin-top: 0px;
}

.member .thumbnail {
	border-radius: 100%;
	margin: 0 auto;
	margin-bottom: 20px;
	max-width: 150px;
	width: 100%;
	aspect-ratio: 1;
	overflow-y: hidden;
}

.member h2, .member p {
	margin-bottom: 5px;
}

.member h2 {
	font-size: 1.3em;
}

.member .job {
	border: 1px solid #000000;
    padding: 10px 15px;
    border-radius: 20px;
    margin-top: 10px;
	width: fit-content;
}

.archive-member .inline-flex, .single-member .inline-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.member .inline-flex {
	justify-content: center;
}

.member .cm-entry-button, .member .job {
	margin: 0;
	margin-right: 5px
}

.cm-entry-button {
	height: 30px;
	width: 30px
}


.cm-entry-button span {
	padding: 0!important;
	width: 30px;
	height: 30px;
}


.single-member h3 {
	margin: 10px 0;
	width: 100%;

}

.single-member > .inline-flex {
	gap: 2em;
}

.single-member .member, .single-member .contact {
	width: calc(100% / 4 - 2em - 40px);
}

.single-member .info-perso {
	width: calc(100% / 2 - 2em - 20px);
}

.single-member .dashicons {
	background-color: var(--color--primary);
	color: #FFFFFF!important;
	border-radius: 100%;
	padding: 5px
}

.single-member .dashicons + a, .single-member .dashicons + p {
	line-height: 30px;
	margin-right: 10px
}

.single-member .member-posts {
	margin-top: 40px;
	width: calc(100% / 4 - 2em);
}

.single-member .member-post {
	background-color: #FFFFFF;
	border-radius: 20px;
	padding: 20px;
	margin: 20px 0 0 0;
}

.single-member .member-post h4 {
	margin-bottom: 5px;
}

.single-member .member-post p {
	margin-bottom: 0;
}

// MEDIA QUERIES

/* Appareils moyens (tablettes en mode portrait) */
@media (max-width: 576px) {
    body {
        background-color: lightgreen;
    }
}

/* Grands appareils (ordinateurs portables) */
@media (max-width: 992px) {
	.single-member .member, .single-member .contact {
		width: calc(100% / 2 - 2em - 30px);
	}

	.single-member .info-perso {
		width: 100%;
	}

	.single-member .member-posts {
		width: calc(100% / 3 - 2em);
	}

}

/* Appareils moyens à larges (tablettes en mode paysage) */
@media (max-width: 568px) {
	.single-member .member, .single-member .info-perso, .single-member .contact {
		width: 100%;
	}

	.single-member .member-posts {
		width: calc(100% / 2 - 2em);
	}

}

@media (max-width: 480px) {

	.single-member .member-posts {
		width: 100%;
		margin-top: 20px;
	}

}

