* {
  box-sizing: border-box !important;
}

img {
  vertical-align: middle !important;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
  position: relative !important;
}

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

.middle{
  position: initial;
  margin-left: 25%;
}

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

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer !important;
  position: relative !important;
  
  width: auto !important;
  padding: 4px 60px !important;
  margin-top: -50px !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 20px !important;
  border-radius: 0 3px 3px 0 !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Position the "next button" to the right */
.next {
  right: 0 !important;
  border-radius: 3px 0 0 3px !important;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: white !important;
  color: black !important;
}

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


.close{
   background-color: red !important; 
  font-size: 12px !important;
  padding: 8px 12px !important;
  position: absolute !important;
  top: 0 !important;
    right: 0 !important;
    border-radius: 3px 0 0 3px !important;
    color: white !important;
    border: none !important;
}

.close:hover{
    background-color:white !important; 
    color: red !important;
}

/* Container for image text */
.caption-container {
  text-align: center !important;
  background-color: #222 !important;
  padding: 4px 16px !important;
  color: white !important;
  margin-left: 25%;
  margin-right: 25%;
}

.row{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.row:after {
  content: "" !important;
  display: table; !important;
  clear: both !important;
  
}


/* Six columns side by side */
.column {
    margin: 10px !important;
    padding: 20px !important;
    width: 20% !important;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6 !important;
}

.active,
.demo:hover {
  opacity: 1 !important;
}