/* Util */
.util {
	display: flex;
	justify-content: center;
	align-items: center;
}

.util-wrap {
	max-width: 700px;
	width: 100%;
}

.util .search-inner {
	display: flex;
	gap:20px;
}

.util .search-select {
	width: 200px;
}

.util .search-input {
	position: relative;
	width: calc(100% - 200px);
	overflow: hidden;
}

.util select {
	width: 100%;
	height: 56px;
	padding: 0px 24px;
	background-color: #fff;
	border:1px solid #bababa;
	font-size:1.8rem;
	background: url('../img/icon/ico_sel.png') no-repeat right 24px center;
}

.util input {
	width: 100%;
	height:56px;
	padding:0px 144px 0px 20px;
	border:1px solid #bababa;
	border-right:0px;
	font-size:1.8rem;
}

.util button {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top:0;
	right: 0;
	width: 120px;
	height:100%;
	background-color: #008142;
	font-size: 1.8rem;
	font-weight:500;
	color:#fff;
}

@media screen and (max-width:1200px) {
	.util select {
		height:50px;
		font-size:1.6rem;
	}

	.util input {
		height:50px;
		font-size:1.6rem;
	}

	.util button {
		font-size:1.6rem;
	}
}
@media screen and (max-width:1024px) {
	.util-wrap {
		max-width:580px;
	}

	.util .search-inner {
		gap:12px;
	}

	.util .search-select {
		width: 160px;
	}

	.util .search-input {
		width: calc(100% - 160px);
	}

	.util select {
		padding:0px 16px;
		background-position: right 16px center;
	}

	.util input {
		padding:0px 116px 0px 16px;
	}
	
	.util button {
		width: 100px;
	}
}
@media screen and (max-width:768px) {
	.util select {
		height:44px;
		background-size: auto 6px;
		font-size:1.4rem;
	}

	.util input {
		height:44px;
		font-size:1.4rem;
	}

	.util button {
		font-size:1.4rem;
	}
}
@media screen and (max-width:576px) {
	.util .search-inner {
		flex-wrap: wrap;
		gap:4px;
	}

	.util .search-select {
		width: 100%;
	}
	
	.util .search-input {
		width: 100%;
	}
	
	.util select {
		height:40px;
		padding:0px 12px;
		background-size: auto 5px;
		background-position: right 12px center;
		font-size:1.2rem;
	}

	.util input {
		height:40px;
		padding:0px 92px 0px 12px;
		font-size:1.2rem;
	}

	.util button {
		width: 80px;
		font-size:1.2rem;
	}
}


/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width:32px;
  height:32px;
	margin:0px 4px;
	padding-bottom:3px;
	border-radius:50%;
  background-repeat:no-repeat;
  background-position:center;
  background-color:transparent;
  text-align: center;
  font-size:1.8rem;
	line-height:32px;
	font-weight:500;
  -webkit-transition:all ease-out .15s;
  transition:all ease-out .15s;
}

.pagination a:not(.current) {
  cursor:pointer;
}

.pagination a.current {
	color:#fff;
	background-color: #008142;
	box-shadow: 0.643px 0.766px 5px 0px rgba(0, 0, 0, 0.1);
}

.pagination a.pagination-prev {
  background-image: url('../img/icon/ico_prev.png');
}

.pagination a.pagination-next {
  background-image: url('../img/icon/ico_next.png');
}

.pagination a.pagination-backward {
  background-image: url('../img/icon/ico_backward.png');
}

.pagination a.pagination-forward {
  background-image: url('../img/icon/ico_forward.png');
}

@media screen and (max-width:1200px) {
	.pagination a {
		font-size:1.6rem;
	}
}
@media screen and (max-width:1024px) {
	.pagination a {
		width: 28px;
		height:28px;
		margin:0px 2px;
		line-height:28px;
		background-size: auto 10px;
	}
}
@media screen and (max-width:768px) {
	.pagination a {
		font-size:1.4rem;
	}
}
@media screen and (max-width:576px) {
	.pagination a {
		width: 24px;
		height:24px;
		padding-bottom: 1px;
		font-size:1.2rem;
		line-height:24px;
		background-size: auto 8px;
	}
}

/* Board Gallery */
.bbs-gallery .list {
	display: flex;
	flex-wrap: wrap;
	margin:-40px;
}

.bbs-gallery .list li {
	flex:1 0 50%;
	max-width: 50%;
	padding:40px;
}

.bbs-gallery .thumb {
	position: relative;
	width: 100%;
	height:0;
	padding-top: calc(400/680*100%);
	border:1px solid #a3a3a3;
	overflow: hidden;
}

