
* {
  box-sizing: border-box;
}

.DIAgrid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  grid-row-gap: 0;
  grid-column-gap: 3px;
  justify-items: center;
  align-items: center;
}


.DIArow > .DIAcolumn {
  padding: 0 ;
}

.DIArow:after {
  content: "";
  display: table;
  clear: both;
}

.DIAcolumn {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.DIAmodal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content */
.DIAmodal-content {
  position: relative;
  background-color: rgba(0, 0, 0, 0.8);
  margin: auto;
  padding: 0;
  max-width:600px;
  max-height:600px;
}

/* The Close Button */
.DIAclose {
  color: white;
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 35px;
  font-weight: bold;
}

.DIAclose:hover,
.DIAclose:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}

.myDIASlides {
  display: none;
}

.DIAcursor {
  cursor: pointer;
}

/* Next & previous buttons */
.DIAprev,
.DIAnext {
  cursor: pointer;
  position: absolute;
  top: 80px;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.DIAnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.DIAprev:hover,
.DIAnext:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.DIAnumbertext {
  color: white;
  font-size: 0.7em;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.myDIASlides img {
  margin-bottom: -6px;
  padding:0;
}


.caption-container {
  color: white;
  font-size:1.0em;
  text-align: center;
  background-color:grey;
  padding: 0.5em; 
}

.DIAdemo {
  opacity: 0.6;
}

.DIAactive,
.DIAdemo:hover {
  opacity: 0.8;
}

img.DIAhover-shadow {
  transition: 0.3s;
}

.DIAhover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(203,239,249,1), 0 8px 24px 0 rgba(203,239,249,0.8);
}