.gallery-element{
	float : left;
}
.gallery-float-end{
	clear : both;
}

.gallery-element {
	max-width: 18%;
	margin: 0 4px 4px 0;
}

.gallery-element .badge {
	position: absolute;
	margin-top: -5px;
	margin-left: -20px;
	border: 1px solid #666;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
.gallery-element .badge:hover {
	background: #fff;
	color: #666;
}