/*
* ######## POPUP INFOS ########
*/
#popup-infos {
	position: relative;
	width: 500px;
	top: calc(93px + 40px); /* 93px = hauteur du header */
	right: 450px;
	color: #FFFFFF;
	z-index: 2;
}

#popup-infos-text {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 450px;
	min-height: 100px;
	background-color: #330033;
}

#popup-infos-text .info {
	padding: 25px;
	margin: 1.5em;
	border: solid 1px #FFFFFF;
	line-height: 1.5em;
}

#popup-infos-text a {
	color: #FFFFFF;
	font-size: 0.9em;
}

#popup-infos-text a:after {
	content: url(/resources/images/pictos/chevron_gold.svg);
	margin-left: 0.5rem;
	vertical-align: middle;
}

#popup-infos-text .info > .info-titre {
	font-family: 'RobotoCondensed-Bold';
}

#popup-infos-btn {
	position: absolute;
	right: 0;
	width: 50px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border: 0;
	padding: 0;
	height: 100px;
	outline: none;
}

/*
* ######## SECTION ENTETE ########
*/

#accueil-entete {
	position: relative;
}

#accueil-entete .mdgButton,
#accueil-entete .mdgButton-dark {
	padding: calc(1rem - 0px) calc(2rem - 6px);
}

#entete {
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
	flex-wrap: wrap;
}

#entete-info {
	padding-top: 250px;
	padding-bottom: 50px;
}

#entete-info h1  {
	font-family: 'RobotoCondensed-Light';
	font-size: 2.5em;
	font-weight: 300;
	color: #1F1F24;
	margin:0;
}

#entete-info h1 > #main-title {
	font-family: 'RobotoCondensed-Bold';
	font-size: 2.8rem;
}

#entete-info h2 {
	font-size: 0.9em;
	text-transform: uppercase;
	color: #7E6229;
	font-family: 'RobotoCondensed-Bold';
	letter-spacing: 0.07em;
}

#entete-info p {
	width: 550px;
	margin-bottom: 2rem;
	letter-spacing: 0;
	line-height: 1.5em;
}

#entete-img {
	text-align: right;
}

#entete-img #image {
	margin-bottom: 1rem;
	position: relative;
}

#entete-img #image img {
	width: 100%;
	height: auto;
}

#entete-img #image .mdgButton,
#entete-img #image .mdgButton-dark {
	position: absolute;
	bottom: 1.5rem;
	right: -0.5rem;
	box-shadow: 0px 26px 23px -15px rgb(0 0 0 / 47%);
}

#entete-img #legende {
	text-decoration: none;
	font-family: 'RobotoCondensed-Bold';
	font-size: 0.9em;
	letter-spacing: 1.12px;
	color: #1F1F24;
	text-transform: uppercase;
	padding-right: 2rem;
}

#deco {
	margin: auto;
	width: 50px;
	height: 115px;
}

#deco > .left {
	display: inline-block;
	width: 16px;
	height: 38px;
	margin-bottom: 26px;
	background: #886B2F;
	border-radius: 15px 0px;
}

#deco > .middle {
	display: inline-block;
	width: 0px;
	height: 115px;
	border: 1px solid #886B2F;
}

#deco > .right {
	display: inline-block;
	width: 16px;
	height: 38px;
	margin-bottom: 8px;
	background: #886B2F;
	border-radius: 0px 15px;
}

/*
* ####### CE QUE MANDRAGORE VOUS APPORTE #######
*/

#accueil-presentation {
	position: relative;
	margin-bottom: 150px;
}

#accueil-presentation #presentation-fond,
#accueil-presentation #presentation {
	width: 80%;
	margin: auto;
}

#presentation-fond {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 165px;
	object-fit: cover;
	object-position: top;
}

#presentation {
	position: relative;
	height: 320px;
	top: 50px;
	left: 50px;
	background-color: #FFFFFF;
	
	display: flex;
}

#presentation-titre  {
	padding: 40px 20px 40px 50px;
	width: 25%;
}

#presentation-titre h1  {
	font-size: 1.9rem;
	font-weight: 300;
	color: #1F1F24;
	font-family: 'RobotoCondensed-Light';
	margin-bottom: 1rem;
}

#presentation-titre h1 > #main-title {
	font-family: 'RobotoCondensed-Bold';
}

#presentation-liste {
	padding: 40px 50px 40px 20px;
	width: 75%;
}

#presentation-liste ul {
	display: inline-flex;
	align-items: center;
	height: 80%;
	width: 100%;
	justify-content: space-around;
	padding: 0;
}

#presentation-liste li {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	height: auto;
	width: 100%;
	padding: 0;
}

#presentation-liste li > .pres-image {
	margin-bottom: 1rem;
	width: 102px;
	height: 102px;
	background-color: #330033;
	border-radius: 50px;
}

#presentation-liste li > #pres-image-reperer {
	background-image:url("/resources/images/accueil/reperer.png");
}

#presentation-liste li > #pres-image-identifier {
	background-image:url("/resources/images/accueil/identifier.png");
}

#presentation-liste li > #pres-image-regrouper {
	background-image:url("/resources/images/accueil/regrouper.png");
}

#presentation-liste li > #pres-image-indexer {
	background-image:url("/resources/images/accueil/indexer.png");
}

#presentation-liste li > #pres-image-visualiser {
	background-image:url("/resources/images/accueil/visualiser.png");
}

