/* Modal Header */
.wpTabmodal-header {
    padding: 2px 16px;
    color: white;
}

/* Modal Body */
.wpTabmodal-body {padding: 2px 16px;}

/* Modal Footer */
.wpTabmodal-footer {
    padding: 2px 16px;
    color: white;
}

/* Modal Content */
.wpTabmodal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* The Close Button */
.wpTabclose {
    color:white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.wpTabclose:hover,
.wpTabclose:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Container needed to position the overlay. Adjust the width as needed */
.wp_foto_container {
    position: relative;
    width: 60px;
    float: left;
    margin: 5px;
  }
  
  /* Make the image to responsive */
  .wp_foto_image {
    width: 100%;
    height: 50px;
  }
  
  /* The overlay effect (full height and width) - lays on top of the container and over the image */
  .wp_foto_overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: red;
  }
  
  /* When you mouse over the container, fade in the overlay icon*/
  .wp_foto_container:hover .wp_foto_overlay {
    opacity: 1;
  }
  
  /* The icon inside the overlay is positioned in the middle vertically and horizontally */
  .wp_foto_icon {
    color: white;
    font-size: x-large;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  a.wp_foto_icon:hover {
      color:#ffffff;
      cursor:pointer;
  }
  
