/* CSS */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* Ancien vert : #13a20f */

 body {
 	background-color: #000;
 	font-family: times-new-romans;
 	width: auto;
 	height: auto;
 }
 h2,h3,h4{
 	color: #275ecc;
 	font-family:'Roboto Slab', serif;
 }
 h4{
 	font-style: italic;
 }
 h1{
 	font-size: 3em;
 	margin-bottom: 2%;
 	margin-top: 4%;
 	color: #ffef;
 	font-family:'pacifico', cursive;
 }
 h1.titresite {
 	color:#275ecc;
 	font-family: 'montserrat';
 }
 a{
 	color: #509b2a/*#275ecc (rouge) - 009916 (vert)*/;
 	text-decoration: unset;
 }
 a:hover{
 	text-decoration: underline;
 }
 strong:hover{
 	color: #275ecc;
 }
 blockquote{
 	font-style: italic;
 	font-size: 0.9em;
 	color: #ffef;
 	text-align: center;
 }
 blockquote.main{
 	font-style: italic;
 	color: #000;
 	text-align: center;
 }
 figcaption{
 	font-style: italic;
 	font-size: 0.8em;
 }
 hr{
 	color: #509b2a;
 }
 hr.a{
 	color: #275ecc;
 }
ul{
	padding-inline-start: 0px;
}
ol{
	padding-inline-start: 0px;
}

/* 											==HEADER==									 */
#header {
 	text-align: center;
 }
#header .button{
	font-size: 1.2em;
	border:solid 1px #ffef;
	border-radius: 10px;
	padding: 1%;
	margin-left: 20%;
	margin-right: 20%;
}
#header .button:hover{
	background-color: #ffffef;
}

.logo{
	text-align: unset;
	position: relative;
}
.titre2{
	padding-left:2.5%;
	color: #ffffef;
	font-style: italic;
}
.headerlogo {
	display: block;
	position: relative;
	padding-bottom: 5%;
}

.bandeau {
	cursor: default;
	border-bottom:1px solid #ffef;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}
.bandeau li{
	display: inline-block;
}
.dark{
	background-color: #000;
	border-right: 1px solid #ffef;
	border-left: 1px solid #ffef;
}
.elementsbandeau{
	margin: 0;
	text-align: center;
	align-content: center;
}
.elementsbandeau li:hover{
	filter: saturate(40%);
}

/* SOCIAL */

.social{
	height: auto;
	background-color: rgb(56,86,153);
	color: #ffffef;
	display: block;
}

.energie{
	background-image: url(./bdd/img/img-categorie-energie.jpg);
	background-position: center;
}
.climat{
	background-image: url(./bdd/img/img-categorie-climat.jpg);
	background-position: center;
}
.nature{
	background-image: url(./bdd/img/img-categorie-nature.jpg);
	background-position: center;
}
.terre{
	background-image: url(./bdd/img/img-section-terre.jpg);
	background-position: center;
}
.alimentation{
	background-image: url(./bdd/img/img-section-alimentation.jpg);
	background-position: center;
}
.sante{
	background-image: url(./bdd/img/img-section-sante-hygiene.jpg);
	background-position: center;
}
.habitat{
	background-image: url(./bdd/img/img-section-habitat.jpg);
	background-position: center;
}
.vivant{
	background-image: url(./bdd/img/img-section-vivant.jpg);
	background-position: center;
}
.energies{
	background-image: url(./bdd/img/img-section-energies.jpg);
	background-position: center;
}
.agroforesterie{}
.champignons{}
.agricolemsv{}
.permaculture{}
.plantesarbres{}
.semences{}

h1.terre{
	background-image:url(./bdd/img/img-section-terre-h1.jpg);
	background-position: center;
}
h1.sante{
	background-image:url(./bdd/img/img-section-sante-h1.jpg);
	background-position: center;
}
h1.vivant{
	background-image: url(./bdd/img/img-section-vivant-h1.jpg);
	background-position: center;
}
h1.energies{
	background-image: url(./bdd/img/img-section-energies-h1.jpg);
	background-position: center;
}
h1.habitat{
	background-image: url(./bdd/img/img-section-habitat-h1.jpg);
	background-position: center;
}

/* -MENU INDEX- */
#menu-index {
  list-style: none;
	}
		#menuindex ul {
		  list-style:none;
		  list-style-position: unset;
		  font-family: 'montserrat';
		}
		#menuindex li {
		   background-color:#648453;
		   margin-bottom: 1%;
		   font-family: 'montserrat';
		}
		#menuindex li li {
		   max-height:0;
		   overflow: hidden;
		   transition: all 1.5s;
		   border-radius:0;
		   box-shadow: none;
		   border:none;
		   margin:0;
		}
		#menuindex a {
		  display:block;
		  text-decoration: none;
		  color: #ffef;
		  padding: 3.5% 0;
		  font-size:1.3em;
		}
		#menuindex li:hover {
		   background: #648453;
		}
		#menuindex li li:hover {
		   background: #000;
		}
		#menuindex ul li:last-child {
		   border:none;
		}
		#menuindex li:hover li {
		  max-height: 15em;
		}

