.filter
{
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	        justify-content: space-between;
	text-align: center;
	font-weight: bold;
	margin-bottom: 1em;
	border: 25px solid rgba(0, 0, 0, .8);
	border-radius: 5px;
}

.filter > li
{
	padding: 0;
	margin: 0;
}

.filter li
{
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	-webkit-transition: all ease .5s;
	        transition: all ease .5s;
	font-size: 0;
}

.filter li a
{
	display: block;
	overflow: hidden;
	position: relative;
}

.filter li a, .filter li a:hover
{
	color: #fafafa;
	text-decoration: none;
}

.filter li a img
{
	max-width: 100%;
	height: auto;
}

.filter li a span
{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	height: 0;
	margin: auto;
	font-size: 25px;
}