.bbs-gallery .thumb img {
	display: block;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width: 100%;
	height:100%;
	transition: all .6s ease-out;
}

.bbs-gallery .subject {
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size:2.4rem;
	font-weight:700;
	line-height:1.4;
	color:#131313;
}

.bbs-gallery .writer {
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2; 
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size:2rem;
	line-height:1.6;
	color:#535353;
}

@media screen and (min-width:1201px) {
	.bbs-gallery .list li:hover .thumb img {
		transform: scale(1.05);
	}
}
@media screen and (max-width:1200px) {
	.bbs-gallery .list {
		margin:-24px;
	}

	.bbs-gallery .list li {
		padding:24px;
	}

	.bbs-gallery .subject {
		font-size:2rem;
	}

	.bbs-gallery .writer {
		font-size:1.8rem;
	}
}
@media screen and (max-width:1024px) {
	.bbs-gallery .list {
		margin:-16px;
	}

	.bbs-gallery .list li {
		padding:16px;
	}
}
@media screen and (max-width:768px) {
	.bbs-gallery .list {
		margin:-8px;
	}

	.bbs-gallery .list li {
		padding:8px;
	}

	.bbs-gallery .subject {
		font-size:1.8rem;
	}

	.bbs-gallery .writer {
		font-size:1.6rem;
	}
}
@media screen and (max-width:576px) {
	.bbs-gallery .list {
		margin:-12px;
	}

	.bbs-gallery .list li {
		flex:1 1 100%;
		max-width: 100%;
		padding:12px;
	}

	.bbs-gallery .subject {
		font-size:1.6rem;
	}

	.bbs-gallery .writer {
		font-size:1.4rem;
	}
}


/* Board Slide */
.bbs-slide .prev,
.bbs-slide .next {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top:50%;
	transform: translateY(-50%);
	width: 56px;
	height:56px;
	border-radius:50%;
	background-color: #676767;
	transition: all .15s ease;
	cursor: pointer;
}

.bbs-slide .prev {
	left:-110px;
}

.bbs-slide .next {
	right:-110px;
}

.bbs-slide .prev::before,
.bbs-slide .next::before {
	content: "";
	display: block;
	width:28px;
	height: 24px;
	background-repeat: no-repeat;
	background-position: center;
}

.bbs-slide .prev::before {
	background-image: url('../img/bbs/slide_prev.png');
}

.bbs-slide .next::before {
	background-image: url('../img/bbs/slide_next.png');
}

.bbs-slide .pagination {
	position: relative;
	top:unset;
	left: unset;
	right: unset;
	bottom: unset;
	transform: none;
	width: 100%;
	height:4px;
	background-color: #cfd2d9;
}

.bbs-slide .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background-color: #008142;
}

.bbs-slide .bbs-main-swiper {
	border-radius:10px;
	overflow: hidden;
}

