.headerfonds {
	position : absolute;
	width: 100%;
	height: 600px;
	top: 0;
	left : 0;
	 background-image: url("pageaccueil.jpg");
}
#couche {
	position: absolute;
	position : absolute;
	width: 100%;
	height: 600px;
	top: 0;
	left : 0;
	background-color: transparent;
}
 /******** Slider ************/
 
 #slider1 {
	 position: relative;
	 float: left;
	 width: 50%;
	 height: auto;
	 margin: 0px 2% 20px 0%;
	 box-shadow: 0 0 5px  rgba(0, 0, 0, 0.7);
	 z-index: 1;
 }

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 1;
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 2;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  z-index: 2;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
  
   #blocslider {
	 position: relative;
	 float: left;
	 margin: 0;
 }

   /******** Fin Menu Slider ************/

 /******** Début Menu Annonce ************/
/******** Début Menu Annonce ************/
@keyframes annonce{
0%{opacity: 0}
50%{opacity: 0}
100%{opacity: 1}

	}
#annonce {
	text-align : justify;
	  	font-size: 1em;
	 color:#000;
	 text-decoration:none;
	 font-family: 'Roboto Slab', serif;
	 font-size: 0.9em;
	vertical-align : middle;
    padding: 8px 8px 16px 8px;
    border: 4px solid #ddd;
    position: absolute;
    left: 25%;
    width: 50%;
	height: auto;
    box-shadow: 0px 0px 10px #000;
    border-radius: 10px;
		background-color : #dee0de;
	z-index : 200;
	    top: 50%;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
	animation-name: annonce;
	animation-duration: 6s;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
}
#annonce h2 {
	vertical-align: middle;
  margin-top: 0;
  	font-size: 2em;
	color:#75860c;
	font-family: 'Stint Ultra Condensed', serif;
	text-align: center;
}
#annonce p  {
	position: relative;
	 margin: 10px 1% 10px 0%;
	 color:#000;
	 text-align: justify;
	 text-decoration:none;
	 font-family: 'Roboto Slab', serif;
	 font-size: 1em;
 }
#annonce  p a{
	 text-decoration:none;
	 padding: 2px 4px 2px 4px;
	 margin : 0px 0 10px 0;
	  color:#e39d06;
	  text-align: center;
	 color: #000;
	 border:1px solid #ccc;
	 background:#c6d088;
	 box-shadow:1px 1px 3px #999;
	-webkit-border-radius:3px;
	 border-radius: 3px;
	 font-size: 1.4em;
 }
#annonce p a:hover {
	 border: solid 1px #2A7F00;
	 color:#FFF;
	  background-color: #75860c;
	width:100px;
	box-shadow:1px 1px 3px #999;
	background-image: linear-gradient(#494a13, #75860c);
 }
 #afficheimg {
	display: none;
    position: absolute;
	left:50%; margin-left:-158px;
	top : 7%;
	width : 316px;
	height: auto;
	z-index: 1;
		-webkit-transition: all 0.3s ease-in-out 0s;
    transform: scale(1);
    transition: all 0.3s ease-in-out 0s;
 }
 
 #afficheimg:hover {
    transform: scale(1.2);
}
 
#close {
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  color: #AA1F00;;
  z-index: 205;
}
#close:hover {
  color: red;
}
/******** Fin Menu Annonce ************/
/******** Fin Menu Annonce ************/

    /******** Début Menu Main ************/
.visible{
	display: block;
}

 #datemain {
	 float: none;
	 position: relative;
	 margin : 3% auto 3% auto;
 }
  
 #datemain a{
	 text-align: center;
	 font: 1.5em Arial;
	 padding : 0 8px 0 8px;
	 color: #000;
	 border:1px solid #ccc;
	 background:#c6d088;
	 box-shadow:1px 1px 3px #999;
	-webkit-border-radius:3px;
	 border-radius: 3px;
 }
 
#datemain a:hover {
	border: solid 1px #2A7F00;
	color:#FFF;
	width:100px;
	box-shadow:1px 1px 3px #999;
	background-image: linear-gradient(#494a13, #75860c);
 }

 
/******** Fin Menu Main ************/


 
    /******** Début Menu Lightbox ************/

.droitehaut {
	position: absolute;
	width: 50px;
  float:right;
  top:0;
  right: 0px;
   transition: all 200ms;
}
.cf:before,
.cf:after {
  content:"";
  display:table;
}
.cf:after {
  clear:both;
}

.oModal {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity:0;
  pointer-events: none;
}
 
.oModal:target {
  opacity:1;
  pointer-events: auto;
}
 
.oModal:target > div {
    top: 50%;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);

  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}
 
.oModal > div {
  max-width: 700px;
  position: relative;
  margin: 1% auto;
  padding: 8px 8px 8px 8px;
  border-radius: 5px;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-size: .9em;
  background: #eee;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  max-height: 650px;
  overflow-y: auto;
  }
  
.oModal > div h3 {
  margin:0;
}
 

	
    /******** Fin Menu Lightbox ************/
 
/******** début bandeau déroulant ************/
/* Container DIV - automatically generated */
.simply-scroll-container {
width: 100%;
height: 600px;
  position: relative;
}

/* Clip DIV - automatically generated */
.simply-scroll-clip {
  position: relative;
  overflow: hidden;
}

/* UL/OL/DIV - the element that simplyScroll is inited on
Class name automatically added to element */
.simply-scroll-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

.simply-scroll-list li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.simply-scroll-list li img {
  border: none;
  display: block;
}

/* Custom class modifications - adds to / overrides above

.simply-scroll is default base class */

/* Container DIV */
.simply-scroll {
  max-width: 100%;
  height: 600px;
  margin-bottom: 1em;
}

/* Clip DIV */
.simply-scroll .simply-scroll-clip {
  max-width: 100%;
  height: 600px;
}

/* Explicitly set height/width of each list item */
.simply-scroll .simply-scroll-list li {
  float: left; /* Horizontal scroll only */
  width: 1200px;
  height: 600px;
}
#bandeau {
position: relative;
width: 100%;
height: 600px;
}


    /******** Media Queryes ************/
@media all and (max-width: 1620px) {
}

@media all and (max-width: 1410px) {

}


@media all and (max-width: 1120px) {
	.visible{display: none;}
}



@media all and (max-width: 950px) {
#slider1 {width: 96%; margin: 20px 2%20px 2%;}
.visible{display: block;}
#datemain {	 margin : 6% auto 3% auto;}
#annonce { width : 90%; left : 5%;}
#annonceimg { display: none;}
#annoncetextes {position: relative; width: 100%; float: none;}
}

	
@media all and (max-width : 760px) {
	.oModal > div {width : 90%;}
	#annonce { width: 94%; left: 2%;padding: 4px; border: 0px solid #ddd;}
}


@media all and (max-width: 400px) {
	
	#datemain {font-size: .8em;}
	#annonce p a {font-size: 1.2em;}
	}

@media all and (max-width: 350px) {
	#datemain {font-size: .6em;}

}

@media all and (max-height: 750px) {
.popup {
	top: 10%;
}
}
/******** Fin Media Queryes ************/	