h1{
    margin-top: -39px;
}

.titreslider{
  text-align: center;
  color : #b49761;
  font-size: 40px;
  font-family: sans-serif;
  margin: 2% auto;
  
}

.galerie{
    width: 25%;
    padding : 4%;
}

.imageDeFond{
    z-index: 2;
 }

 .titre-photo{
    text-align: center;
    color : #b49761;
    font-size: 40px;
    font-family: sans-serif;
    margin-top: 5%;
 }

 #photospectacle{
    display: flex;
    flex-wrap: wrap;
    margin-left: 5%;
 }

#photospectacle img{
    width: 100%;
    margin-bottom: -4px;
    height: 187px;
    width: 290px;
    object-fit: cover;
}

.divphotos .cadre1{
  width : 93%;
  border: 4px solid #b49761;
  border-radius: 0;
}

.divphotos .cadre2{
  border-radius: 0;
  width : 98%;
  border: 3px groove #9f9ea4;
  overflow: hidden;
}

.divphotos .nomspectacle{
    text-align: center;
    font-size: 17px;
    margin-top: 13px;
}

#photospectacle .divphotos img:hover{
   
    transition: 0.9s ease;
    filter:saturate(0.3);
    transform: scale(1.1);
}


/*-------------------------------------------------------CSS du texte "CLIQUEZ ICI" dans la photo--------------------------------------------------*/

.divphotos {
    position: relative;
    padding: 0;
    width: 308px;
    display: block;
    cursor: pointer;
    overflow: hidden;
    margin: 2%;
  }

  .cliqueici {
    opacity: -1;
    font-size: 40px;
    position: absolute;
    top: 0;
    left: 0;
    color: #b49761;
    background-color: transparent;
    width: 300px;
    height: 300px;
    -webkit-transition: all 20ms ease-out;
    -moz-transition: all 20ms ease-out;
    -o-transition: all 20ms ease-out;
    -ms-transition: all 20ms ease-out;
    transition: all 20ms ease-out;
    text-align: center;
    /* height: 20%; */
    
  }
  .divphotos .cliqueici:hover {
    opacity: 1;
    
  }
  
  .divphotos .cliqueici .texte {
    height: 3;
    opacity: 1;

  /*Délai de transition*/
  transition-delay: 0.2s; 
  /*Permet de faire glisser doucement ou non suivant délai choisi, pour le texte "cliquez ici" */
  transition-duration: 0.8s;
  }

  .divphotos .cliqueici:hover .texte {
    opacity: 1;
    transform: translateY(100px);
    -webkit-transform: translateY(81px);
  }
/**************** Page voir les photos ********/

/***************************************** CSS SLIDER PHOTOS****************************************************/
#section-photos{
  padding-bottom: 80px;
}
.diaporama{
  max-width: 1500px;
  margin: auto;
  position: relative;
}

.slides{
  display: none;
  text-align: center;
}
.slides img{
  width: 100%;
  height: 670px;
  object-fit: cover;
  object-position: center;
}
.prev, .next{
  cursor: pointer;
  color: white;
  position: absolute;
  top: 50%;
  /* transform prendra la hauteur de la flèche, prendra la moitié de la flèche et poussera cette moitié vers le haut
  les fleches seront parfaitement au milieu du slide*/
  transform: translate(0, -50%);
  padding: 16px;
  border-radius: 0 3px 3px 0;
  background: #b49761af;
  transition: all .3s;
}

.next{
  /* place la flèche de droite tout à droite, pour éviter qu'elle soit superposée à celle de gauche*/
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover{
  background: #b49761;
}
.dots-photos{
  text-align: center;
  position: absolute;
  bottom: 8px;
  left: 32%;
}
.dot{
  cursor: pointer;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  margin: 10px 2px 0 2px;
  display: inline-block;
  background: #ddd;
  /* prendra 3s pour passer d'une couleur à une autre*/
  transition: all .3s;
}

.active, .dot:hover{
  background: #b49761;
}



/************************************************FIN************************************************************/

.carousel{
  width: 90%;
  display: flex;
  align-items: center;
  margin: auto;
}
.carousel .fas{
  text-shadow: 2px 4px 6px rgb(106, 105, 105);
  margin: 15px;
  font-size: 45px;
}
.carouselBox{
  width: 90%;
  height: 285px;
  overflow: hidden;
  white-space: nowrap;
  margin: 0 10px 100px 10px;
  display: flex;
  align-items: center;
}
.img-carousel{
  min-width: 20%;
  display: flex;
  flex-direction: column;
  margin: 5px 10px;
  overflow: hidden;
  border-width: 0px 0px 2px 15px;
}
.img-carousel img{
  width: 100%;
  cursor: pointer;
  height: 183px;
  object-fit: cover;
}
.img-carousel img:hover{
  border: 2px solid #b49761;
}
.img-carousel img:hover{
  filter: brightness(0.9);
}

/*-----------------------------------------------------------------FIN-----------------------------------------------------------*/
@media all and (max-width: 860px){
    .galerie {
        font-size: 40px;
        width: 100%;
    }

    .titre-photo{
      margin-top: 11%;
    }

    #photospectacle{
      display: block;
    }

    #photospectacle img{
      width: 100%;
      object-fit: cover;
  }

  .divphotos {
    position: relative;
    padding: 0;
    width: auto;
    display: block;
    cursor: pointer;
    overflow: hidden;
    margin: 2%;
    height: 220px;
  }

  .divphotos .cadre1{
    width : 93%;
    border: none;
    border-radius: 0;
  }
  
  .divphotos .cadre2{
    border-radius: 0;
    width : 98%;
    border: none;
    overflow: hidden;
  }

  .slides img{
    height: auto;
  }

  .dots-photos{
    display: none;
  }
}