:root {
	/* Couleurs */
	--primary-color: #00a4db;
	--secondary-color: #2980b9;
	--text-color: #353735;
	--light-text: #aaa;
	--grey: grey;
	--white: #fff;
	--red: #d63638;
	--purple: #58529f;
	--border-light: #cbc7bf;
	--border-dark: #e00034;
	--wp-blue: #3858e9;

	/* Tailles */
	--max-width: 667px;
	--font-small: 10px;
	--font-medium: 12px;
	--font-large: 14px;
	--font-title: 18px;
	--spacing-small: 5px;
	--spacing-medium: 10px;
	--spacing-large: 20px;
	--border-radius: 8px;
	--transition: all 0.25s ease-in-out;

	/* Images */
	--img-width: 60px;
	--img-height: 60px;
	--img-border: 1px solid var(--primary-color);
}

/*-----------------------------------------------------
 * Tools
/*-----------------------------------------------------*/

// For images

.img-arrondi {
	border-radius: 50%;
}

//For encoding email adresses

.MonLabo-email {
	display: inline;
}

.MonLabo-email span {
	display: none;
}

/* Lien discret */
.MonLabo-discrete-link,
.MonLabo-discrete-link:hover {
	color: var(--text-color) !important;
	text-decoration: none !important;
}

/* -----------------------------------------------------
 * Bandeau personnel
 * ----------------------------------------------------*/
.bandeau-personnel {
	padding: var(--spacing-large) inherit var(--spacing-large) var(--spacing-large);
	font-size: var(--font-medium);
	width: var(--max-width);
	margin: 0 auto;
	overflow: auto;
}

.bandeau-personnel h1 {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: 700;
	font-size: 1rem;
}

.bandeau-personnel .supervisor h1 {
	font-size: 1.2rem;
}

.bandeau-personnel .adresse {
	color: var(--light-text);
	width: 180px;
	float: right;
	padding: 0 var(--spacing-large);
	font-size: var(--font-small);
}

.bandeau-personnel .adresse p {
	margin: 0;
}

.bandeau-personnel .supervisor {
	display: table;
}

.bandeau-personnel .supervisors_list {
	padding-left: var(--spacing-medium);
}

.MonLabo-text-block {
	display: table;
}

.bandeau-personnel .coordonnees,
.MonLabo-text-block .external_url,
.MonLabo-text-block .monlabo_personslinked {
	margin-top: 1em;
}

/*Sur petit écran afficher le bandeau personnel de façon optimale */
@media screen and (max-width: 450px) {
	.MonLabo-text-block {
		clear: both;
		text-align: center;
		width: 100%;
	}
	.bandeau-personnel {
		width: 100% !important;
	}
	.bandeau-personnel .adresse {
		display: none;
	}
	.bandeau-personnel img {
		float: unset;
		margin: 0 auto;
		display: block;
	}
}

/* Formulaire de mail */
.bandeau-personnel form.MonLabo-mail-form {
	margin: 0 !important;
}

.bandeau-personnel .MonLabo-mail-form input,
.bandeau-personnel .MonLabo-mail-form textarea {
	margin-bottom: var(--spacing-small);
	padding: 0.3rem;
}

.bandeau-personnel .MonLabo-mail-form #MonLabo-captcha-answer {
	width: 40%;
	margin-left: var(--spacing-small);
}

.MonLabo-persons-list form.MonLabo-mail-form {
	margin: 0 !important;
	padding: 0;
	display: inline;
	border: none;
	background: none;
}

.MonLabo-persons-list form.MonLabo-mail-form button {
	border: none;
	background: none;
	cursor: pointer;
}

/* -----------------------------------------------------
 * Bandeau équipe
 * ----------------------------------------------------*/
.bandeau-equipe {
	padding: var(--spacing-large) 0;
	width: var(--max-width);
	margin: 0 auto;
}

.bandeau-equipe h1 {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: 700;
	font-size: 1rem;
}

.bandeau-equipe .thematics {
	width: 300px;
	float: right;
	padding-top: 0;
	font-size: 0.9rem;
}

/* -----------------------------------------------------
 * Members of the lab class
 * ----------------------------------------------------*/
.MonLabo-lastname {
	text-transform: uppercase;
}

.MonLabo-persons-list h1 {
	clear: left;
}

.MonLabo-persons-list a:visited {
	color: var(--secondary-color);
}

