html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-image: url("images/fond.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;  
  background-position: center center;
  /*background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('images/fond.jpg')*/
 
}

#bloc_page {
	position: relative;
	min-height: 100%;
	font-family: arial,sans-serif;
  margin: auto;
}
#titreaccueil{
	text-align: center;
	border: 3px solid #04B404;
	border-radius: 10px;
	background-color: white;
	}
	
#texteaccueil{
	border: 3px solid #04B404;
	border-radius: 10px;
	background-color: #D8F6CE;
	padding: 10px;
}	
	
#bloc_contenu {/*Bloc qui contient l'entête, le menu et les blocs de la page*/
	border: 1px solid transparent; /* ne se voit donc pas mais positionne le tout en haut de page??*/
	padding-bottom: 120px; /* espace ente le bas et le haut du pied de page*/
}
.cadre_centre { /*cadre de toutes pages*/
	margin-left: 50px;
	width: 1024px;
	min-height: 800px;
  padding: 0;/* Marge intérieure*/
  text-align: justify;
 	/*border: 1px solid #9d1102;
   border-radius: 6px;
   background-color: hsla(120, 100%, 75%, 0.3);/* gris clair semi-transparent*/
}
.accueil {
    background-image: url(images/accueil.png);
}
#marge_basse{ margin-top: 10px;}/*Marge du menu et du fondu*/
#marge_haute{ margin-top: 15px;}/*cadre des actus du carrousel*/
.btnaccueil{
	margin-left: 50px;
	margin-top: 40px;
	width: 80px;
	height: 60px;
	overflow: hidden;
	padding: 0;
	border: 3px solid #58ACFA;
   border-radius: 6px;
   box-shadow: 0px 2px 5px #1c1a19;
}
#cadre_entete {
	 display: inline-block;
	 position: relative;
	 margin-top: 10px;
    margin-left: 30px;
    /*margin-right: 100px;*/
    min-height: 300px;
    min-width: 1024px;
    padding: 12px;
    text-align: justify;
    opacity: 1;
    box-shadow: 6px 6px #04B404;/* Taille et couleur de l'ombre*/ 
    border: 1px double #00008b;
    border-radius: 10px;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: #fff;
}
.titreparagraphe {
	text-align: center;
	background-color:white;
	border: 3px solid #58ACFA;
	border-radius: 6px;
   box-shadow: 0px 2px 5px #1c1a19;
}
.traitparagraphe{
	display:inline-block;
	vertical-align:middle; 
	width: 300px;
	border-bottom: 5px solid #58ACFA; /*rgb(157,17,2,0.6); /*#9d1102;*/
}
.traitparagraphecourt{
	display:inline-block;
	vertical-align:middle; 
	width: 20%;
	border-bottom: 5px solid #58ACFA; /*rgb(157,17,2,0.6); /*#9d1102;*/
}
.textelarge {font-size: large;}
.textegras {font-weight: bold;}
#infoparcours{
	font-size: 1.125em;

}

/*Mise en page d'articles avec photos*/
section {
  display: flex;
  margin-bottom: 20px;
}
article, aside {text-align: justify;
}
article {
	margin: 0 20px 0 20px;
	border-radius: 6px;
   box-shadow: 0px 2px 5px #1c1a19;
	flex: 3;
}
article p {
	margin: 30px;
	/*font-size: 0.9em; /*1em= taille normale, moins:plus petite*/
	font-size: 1.875em;/*Taille des caractères de l'article*/
}
aside {
  flex: 1.2;
  position: relative;
  background-color:#D8F6CE; /* #F5D0A9; /*#706b64;*/
  border-radius: 6px;
  box-shadow: 0px 2px 5px #1c1a19;
  padding: 10px;
  color: black;
  font-size:medium;/*Taille des caractères de la zone flèchée*/
  font-weight: bolder;
  margin: 0 10px 0 10px;
}
aside img {margin: 0 5px 0 5px;}

.fleche_gauche {
	position: absolute;
  top: 20%;
  left: -17px;
}
.fleche_droite {
	position: absolute;
  top: 20%;
  right: -17px;
}
.photo_article {text-align: center;}

.photo_article img {
  border: 1px solid #9d1102;
  border-radius: 6px;
}
#fond_jaune{background-color:#F7F8E0;}
#fond_vert{background-color: #E0F8E0;}
#fond_bleu{background-color: #E0E6F8;}
#fond_mauve{background-color: #FBEFFB;}
#fond_gris{background-color: #F2F2F2;}

/*Mise en page avec des blocs*/
.blocinfos{/*Bloc contenant les paragraphes*/
	display: inline-flex;
	flex-wrap: wrap;
	position: relative;
	margin: 10px 10px 10px 10px;
	padding: 12px;
	font-size: medium;
	border-radius: 6px;
   box-shadow: 0px 2px 5px #1c1a19;
	/*border: 1px solid #9d1102;*/
}
.textebloc{
	margin: 10px;
	overflow: auto;/*création auto d'un ascenseur*/
}
.bordimages {
	border-radius: 6px;
	border: 2px solid #58ACFA;/*black;*/
	margin: 1px;
}
#carte {
 width:600px;
 height:350px;
 border-radius: 6px;
 border: 5px solid red;
}

