@charset "UTF-8";
/* Formatierungen Website anklickbare Bilder */


* {
  box-sizing: border-box;
}

.imgrow {
  display:flex;
  flex-wrap: wrap;
  }

/* Create four equal 4 columns that floats next to each other */
.column4 {
  float: left;
  width: 25%;
  text-align:center;
  padding: 5px;

}
/* Create four equal 3 columns that floats next to each other */
.column3 {
  float: left;
  width: 33%;
  text-align:center;
  padding: 5px;
}

/* Clear floats after rows */ 
.imgrow:after {
  content: "";
  display: table;
  clear: both;
}

/* Content: img, article, etc */
.imgcontainer {
  text-align:center;
  padding:0;
  margin:0;
  }
.imgcontainer:hover {
  cursor:pointer;
}
  
.article {
  background-color: pink;
  padding: 5px;
  text-align:center;
  max-height:100px;
  overflow:scroll;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
  .column4 {
    width: 50%;
  }
  .column3 {
   width: 80%; 
  }
}

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

/*---------------------------*/

/* The Modal (background for articles! modal) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #5D843F;
}

/* Modal Content */
.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;  
  max-width: 800px;
  text-align:center;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: gray;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

img.demo {
  margin-bottom: -4px;
  max-width:100%;
}

/*Feld für Bildunterschrift*/
.caption-container {
  text-align: center;
  background-color: #5D843F;
  padding: 2px 16px;
  color: white;
}

/*Ende Formatierungen für die Lightbox*/


