body {
  background-color: #f1f1f1;
}

.clsFullWidthContainer {
  width: 100%;
  margin: 16px auto 0 auto;
  text-align: center;
}

#idImageWrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.clsImageBox {
  max-width: 320px;
  margin: 16px auto 0 auto;
  flex-basis: 100%;
  display: flex;
  flex-direction:column;
  justify-content: space-between;
  align-items: center;
}

.clsImageTitle {
  margin-bottom: 0;
}

.clsImageSubtitle {
  margin-top: 0;
}

.clsImage {
  width: 60%;
  height: auto;
}

.clsImage:hover {
  opacity: 0.7;
}

#idModalContainer {
  margin: 0 auto;
  text-align: center;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1;  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

#idModalImage {
  width: 100%;
  height: 100%;  
}

#idModalCloseButton {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#idModalCloseButton:hover,
#idModalCloseButton:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#idModalNextButton {
  position: absolute;
  top: 50%;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#idModalNextButton:hover,
#idModalNextButton:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#idModalPrevButton {
  position: absolute;
  top: 50%;
  left: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

#idModalPrevButton:hover,
#idModalPrevButton:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

