/*
	Web-site design and coding by Hugh Wygmans www.Huetensil.com	  
*/

#popBox {
  display: none;
  padding: 0px;
  margin: 0px auto;
  background-color: rgba(0, 0, 0, .8);
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
}
/*Using the table to center the content horizontally*/
#horAlign {
  display: table;
  margin: 0px auto;
  height: 100%;
}
/*Using the cell of the table to center the content vertically*/
#vrtAlign {
  display: table-cell;
  vertical-align: middle;
}
#pics {
  margin: 0px;
  padding: 0px; 
  display: flex;
  min-width: 0px;
  justify-content: center; 
  align-items: center;
}
#pics img {
  max-width: 100%;
  display: block;
}
/*Close Button */
#close {
  color: #ffffff;
  position: relative;
  font-size: 35px;
  font-weight: bold;
  float: right;
  transition: 0.6s;
  border-radius: 3px;
  padding: 0px 10px;
  margin-left: -43px;
  z-index: 1;
}
/*Next & previous buttons */
#prev, #next {
  cursor: pointer;
  padding: 15px;
  color: #ffffff;
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s;
  border-radius: 3px;
}
#next {
  margin-left: -43px;
}
#prev {
  margin-right: -43px;
  z-index: 1;
}
/*End Next & Previous buttons */
/*Hover for the buttons*/
#close:hover, #close:focus, #prev:hover, #prev:focus, #next:hover, #next:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
}
#thumbs {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
	width: 97.5%;
	max-width: 780px;
  margin: 0px auto;
}
#thumbs img {
  display: block;
    width: 90px;
  height: 90px;
	border: 1px solid;
 	margin: 0px 9px 19px;
  transition: .15s;
}
#thumbs img:hover {
  box-shadow: 6px 6px 10px #666666;
  width: 95px;
  height: 95px;
  margin: 0px 4px 13px 9px;
}
#caption, #credits {
  color: #ffffff;
  width: 97.5%;
	max-width: 780px;
  text-align: center;
  /*background-color: rgba(0, 0, 0, .35);*/
}
#caption {
	margin: 10px auto;
}
#credits {
	font-size: 12px;
	margin: 0px auto;
}
/*Full screen for mobil devices */	
@media all and (max-width: 390px) {
/*#caption, #credits {
    display: none;
  }*/
  #horAlign, #pics img {
    width: 100%;
  }
  #popBox {
    background-color: #000000;
  }
}