@charset "utf-8";

.board-top-wrap, .writer, .date{
	display: none;
}
.photo_list {
	padding-bottom: 100px;
}

.photo_list>ul {
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 20px;
	row-gap: 48px;
}

.photo_list>ul>li {
	box-sizing: border-box;
}

.photo_list>ul>li.no_data {
	width: 100%;
}

.photo_list>ul>li a {
	display: inline-block;
}

.photo_list>ul>li .item_check {
	width: 100%;
	height: 15px;
}

.photo_list>ul>li .item_photo {
	/* width: 100%;
	display: table; */
}

.photo_list>ul>li .item_photo a {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	background: var(--light-gray);
	padding: 24px 64px;
	box-sizing: border-box;
	border-radius: 12px;
	position: relative;
	border: 2px solid transparent;
	height: 350px;
}

.photo_list>ul>li .item_photo a:hover{
	border: 2px solid var(--second-color);
	transition: all .15s ease-in-out;
}

.photo_list>ul>li .item_photo a:hover::after{
	content: '';
  position: absolute;
  top: 50%;
  left: 50%;
	width: 64px;
	height: 64px;
  background-image: url('/images/icon_view.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
}

.photo_list>ul>li .item_photo img {
	width: 100%;
	display: block;
}

.photo_list>ul>li .item_cont {}

.photo_list>ul>li .item_cont .tit {
	width: 100%;
	height: 50px;
}

.photo_list>ul>li .item_cont .tit a {
	width: 100%;
	word-break: break-all;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-align: center;
	margin-top: 24px;
	font-size: 18px;
	word-break: keep-all;
}

.photo_list>ul>li .item_cont .writer {
	float: left;
	width: 50%;
	color: #333;
}

.photo_list>ul>li .item_cont .date {
	float: right;
	width: 50%;
	color: #333;
	text-align: right;
}

/* 250526 - kjj24 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	transition: all .3s ease;
}

.modal.on {
	display: block;
}

.modal .bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}

.modal-wrap{
	position: fixed !important;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 640px;
	width: 100%;
}

.modal-img {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	overflow: auto;
	z-index: 10001;
	margin: 0 2.5vw;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 12px 24px;
	background-color: var(--navy);
}

.modal-title {
	font-size: 18px;
	font-weight: 600;
	color: #ffffff;
	word-break: keep-all;
}

.modal-close {
	font-size: 26px;
	font-weight: 500;
	cursor: pointer;
	color: #ffffff;
}

.modal-img .body{
	text-align: center;
}

.modal-content {
	padding: 48px 0;
	max-height: 600px;
}

@media (max-width: 1080px) {
	.photo_list>ul{
		grid-template-columns: repeat(auto-fill, minmax(31%, auto));
		row-gap: 24px;
	}

	.photo_list>ul>li .item_cont .tit a, .modal-title{
		font-size: 16px;
	}
}

@media (max-width: 801px) {
	.photo_list>ul{
		grid-template-columns: repeat(auto-fill, minmax(48%, auto));
		row-gap: 24px;
	}
}


@media (max-width: 650px ){
	.modal-content{
		padding: 0;
		max-height: 480px;
		height: 100%;
	}
}