.photogallery > a {
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
}

.photogallery::after {
  content: "";
  clear: both;
  display: table;
}
	
.photogallery > a > img {
      -webkit-transition: -webkit-transform 0.5s ease 0s;
      -moz-transition: -moz-transform 0.5s ease 0s;
      -o-transition: -o-transform 0.5s ease 0s;
      transition: transform 0.5s ease 0s;
      -webkit-transform: scale3d(1, 1, 1);
      transform: scale3d(1, 1, 1);
      
    }
.photogallery > a:hover > img {
      -webkit-transform: scale3d(1.1, 1.1, 1.1);
      transform: scale3d(1.1, 1.1, 1.1);
      transition: transform 1s ease;
    }

    /*/*/

.photogallery > a .photo-gallery-hover-icon {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.5s ease 0s;
    -o-transition: background-color 0.5s ease 0s;
    transition: background-color 0.5s ease 0s;
}


.photogallery > a:hover .photo-gallery-hover-icon > img {
    opacity: 1;
}

.photogallery > a:hover .photo-gallery-hover-icon {
    background-color: rgba(0, 0, 0, 0.2);
}

.photogallery > a .photo-gallery-hover-icon > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
}
