* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container-gallery {
  position: relative;
  align: center;
}

/* Small devices (phones, 850px and down) */
@media only screen and (max-width: 600px) {
.container-gallery img {
  radius: 8px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
}
/* Medium devices (phones, 850px and down) */
@media only screen and (min-width: 600px) {
.container-gallery img {
  radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
}

/* Large devices (phones, 850px and down) */
@media only screen and (min-width: 900px) {
.container-gallery img {
  radius: 8px;
  width: 100%;
  height: 450px;
  object-fit: cover;
}
}

.block {
 display:block;
}

/* 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: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  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: 30;
  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);
}

.thumbs:after {
  content: "";
  display: table;
  clear: both;
}

/* 6 columns side by side */
.column-thumbs {
  float: left;
  width: 16.66667%;
}

/*.column-thumbs img {
height: 100px;
width:100%;
}*/

/* Add a transparency effect for thumnbail images */
.demo {
  filter: grayscale(100%);
}

.active,
.demo:hover {
  filter: grayscale(0%);
}
