.gallery {
    margin: auto;   
}

.gallery > figure {
    margin-bottom: 0;
    
}

.gallery > figure {
	float: left;
    margin-bottom: 5px;    
    width:250px;
	height:140px;
}
            
.gallery > figure > a > img {
	-webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;    
    height: 100%;
    width: 100%;
}

.gallery > figure > a:hover > img {
	-webkit-transform: scale3d(1.1, 1.1, 1.1);
	transform: scale3d(1.1, 1.1, 1.1);
}