* {
	font-family: Arial, Helvetica, sans-serif;
	
}



body {
	font-size: 14px;
	background-color: #202b36;
	margin: 0px;
	padding: 0px;
	background-image: url(im/fond-body.png);  
	background-repeat: repeat-x;
}



/*	Gabarit élastique : colonne de 960px maxi, ombre portée commune à tous les blocs (header_1, header_2, centre, footer) */
#global {
	margin: auto;
	width: calc(100% - 40px);
	max-width: 960px;
	box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.9);
}

#header_1 {
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
}

#header_1 a {
	display: block;
}

#header_1 img {
	display: block;
	width: 100%;
	height: auto;
}

#header_2 {
	position: relative;
	height: 54px;
	background-image:
		linear-gradient(to bottom, transparent 27px, #3b3b2f 27px, #3b3b2f 42px, #9fa1a0 42px, #dde0df 46px, #f7faf9 50px),
		linear-gradient(to right, #abaa9d, #ffffff 29%, #ffffff 71%, #b1b0a4);
}

/*	Prolongement des rectangles du logo (positions en % pour suivre la réduction du logo) */
#header_2::before {
	content: "";
	position: absolute;
	top: 0px;
	left: 4.6875%;
	width: 14.2708%;
	height: 5px;
	background-image: linear-gradient(to right, #202b36 17.52%, #596975 17.52%, #596975 82.48%, #97a4ad 82.48%);
}

#header_2::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 4.6875%;
	width: 14.2708%;
	height: 10px;
	background-image: linear-gradient(to right, #202b36 82.48%, #8f8f8c 82.48%);
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

#menu {
	position: relative;
	z-index: 1;
	font-size: 15px;
	text-align: left;
	color: #2f4b66;
	line-height: 27px;
	height: 27px;
	padding-left: 21.875%;
}

#bouton_menu {
	display: none;
}

#menu a {
color: #94500f;
margin: 0px 6px 0px 6px;
}

#menu a:hover {
color: #c67e38;
}

#centre {
	display: flow-root;
	background-color: #f7faf9;
	padding: 0px 0px 0px 0px;
}

/*	Largeur élastique : #corps occupe toute la largeur de #centre */
#corps {
	margin: 0px 30px 0px 30px ;
}

#h1 {
	margin: 0px 0px 0px 0px ;
	padding: 4px 8px 4px 12px ;
	background-color: #202b36;
	font-size: 16px;
	text-align: left;
	color: white;
	font-weight: bold;
}


#texte {
	background-image: url(im/ombre-titre.png);
	background-repeat: repeat-x;
	background-position: top center;
	padding:5px 12px 16px 12px ;
}

#texte p {
	text-align: justify;
}

#texte img {
	max-width: 100%;
	height: auto;
}



.accroche_1{
background-image: url(im/guillemet.png);
background-repeat: no-repeat;
background-position: top left;
padding-left: 60px;
margin-left: 20px;
}

.accroche_1 h2{
font-size: 22px;
font-style:italic;
}

.accroche_1 li{
font-size: 16px;
font-weight:bold;
color:#6b6a55;
}

.recherche_champ {
	width: 350px;
	max-width: 100%;
	box-sizing: border-box;
}

.boutton_chercher_pt {
	margin: 0px 0px 0px 5px;
	border:none;
	color:#fff;
	background: transparent url('im/icone_chercher_pt.png') no-repeat top left;
	width:16px;
	height:16px;
	cursor:pointer;
}

#bloc_addthis {
	text-align:right;
	padding: 0px 20px 40px 15px;
}

#texte {
	background-image: url(im/ombre-titre.png);
	background-repeat: repeat-x;
	background-position: top center;
	padding:5px 12px 16px 12px ;
}

#w3c {
float:right;
margin: 0px 30px 0px 0px;
}

#footer {
	min-height:20px;
	background-image: linear-gradient(to bottom, #f7faf9 0px, #dbdedd 4px, #a0a2a1 9px, #3b3b2f 9px);
	clear:both;
	padding: 15px 10px 0px 10px ;
	font-size: 12px;
	text-align: center;
	color: white;
}




h2 {
	font-size: 16px;
	color: #596975;
	font-weight: bold;
	padding-top: 10px;
}
h3 {
	font-size: 12px;
	color: #596975;
	font-weight: bold;
	padding-top: 5px;
}
hr {
color: #596975; 
background-color: #596975;
height: 1px;
border: 0;
}

