.grid-wrap {
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 100%;
    width: 100%;
    text-align: center;
}

.grid {
	margin: 30px auto;
	padding: 0;
	list-style: none;
	min-height: 500px;
    width: 100%!important;
}

.js .grid {
	background: url( "../img/progress.gif") no-repeat 50% 100px;
}

.js .grid.loaded {
	background: none;
}

.grid li {
	display: inline-block;
	overflow: hidden;
	width: 24%;
    margin: 0.5%;
    border-radius: 16px;
	text-align: left;
	vertical-align: top;
}
.assets-button{
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 999;
	opacity: 0;
	margin-top: -200px;
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	
}
.js .grid li:hover .assets-button{
	opacity: 1;
	margin-top: 0px;
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	
}
.assets-button a{
	height: 40px;
	line-height: 44px;
    display: inline-block;
    margin-left: 5px;
    color: #fff;
    font-size: 14px;
    padding: 0px 15px;
    border-radius: 8px;
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	    
}
.assets-button a.chakan{
    background:rgb(144 117 255 / 80%);
}
.assets-button a.xiazai{
    background: rgb(17 201 147 / 80%);
}
.assets-button a.chakan:hover{
    background:rgb(144 117 255 / 100%);
}
.assets-button a.xiazai:hover{
    background: rgb(17 201 147 / 100%);
}
.assets-button a img{
    display: inline-block!important;
    vertical-align: middle;
    width: 22px;
    margin-right: 3px; 
    margin-bottom: 2px;
}
.assets-img{
    background: #010101;
    border-radius: 16px;
    overflow: hidden;
}
.assets-img img{
    width: 100%;
    opacity: 0.8;
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	    
}
.grid li:hover .assets-img img{
    opacity: 0.4;
	transform: scale(1.1);
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	    
}

.js .grid li {
	display: none;
	float: left;
}

.js .grid.loaded li {
	display: block;
}
 

/* Anchor and image */
.grid li > a,
.grid li img {
	display: block;
	outline: none;
	border: none;
}

.grid li > a {
	position: relative;
	overflow: hidden;
	margin: 7px;
}

/* Curtain element */
.grid .curtain {
    display: none!important;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background: #fff;
}

.grid.swipe-right .curtain {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.grid.swipe-down .curtain {
	-webkit-transform: translate3d(0,-100%,0);
	transform: translate3d(0,-100%,0);
}

.grid.swipe-rotate .curtain {
	width: 200%;
	height: 200%;
	-webkit-transform: rotate3d(0,0,1,90deg);
	transform: rotate3d(0,0,1,90deg);
	-webkit-transform-origin: top left;
	transform-origin: top left;
}

/* Shadow */
.grid .curtain::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,1);
	content: '';
}

.grid.swipe-right .curtain::after,
.grid.swipe-rotate .curtain::after {
	left: -100%;
}

.grid.swipe-down .curtain::after {
	top: -100%;
}

/* Title */
.grid li h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 10px;
	width: 100%;
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 16px;
    z-index: 999;
	transition: all 0.3s;
    -webkit-transition: all 0.3s;	
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}
/* Hover effects */
.grid li:hover h3 {
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
	transition: all 0.3s;
    -webkit-transition: all 0.3s;
    color: #fff;
}

.grid li.shown:hover > a::before {
	border-width: 14px;
	border-color: #010101;
}

/* Animations */

/* Swipe right */
.grid.swipe-right li.animate .curtain {
	-webkit-animation: swipeRight 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
	animation: swipeRight 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
}

@-webkit-keyframes swipeRight {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: translate3d(0,0,0); }
	100% { -webkit-transform: translate3d(100%,0,0); }
}

@keyframes swipeRight {
	0% {}
	50%, 60% { -webkit-transform: translate3d(0,0,0); transform: translate(0); }
	100% { -webkit-transform: translate3d(100%,0,0); transform: translate3d(100%,0,0); }
} 

/* Swipe down */
.grid.swipe-down li.animate .curtain {
	-webkit-animation: swipeDown 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
	animation: swipeDown 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
}

@-webkit-keyframes swipeDown {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: translate3d(0,0,0); }
	100% { -webkit-transform: translate3d(0,100%,0); }
}

@keyframes swipeDown {
	0% {}
	50%, 60% { -webkit-transform: translate(0); transform: translate(0); }
	100% { transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
}

/* Swipe rotate */
.grid.swipe-rotate li.animate .curtain {
	-webkit-animation: swipeRotate 1.5s ease forwards;
	animation: swipeRotate 1.5s ease forwards;
}

@-webkit-keyframes swipeRotate {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: rotate3d(0,0,1,0deg); }
	100% { -webkit-transform: rotate3d(0,0,1,-90deg); }
}

@keyframes swipeRotate {
	0% {}
	50%, 60% { -webkit-transform: rotate3d(0,0,1,0deg); transform: rotate3d(0,0,1,0deg); }
	100% { -webkit-transform: rotate3d(0,0,1,-90deg); transform: rotate3d(0,0,1,-90deg); }
}

/* Shadow */
.grid li.animate .curtain::after {
	-webkit-animation: fadeOut 1.5s ease forwards;
	animation: fadeOut 1.5s ease forwards;
	-webkit-animation-delay: inherit;
	animation-delay: inherit;
}

@-webkit-keyframes fadeOut {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes fadeOut {
	0% {}
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

/* Hide image and title and show at half time */
.js .grid li img,
.js .grid li h3 {
	visibility: hidden;
}

.grid li.animate img,
.grid li.animate h3 {
	-webkit-animation: showMe 1.5s step-end forwards;
	animation: showMe 1.5s step-end forwards;
}

@-webkit-keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

@keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

.grid li.shown img,
.grid li.shown h3 {
	visibility: visible;
}