/* Template CSS Styles */

.cs-image {
   float:center; 
   width:100%; 
   display: relative;
   object-fit: cover;
   object-position: center;
}

.slideshow-container {
  max-width: 800px;
  position: relative;
  margin: auto;
  padding: 0 10px 0 10px;
}

/* Boutons next & previous */
.prev, .next {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0%;
  color: white;
  font-size: 50px;
}

/* Position de "next button" à la droite */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* En survol, ajoutez la couleur noire de l'arrière-plan avec un peu see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0);
}

/* Caption */
.slide-text {
  position: absolute;
  color: #000;
  font-size: 14px;
  padding: 0px;
  bottom: -15px;
  width: 100%;
  text-align: center;
}

.slide-desc {
  position: absolute;
  color: #000;
  font-size: 15px;
  padding: 0px;
  bottom: -13px;
  width: 100%;
  text-align: center;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 2px;
  background-color: #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6sease;
}
.active,
.dot:hover {
  background-color: #111111;
}
/* Fading animation */
/* .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
} */

/* -webkit-keyframesfade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
-keyframesfade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
} */

/* On smaller screens, decrease text size */
@media only screen and (max-width:480px) {
.prev,
.next,
.text {
    font-size: 11px;
  }

/* Caption */
.slide-text {
  position: absolute;
  color: #000;
  font-size: 10px;
  padding: -10px;
  bottom: -15px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 8px;
  width: 8px;
}

.prev {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0%;
  color: white;
  font-size: 30px;
}

.next {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0%;
  color: white;
  font-size: 30px;
}

} /* FIN @media only screen and (max-width:480px) */