a {
	color: #94500f;
	text-decoration:none;
}
a:hover {
	color: #c67e38;
	text-decoration:underline;
}

/*	Liens dans la légende lightGallery (fond sombre) */
.lg-sub-html a {
	color: #e3a86b;
}

.lg-sub-html a:hover {
	color: #ffffff;
}

input, select, textarea, submit{
	background-color: #e6e5cf;
	border:1px inset;
}



.txt-pt {
	font-size: 12px;
}

.txt-norm {
	font-size: 14px;
}

.txt-gd {
	font-size: 16px;
}

.clearboth {
	clear:both;
	width: 1px;
}


.marge_haut_bas_pt
{
padding-top: 5px;
padding-bottom: 5px;
}

.marge_haut_bas_gd
{
padding-top: 15px;
padding-bottom: 15px;
}

.marge_bas_pt
{
padding-bottom: 5px;
}

.marge_haut_pt
{
padding-top: 5px;
}

.text-petit {
	font-size: 11px;
}
.gris {
color:#828282;
}

.blanc{
color:white;
}

.rouge {
color:red;
}

.text_small_caps  {
font-variant: small-caps ; 
}


.im-a-gauche-bord {
	border: 1px solid #000000;
	float: left;
	margin-right: 15px;
}
.im-a-droite-bord {
	border: 1px solid #000000;
	float: right;
	margin-left: 15px;
}
.im-a-gauche {
	float: left;
	margin-right: 15px;
}
.im-a-droite {
	float: right;
	margin-left: 15px;
}




.listeCourant {
border-right: 1px solid #a0a0a0;
border-bottom: 1px solid #a0a0a0;
}

.listeCourantLeft {
border-right: 1px solid #a0a0a0;
border-left: 1px solid #a0a0a0;
border-bottom: 1px solid #a0a0a0;
}

.listeTop {
border-top: 1px solid #a0a0a0;
border-right: 1px solid #a0a0a0;
border-bottom: 1px solid #a0a0a0;
background-color: #F4FCEA;
}

.listeTopLeft {
border-top: 1px solid #a0a0a0;
border-left: 1px solid #a0a0a0;
border-right: 1px solid #a0a0a0;
border-bottom: 1px solid #a0a0a0;
background-color: #F4FCEA;
}

.alerteR {
background: url("im/non.png") no-repeat;
background-position:8px 4px;
background-color: #f9fae8;
font-weight:bold;
line-height:22px;
color: red;
padding: 8px 8px 8px 45px;
border: 1px solid black;
margin:10px;
}

.alerteV {
background: url("im/oui.png") no-repeat;
background-position:8px 4px;
background-color: #f9fae8;
font-weight:bold;
line-height:22px;
color: green;
padding: 8px 8px 8px 45px;
border: 1px solid black;
margin:10px;
}

.cell_like {
display:inline-block;
}

.decal1 {
padding-left: 10px;
}
.decal2 {
padding-left: 30px;
}


#chercher_mot {
margin: 0px 10px 0px 12px;
padding: 0px 5px 0px 5px;
}

#infos_recherche {
font-size: 12px;
}




#nb_res, #nb_cat {
margin: 20px 0px 20px 0px;
padding: 5px 15px 5px 15px;
background-color:#b4b9bd;
color:white;
font-size: 16px;
}

.resultat {
padding: 15px 10px 10px 10px;
margin: 2px 0px 15px 0px;
border: 1px dotted #202b36;
}

.resultat_h2{
padding: 3px 15px 3px 15px;
margin: 0px;
color:#202b36;
background-color:#bbbaa4;
background-image: url(im/fond_bloc_h2.png);
background-repeat: repeat-y;
background-position: top left;
}

.resultat_h2 a{
color:#202b36;
}

.resultat_h2 a:hover{
text-decoration:none;
}

.resultat_div_img {
float:left;
width: 120px;
text-align:center;
}

.resultat_img_pt {
border: 1px solid;
}

.resultat_detail {
padding-left: 135px;
text-align:justify;
}

.resultat_lien_notice {
float:right;
text-align:right;
background-color:#f7faf9;
}

