/* Style the Image Used to Trigger the Modal */
/* nelsigns color: #ef522c; */

img {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.loadBtn{
	background-color: #ef522c;
	color: white;
	border: thin;
	border-radius: 10px;
}
.loadBtn:hover {
	background-color: #F38064;	
}

.gallery:hover {
	opacity: 0.7;
}

.images {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  width:100%;
  max-width:1100px;
}
/* The Modal (background) */
#image-viewer {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
	width: 100%;
	max-width: 1020px;
}
.modal-content { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
#image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
	.modal-content {
		width: 100%;
	}
}

.image-column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.image-column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 768px) {
  .image-column {
    flex: 50%;
    max-width: 50%;
  }
  .images {
	max-width:none;
  }
  .responsive {
    width: 50%;
	margin: 6px 0;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 576px) {
  .image-column {
    flex: 100%;
    max-width: 100%;
  }
  .images {
	max-width:none;
  }
  .responsive {
    width: 100%;
	margin: 6px 0;
  }
}

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