/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

main{
	padding-bottom: 0px !important;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.gallery-image {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
  }
  
  .gallery-image img {
    width: 350px;
    height: 250px;
    transform: scale(1.0);
    transition: transform 0.4s ease;
    object-fit: cover;
  }

  img.vertical {
    width: 350px;
    height: auto;
    transform: scale(1.0);
    transition: transform 0.4s ease;
  }
  
  .img-box {
    box-sizing: content-box;
    margin: 10px;
    height: 250px;
    width: 350px;
    overflow: hidden;
    display: inline-block;
    color: white;
    position: relative;
    background-color: white;
  }
  
  .caption {
    position: absolute;
    bottom: 5px;
    left: 20px;
    opacity: 0.0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .transparent-box {
    height: 250px;
    width: 350px;
    background-color:rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 0.3s ease;
  }
  
  .img-box:hover img { 
    transform: scale(1.1);
  }
  
  .img-box:hover .transparent-box {
    background-color:rgba(0, 0, 0, 0.5);
  }
  
  .img-box:hover .caption {
    opacity: 1.0;
  }
  
  .img-box:hover {
    cursor: default;
  }
  
  span {
    font-size: 0.8em;
  }
  
  .opacity-low {
    opacity: 0.5;
  }