/*	"+ Notice complète" et "Télécharger" : boutons blancs sur fond orangé */
.resultat_lien_notice a, .bouton_telecharger {
display:inline-block;
padding: 4px 10px;
background-color:#c67e38;
color:white;
font-weight:bold;
text-decoration:none;
}

.resultat_lien_notice a:hover, .resultat_lien_notice a:focus, .bouton_telecharger:hover, .bouton_telecharger:focus {
background-color:#94500f;
color:white;
text-decoration:none;
}

.bouton_telecharger {
padding: 7px 18px;
font-size: 16px;
}

.notice_licence {
margin: 15px 0px 10px 0px;
}

.notice_telecharger {
margin: 0px 0px 5px 0px;
}

/*	Racine de l'arborescence des thématiques */
.racine_arbo {
font-size: 14px;
font-weight: bold;
color: #202b36;
}

.pagination {
text-align:center;
}

.pagination_chevron {
font-size: 17px;
}

#recherche_comp{
background-image: url(im/intero.png);
background-repeat: no-repeat;
background-position: top left;
padding: 10px 0px 10px 50px;
margin-left: 25px;
}






.notice_bloc {
padding: 15px 15px 15px 15px;
margin: 0px;
border: 1px dotted #202b36;
}

.notice_bloc h3 {
font-size: 13px;
padding: 0px;
margin: 0px 0px 0px 0px;
}

.notice_bloc p {
margin: 0px 0px 10px 0px;
}

.notice_h2{
padding: 3px 15px 3px 5px;
margin: 15px 0px 2px 0px;
color:#202b36;
background-color:#e0dfc4;
background-image: url(im/fond_bloc_h2.png);
background-repeat: repeat-y;
background-position: top left;
}

.icone_bloc_h2 {
float:left;
padding: 2px 15px 0px 15px;
}

.conteneur_notice_img {
float:left;
}

.notice_img {
width: 140px;
height: 140px;
text-align:center;
vertical-align:middle;
display : table-cell;
background: url("im/cadre_gravure.png") no-repeat;
}

.notice_img_pt {
border: 1px solid;
margin: 0px 6px 5px 0px;
}

.notice_detail {
padding-left: 155px;
text-align:justify;
}

.cellule_fichier {
margin-right:70px;
display:inline-block;
}

.notice_bloc_tags {
text-align:center;
}

.notice_bloc_tags span, .notice_bloc_tags a{
margin-right:18px;
white-space: nowrap;
display:inline-block;
}







#deroulant_cat {
float:left;
margin-left:10px;
border: 1px solid #394226;
padding:15px;
}

#deroulant_cat.arbo_cat {
float:none;
margin-left:15px;
border: 0px none white;
padding: 5px 0px 0px 0px;
}

#deroulant_cat .ul {
margin-left:10px;
padding:3px;
}

/*	Sous-thématiques réduites par défaut, trait vertical aligné sous le chevron du parent */
#deroulant_cat .ul .ul {
display:none;
margin-left:-6px;
padding:0px 3px;
}

#deroulant_cat i {
font-size: 12px;
color:#888888;
}

/*	Lignes de l'arbre : branche reliée au parent (arboc) prolongée par le trait vertical (arbo)
	sur toute la hauteur des sous-thématiques ouvertes */
#deroulant_cat .ligne {
background-image: URL(im/arboc.png), URL(im/arbo.png);
background-repeat: no-repeat, repeat-y;
background-position: top left, top left;
line-height:20px;
}

/*	Dernier élément d'un niveau : angle de fin de branche */
#deroulant_cat .ligne:last-child {
background-image: URL(im/arbof.png);
background-repeat: no-repeat;
}

#deroulant_cat .folder {
margin: 0px 0px 0px 25px;
}

#deroulant_cat .folder_end {
margin: 0px 0px 0px 25px;
padding-left: 22px;
}

/*	Chevron orangé (couleur des liens) : vers la droite = replié, vers le bas = déplié */
.chevron {
position: relative;
display: inline-block;
width: 16px;
height: 16px;
margin: 0px 6px 0px 0px;
padding: 0px;
vertical-align: -3px;
color: #94500f;
}

/*	Bouton de l'arbre : hauteur de la ligne (20px) et alignement en haut, pour ne pas dépendre
	de la ligne de base d'un bouton vide, placée différemment par Safari et Chrome */