/* BANNER */

#banner {
	border: solid 1px #ffef;
	border-radius: 10px;
	text-align: center;
}
#banner li{
	display: inline-block;
	padding: 0.8%;
}
#banner li:hover{
	background-color: #ffef;
	transition: all 0.5s;
}
#banner header{
	color: #275ecc;
	background-color: #ffef;
	padding: 0.5%;
	border-radius: 10px;
}
a.article1{
	color: #d19107 !important;
}
a.article2{
	color: #6f1fd3 !important;
}
a.article3{
	color: #275ecc !important;
}

 /* Menu accordeon minis sections */
#menu-accordeon {
  list-style:none;
  text-align: center;
	}
		#menu-accordeon ul {
		  list-style:none;
		  text-align: center;
		}
		#menu-accordeon li {
		   background-color:#648453;
		   border-radius: 10px;
		   margin-bottom: 2%;
		}
		#menu-accordeon li:hover{
			background-color: #000;
			transition: all 1.5s;
		}
		#menu-accordeon a {
		  display:block;
		  text-decoration: none;
		  color: #ffef;
		  padding: 4% 0;
		  font-size:1.2em;
		}

.intro{
	margin-right: 10%;
	margin-left: 10%;
	color: #000;
	text-indent: 2%;
	text-align: justify;
}

/* 													==MAIN==           	                               */

.filariane{
	text-indent: 2%;
	background-color: #ffef;
	margin-right: 5%;
	margin-left: 5%;
	line-height: 1.5em;
	border-radius: 10px;
}
.filariane a:hover{
	color:#275ecc;
}

/* PODCAST */
#podcast {
	list-style: none;
	line-height: 1.7em;
}
#podcast h2, h3{
	padding: 2%;
	margin: 0;
	color: #ffffef;
}
	#podcast ul{
	list-style:none;
	list-style-position: unset;
	}
	#podcast audio{
		padding-left: 12%;
	}
	#podcast li {
		   background-color:#648453;
		   border-radius: 10px;
		   margin-bottom: 1%;
		   text-align: center;
		}
		#podcast li li{
			max-height:0;
		  overflow: hidden;
		  transition: all 2s;
		  border-radius:0;
		  box-shadow: none;
		  border:none;
		  margin:0;
		 	font-family: arial;
		 	text-align: left;
		 	text-indent: 10%;
		}
		#podcast li:hover{
			background-color: #000;
			transition: all 1.5s;
		}
		#podcast ul li:last-child {
		   border:none;
		}
		#podcast li li:hover{
			background-color: #648453;
		}
		#podcast li:hover li {
		  max-height: 15em;
		}

/* PODCAST */

/* NAV categorie */

.nav{
	font-size: 1.4em;
}
.nav ul{
	text-align: center;
	list-style: none;
}
.nav li{
	padding: 1%;
	margin-bottom: 0.5%;
	margin-top: 0.5%;
	border-radius: 15px;

}
.nav li a {
	color: #ffffef;
	font-weight: bolder;
	font-family: sans-serif;
}
.nav li a:hover{
	background-color: #509b2a;
	transition: 0.5s;
}
.nav li:hover{
	background-color: #000;
}
.nav a:hover{
	color:#ffef;
}
.active{
	color: #ffef;
	filter: saturate(50%);
}
.activeariane{
	text-decoration: underline;
}
.flottant{
	position: fixed;
}
.carre{
	right: 0;
	background-color: #509b2a;
	border-bottom: solid 1px #ffffef;
	border-top: solid 1px #ffffef;
	border-left: solid 1px #ffffef;
	border-bottom-left-radius: 15px;
	border-top-left-radius: 15px;
	text-align: center;
	font-family: 'montserrat';

}
	.carre a {
		color: #ffffef;
		font-size: 1.3em;
	}
	.carre:hover{
		filter: contrast(150%);
		right: 0.5%;
		transition: all 1s;
	}
/* // nav categorie // */

/* NAVIGATION ARTICLE */

