@charset "utf-8";
.mySlides {
  display: none;
}

/* Slideshow container */
#banniere_defilante div.slideshow-container {
  margin: auto;
}

/* Caption text */

/* Number text (1/3 etc) */
#banniere_defilante div.slideshow-container div.mySlides.fade div.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  top: 0;
}

/* The dots/bullets/indicators */
#banniere_defilante div span.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

#banniere_defilante div#div_dots span.dot.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {
    font-size: 11px
}
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;


  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/*Mon code */

#banniere_defilante div#div_dots{
  margin-top: 1rem;
}
@media screen and (min-width: 701px){ 
#banniere_defilante div.slideshow-container div.mySlides.fade div.text {
  color: #f2f2f2;
  font-weight: bold;
  width: 100%;
  text-align: center;
  background-color: #000;
  opacity: 0.5;
  font-size: 1.5rem;
}
#banniere_defilante{ /*passer en automatique*/
  margin-top: 0.3rem; 
 /* min-height:  33.2rem;
  max-height:  33.2rem;*/

}
#b1{
  background-image:url("../images/b1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 20rem;
  max-height: 20rem;
}
#b2{
  background-image:url("../images/b2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 20rem;
  max-height: 20rem;
}
#b3{
  background-image:url("../images/b3.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 20rem;
  max-height: 20rem;
}}
@media screen and (max-width: 700px){
#banniere_defilante div.slideshow-container div.mySlides.fade div.text {
  color: #f2f2f2;
  font-weight: bold;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  background-color: #000;
  opacity: 0.5;
}
  #banniere_defilante{ /*passer en automatique*/
  margin-top: 0.3rem; 
  min-height:  20.2rem;
  max-height:  20.2rem;

}
#b1{
  background-image:url("../images/b1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 17rem;
  max-height: 17rem;
}
#b2{
  background-image:url("../images/b2.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 17rem;
  max-height: 17rem;
}
#b3{
  background-image:url("../images/b3.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-height: 17rem;
  max-height: 17rem;
}}
@media screen and (min-width: 700px){
html body div#container div#global div#milieu div.liste div#bannieres_accueil div#annonce{
color:#f1964f;
font-size: 2rem;
text-align: center;
}}
@media screen and (max-width: 699px){
html body div#container div#global div#milieu div.liste div#bannieres_accueil div#annonce{
color:#f1964f;
font-size: 1.2rem;
text-align: center;
}}
