
.ff-container label.ff-label-type-all{
	border-radius: 3px 0px 0px 3px;
}
.ff-container label.ff-label-type-3{
	border-radius: 0px 3px 3px 0px;
}
.ff-container input.ff-selector-type-all:checked ~ label.ff-label-type-all,
.ff-container input.ff-selector-type-1:checked ~ label.ff-label-type-1,
.ff-container input.ff-selector-type-2:checked ~ label.ff-label-type-2,
.ff-container input.ff-selector-type-3:checked ~ label.ff-label-type-3{
	background: #646d93;
	background: -moz-linear-gradient(top, #646d93 0%, #7c87ad 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#646d93), color-stop(100%,#7c87ad));
	background: -webkit-linear-gradient(top, #646d93 0%,#7c87ad 100%);
	background: -o-linear-gradient(top, #646d93 0%,#7c87ad 100%);
	background: -ms-linear-gradient(top, #646d93 0%,#7c87ad 100%);
	background: linear-gradient(top, #646d93 0%,#7c87ad 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#646d93', endColorstr='#7c87ad',GradientType=0 );
	color: #424d71;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.3);
	box-shadow: 0px 0px 0px 1px #40496e, 0 1px 2px rgba(0,0,0,0.1) inset;
}
.ff-container input{
	display: none;
}
.ff-items{
	position: relative;
	margin: 0px auto;
}

.ff-items a{
	display: block;
	position: relative;
	padding: 10px;
	/*background: #fff;*/
	margin: 4px;
	width: 160px;
	height: 120px; text-decoration:none
}
.ff-items a span{
	display: block;
	background: rgba(255,255,255, 1);
	color: #00d5e8;
	border:2px solid #00d5e8;
	font-family:'Ubuntu-Bold'; font-size:30px;
	padding: 25px 20px 20px 20px;
	position: absolute;
	bottom: -11px;
	left: 10px;
	width: 185px;
	height: 0px;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	-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 span.pinkbtn{
	display: block;
	background: rgba(255,255,255, 1);
	color: #ff7781;
	border:2px solid #ff7781;
	font-family:'Ubuntu-Bold'; font-size:30px;
	padding: 25px 20px 20px 20px;
	position: absolute;
	bottom: -11px;
	left: 10px;
	width: 185px;
	height: 0px;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	-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 span.grnbtn{
	display: block;
	background: rgba(255,255,255, 1);
	color: #98b23b;
	border:2px solid #98b23b;
	font-family:'Ubuntu-Bold'; font-size:30px;
	padding: 25px 20px 20px 20px;
	position: absolute;
	bottom: -11px;
	left: 10px;
	width: 185px;
	height: 0px;
	overflow: hidden;
	opacity: 0;
	text-align: center;
	-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: 101px;
	opacity: 1;
}
.ff-items li img{
	display: block;
}

.ff-items li{
	margin: 0px 0 0 10px;
	width: 188px;
	height: 137px;
	-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{
	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){
	opacity: 0.1;
}
.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{
	display:none;
}


@media (min-width: 768px) and (max-width: 991px) {
	.ff-items a span{width: 145px; font-size:25px; bottom: 30px; padding: 25px 0 20px 0; left: 0px;}
	.ff-items a span.pinkbtn{width: 145px; font-size:25px; bottom: 30px; padding: 25px 0 20px 0; left: 0px;}
    .ff-items a span.grnbtn{width: 145px; font-size:25px; bottom: 30px; padding: 25px 0 20px 0; left: 0px;}
	.ff-items li{
	margin: 0 0 0 0;
	width: 188px;
	height: 137px; margin:0 auto
}
.ff-items a:hover span{height: 90px;}
.ff-items a{

	padding: 0;
	/*background: #fff;*/
	margin: 0;
	width: 120px;
	height: 120px;
}
.ff-items li{
	margin: 0px 0 0 0;
	width: 128px;
	height: 108px;

}


}

@media only screen and (max-width: 767px) {
.ff-items a span{left: 40px;}
.ff-items a span.pinkbtn{left: 40px;}
.ff-items a span.grnbtn{left: 40px;}
}