.diaporama{
  margin-bottom: 1%;
}
.taillediaporama{
  max-width:100%; 
  margin:auto; 
  margin-left: 27.5%; 
  margin-right:27.5%;
}
.custom-slider { display: none; }
.slide-container {
  position: relative;
  margin: auto;
}
.prev, .next {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.6s ease;
}
.prev{ left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.5);
}
.slide-text {
  position: absolute;
  color: black;
  font-size: 15px;
  background-color: white;
  width: 100%;
  text-align: center;
}
.slide-index {
  color: black;
  font-size: 13px;
  padding: 15px;
  position: absolute;
  top: 0;
}
.slide-img{ 
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
 }
.slide-dot{ text-align: center; }
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover { background-color: #111111; }
.fade {
  animation-name: fade;
  animation-duration: 1s;
}
@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
} 

@media only screen and (max-width: 800px) {
.taillediaporama{
  width:100%; 
  margin:auto;
  }
.diaporama{
  background-color:white;
}
.slide-text{
  padding-bottom:5%;
}
}
