
.w3-display-container:hover{
  background: rgba(0, 0, 0, 0.2); 
}
  
#img-container {
  display:block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
}

.mySlides {display: none}


/* Slideshow container */

.slideshow-container {
  position: absolute;
  margin: auto;
  vertical-align: middle;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  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 {
  display: relative;
  align-items: center;
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 50px;
  width: 100%;
}

.overlay {
  display:none;
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top:10%;
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  align-items: center;
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.btn-simple{
  border:none;
  background:white;
}

.description{
  color: brown;
  margin: 0 2px;
  font-size: 19px;
  font-weight: bolder;
  padding: 0px 0px;
  position: relative;
  border-radius: 50%;
  align-items: center;
  vertical-align: middle;
}

.details {
  color: white;
  margin: 0 2px;
  font-size: 16px;
  padding: 0 12px;
  position: relative;
  border-radius: 50%;
  vertical-align: middle;
  align-items: center;
}

.ref{
  color: white;
  margin: 0 2px;
  font-size: 14px;
  padding: 2px 0;
  position: relative;
  border-radius: 50%;
  display: block  ;
  align-items: center;
}


.carousel-control-prev, .carousel-control-next{
  position: absolute;
  top: 10%;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 50px;
  right: 45px;
  font-size: 50px; 
}

.row{
  grid-template-rows: max-content;
}


/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay .closebtn {
    font-size: 40px;
    top: 50px;
    right: 20px;
  }
}