/*Carrousel accueil*/
#bloc_carrousel {
	display: inline-block;
	position: relative;
	/*position: absolute;*/
	top: 50px;
	left: 250px;
	width: 600px;/*Taille image . Donner la même valeur que le pourcentage de width du carrousel figure*/
	height: 400px;
	color: white;
	min-height: 200px;
	overflow: hidden;
	border-radius: 6px;
	border: 3px solid #04B404;
}
.texteinfo{
	text-decoration: none;
	color: white;
	font-size: large;
}
#carrousel {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;/*aligne toutes les images horizontalement par défaut*/
  max-height: 100%;
  /*CSS3 keyframes animation*/
  animation-name: slide;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
#carrousel:hover {
    animation-play-state: paused; /* Mise en pause de l'animation */
}
#carrousel figure {
  display: inline-block;
  width: 600px;/*Donner la valeur exacte de la largeur de l'image*/
  max-height: 100%;
  margin: 0;
}
#carrousel figure img {
  height: 100%;
  width: 100%;
  position: relative;/*Centrer l'image verticalement si celle-ci ne peut être affichée totalement*/
  top: 50%;
	transform: translateY(-50%);
}
#carrousel figure figcaption {
	position: absolute;
	top: 0; /*place le texte en haut*/
   height: 5%;/*Env. 20px pour img de 400px*/
   text-align: center;
   width: inherit;
   background-color:blue;/*Fond de l'étiquette (r,v,b,opacité*/
   color:white;
}
.commande_puces  {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding:0;
  margin: 0;
	text-align: center;
}
.commande_puces li {
   display: inline;
   padding:0; margin:0;
}
.commande_puces label {
  position: relative;
  display: inline-block;
  height:12px;
  width: 12px;
  margin: 0 5px;
  text-indent: -9999px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.55) inset;
  cursor: pointer;
}
.commande_puces label:active {
  outline: none;
  background: #9d1102;
}
#play {
  position: absolute;
  cursor: pointer;
  bottom: 2em;
  right: 2em;
  width: 0;
  height: 0;
  left: 10px;
  border-top: 1em solid transparent;
  border-bottom: 1em solid transparent;
  border-left: 1em solid rgba(157,17,2,0.9);
  display: none;
  text-indent: -9999px;
}
#bloc_carrousel input[type="radio"] {
  display: none;
}
#bloc_carrousel input[type="radio"]#montre_image1:checked ~ .navcarrousel .commande_puces li:nth-of-type(1) label,
#bloc_carrousel input[type="radio"]#montre_image2:checked ~ .navcarrousel .commande_puces li:nth-of-type(2) label,
#bloc_carrousel input[type="radio"]#montre_image3:checked ~ .navcarrousel .commande_puces li:nth-of-type(3) label,
#bloc_carrousel input[type="radio"]#montre_image4:checked ~ .navcarrousel .commande_puces li:nth-of-type(4) label {
   outline: none;
   background: #9d1102;
}

#bloc_carrousel input[type="radio"]#montre_image1:checked ~ div#carrousel {
   animation: none;
   left: 0;
}
#bloc_carrousel input[type="radio"]#montre_image2:checked ~ div#carrousel {
   animation: none;
   left: -600px; /*2ème image taille de l'image*/
}
#bloc_carrousel input[type="radio"]#montre_image3:checked ~ div#carrousel {
   animation: none;
   left: -1200px /*3ème image le double etc.*/
}
#bloc_carrousel input[type="radio"]#montre_image4:checked ~ div#carrousel {
   animation: none;
   left: -1800px /*4ème image le triple etc.*/
}

#bloc_carrousel input[type="radio"]:not(:nth-last-of-type(1)):checked ~ .navcarrousel label#play {
   display: block;
}
#bloc_carrousel input[type="radio"]#play:checked ~ div#carrousel {
   animation-name: slide;
   animation-duration: 20s;
   animation-iteration-count: infinite;
   animation-timing-function: ease-in-out;
   animation-fill-mode: forwards;
}
/*Animation %1=démarrage %2=délai attente le 3eme de la ligne1 étant le maximum(100%) */
@keyframes slide {
	0%, 20%, 100% {
  		left: 0; /*1ère image*/
  }
  25%, 45% {
      left: -600px; /*2ème image taille de l'image*/
  }
  50%, 70% {
      left: -1200px /*3ème image le double etc.*/
  }
  75%, 95% {
      left: -1800px /*4ème image le triple etc.*/
  }
}
#pied_de_page {
	position: absolute;
	height: 90px;
	width: 1024px;
	bottom: 0px;
	left: 50px;
	font-family: sans-serif;
	font-size: x-small;
	background-color: #C7C5C5; /*#f5f5f5;*/
  	text-align: center;
   border-radius: 10px;
}

#galerie-menu 
{
	width:1024px;
	margin:auto;
	border:solid;
	border-radius:5px;
	box-shadow:2px 2px 5px gray;
	background: #ccc;
	text-align:center;
	}
#galerie-menu a img 
{
	height:150px;
	width:230px;
	border:none;
	vertical-align:top;
}
#galerie-menu a 
{
	border-radius:15px;
	display:inline-block;
	transform:scale(0.75);
	overflow:hidden;
	box-shadow: 0 0 15px gray;
	border:solid white;
	transition:1s;
	z-index:1;
}
#galerie-menu a:hover,#galerie-menu a:focus 
{
	transform:scale(1.35);
	transform-origin:top center;
	z-index:5;
	background:white;
	transition:1s;
}
#galerie-menu a:before 
{
	content:attr(title);
	position:absolute;
	color:white;
	bottom:0;
	box-shadow:0 0 3px white;
	display:block;
	width:100%;
	background:rgba(0,0,0,0.3);
}