.ff-container { width: 100%;text-align: center;margin: 10px auto 30px auto;}
.ff-container label{
	text-align: center;	width: 23%;	height: 3.2rem;	margin: 4px 3px; cursor: pointer; color: #777;border-radius: .3rem; line-height: 3.2rem;font-size: 1.8rem;
	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
	float:left;	box-shadow: 0 0.25rem 0 rgba(0,0,0,.1);
}
.ff-container label.ff-label-type-all { border-radius: .3rem; }
.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: #0081cc;color: #fff;text-shadow: 0px 1px 1px rgba(255,255,255,0.3);	box-shadow: 0 0.25rem 0 rgba(0,0,0,.1);}
.ff-container input { display: none;}
.ff-items { width: 100%;height: auto;float: left;/* position: relative; */margin: 0px auto;padding-top: 20px;}
.ff-items a {display: block;position: relative;padding: 5px;background: #fff;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);margin: 4px;width: 97%;height: 133px;overflow: hidden;}
.ff-items a span {display: block;background: rgba(113,123,161, 0.9);font-style: italic;color: #fff;font-weight: bold;padding: 20px;position: absolute;bottom: 10px;left: 10px;width: 120px;height: 0px;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: 80px;opacity: 1;}
.ff-items li img {display: block;}
.ff-items li { width: 49.5%;height: auto;margin: 0px;float: left;overflow: hidden;-webkit-transform: scale(0,0);-moz-transform: scale(0,0);-o-transform: scale(0,0);-ms-transform: scale(0,0);transform: scale(0,0);}
.ff-container input.ff-selector-type-all:checked ~ .ff-items li{
	width: 49.5%; height: auto;
	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	-o-transform: scale(1,1);
	-ms-transform: scale(1,1);
	transform: scale(1,1);
	-webkit-transition: -webkit-transform 0.3s linear;
	-o-transition: -o-transform 0.3s linear;
	-ms-transition: -ms-transform 0.3s linear;
	transition: transform 0.3s linear;
}
.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
{	-webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
	-moz-transition: -moz-transform 0.3s linear, width 0s linear 0.3s;
	-o-transition: -o-transform 0.3s linear, width 0s linear 0.3s;
	-ms-transition: -ms-transform 0.3s linear, width 0s linear 0.3s;
	transition: transform 0.3s linear, width 0s linear 0.3s;
	-webkit-animation: scaleUp 0.3s linear 0.4s forwards;
	-moz-animation: scaleUp 0.3s linear 0.4s forwards;
	-o-animation: scaleUp 0.3s linear 0.4s forwards;
	-ms-animation: scaleUp 0.3s linear 0.4s forwards;
	animation: scaleUp 0.3s linear 0.4s forwards;
}
.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)
{	-webkit-animation: scaleDown 0.3s linear forwards;
	-moz-animation: scaleDown 0.3s linear forwards;
	-o-animation: scaleDown 0.3s linear forwards;
	-ms-animation: scaleDown 0.3s linear forwards;
	animation: scaleDown 0.3s linear forwards;}
.ff-items li img {	width: 100%; height: auto; }

@-webkit-keyframes scaleUp {
	50% { width:  178px; -webkit-transform: scale(0,0); }
    100% { width:  178px; -webkit-transform: scale(1,1); }
}
@-webkit-keyframes scaleDown {
	0% { width:  178px;-webkit-transform: scale(1,1);}
	99% { width:  178px; -webkit-transform: scale(0,0);}
    100% { width: 0px; -webkit-transform: scale(0,0); }
}
@-moz-keyframes scaleUp {
	50% { width:  178px; -moz-transform: scale(0,0); }
    100% { width:  178px; -moz-transform: scale(1,1); }
}
@-moz-keyframes scaleDown {
	0% { width:  178px;-moz-transform: scale(1,1);}
	99% { width:  178px; -moz-transform: scale(0,0);}
    100% { width: 0px; -moz-transform: scale(0,0); }
}
@-o-keyframes scaleUp {
	50% { width:  178px; -o-transform: scale(0,0); }
    100% { width:  178px; -o-transform: scale(1,1); }
}
@-o-keyframes scaleDown {
	0% { width:  178px;-o-transform: scale(1,1);}
	99% { width:  178px; -o-transform: scale(0,0);}
    100% { width: 0px; -o-transform: scale(0,0); }
}
@-ms-keyframes scaleUp {
	50% { width:  178px; -ms-transform: scale(0,0); }
    100% { width:  178px; -ms-transform: scale(1,1); }
}
@-ms-keyframes scaleDown {
	0% { width:  178px;-ms-transform: scale(1,1);}
	99% { width:  178px; -ms-transform: scale(0,0);}
    100% { width: 0px; -ms-transform: scale(0,0); }
}
@keyframes scaleUp {
	50% { width:  178px; transform: scale(0,0); }
    100% { width:  178px; transform: scale(1,1); }
}
@keyframes scaleDown {
	0% { width:  178px; transform: scale(1,1);}
	99% { width:  178px; transform: scale(0,0);}
    100% { width: 0px; transform: scale(0,0); }
}

/* 大屏样式开始*/
@media (min-width:768px){
.container{width: 750px}
.ff-container label {width: 23%;height: 3.2rem;margin: 4px 6px;}
.ff-items li {width: 20%;height: auto;}
.ff-container input.ff-selector-type-all:checked ~ .ff-items li { width: 20%;	height: auto;}
.ff-items a { padding: 5px; margin: 4px; width: 97%; height: 152px;}
.ff-items li img {

	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-color: rgba(0,0,0,.5);
	transition: all .5s ease-in-out;
}
.ff-items li img:hover {
	-webkit-transform: scale(1.2);
	transform: scale(1.2)
}

@-webkit-keyframes scaleUp {
	50% { width:  229px; -webkit-transform: scale(0,0); }
    100% { width:  229px; -webkit-transform: scale(1,1); }
}
@-webkit-keyframes scaleDown {
	0% { width:  229px;-webkit-transform: scale(1,1);}
	99% { width:  229px; -webkit-transform: scale(0,0);}
    100% { width: 0px; -webkit-transform: scale(0,0); }
}
@-moz-keyframes scaleUp {
	50% { width:  229px; -moz-transform: scale(0,0); }
    100% { width:  229px; -moz-transform: scale(1,1); }
}
@-moz-keyframes scaleDown {
	0% { width:  229px;-moz-transform: scale(1,1);}
	99% { width:  229px; -moz-transform: scale(0,0);}
    100% { width: 0px; -moz-transform: scale(0,0); }
}
@-o-keyframes scaleUp {
	50% { width:  229px; -o-transform: scale(0,0); }
    100% { width:  229px; -o-transform: scale(1,1); }
}
@-o-keyframes scaleDown {
	0% { width:  229px;-o-transform: scale(1,1);}
	99% { width:  229px; -o-transform: scale(0,0);}
    100% { width: 0px; -o-transform: scale(0,0); }
}
@-ms-keyframes scaleUp {
	50% { width:  229px; -ms-transform: scale(0,0); }
    100% { width:  229px; -ms-transform: scale(1,1); }
}
@-ms-keyframes scaleDown {
	0% { width:  229px;-ms-transform: scale(1,1);}
	99% { width:  229px; -ms-transform: scale(0,0);}
    100% { width: 0px; -ms-transform: scale(0,0); }
}
@keyframes scaleUp {
	50% { width:  229px; transform: scale(0,0); }
    100% { width:  229px; transform: scale(1,1); }
}
@keyframes scaleDown {
	0% { width:  229px; transform: scale(1,1);}
	99% { width:  229px; transform: scale(0,0);}
    100% { width: 0px; transform: scale(0,0); }
}
	}
@media (min-width:992px){.container{width: 970px}}
@media (min-width:1200px){.container{width: 1170px}}
@media (min-width:1670px){.container{width: 1640px}}
@media (min-width:1910px){.container{width: 1900px}}