@font-face{font-family: Neris; src: url(../data/fonts/Neris-Black.otf); font-weight: 900; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-BlackItalic.otf); font-weight: 900; font-style: italic}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-Bold.otf); font-weight: bold; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-BoldItalic.otf); font-weight: bold; font-style: italic}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-SemiBold.otf); font-weight: 600; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-SemiBoldItalic.otf); font-weight: 600; font-style: italic}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-Regular.otf); font-weight: regular; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-RegularItalic.otf); font-weight: regular; font-style: italic}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-Light.otf); font-weight: 400; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-LightItalic.otf); font-weight: 400; font-style: italic}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-Thin.otf); font-weight: 200; font-style: normal}
@font-face{font-family: Neris; src: url(../data/fonts/Neris-ThinItalic.otf); font-weight: 200; font-style: italic}


body{
	width: 100%;
	margin: 0;
	font-family: Neris, sans-serif;
	display: flex;
	align-items: center;
	flex-direction: column;
}

a{
	text-decoration:none;
	color:inherit;
}

li{
	text-decoration:none;
}

.clear {
	clear: both;
}

img{
	width: 100%;
}

:root {
  --jauneth: rgb(253,195,0);
  --jauneth-75: alpha(from var(--jauneth) / 75%);
  --jauneth-orange: rgb(253,150,0);
}

.contenu{
	margin: auto;
	width: 100%;
}

.contenucontenu{
	width: calc(100% - 40px);
	margin: auto;
	padding: 50px 20px 0 20px;
	max-width:100%;
}

.tagsprojet{
	color:black;
	display:inline-block;
}

/*Typo---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.titre, .minititre, .nomprojet, .date, .legende, .articlesuivantprecedent, .titresouspartie, .tdmpartie, #btntdm, .tagapropos:hover, #nomapropos{
	background-color: --jauneth;
	color:black;
}

.tagselected,  .tag:hover, .infopartie, .tagapropos{
	background-color: var(--jauneth) !important; 
	color:white !important;
}

.tag:hover, .redirection a:hover{
	cursor:pointer;
}

.tag, .tagapropos, .minititre{
	padding:0.2em;
	display: inline-block;
}

.tag{
	margin: 0.2em;
}

.infopartie, .tdmsouspartie{
	display:inline-block;
	margin: 0.15em 0.3em 0.15em  0;
	padding: 0.1em 0.2em;
}

#headerarticle .blocnomprojet{
	margin: 20px 0;
	font-size: 2em;
}

#headerarticle .infopartie{
	font-size: 1.5em;
}

.legende{
	font-size: .8em;
	display:inline-block;
	margin: 1em 0.3em 0.5em 0;
	padding: 0.1em 0.75em;
}

.articlesuivantprecedent{
	padding: 0.2em 0.4em;
}

#spanarticlesuivant, #spanarticleprecedent{
	padding-top: 7px;
	display:block;
}

.titresouspartie{
	display:inline-block;
	padding: 0.1em 0.6em;
	margin: 2.5em 0 1em 0;
	font-weight: 700;
}

#contenuenplus .element{
	margin: 0 0 10px 0;
}

.italic, .tag, .tagapropos, .minititre{
	font-style:italic;
}

.tdmpartie, #btntdm{
	display:inline-block;
	padding: 0.2em 0.6em;
	margin: 1em 0;
}

.tdmsouspartie{
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space:nowrap;
	width:100%;
}

.tdmsouspartie:hover, .tdmsouspartieselected, .redirection:hover > #spanarticleprecedent, .redirection:hover > #spanarticlesuivant{
	font-weight: 900;
}

#notesdebasdepage a, .legende a{
	text-decoration: underline;
}

#notesdebasdepage a:hover, .legende a:hover{
	text-decoration: none;
}



/* Table des matières--------------------------------------------------- */

#btntdm{
	margin: 30px 0 0 0;
	cursor: pointer;
}

#tabledesmatieres ul, #tabledesmatieres ol{
	list-style-type: none;
    margin: 0;
	padding: 0;
	display:block;
}

#tabledesmatieres{
	margin: 0 0 50px 0;
	max-height:0;
	overflow:hidden;
	border: solid 0px black;
	padding: 0 10px 0 25px;
}

.espacetdm{
	height: 20px;
}

#tdmfleche{
	font-size:0.8em;
}

