div.entry {
    margin: 0px;
    border: 1px solid #ccc;
    float: left;
    width: 100%;
	transition:all .31s;
	margin-bottom:30px;
	position:relative;
}

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

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

div.desc {
    padding: 5px;
    text-align: center;
	min-height:55px;
}

div.desc h3{
	font-size:18px;
	margin-top:0px;
	
}

div.desc p{
	font-size:12px;
	margin-bottom:0px;
}

div.gallery-image{
	width:100%;
	background-size:cover;
	min-height:150px;
	background-position:center center;
}

div.overlay{
	position:absolute;
	background-color:rgba(255,255,255,0.3);
	top:0;
	right:0;
	left:0;
	opacity:0;
	transition:all .8s;
	bottom:0;
}

div.overlay a i{
	position: absolute;
    height: 40px;
    width: 40px;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 41px;
    top: 28%;
	color:#333;
}

div.overlay a{
	width: 100%;
    height: 100%;
    display: block;
}

div.overlay a i:hover{
	color:#333;
}

div.entry:hover > div.overlay{
	opacity:1;
}

.media {
  display: inline-block;
  position: relative;
  vertical-align: top;
  width:100%;
  min-height:250px;
  background-size:cover;
  background-position:center center;
  margin-bottom:30px;
}

.media__image { display: block; }

.media__body {
  background: rgba(0, 0, 0, 0.7);
  bottom: 0;
  color: white;
  font-size: 1em;
  left: 0;
  opacity: 0;
  overflow: hidden;
  padding: 3.75em 3em;
  position: absolute;
  text-align: center;
  top: 0;
  right: 0;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.media__body:hover { opacity: 2; }

.media__body:after,
.media__body:before {
  border: 1px solid rgba(255, 255, 255, 0.7);
  bottom: 1em;
  content: '';
  left: 1em;
  opacity: 0;
  position: absolute;
  right: 1em;
  top: 1em;
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  -webkit-transition: 0.6s 0.2s;
  transition: 0.6s 0.2s;
}

.media__body:before {
  border-bottom: none;
  border-top: none;
  left: 2em;
  right: 2em;
}

.media__body:after {
  border-left: none;
  border-right: none;
  bottom: 2em;
  top: 2em;
}

.media__body:hover:after,
.media__body:hover:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.media__body h2 { margin-top: 0; }

.media__body p { margin-bottom: 1.5em; }