* {
  box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.gallerycontainer {
  position: relative;
  top: 30px;
  margin: 0 auto;
  width: 99.5%;
  /*max-width: 920px;*/
}

/* Hide the images by default */
.slide {
  display: none;
}

/* 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;
  user-select: none;
  -webkit-user-select: none;
}

.prev {
	border-radius: 0 5px 5px 0;
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

/* On hover, add a blue background color with a see-through */
.prev:hover, .next:hover {
	background-color: rgba(13, 68, 127, 0.4);
}


/* Container for image text */
.caption-container {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  height: 30px;
  position: relative;
  top: -33px;
  padding-top: 5px;
}

p#caption {
	color: black;
}

.row{
	position: relative;
	top: -29px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* 5 - 10 Bildspalten */
.columns-5 {
  float: left;
  width: 20%;
}
.columns-6 {
  float: left;
  width: 16.6667%;
}
.columns-7 {
  float: left;
  width: 14.2857%;
}
.columns-8 {
  float: left;
  width: 12.5%;
}
.columns-9 {
  float: left;
  width: 11.1111%;
}
.columns-10 {
  float: left;
  width: 10%;
}

/* Thumbnails Transparenz */
.thumb {
  opacity: 0.7;
}

img.active, .thumb:hover {
  opacity: 1;
  cursor: pointer;
  border: 3px solid orange;
  border-opacity: 0.8;
}