/* Tags ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.bloctags{
	display:block;
	text-align: center;
	position:relative;
}

.tags{
	position:relative;
	max-width: 700px;
	margin: 50px auto;
}

/* HS ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

#msgHS{
	position:absolute;
	text-align: center;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
}


/* MEP recherche ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

.postarticle{
	width: 250px;
	margin: 10px;
	float: left;
	position:relative;
	overflow:hidden;
	height: calc((1000px / 3) - 20px);
	background-size: auto 100%;
	background-position: center;
	transition: background-size 0.3s ease;
}

#articles .post:hover{
	background-size: auto 105%;
}

#articles .infopost{
	bottom:0;
}

.postarticlepetit{
	width:calc((100% / 3) - 20px);
}

.postarticlegrand{
	width:calc(((100% / 3) * 2 ) - 20px);
}

/* A propos ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

#bloctagsapropos{
	margin: 0 0 80px;
}

#nomapropos{
	margin: 50px 0 0;
	font-size: 2.2em;
	font-weight: bold; 
	line-height: 1em;
	display:inline-block;
	padding:0.2em;
}

#presentation{
	font-size: 2.2em;
	margin: 50px 0;
	line-height: 1.5em;
}

.tagapropos{
	line-height: 1em;
	font-weight: bold;
}

.hashtag{
	font-weight: 200;
}

.spancontact{
	display:block;
	margin: 5px 0;
}

.elementapropos{
	display:block;
	margin: 30px 0;
}

.logoliens{
	width: 40px;
	margin: 10px 5px 0 0;
}

#contenucontenuapropos{
	max-width: 1000px;
}

/* MEP article ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

:root {
  --margearticle: 40px;
}

.contenuarticle{
	max-width:850px;
	margin: auto;
	width: calc(100% - (var(--margearticle) * 2 ));
	padding: 0 var(--margearticle)--margearticle);
}

#headerarticle{
	background-position: center;
	background-size: 100%;
	height: 300px;
	width: 100%;
	max-width: calc(850px + (var(--margearticle) * 2 ));
	padding: 0 calc((100% - 850px - (var(--margearticle) * 2 )) / 2);
	position:relative;
}

.infotexte{
	position:absolute;
	bottom: 0;
	max-width: 810px;
	padding: 0 var(--margearticle);
}

#textearticle img{
	margin-top: 20px;
}

#textearticle{
	font-size: 1.3em;
	line-height: 1.5em;
	padding:0;
}

#footerarticle{
	margin: 30px auto 70px auto;
	padding: 10px 0;
	border-top: solid 5px black;
}

.redirection{
	max-width: 50%;
}

#articleprecedent{
	float:left;
}

#articlesuivant{
	float:right;
	text-align: right;
}

#notesdebasdepage{
	margin: 0 0 50px 0;
	font-size:.9em;
	padding-left:1em;
}

.notedebasdepage{
	margin: 2px 0;
}

.exposantnotedebasdepage{
	color:blue;
	font-size: .7em;
}

#blocvideo{
	width: 100%;
	height: 65vh;
}

#blocnewsletter{
	margin: 0 0 20px;
	height: 250px;
}

.mj-form-button{
	margin: 0 auto;
}

.titrepartie{
	display: block;
	font-size: 2em;
	font-weight: 900;
}

.partie{
	margin: 20px 0 50px;
}

.partie p{
	margin: 30px 0;
	font-size: 1.2em;
	line-height: 1.5em;
}

audio{
	width:100%;
}

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

	.contenu{
		float:none;
	}
	
	.contenucontenu{
		padding: 0px 20px 0 20px;
	}

	.enavant {
		width: 250px;
		font-size: 1em;
	}
	
	#articles{
		margin-top: 20px;
	}

	.postarticlegrand,.postarticlepetit{
		width:100%;
	}
	
	.postarticle{
		margin: 10px 0;
		height: 50vw;
	}
	
	.contenuarticle{
		padding: 0 15px;
		width:inherit;
		max-width: calc(100% - 30px);
	}
	
	#headerarticle .blocnomprojet{
		font-size: 1.2em;
	}
	#headerarticle .infopartie{
		font-size: 1em;
	}
	
	#nomapropos{
		font-size: 1.5em;
	}
	
	#presentation{
		font-size: 1.5em;
		margin: 50px 0;
	}
	
	#contenuenplus .bloclogos{
	float: left;
	margin:0;
	width: 50%;
	}

		#contenuenplus .bloclogos .large{
			width: 80%;
		}
		
		#contenuenplus .bloclogos .carre{
			width: 50%;
		}
	
	.partie p, .partie .titrepartie, #credits{
		margin: 30px 5%;
	}

}

@media only screen and (max-width: 600px) {
	
	.partie p{
		margin: 30px 5%;
		font-size: 1em;
	}
	
	.partie .titrepartie{
		margin: 30px 5%;
		font-size: 1.3em;
	}
}

