#albums .img-fluid {
  max-height: 316px;
}

#albumsDisplayGallery,
#albumsDisplayImages {
  display: none;
}

#albums .portfolio-item,
#albumsDisplayGallery .portfolio-item,
#albumsDisplayImages .portfolio-item {
  cursor: pointer;
}

#albums .portfolio-wrap {
  background: white;
}

#galleryPassword {
  margin-right: auto;
  margin-left: auto;
  width: 60%;
}

#passwordModal > div > div > label {
  text-align: center;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.gallery-back-button,
.images-back-button {
    padding-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

#albumsDisplayGallery .download{
    padding-bottom: 30px;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    color: #5c9f24;
    text-decoration: none;
    cursor: pointer;
}



/* The Image Modal (background) */
.image-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 60px;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  z-index: 1000;
}

/* Modal Content (image) */
.image-modal-content {
  margin: auto;
  display: block;
  width: 55%;
}

/* Add Animation */
.image-modal-content, .download-image-modal {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.image-close {
  position: absolute;
  top: 15px;
  right: 280px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
}

.image-close:hover,
.image-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.download-image-modal {
  color: #f1f1f1;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  padding: 10px 0;
  height: 150px;
  padding-bottom: 200px;
  font-size: 30px;
  font-weight: 700;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1125px){
  .image-close {
    right: 180px;
  }
  .image-modal-content {
    width: 65%;
  }
}

@media only screen and (max-width: 700px){
  .image-modal-content {
    width: 100%;
  }
  .image-close {
    right: 10px;
  }
}

