@charset "utf-8";

/* ===============================
   Latest Gallery - Base
================================ */
#gallery-list-latest{
	width: 96%;
	margin: 0 auto;
}

.gallery-list{
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
	padding: 0;
	list-style: none;
}

.gallery-list li{
	width: 25%; 
	padding: 10px;
	box-sizing: border-box;
}

/* ===============================
   Image Box
================================ */
.gallery-list-img{
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 65%;
	overflow: hidden;
	border-radius: 15px;
	/*background: #f2f2f2;*/
}

.gallery-img-content{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.gallery-list-img:hover .gallery-img-content{
	transform: scale(1.05);
}

/* ===============================
   Info Hover
================================ */
.gallery_info{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	font-family: 'Noto Sans KR';
	font-size: 16px;
	font-weight: 500;
	opacity: 0;
	transition: opacity .3s ease;
}

.gallery-list-img:hover .gallery_info{
	opacity: 1;
}

.gallery_box{
	position: relative;
	line-height: 40px;
	padding: 0 10px;
	background: rgba(109, 93, 216, 1);
	color: #fff;
}

/* °ü¸®ÀÚ ¹öÆ° */
.gallery_box .view_adm{
	position: absolute;
	top: 0px;
	right: 6px;
	cursor: pointer;
}

/* ===============================
   Responsive
================================ */
@media (max-width: 1450px){
	#gallery-list-latest{
		width: 100%;
		margin: 0 auto;
	}
	.gallery-list li{
		width: 25%;
	}
	.gallery-list-img{
		padding-top: 60%;
	}
}


@media (max-width: 1030px){
	#gallery-list-latest{
		width: 100%;
		margin: 0 auto;
	}
	.gallery-list li{
		width: 33.3333%;
	}
	.gallery-list-img{
		padding-top: 60%;
	}
}

@media (max-width: 900px){
	.gallery-list li{
		width: 50%;
	}

	.gallery-list-img{
		padding-top: 70%;
	}
}

@media (max-width: 590px){
	.gallery-list li{
		width: 50%;
		padding: 5px;
	}

	.gallery-list-img{
		padding-top: 80%;
	}

	.gallery_info{
		opacity: 1;
	}

	.gallery_box{
		line-height: 30px;
		padding: 0 10px;
		font-size:13px; 
	}

}