.bbs-slide .bbs-main-swiper .swiper-wrapper,
.bbs-slide .bbs-main-swiper .swiper-slide {
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.bbs-slide .bbs-main-swiper .thumb {
	position: relative;
	width:100%;
	height:0;
	padding-top: calc(700/1000*100%);
	overflow: hidden;
}

.bbs-slide .bbs-main-swiper .thumb .txt {
	position: absolute;
	left:0;
	bottom:0;
	width: 100%;
	padding: 16px 20px;
	background-color: rgba(0,0,0,.5);
	z-index:1;
}

.bbs-slide .bbs-main-swiper .thumb img {
	display: block;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width: 100%;
	height:100%;
}

.bbs-slide .bbs-sub-swiper {
	overflow: hidden;
}

.bbs-slide .bbs-sub-swiper .thumb {
	position: relative;
	width:100%;
	height:0;
	padding-top: calc(134/192*100%);
	border-radius:10px;
	overflow: hidden;
	background-color: #000;
	cursor: pointer;
}

.bbs-slide .bbs-sub-swiper .thumb::before {
	content: "";
	display: block;
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height:100%;
	box-shadow:0 0 0 2px #008142 inset;
	transition: all .15s ease;
	border-radius:10px;
	opacity:0;
	visibility: hidden;
	z-index:2;
	pointer-events: none;
}

.bbs-slide .bbs-sub-swiper .thumb img {
	display: block;
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width: 100%;
	height:100%;
	pointer-events: none;
	transition: all .15s ease;
}

.bbs-slide .bbs-sub-swiper .swiper-slide-thumb-active .thumb::before {
	opacity: 1;
	visibility: visible;
}

.bbs-slide .bbs-sub-swiper .swiper-slide-thumb-active .thumb img {
	opacity: .4;
}

@media screen and (min-width:1201px) {
	.bbs-slide .prev:hover,
	.bbs-slide .next:hover {
		background-color: #008142;
	}
}
@media screen and (max-width:1200px) {
	
}
@media screen and (max-width:1024px) {
	.bbs-slide .bbs-main-swiper .thumb .txt {
		padding: 10px 16px;
	}
}
@media screen and (max-width:768px) {

}
@media screen and (max-width:576px) {
	.bbs-slide .bbs-main-swiper .thumb .txt {
		padding: 8px 12px;
	}
}



@media screen and (max-width:1200px) {

}
@media screen and (max-width:1024px) {

}
@media screen and (max-width:768px) {

}
@media screen and (max-width:576px) {

}


/* Board View */
.bbs-view {
	border-top: 1px solid #008142;
}

.bbs-view-head .block01 {
	padding: 40px;
	border-bottom: 1px solid #838383;
}

.bbs-view-head .block02 {
	padding:20px 40px;
	border-bottom: 1px solid #838383;
}

.bbs-view-area {
	min-height:500px;
	padding:40px;
	border-bottom: 1px solid #838383;	
}

.bbs-view-btns {
	display: flex;
	justify-content: center;
}

.bbs-view .subject {
	font-size:2.8rem;
}

.bbs-view .writer {
	font-size:2rem;
	color:#acacac;
}

.bbs-view .file {
	display: flex;
	align-items: center;
}

.bbs-view .file dt {
	position: relative;
	width:130px;
	padding-left:30px;
	font-size:2rem;
}

.bbs-view .file dt::before {
	content: "";
	display: block;
	position: absolute;
	top:50%;
	left:0;
	transform: translateY(-50%);
	width:14px;
	height:20px;
	background: url('../img/icon/ico_file.png') no-repeat center;
}

.bbs-view .file dd {
	width: calc(100% - 130px);
	font-size:2rem;
}

.bbs-view .file dd a {
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bbs-view .textarea p {
	font-size: 2rem;
	line-height:1.4;
}

.bbs-view .btn {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width:170px;
	height:56px;
	background-color: #7a7a7a;
	font-size:2rem;
	font-weight:500;
	color:#fff;
}

@media screen and (max-width:1200px) {
	.bbs-view .subject {
		font-size:2.4rem;
	}

	.bbs-view .writer {
		font-size:1.8rem;
	}

	.bbs-view .file dt {
		font-size:1.8rem;
	}

	.bbs-view .file dd {
		font-size:1.8rem;
	}

	.bbs-view .textarea p {
		font-size:1.8rem;
	}

	.bbs-view .btn {
		height:50px;
		font-size:1.8rem;
	}
}
@media screen and (max-width:1024px) {
	.bbs-view-head .block01 {
		padding: 28px;
	}

	.bbs-view-head .block02 {
		padding: 12px 28px;
	}
	
	.bbs-view-area {
		min-height:380px;
		padding: 28px;
	}

	.bbs-view .file dt {
		padding-left:20px;
		width: 110px;
	}

	.bbs-view .file dt::before {
		height:16px;
		background-size: auto 16px;
	}

	.bbs-view .file dd {
		width: calc(100%  -  110px);
	}

	.bbs-view .btn {
		width: 160px;
		height:44px;
	}
}
@media screen and (max-width:768px) {
	.bbs-view-area {
		min-height:300px;
	}

	.bbs-view .subject {
		font-size:2rem;
	}

	.bbs-view .writer {
		font-size:1.6rem;
	}

	.bbs-view .file dt {
		font-size:1.6rem;
	}

	.bbs-view .file dt::before {
		height:14px;
		background-size: auto 14px;
	}

	.bbs-view .file dd {
		font-size:1.6rem;
	}

	.bbs-view .textarea p {
		font-size:1.6rem;
	}

	.bbs-view .btn {
		font-size:1.6rem;
	}
}
@media screen and (max-width:576px) {
	.bbs-view-head .block01 {
		padding: 18px;
	}

	.bbs-view-head .block02 {
		padding: 8px 18px;
	}

	.bbs-view-area {
		min-height:240px;
		padding: 18px;
	}

	.bbs-view .subject {
		font-size:1.8rem;
	}

	.bbs-view .writer {
		font-size:1.4rem;
	}

	.bbs-view .file dt {
		width: 80px;
		padding-left: 16px;
		font-size:1.4rem;
	}

	.bbs-view .file dt::before {
		width: 10px;
		height:12px;
		background-size: auto 12px;
	}

	.bbs-view .file dd {
		width: calc(1005 - 80px);
		font-size:1.4rem;
	}

	.bbs-view .textarea p {
		font-size:1.4rem;
	}

	.bbs-view .btn {
		width: 120px;
		height:40px;
		font-size:1.4rem;
	}
}