#photo_galerie {
  width: 100%; /* largeur de la galerie */
  margin: 0 auto;
  margin-bottom: 0px;
  padding-right: 0;
  padding: 10px;
  border-right: 0px dashed #575762;
  background: #023047;
}
#photo_galerie ul {
  width:100%;
  margin:0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
}

#photo_galerie li {
  height: 15vh; /* hauteur des zones d'affichage des photos*/
  flex-grow: 1;
  margin: 10px;
  list-style-type: none;
}

#photo_galerie li:last-child {
  // There's no science in using "10" here. In all my testing, this delivered the best results.
  flex-grow: 10;
}

#photo_galerie img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.expo_photos {
  width:100%;
  margin:0 auto;
  display:flex;
  flex-direction: row;
  justify-content:space-between;
  border: 0px solid lime;
  padding:5px;
  margin-bottom: 20px;
}

/* Grid des catégories de photos --- */
/*
.card-title h5 {
	color: #FB8500;
}
.card-footer {
  background: #023047;
}
*/
.grid_categorie { 
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  }

.categorie_photo {
  width: 310px;
  margin: 0 10px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #d2d2d2;
  box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
}
.categorie_photo h3 {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #FFFF;
  margin: 0;
  padding:0;
  background: #575762;
}

.content_photo {
  width: 100%;
  max-width: 100%;
}

.zone_photocat {
  position: relative;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 10px;
}

.content_photo img {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.content_photo img {
  transition: transform 0.4s, filter 0.8s ease-in-out;
  transform-origin: center center;
  filter: brightness(100%);
	filter: opacity(0.8);
	-webkit-filter: opacity(0.8);
}
.content_photo:hover img {
    filter: brightness(100%);
    transform: scale(1.2);
	  filter: opacity(1.0);
	  -webkit-filter: opacity(1.0);
}


.photo_info {
  width: 100%;
  margin: 0 auto;
  margin-top: 3px;
  display: flex;
  flex-direction: row;
  justify-content: space-around; 
}

.content_nombre {
  position: absolute !important;
  top:10px;
  left: 10px;
  width: 40px;
  height: 40px;
  padding: 5px;
  text-align: center;
  background-color: #FFD34C;
  overflow: hidden;
  z-index: 2;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  border: 2px solid #023047;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nombre {
	position: relative;
	display: block;
	text-transform: uppercase;
	color: #023047;
	font-size: 1.2em;
    font-weight: 600;
}