/* ==================================================
	갤러리 Slick
================================================== */
.galley_scon {
	width: 100%;
	padding: 50px 55px;
	background: #f7f7f7;
	font-family: 'Noto Sans KR';
	font-style: normal;
}

.gimg {
	position: relative;
	margin: 0 10px;
	padding: 0 2%;
	text-align: center;
}

.gimg a {
	display: block;
	position: relative;
	/*-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;*/
}

.gimg a .gallery-thum-box {
	position: relative;
	padding-top: 67.85%;
	overflow: hidden;
	border: 1px solid #d9d9d9;
}

.gimg a .gallery-thum-box .gallery-thum {
	/*position: absolute;*/
	top: 0px;
	left: 0px;
	right: 0;
	bottom: 0;
	display: block;
	overflow: hidden;
}

.gimg a .gallery-thum-box .gallery-thum img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	object-fit: cover;
	object-position: 50% 0;
}

.gimg a:hover .gallery-thum-box .gallery-thum img {
	-webkit-transform: scale(1.05) rotate(0.02deg);
	-moz-transform: scale(1.05) rotate(0.02deg);
	-ms-transform: scale(1.05) rotate(0.02deg);
	-o-transform: scale(1.05) rotate(0.02deg);
	transform: scale(1.05) rotate(0.02deg);
}

.gallery-txt-con {
	margin-top: 20px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 500;
}

/* 슬라이더 화살표 */
.gallery_prev,
.gallery_next {
	width: 35px;
	height: 35px;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	display: block;
	padding: 0;
	z-index: 20;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: transparent;
}

.gallery_prev {
	left: -33px;
	background: url('../images/icon/garrow_previous.png');
}

.gallery_next {
	right: -33px;
	background: url('../images/icon/garrow_next.png');
}

/* 모바일CSS */
@media all and (max-width:1023px) {
	.galley_scon {
		width: 100%;
		padding: 30px 45px;
		background: #f7f7f7;
	}

	.gallery-txt-con {
		margin-top: 15px;
		font-size: 1.7rem;
	}
}

@media all and (max-width:640px) {
	.galley_scon {
		padding: 25px 40px;
	}

	.gallery_prev,
	.gallery_next {
		width: 30px;
		height: 30px;
	}

	.gallery_prev {
		left: -26px;
		background: url('../images/icon/garrow_previous.png');
		background-size: 30px 30px;
	}

	.gallery_next {
		right: -26px;
		background: url('../images/icon/garrow_next.png');
		background-size: 30px 30px;
	}
}

/* ==================================================
	갤러리 리스트
================================================== */
.gallery_list {
	/*margin-top: 50px;*/
	padding: 0 0 40px 0;
	/*border-top: 1px solid #000;*/
	/*border-bottom: 1px solid #ddd;*/
	font-style: normal;
}

.gallery_list>ul {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 30px 1fr 30px 1fr;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px
}

.gallery_list>ul:after {
	content: '';
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.gallery_list>ul>li {
	width: 100%;
	background: #f9f9f9;
	border: 1px solid #f0f0f0;
	box-shadow: 2px 3px 8px #f0f0f0;
}


.gallery_list>ul>li a {
	display: block;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}

.gallery_list>ul>li a .bgallery-thum-box {
	position: relative;
	padding-top: 67.85%;
	overflow: hidden;
	background: #fff;
	/*border: 1px solid #d9d9d9;*/
}

.gallery_list>ul>li a .bgallery-thum-box .bgallery-thum {
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0;
	bottom: 0;
	display: block;
	overflow: hidden;
}

.gallery_list>ul>li a .bgallery-thum-box .bgallery-thum img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all 0.7s;
	-moz-transition: all 0.7s;
	-o-transition: all 0.7s;
	transition: all 0.7s;
	object-fit: cover;
	/*object-position: 50% 0;*/
}

.gallery_list>ul>li a:hover .bgallery-thum-box .bgallery-thum img {
	-webkit-transform: scale(1.05) rotate(0.02deg);
	-moz-transform: scale(1.05) rotate(0.02deg);
	-ms-transform: scale(1.05) rotate(0.02deg);
	-o-transform: scale(1.05) rotate(0.02deg);
	transform: scale(1.05) rotate(0.02deg);
}

.bgallery-txt-con {
	margin-top: 2rem;
	padding: 0 2rem 2rem;
}

.bgallery-txt-con .gtit {
	display: -webkit-box;
	font-size: 1.9rem;
	line-height: 1.9rem;
	font-weight: 600;
	overflow: hidden;
	word-break: break-all;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	/*text-overflow: ellipsis;
	white-space: normal;
	word-wrap: break-word;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;*/
	color: #333;
}

.bgallery-txt-con .gdate {
	display: block;
	font-size: 1.6rem;
	color: #666;
	margin-top: 10px;
}

/* 모바일CSS */
@media all and (min-width:1023px) {
	.gallery_list>ul {
		-ms-grid-columns: (1fr)[3];
		grid-template-columns: repeat(3, 1fr);
	}
}

