.ff-container{
	width: 100%;
}


.ff-container input{
	display: none;
}

.ff-items{
	margin: 0;
	padding:0;
}


.ff-items a{
	display:block;
	text-decoration:none;
	}

	
.ff-items a span{
	display: block;
	text-decoration:none;
	background: rgba(0,0,0, 0.8);
	color: #fff;
	position: absolute;
	width: 200px;
	height: 0;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	text-shadow: 1px 1px 1px #303857;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}



.ff-items a:hover span{
	height:200px;
	width:200px;
	opacity: 1;
	position:absolute;
	
}

.ff-items span p{
	position:relative;
	top:25%;
	padding:40px;
	font-family: 'Arimo' Helvetica, Arial, sans-serif;
	font-size:14px;
	font-weight:lighter;
	color:#fff;
	}
	


.ff-items li{
	list-style:none;
	float: left;
	width: 200px;
	height: 200px;
	padding:0;
	margin:0 20px 20px 0;
	overflow:hidden;
	position:relative;
	-webkit-transition: opacity 0.6s ease-in-out;
	-moz-transition: opacity 0.6s ease-in-out;
	-o-transition: opacity 0.6s ease-in-out;
	-ms-transition: opacity 0.6s ease-in-out;
	transition: opacity 0.6s ease-in-out;
}




.ff-container input.ff-selector-type-all:checked ~ .ff-items li,
.ff-container input.ff-selector-type-1:checked ~ .ff-items .ff-item-type-1,
.ff-container input.ff-selector-type-2:checked ~ .ff-items .ff-item-type-2,
.ff-container input.ff-selector-type-3:checked ~ .ff-items .ff-item-type-3,
.ff-container input.ff-selector-type-4:checked ~ .ff-items .ff-item-type-4,
.ff-container input.ff-selector-type-5:checked ~ .ff-items .ff-item-type-5{
	opacity: 1;
}

.ff-container input.ff-selector-type-1:checked ~ .ff-items li:not(.ff-item-type-1),
.ff-container input.ff-selector-type-2:checked ~ .ff-items li:not(.ff-item-type-2),
.ff-container input.ff-selector-type-3:checked ~ .ff-items li:not(.ff-item-type-3),
.ff-container input.ff-selector-type-4:checked ~ .ff-items li:not(.ff-item-type-4),
.ff-container input.ff-selector-type-5:checked ~ .ff-items li:not(.ff-item-type-5){
	opacity: 0.2;
}
.ff-container input.ff-selector-type-1:checked ~ .ff-items li:not(.ff-item-type-1) span,
.ff-container input.ff-selector-type-2:checked ~ .ff-items li:not(.ff-item-type-2) span,
.ff-container input.ff-selector-type-3:checked ~ .ff-items li:not(.ff-item-type-3) span,
.ff-container input.ff-selector-type-4:checked ~ .ff-items li:not(.ff-item-type-4) span,
.ff-container input.ff-selector-type-5:checked ~ .ff-items li:not(.ff-item-type-5) span{
	display:none;
}




@media only screen and (min-width:300px) and (max-width:768px){
	
	.ff-items a span{
	display: block;
	text-decoration:none;
	background: rgba(0,0,0, 0.8);
	color: #fff;
	position: absolute;
	width: 150px;
	height: 0;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	text-shadow: 1px 1px 1px #303857;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}



.ff-items a:hover span{
	height:140px;
	width:140px;
	opacity: 1;
	position:absolute;
	
}
	
	
	.ff-items span p{
	position:relative;
	top:15%;
	padding:5px;
	font-family: 'Arimo' Helvetica, Arial, sans-serif;
	font-size:12px;
	font-weight:lighter;
	color:#fff;
	}
	
	
	
	.ff-items li{
	list-style:none;
	float: left;
	width: 140px;
	height: 140px;
	padding:0;
	margin:0 10px 10px 0;
	overflow:hidden;
	position:relative;
	-webkit-transition: opacity 0.6s ease-in-out;
	-moz-transition: opacity 0.6s ease-in-out;
	-o-transition: opacity 0.6s ease-in-out;
	-ms-transition: opacity 0.6s ease-in-out;
	transition: opacity 0.6s ease-in-out;
}

.ff-items li img{
	max-width:100%;

	}
	
}