.store_gallery .tabs {
	position: relative;
	border-bottom: 1px solid #e6e6e6;
	margin-bottom: 30px;
}
.store_gallery .tabs button {
	font-size: 16px;
	font-weight: 500;
	color: #bfbfbf;
	padding-bottom: 17px;
	margin-right: 40px;
	border-bottom: 2px solid #fff;
}
.store_gallery .tabs button:last-child {
	margin-right: 0;
}
.store_gallery .tabs button.active {
	color: #222;
	border-bottom: 2px solid #222;
}
.store_gallery .tabs .upload {
	position: absolute;
	top: -3px;
	right: 0;
}
.store_gallery .tabs .upload input {
	display: none;
}
.store_gallery .tabs .upload input + label {
	display: block;
	border: 1px solid #D3D3D3;
	border-radius: 4px;
	width: auto;
	height: 38px;
	line-height: 38px;
	font-size: 16px;
	color: #363636;
	text-align: center;
  text-indent: 22px;
	background: #fff url("../images/menu/ico_camera.svg")no-repeat 15px 50%;
	padding:0 10px 0 17px;
}
:root {
  counter-reset: masonry;
}
.masonry {
  display: grid;
  gap: 3px;
  grid-auto-rows: 0;
  grid-template-columns: repeat(auto-fill, minmax(20%, auto)); 
  /* repeat(5,1fr)에서 변경함 221228*/
}
.masonry-item {
	display: none;
	position: relative;
	overflow: hidden;
}
.masonry-item img {
	width: 100%;
   position: relative;
}
.masonry-item:hover:after {
  font-size: 30px;
  background-color: rgba(0, 0, 0, .75);
}
.store_gallery .grid-item img {
	width: 100%;
}

.store_gallery .more_btn {
	margin-top: 50px;
}
.store_gallery .more_btn button {
	display: block;
	border: 1px solid #D3D3D3;
	border-radius: 4px;
	max-width: 360px;
	width: 90%;
	height: 46px;
	font-size: 16px;
	font-weight: 500;
	color: #8e8e8e;
	margin: 0 auto;
}
#thumb_modal .modal_cont {
    overflow: visible;
    max-width: 800px;
    width: 90%;
    top: 50%;
    border-radius: 0;
    background: transparent;
    transform: translate(-50%,-50%);
}

#thumb_modal .member_info {
	display: none;
	background: #fff;
	padding: 9px 13px;
	margin-top: 10px;
	align-items: center;
}
#thumb_modal .member_info .thumb {
	width: 40px;
	height: 40px;
	margin-right: 15px;
}
#thumb_modal .member_info .thumb img {
	width: 100%;
}
#thumb_modal .member_info .info {
	width: calc(100% - 55px);
}
#thumb_modal .member_info .info .name {
	font-size: 14px;
	font-weight: 700;
	color: #222;
	margin-bottom: 5px;
}
#thumb_modal .member_info .info .member span {
	font-size: 14px;
	color: #8e8e8e;
	background: url("../images/menu/ic_user.svg")no-repeat 0 50% / 18px;
	padding-left: 22px;
}


@media screen and (max-width: 1024px) {
	.sticky {
		display: block!important;
		position: sticky;
		top: 60px;
    height: auto;
    z-index: 2;
	}

	.store .store_detail .inner {
		padding: 0 20px!important;
	}

	.store .store_gallery .inner {
	    padding: 0 20px;
	}
	.store_gallery .tit .icon {
		right: 0;
	}
	.store_gallery .tabs{
		margin:30px 0;
	}
	.store_gallery .tabs .upload input + label {
		width: 115px;
    height: 33px;
    line-height: 33px;
    font-size: 14px;
    background-position: 12px 50%;
	}
	.store_gallery .tabs button {
		font-size: 14px;
		padding-bottom: 12px;
	}
	.store_gallery .tabs .upload {
		top: -7px;
	}
	.masonry {
	gap: 3px 5px;
    grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 480px) {
	.store_gallery .tabs {
		padding-top: 20px;
		font-size: 0;
	}
	.store_gallery .tabs .upload {
		top: -24px;
	}
	.store_gallery .tabs button {
		width: 25%;
		margin-right: 0;
	}
	.masonry {
	gap: 3px 5px;
    grid-template-columns: repeat(2, 1fr);
	}
}

/* 레스토랑 갤러리 스타일2 */
.masonry2{
	columns: 4 250px;
	gap:5px;
}
.masonry2 .masonry2-item{
	margin-bottom:5px;
	border-radius: 5px;
	width:100%;
}
.masonry2 .masonry2-item img{
	width:100%;
}

/* //레스토랑 갤러리 스타일2 */ 

