html, body {
	min-height: 100vh;
	margin: 0;
}

body {
	display:flex;
	flex-direction: column;
	position: relative;
	font-family: "RobotoCondensed-Regular";
	height: 100%;
	margin: 0;
	padding: 0;
	background: #E6E6E6;
}

/* Tous les main, sauf celui de l'accueil */
main:not(#main-accueil) {
	/* padding-top de la height du header */
	padding-top: 93px;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.gold-dot  {
	display: inline-block;
	height: 6px;
	width: 6px;
	background-color: #AE8A3E;
	border-radius: 50%;
	margin-left: 4px;
}

/*
*	### HEADER ###
*/

header {
	position: fixed;
	top:0;
	height: 93px;
	width: 100%;
	border-bottom: solid 1px lightgray;
	box-shadow: 0 0 3px 0px lightgrey;
	background: #FFFFFF;
	z-index: 3;
}

header > section {
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header a {
	text-decoration: none;
	color : #1F1F24;
}

header nav a {
	font-family: 'RobotoCondensed-Bold';
	text-transform: uppercase;
	font-size: 1rem;
}

header #titre,
header #nav-recherche,
header #nav-aide,
header ul,
header li {
	display: inline-flex;
	align-items: center;
	height: 100%;
}

header #titre > img {
	width: 94px;
	height: 48px;
}

header #titre {
	padding-left: 20px;
}

header h1 {
	text-align: left;
	font-size: 1.75em;
	color: #1F1F24;
	font-family: 'Roboto-Bold';
}

header #nav-recherche li {
	margin: 0 2.5rem;
}

header #nav-recherche li.toggled {
	border-bottom: solid #330033;
}

header #nav-aide li {
	border-right: solid 1px lightgray;
}

header #nav-aide li > a {
	padding: 0 2rem;
}

header #nav-aide #a-histoire,
header #nav-aide #a-langue  {
	color: #777777;
}

header #nav-aide #a-aide {
	color: #886B2F;
}

/*
*	### FOOTER ###
*/

footer {
	margin-top: auto;
	margin-bottom: 0;
	background-color: #FFFFFF;
	border-top: 1px solid black;
}

footer ul, footer li {
	padding: 0;
	margin: 0;
}

footer section {
	width: 95%;
	margin: auto;
}

footer a {
	text-decoration: none;
	color: #1F1F24;
	text-transform: uppercase;
	font-size: 0.9em;
}

footer #footer-messages {
	display: flex;
	align-items: start;
	justify-content: space-between;
	height: 100%;
	padding: 3rem 0 2rem 0;
	border-bottom: solid 1px black;
}

footer #footer-messages div {
	display: inline-block;
	margin-right: 50px;
}

footer #footer-messages #contact,
footer #footer-messages #milieu,
footer #footer-messages #signal {
	max-width: 33%;
}

footer #footer-messages #milieu p {
	margin: 0;
}

footer #footer-messages .msg-titre {
	font-family: "RobotoCondensed-Bold";
	font-size: 1rem;
	letter-spacing: 1.6px;
	color: #1F1F24;
	text-transform: uppercase;
	height: 2rem;
}

footer #footer-messages p,
footer #footer-messages span,
footer #footer-messages li  {
	font-size: 1rem;
	color: #1F1F24;
	line-height: 1.5em;
	list-style: none;
}

footer #footer-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
}

footer #footer-nav li  {
	display: inline-block;
	padding: 25px 20px 20px 0;
}

/*
*	Boutons header (recherche simple, avancée, exploration)
*/
#div-toggle-search.blurred {
	display: none;
	position: fixed;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	background: rgb(31,31,36, 0.5);
}

#toggle-simple, #toggle-avancee, #toggle-exploration {
	position: fixed;
	top: 93px;
	z-index: 3;
	margin-top: 2rem;
}

#toggle-simple {
	width: 70%;
	max-width: 900px;
	left: 50%;
	transform: translate(-50%, 0);
}

#toggle-avancee {
	display: flex;
	justify-content: center;
	width: fit-content;
	left: 0;
	right: 0;
	bottom: 0;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2rem;
}