.navarticle{
	margin: 2%;
}
.navarticle h3{
	margin-top: 0.8em;
	margin-bottom: 0.8em;
}
.navarticle ul{
	height: 70%;
}
.navarticle li{
	margin: 2%;
	border: solid 1px #000;
	border-radius: 10px;
	padding: 1%;
}
.navarticle a:hover{
	color: #000;
}
.txtnavarticle{
	font-size: 0.8em;
	color: inherit;
}
.txtnavarticle:hover{
	text-decoration: none;
}
.imgnavarticle{
	background-position: center;
	height: auto;
	border-radius: 5px;
}
.imgnavarticle:hover{
	filter: sepia(50%);
}
/* //NAVIGATION ARTICLE */
.saturate{
 filter: saturate(50%);
}
/* NAVIGATION ENJEUX */

#navenjeux{
	margin: 2%;
}
#navenjeux ul{
	text-align: center;
}
#navenjeux li{
	width: 33,33%;
	height: auto;
}
#navenjeux li:hover{
	border-radius: 15px;
	filter: saturate(200%);
}
#navenjeux a:hover{
	color:#ffef;
}

/* //NAVIGATION ENJEUX */

#biblio{
	color: #000;
	background-color: #ffef;
	border-radius: 10px;

	line-height: 1.5em;
}
/* Row /permet de créer des zones */
.row {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	align-items: stretch;
	}
span.soustitre{
 	color: #ffef;
 	font-size: 1.1em;
 	font-style: italic;
 }
 span.soustitre2{
 	color: #000;
 	font-size: 1.1em;
 	font-style: italic;
 }
header.articleheader{
	padding: 1%;
	line-height: 1.5em;
	border:solid 2px #509b2a;
	text-align: center;
	border-radius: 10px;
}
.article{
	
	margin-top: 2%;
	padding-left: 4%;
	padding-right: 4%;
	padding-top: 2%;
	padding-bottom: 2%;
	line-height: 1.2em;
	background-color: #ffef;
	border-radius: 10px;
}
.article h2, h3{
	color: #275ecc;
}
.article ul{
	padding-inline-start: 30px;
}
.article ol{
	padding-inline-start: 30px;
}
.article-nw{
	background-color: grey;
	margin-left: 30%;
	margin-right: 30%;
	font-size: 1.3em;
	background-size: 40%;
	text-align: center;
	padding: 1%;
}
.article-nw:hover{
	background-color: #000;
	font-size: 1.5em;
}
.textemid{
	text-align: center;
}
#menu2 li{
	display: inline-block;
 	padding: 1%;
  	border-color: white;
}
/* 												==FOOTER==									 */
#footer{
	background-color: #ffef;
	text-align: center;
	margin-top: 4%;
	padding: 1%;
	font-size: 0.8em;
	font-family: 'roboto';
}
#footer span{
	color: #000!important;
	display: block;
}

#sectionextersite {
	background-color: #ffef;
	padding: 2%;
	border-radius: 10px;
	font-size: 0.9em;
	line-height: 1.5em;
}
#sectionextersite h2{
	color: #275ecc;
}

/* bouton retour vers le haut*/
#backtop{
	position: fixed;
	right: 3%;
	bottom: 3%;
	background: #111;
	height: 60px;
	width: 40px;
	text-align: center;
	color: #ffef;
	line-height: 60px;
	z-index: 99;
	cursor: pointer;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

#backtop:hover{
	background: #FFC107;
	color: #000;
}

#backtop.ht-hide{
	bottom: -50px;
}
/* 												==RESPONSIVE==								 */