.chevron {
-webkit-appearance: none;
appearance: none;
height: 20px;
vertical-align: top;
border: none;
background: transparent;
cursor: pointer;
}

.chevron:hover, .chevron:focus {
color: #c67e38;
}

.chevron::before {
content: "";
position: absolute;
top: 4px;
left: 3px;
width: 6px;
height: 6px;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(-45deg);
transition: transform 0.2s ease;
}

.ouvert > .chevron::before {
transform: rotate(45deg);
top: 2px;
left: 4px;
}

/*	Chevron centré verticalement dans la ligne de 20px */
.chevron::before {
top: 6px;
}

.ouvert > .chevron::before {
top: 4px;
}



.cellule_tags {
margin:0px;
display:inline-block;
width:190px;
vertical-align:top;

}

.lettrine_tags {
margin-right:10px;
display:inline-block;
padding:5px;
width:25px;
height:25px;
background-color:#b4b9bd;
color:#ffffff;
}





#conditions {
border: 1px solid #9f9e8b;
padding: 0px 20px 20px 20px;
margin: 50px 0px 150px 0px;
}

/* Responsive : structure mobile sous 850px */

@media (max-width: 849px) {

	#global {
		width: 100%;
		box-shadow: none;
	}

	/*	Bandeau plus haut pour le bouton burger */
	#header_2 {
		height: 67px;
		background-image:
			linear-gradient(to bottom, transparent 40px, #3b3b2f 40px, #3b3b2f 55px, #9fa1a0 55px, #dde0df 59px, #f7faf9 63px),
			linear-gradient(to right, #abaa9d, #ffffff 29%, #ffffff 71%, #b1b0a4);
	}

	#bouton_menu {
		display: flex;
		align-items: center;
		position: absolute;
		top: 0px;
		right: 6px;
		height: 40px;
		padding: 0px 10px;
		border: none;
		background: transparent;
		color: #94500f;
		font-size: 16px;
		cursor: pointer;
	}

	#bouton_menu:hover, #bouton_menu:focus {
		color: #c67e38;
	}

	/*	Icône burger : 3 barres */
	.icone_burger {
		position: relative;
		width: 22px;
		height: 2px;
		margin-right: 8px;
		background-color: currentColor;
	}

	.icone_burger::before, .icone_burger::after {
		content: "";
		position: absolute;
		left: 0px;
		width: 22px;
		height: 2px;
		background-color: currentColor;
	}

	.icone_burger::before {
		top: -7px;
	}

	.icone_burger::after {
		top: 7px;
	}

	/*	Menu déroulant au-dessus du contenu ; font-size 0 masque les séparateurs "|" */
	#menu {
		display: none;
		position: absolute;
		top: 55px;
		left: 0px;
		right: 0px;
		z-index: 1000;
		height: auto;
		padding: 0px;
		font-size: 0px;
		line-height: normal;
		background-color: #ffffff;
		box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
	}

	#header_2.menu_ouvert #menu {
		display: block;
	}

	#menu a {
		display: block;
		margin: 0px;
		padding: 12px 20px;
		font-size: 16px;
		border-bottom: 1px solid #e1e3e3;
	}

	#centre {
		padding-top: 8px;
	}

	#corps {
		margin: 0px;
	}

	#footer {
		padding-bottom: 10px;
	}

	#texte table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}
}


/* Responsive : contenu sur petits écrans */

@media (max-width: 600px) {

	#texte {
		padding-left: 10px;
		padding-right: 10px;
	}

	.im-a-gauche, .im-a-droite, .im-a-gauche-bord, .im-a-droite-bord {
		float: none;
		display: block;
		margin: 0px auto 10px auto;
	}

	.conteneur_notice_img, .resultat_div_img {
		float: none;
	}

	.resultat_div_img {
		width: auto;
		margin-bottom: 10px;
	}

	.notice_detail, .resultat_detail {
		padding-left: 0px;
	}

	.accroche_1 {
		margin-left: 0px;
		padding-left: 45px;
	}

	#chercher_mot {
		width: calc(100% - 30px);
		margin: 0px 5px 0px 0px;
		font-size: 16px;
	}

	.cellule_fichier {
		margin-right: 20px;
	}

	.cellule_tags {
		width: 48%;
	}

	#conditions {
		margin: 20px 0px 40px 0px;
	}
}