#toggle-exploration {
	width: fit-content;
	border-radius: 40px;
	box-shadow: 0px 3px 6px #00000029;
	padding: 1.2rem 3rem;
	background-color: #FFFFFF;
	left: 50%;
	transform: translate(-50%, 0);
}

/*
* BOUTONS DANS MANDRAGORE
*/
.mdgButton, .mdgButton-dark {
	background-color: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 25rem;
	box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
	cursor: pointer;
	font-weight: 500;
	font-family: 'RobotoCondensed-Bold';
	font-size: 1rem;
	padding: calc(1rem - 6px) calc(1rem - 1px);
	color: #330033;
}

#toggle-exploration > .mdgButton, #toggle-exploration > .mdgButton-dark {
	background-color: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 25rem;
	box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
	cursor: pointer;
	font-weight: 500;
	font-family: 'RobotoCondensed-Bold';
	font-size: 1.2rem;
	padding: calc(1rem - 6px) calc(1rem - 1px);
	color: #330033;
}

a.mdgButton, a.mdgButton-dark {
	text-decoration: none;
}

.mdgButton:hover, .mdgButton-dark:hover,
.mdgButton:focus, .mdgButton-dark:focus {
	border-color: rgba(0, 0, 0, 0.15);
	box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
	color: rgba(0, 0, 0, 0.65);
}

.mdgButton:active, .mdgButton-dark:active  {
	background-color: #F0F0F1;
	border-color: rgba(0, 0, 0, 0.15);
	box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
	color: rgba(0, 0, 0, 0.65);
}

.mdgButton-dark {
	background-color: #330033;
	color: #FFFFFF;
}

.mdgButton-dark:hover,
.mdgButton-dark:focus {
	background-color: #90538b;
	color: #FFFFFF;
}

.mdgButton-dark:active  {
	color: #FFFFFF;
}

.mdgButton-dark.search:before {
	content: url(/resources/images/pictos/loupe.svg);
	vertical-align: middle;
	margin-right: 1.2rem;
}

.mdgButton-dark.consult:before {
	content: url(/resources/images/pictos/consult_white.svg);
	vertical-align: middle;
	margin-right: 1.2rem;
}

.mdgButton.chevron:after {
	content: url(/resources/images/pictos/chevron_dark.svg);
	vertical-align: middle;
	margin-left: 1.2rem;
}

.mdgButton-dark.chevron:after {
	content: url(/resources/images/pictos/chevron_white.svg);
	vertical-align: middle;
	margin-left: 1.2rem;
}

select.chevron::-ms-expand {
	display: none;
}

select.chevron {
	-webKIT-APPEARANCE: NONE;
	-moz-appearance: none;
	background: url(/resources/images/pictos/chevron_down.svg) no-repeat center right 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
}

select.chevron:after {
	background: url(/resources/images/pictos/chevron_down.svg);
}

/**
* #####################################################
*		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)
	*/
	
	html, body {
		width: 100vw;
		position: absolute;
	}
	
	header ul {
		padding: 0 1rem;
	}
	
	header #nav-aide li {
		border: none;
	}
	
	footer #footer-messages .msg-titre {
		height: auto;
	}
}

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

	/*
	*	Résolution : 767px ou moins (smartphones portrait et paysage)
	*/
	
	header #titre > h1 {
		font-size: 1.5em;
	}
	
	header #titre > #link_bnf {
		display: none;
	}
	
	header > section {
		justify-content: space-around;
	}
	
	header ul {
		flex-direction: column;
		padding: 0;
		text-align: center;
	}
	
	header #nav-aide li {
		padding: 0;
		border: none;
	}
	
	footer #footer-nav li {
		padding: 0 20px 20px 0;
	}
	
	.mdgButton-dark.search:before {
		margin-right: 0;
	}
}

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

	/*
	*	Spécifique à la taille du texte !
	*	Résolution : 767px ou moins (smartphones en mode portrait)
	*/
	
	html {
		font-size: 75%;
	}
}

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

	/*
	*	Spécifique à la taille du texte !
	*	Résolution : 1024px ou moins (smartphones/tablettes en mode paysage)
	*/
	
	html {
		font-size: 75%;
	}
}
