body {
  font-family: Arial;
  margin: 0;
}

* {
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}


/* wrapper1 : englobe toute la gallerie */
#wrapper1 {
  position: relative;  /* indispensable au bon positionnement des flêches next/previous */
  width: 85%           /* taille de l'ensemble */
}


/* Hide the images by default */
.mySlides {
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 20%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  background-color: rgba(0, 0, 0, 0.2);
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 4px;
  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);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 50%;
}

/* Container for image text */
.caption-container {
  width: 99.4%;
  text-align: center;
  background-color: #222;
  padding: 12px 16px 2px 16px;
  color: white;
}


/* Outer */
#outer {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.img-responsive {
  display: table-cell;
  vertical-align: top;
  width: auto;
}


/* Add a transparency effect for thumnbail images */
.img-responsive {
  opacity: 0.6;
}

.active,
.img-responsive:hover {
  opacity: 1;
}

/* Pour la gallerie 3 images dans le blog et pour écraser le green css */
#blog-post #post-content img{
  max-width: 100%;
  height: auto;
  display: table-cell; /* au lieu de block pour s'afficher en ligne */
  margin: auto;
}