@media all and (max-width:1023px) {
	.gallery_list {
		margin-top: 40px;
		padding: 0 0 30px 0;
	}

	.gallery_list>ul {
		-ms-grid-columns: (1fr)[2];
		grid-template-columns: repeat(2, 1fr);
	}

	/*.bgallery-txt-con .gtit {
		font-size: 1.9rem;
		line-height: 2.2rem;
		min-height: 20px;
		max-height: 20px;
		-webkit-line-clamp: 1;
	}*/
}

@media all and (max-width:640px) {
	.gallery_list {
		margin-top: 30px;
		padding: 0 0 20px 0;
	}

	.gallery_list>ul>li {
		margin-top: 20px;
	}

	/*.bgallery-txt-con .gtit {
		font-size: 1.8rem;
		line-height: 1.9rem;
		min-height: 19px;
		max-height: 19px;
	}*/

	.bgallery-txt-con .gdate {
		font-size: 1.5rem;
	}
}

@media all and (max-width:540px) {
	.gallery_list>ul {
		-ms-grid-columns: (1fr)[1];
		grid-template-columns: repeat(1, 1fr);
	}

	/*.bgallery-txt-con .gtit {
		font-size: 1.7rem;
		line-height: 1.8rem;
	}*/
}

/* ==================================================
	페이징
================================================== */
.prd_paging {
	margin-top: 20px;
	text-align: center;
}

.prd_paging a,
.prd_paging em {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 0 3px;
	line-height: 2.2em;
	vertical-align: top;
	border: 1px solid #ddd;
	-webkit-transition: all 0.7s;
	-moz-transition: all 0.7s;
	-o-transition: all 0.7s;
	-ms-transition: all 0.7s;
	transition: all 0.7s;
}

.prd_paging a:hover,
.prd_paging em {
	color: #1a4ab9;
	font-weight: 700;
	background: #fff;
}

.prd_paging .first {
	border: 1px solid #dcdcdc;
	border-radius: 50%;
	background: url("../images/form/btnFirst.png") 50% 50% no-repeat;
}

.prd_paging .first:hover {
	background: #0266E3 url("../images/form/btnFirst_on.png") 50% 50% no-repeat;
	border: 1px solid #0266E3;
}

.prd_paging .prev {
	border: 1px solid #dcdcdc;
	border-radius: 50%;
	margin-right: 20px;
	background: url("../images/form/btnPrev.png") 50% 50% no-repeat;
}

.prd_paging .prev:hover {
	background: #0266E3 url("../images/form/btnPrev_on.png") 50% 50% no-repeat;
	border: 1px solid #0266E3;
}

.prd_paging .next {
	border: 1px solid #dcdcdc;
	border-radius: 50%;
	margin-left: 20px;
	background: url("../images/form/btnNext.png") 50% 50% no-repeat;
}

.prd_paging .next:hover {
	background: #0266E3 url("../images/form/btnNext_on.png") 50% 50% no-repeat;
	border: 1px solid #0266E3;
}

.prd_paging .last {
	border: 1px solid #dcdcdc;
	border-radius: 50%;
	background: url("../images/form/btnLast.png") 50% 50% no-repeat;
}

.prd_paging .last:hover {
	background: #0266E3 url("../images/form/btnLast_on.png") 50% 50% no-repeat;
	border: 1px solid #0266E3;
}

.hide {
	display: none;
}

@media screen and (max-width:800px) {
	.prd_paging {
		position: relative;
		margin-top: 10px;
		padding: 30px 90px 0;
	}

	.prd_paging a,
	.prd_paging em {
		width: 35px;
		height: 35px;
		margin: 0 2px 5px;
	}

	.prd_paging .first {
		position: absolute;
		left: 0;
		top: 30px;
	}

	.prd_paging .prev {
		position: absolute;
		left: 40px;
		top: 30px;
	}

	.prd_paging .next {
		position: absolute;
		right: 40px;
		top: 30px;
	}

	.prd_paging .last {
		position: absolute;
		right: 0;
		top: 30px;
	}

	.prd_paging .first,
	.prd_paging .first:hover,
	.prd_paging .prev,
	.prd_paging .prev:hover,
	.prd_paging .next,
	.prd_paging .next:hover,
	.prd_paging .last,
	.prd_paging .last:hover {
		margin: 0;
		background-size: auto 11px;
	}
}

@media screen and (max-width:645px) {
	.prd_paging {
		margin-top: 5px;
		padding: 25px 30px 0;
	}

	.prd_paging .first,
	.prd_paging .last {
		display: none;
	}

	.prd_paging .prev {
		left: 0;
		top: 22px;
	}

	.prd_paging .next {
		right: 0;
		top: 22px;
	}

	.prd_paging a,
	.prd_paging em {
		width: 25px;
		height: 25px;
		font-size: 1.7rem;
		line-height: 1;
	}
}

@media screen and (max-width:450px) {
	.prd_paging {
		padding: 25px 15px 0;
	}

	.prd_paging .prev {
		top: 23px;
	}

	.prd_paging .next {
		top: 23px;
	}

	.prd_paging a,
	.prd_paging em {
		width: 20px;
		height: 20px;
		font-size: 1.6rem;
	}
}