.MonLabo-persons-list ul {
	list-style: none;
	padding: 0;
	margin: 30px 0 0 0;
}

.MonLabo-persons-list ul li {
	padding-left: 14px;
	line-height: 1;
	margin-bottom: 0;
	vertical-align: middle;
	overflow: visible;
	color: var(--grey);
	clear: both;
	min-height: 70px;
}

.MonLabo-persons-list ul li strong {
	font-size: var(--font-title);
	font-weight: 400;
	padding-right: 3px;
}

.MonLabo-persons-list .team-description {
	font-size: var(--font-small);
}

.MonLabo-persons-list ul li .MonLabo-user-coordonates {
	padding: 0;
	margin: 7px 0 0 0;
	color: var(--grey);
}

.MonLabo-persons-list ul li em {
	font-style: normal;
	font-size: var(--font-large);
	color: var(--grey);
	font-variant: small-caps;
}

.MonLabo-persons-list ul li img {
	width: var(--img-width);
	height: var(--img-height);
	border: var(--img-border);
	margin-top: -6px !important;
	clear: left;
	transition: var(--transition);
}

.MonLabo-persons-list ul li a:hover img {
	transform: scale(1.2);
	border-width: 2px;
}

.MonLabo-user-image {
	clear: left;
	float: left;
	min-height: 70px;
}

.MonLabo-user-text {
	margin-bottom: 15px;
	display: table;
	word-wrap: break-word;
	hyphens: auto;
}

/* -----------------------------------------------------
 * publications list class
 * ----------------------------------------------------*/
.publications ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.publications ul li {
	background-size: 6px 10px;
	background-repeat: no-repeat;
	background-position: 0 5px;
	padding-left: 14px;
	margin-bottom: 9px;
}

.publi_journal {
	font-style: italic;
}

/* -----------------------------------------------------
 * team_panel class
 * ----------------------------------------------------*/
.team-panel-color-block {
	display: block;
	width: 100%;
	height: var(--spacing-large);
	border: none;
	margin: var(--spacing-small) 0;
}

/*---------------------------------------------------------------------
 * teams_list class
 --------------------------------------------------------------------*/
.teams_list ul {
	list-style: none;
	padding: 0;
	margin: 30px auto 0 auto;
	width: 600px;
}

.teams_list ul li {
	padding-left: 14px;
	line-height: 1;
	margin-bottom: 15px;
	vertical-align: middle;
	overflow: visible;
	clear: both;
	min-height: 55px;
	display: table;
	width: 100%;
}

.teams_list ul li strong {
	font-size: var(--font-title);
	font-weight: 400;
	padding-right: 3px;
}

.teams_list img.team_logo {
	width: var(--img-width);
	height: var(--img-height);
	border: var(--img-border);
	margin-top: -6px !important;
	transition: var(--transition);
	transform: scale(1);
	float: left;
	margin-right: var(--spacing-medium);
	border: none;
}

.teams_list ul li a:hover img {
	transform: scale(1.2);
}

.team_list_item {
	display: table-cell;
}

.teams-list-other-thematics-logos {
	display: table-cell;
	text-align: right;
	vertical-align: middle;
	min-width: 0;
}

.teams_list img.thematics_logo {
	display: inline;
	margin-left: var(--spacing-medium);
	height: 40px;
	border: none;
	margin: -6px 0 6px 0;
}

.teams-list-color-block {
	display: inline;
	width: var(--spacing-large);
	height: 60px;
	border: none;
	float: left;
	margin-right: var(--spacing-medium);
	margin-top: -6px;
}

.teams_list a:visited,
.teams_list a,
.teams_list a:hover {
	text-decoration: none;
	color: var(--text-color);
}

.teams_list h4 {
	color: var(--text-color);
	font-weight: 400;
}

.teams_list a:hover h4 {
	text-decoration: underline;
}

.teams-list-publications-link {
	margin-top: var(--spacing-small);
	font-size: 0.8rem;
	color: var(--grey);
}

/*remove the default bullet by artisteer*/
.teams_list .team_information {
	display: table-cell;
}

/* -----------------------------------------------------
 * MonLabo Table
 * ----------------------------------------------------*/
.MonLabo h1 {
	clear: left;
}

.MonLabo-persons-table-normal table {
	border-spacing: 0;
	border-collapse: collapse;
	width: 100%;
	border: none;
}