@media screen and (min-width: 1px){

	body{
		margin: auto;
		font-size: 1.5em;
	}
	img{
		width: 100%;
		overflow: auto;
	}
	figure{
		margin: 0;
	 	padding-left: 1%;
	 	max-width: 800px;
	}
	blockquote{
 		padding:0;
	}
	h1.titresite{
		font-size: 2.5em;
	}

	#header{
		padding: 0;
		margin: 0;
	}
	#header .button{
		font-size: 1.2em;
		border:solid 1px #ffef;
		border-radius: 10px;
		padding: 1%;
		margin-left: 20%;
		margin-right: 20%;
	}
	.logo{
		padding: 0;
	}
	.logo2{
		width: 20%;
	}
	.titre2{
		font-size: 1.2em;
		padding: 0;
	}
	.bandeau{
		width: 100%;
		height: 3.5em;
	}
	.elementsbandeau{
		height: auto;
		position: relative;
	}
	.social{
		width: 35px;
		height: 35px;
	}
	.headerlogo {
		display: block;
		position: relative;
		padding-bottom: 5%;
	}

	#menuindex{
		font-size: 1.1em;
	}
	#menuindex li{
		border-radius: 0;
	}

	#main{
		margin: 0;
		text-align: justify;
	}
	#banner{
		margin: 5%;
	}
	#banner li{
		display: block;
		font-size: 1.4em;
	}
	.nav li{
		display: block;
	}
	.nav li a{
		font-size: 1em;
	}
	.imgnavarticle{
		width: 60%;
	}
	.article{
		margin-left:0;
		margin-right:0;
	}
	.navarticle li{
		font-size: 1em;
		display: block;
		background-color: #ffef;
	}
	.navarticle a{
		font-size: 1.2em;
	}
	.txtnavarticle{
		font-size: 1em;
	}
	#navenjeux li{
		display: block;
		font-size: 2.5em;
		padding: 4%;
	}
	#menu-accordeon{
		margin-left: 0;
		width: 100%;
	}
	#biblio{
		margin: 1%;
		padding: 1%;
	}
	#biblio li{
		border: solid 1px #000;
		padding: 1%;
	}
	.carre{
		width: 45px;
		padding: 0.3%;
	}
	#sectionextersite {
		margin-top: 2%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 0;
}
/*@media screen and (min-width: 480px){
	img{
		width: 70%;
	}
	body{
		margin: auto;
	}
	h1.titresite{
		font-size: 2.5em;
	}

	.imgnavarticle{
		width: 70%;
	}
}*/
@media screen and (min-width: 1000px){
	body{
		margin: auto;
		font-size: 1.1em;
	}

	figure{
		margin: 2%;
	 	padding-left: 20%;
	 	max-width: none;
	}
	blockquote{	
 		padding-left: 10%;
 		padding-right: 10%;
	}
	h1.titresite{
		font-size: 3em;
	}
	.titre2{
		font-size: 1.4em;
	}

	#header{
		padding: 2%;
 		margin-right: 5%;
 		margin-left: 5%;
	}
	.logo{
		width: 40%;
	}
	.social{
		width: 50px;
		height: 40px;
	}
	.bandeau{
		position: fixed;
		width: 80%;
	}
	#menuindex li {
		border-radius: 15px;
	}

	#main{
	margin-right: 2.5%;
	margin-left: 2.5%;
	margin-bottom: 2%;
	text-align: unset;
	}
	#banner{
		margin-left: 10%;
		margin-right: 10%;
		margin-bottom: 0;
		margin-top: 0;
	}
	#banner li{
		display: inline-block;
		font-size: 1.2em;
	}
	.nav li{
		display: inline-block;
		width: 30%;
	}
	.nav li a{
		font-size: 1.2em;
	}
	.imgnavarticle{
		width: 70%;
	}
	.txtnavarticle{
		font-size: 1.1em;
	}
	.navarticle li{
		font-size: 0.8em;
		width: 25%;
		display: inline-block;
	}
	.article{
		margin-left: 5%;
		margin-right: 5%;
	}
	#navenjeux li{
		display: inline-block;
		font-size: 1.9em;
		padding: 2%;
	}
	#menu-accordeon{
		margin-left: 20%;
		width: 60%;
	}
	#biblio{
		margin-left: 10%;
		margin-right: 10%;
		margin-top: 3%;
		margin-bottom: 3%;
		padding-left: 3%;
	}
	#biblio li{
		border: none;
		padding: 0;
	}
	.carre{
		width: 110px;
		padding: 0.8%;
	}
	#sectionextersite {
		margin-top: 3%;
		margin-left: 15%;
		margin-right: 15%;
		margin-bottom: 2%;
	}
}
@media screen and (min-width: 1200px){
	img{
		width: 80%;
	}
	body{
		margin-right: 10%;
		margin-left: 10%;
		font-size: 1.2em;
	}
	h1.titresite{
		font-size: 4.5em;
		margin-top: 0.2em;
	}

	.headerlogo {
		display: inline-block;
		padding-bottom: 2.5%;
	}
	#menuindex{
		font-size: 1em;
	}


	.imghaute{
		height: 60%;
		width: auto;
	}
	.imgnavarticle{
		width: 80%;
	}
	.txtnavarticle{
		font-size: 1.2em;
	}
	.navarticle li{
		font-size: 0.8em;
		width: 25%;
		display: inline-block;
	}
}
@media screen and (min-width: 1600px){
	
	body{
	 	margin-right: 18%;
	 	margin-left: 18%;
	 	font-size: 18px;
	}
	img{
		width: 55%;
	}

	.bandeau{
		position: fixed;
		width: 64%;
		height: 4em;
	}
	#header{
		font-size: 1.05em;
		padding-top: 4%;
	}
	.imgnavarticle{
		width: 80%;
	}
	.logo {
		width: 45%;
	}
	#banner li{
		display: inline-block;
		font-size: 1.1em;
	}
	.navarticle li{
		width: 25%;
		display: inline-block;
	}
}