#presentation-liste li:hover > .pres-image,
#presentation-liste li:focus > .pres-image {
	width: 125px;
	height: 125px;
	background-color: #330033;
	border-radius: 70px;
}

#presentation-liste li:hover > #pres-image-reperer,
#presentation-liste li:focus > #pres-image-reperer {
	background-image:url("/resources/images/accueil/reperer-zoom.png");
}

#presentation-liste li:hover > #pres-image-identifier,
#presentation-liste li:focus > #pres-image-identifier {
	background-image:url("/resources/images/accueil/identifier-zoom.png");
}

#presentation-liste li:hover > #pres-image-regrouper,
#presentation-liste li:focus > #pres-image-regrouper {
	background-image:url("/resources/images/accueil/regrouper-zoom.png");
}

#presentation-liste li:hover > #pres-image-indexer,
#presentation-liste li:focus > #pres-image-indexer {
	background-image:url("/resources/images/accueil/indexer-zoom.png");
}

#presentation-liste li:hover > #pres-image-visualiser,
#presentation-liste li:focus > #pres-image-visualiser {
	background-image:url("/resources/images/accueil/visualiser-zoom.png");
}

#presentation-liste li:hover > .pres-text,
#presentation-liste li:focus > .pres-text {
	display: block;
}

#presentation-liste li .pres-titre {
	font-size: 0.9em;
	color: #162134;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: 0.07em;
}

#presentation-liste li .pres-text {
	display: none;
	position: absolute;
	top: 100%; /* 100% de la height du li relative */
	width: 400px;
	margin-top: 10px;
	z-index: 1;
}

#presentation-liste li .pres-trait {
	margin: auto;
	width: 0;
	height: 36px;
	border: 1px solid #777777;
}

#presentation-liste li .pres-paragraphe {
	background-color: #1F1F24;
	color: #FFFFFF;
	padding: 20px;
	font-family: 'RobotoCondensed-Light';
	font-size: 1rem;
	text-align: center;
	line-height: 1.5em;
}

/*
* ####### SECTION EXPLORATION #######
*/

#accueil-exploration {
	background-color: #1F1F24;
	padding: 1rem 1rem 3rem;
}

#accueil-exploration h1  {
	font-size: 1.9em;
	font-weight: 300;
	color: #FFFFFF;
	font-family: 'RobotoCondensed-Light';
	margin-bottom: 1rem;
	text-align: center;
}

#accueil-exploration h1 > #main-title {
	font-family: 'RobotoCondensed-Bold';
}

#exploration-themes {
	margin-top: 3rem;
	text-align: center;
}

#exploration-themes .theme  {
	position: relative;
	display: inline-block;
	width: 410px;
	height: 340px;
	margin: 0 3rem 1.5rem;
}

#exploration-themes .theme > .fond {
	width: 360px;
	height: 210px;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	object-position: top;
}

#exploration-themes .theme > .contenu {
	background-color: #FFFFFF;
	width: 360px;
	height: 300px;
	position: absolute;
	bottom: 0;
	right: 0;
	
	display: flex;
	flex-direction: column;
}

#exploration-themes .theme > .contenu > h2,
#exploration-themes .theme > .contenu > p {
	text-align: left;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#exploration-themes .theme > .contenu > h2 {
	font-family: 'RobotoCondensed-Bold';
	font-size: 1.9em;
	color: #1F1F24;
	border-bottom: 1px solid #E6E6E6;
	padding: 0.5rem;
	margin-bottom: 0;
}

#exploration-themes .theme > .contenu > p {
	font-size: 1rem;
	line-height: 1.5rem;
}

#exploration-themes .theme > .contenu > .mdgButton,
#exploration-themes .theme > .contenu > .mdgButton-dark {
	padding: calc(1rem - 0px) calc(2rem - 6px);
	margin: auto auto 1rem;
}

/**
* #####################################################
*		MEDIA QUERY POUR TABLETTES ET SMARTPHONES
* #####################################################
*/

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

	/*
	*	Résolution : 1280px ou moins (laptop)
	*/
}

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

	/*
	*	Résolution : 1024px ou moins (tablettes)
	*/
	
	/* ### bloc 2 ### */
	
	#presentation {
		left: 0;
		height: auto;
		flex-direction: column;
		align-items: center;
	}
	
	#presentation-titre {
		width: auto;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}
	
	#presentation-liste {
		padding: 0;
	}
	
	#presentation-liste > ul {
		justify-content: space-between;
		flex-direction: column;
	}
	
	#presentation-liste > ul > li {
		margin-bottom: 2.5rem;
	}
	
	#presentation-liste > ul > li .pres-trait {
		display: none;
	}
	
	#presentation-liste > ul > li .pres-text {
		max-width: 90vw;
	}
	
}

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

	/*
	*	Résolution : 767px ou moins (smartphones portrait et paysage)
	*/
	
	/* ### bloc 1 ### */
	
	#entete {
		width: 90vw;
		margin: auto;
	}
	
	#entete > #entete-info > p {
		width: auto;
	}
	
	#entete-img #image .mdgButton {
		right: 0;
	}
	
	/* ### bloc 3 ### */
	
	#exploration-themes .theme {
		width: 90vw;
		margin-right: auto;
		margin-left: auto;
	}
	
	#exploration-themes .theme > .fond,
	#exploration-themes .theme > .contenu {
		width: 90%;
	}
	
}
