#lightgallery li {
	float: left;
	margin-right: 2%;
	width: 23.5%;
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
}

#lightgallery li:nth-child(4n) {
	margin-right: 0;
}

#lightgallery li .pic {
	/* height: 210px; */
	overflow: hidden;
	position: relative;
	border: 1px solid #c5c5c5;
}

#lightgallery li img {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s;
}

#lightgallery li:hover img {
    transform: scale(1.1);
}

#lightgallery li a p.p01 {
	color: #333;
	font-size: 18px;
	text-align: center;
	margin: 25px 0;
	position: relative;
	z-index: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	text-overflow: ellipsis;
}