.MonLabo-persons-table-normal th,
.MonLabo-persons-table-compact th {
	text-align: left;
	padding: 0;
}

.MonLabo-persons-table-normal td,
.MonLabo-persons-table-compact td {
	vertical-align: top;
	padding: 0;
	overflow-wrap: anywhere;
	word-break: keep-all;
	hyphens: auto;
}

.MonLabo-persons-table-compact ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.MonLabo-persons-table-compact ul > li {
	padding: 0;
}

.MonLabo-persons-table-compact ul > li:before {
	content: none; /* Suppress potential list image marker in theme */
}

.MonLabo-persons-table-compact {
	margin-right: var(--spacing-medium);
}

/* Sur petit écran afficher les tables de façon optimale */
@media screen and (max-width: 800px) {
	/* Force table to not be like tables anymore */
	.MonLabo-persons-table-normal table,
	.MonLabo-persons-table-normal thead,
	.MonLabo-persons-table-normal tbody,
	.MonLabo-persons-table-normal tr {
		display: block;
		margin-bottom: var(--spacing-medium);
	}
	.MonLabo-persons-table-normal th,
	.MonLabo-persons-table-normal td {
		display: inline-block;
	}
	.MonLabo-persons-table-normal td,
	.MonLabo-persons-table-normal th {
	/* Behave  like a "row" */
		width: 50%;
	}
	.MonLabo-persons-table-normal tr:nth-child(2n) {
	/* Behave  like a "row" */
		background: #DDD;
	}
	table.MonLabo-persons-table-compact td {
		display: block;
	}
}
/* -----------------------------------------------------
 * MonLabo chart class
 * ----------------------------------------------------*/
.MonLabo-persons-chart hr {
	border-top-color: var(--grey);
	margin: var(--spacing-medium) 0;
}

.MonLabo-persons-chart caption {
	text-align: center;
}

/* -----------------------------------------------------
 * For HAL publications
 * ----------------------------------------------------*/
#res_script {
	border: 0;
	background-color: var(--white);
	color: var(--text-color);
}

div.ZoneTitreResultat,
.ValeurRes.LienBibtex,
.LienBibtexACoteFulltext,
.ChampRes {
	display: none;
}

.Rubrique {
	border-bottom: 2px solid var(--border-dark);
}

.NoticeResAvecVignette {
	border-bottom: 1px solid var(--border-light);
}

.ValeurRes {
	color: var(--text-color);
	margin-top: 0;
	margin-bottom: 0;
	font-size: 0.8rem;
	display: inline;
}

.ValeurRes.Fichier_joint {
	margin-top: var(--spacing-small);
}

.Titre,
.Titre a {
	font-weight: 700;
	color: var(--purple);
}

/* -----------------------------------------------------
 * Barre d'admin WordPress
 * ----------------------------------------------------*/
#wp-admin-bar-MonLabo-view-cache .MonLabo-count,
#MonLabo_admin_options .MonLabo-count {
	display: inline-block;
	box-sizing: border-box;
	margin: 1px 0 -1px 2px;
	padding: 0 var(--spacing-small);
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	background-color: var(--wp-blue);
	color: var(--white);
	font-size: 0.7rem;
	line-height: 1.6;
	text-align: center;
	z-index: 26;
	opacity: 0.8;
}

#wp-admin-bar-MonLabo-view-cache .custom-icon,
#wp-admin-bar-MonLabo_edit_link .custom-icon {
	opacity: 0.7;
}

/* -----------------------------------------------------
 * Person_gallery class
 * ----------------------------------------------------*/

.MonLabo-user-gallery {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	width: 150px;
	border-radius: var(--border-radius);
	padding: 0;
	margin: var(--spacing-medium);
	text-align: center;
	font-size: 80%;
}

.MonLabo-user-gallery strong {
	font-size: 140%;
}


.MonLabo-user-gallery-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--spacing-large);
	padding: var(--spacing-large);
	width: 100%;
	max-width: 100%;
}

.MonLabo-user-image-gallery {
	width: 150px;
	height: 150px;
	margin-bottom: var(--spacing-medium);
}

/* -----------------------------------------------------
 * Responsive
 * ----------------------------------------------------*/
@media screen and (max-width: 868px) {
	.MonLabo-user-gallery {
		width: 35%;
	}
}

@media screen and (max-width: 676px) {
	.MonLabo-user-gallery {
		width: 100%;
	}
}


