@charset "UTF-8";

/* 게시판 공통 요소 */
@import url('/Web-home/fnct/bbs/bbs_common/css/board_common.css');

/* 노멀 타입 */
.board-table {border-top: 2px solid #003377;}
.board-table .col-check {width: 3%;}
.board-table .col-num {width: 10%;}
.board-table .col-title {width: auto;}
.board-table .col-writer {width: 12%;}
.board-table .col-comment {width: 7%;}
.board-table .col-state {width: 9%;}
.board-table .col-file {width: 7%;}
.board-table .col-date {width: 12%;}
.board-table .col-counts {width: 6%;}
.board-table .col-view {width: 15%;}
.board-table thead th {padding: 1.8rem 0; background: #fafafa; border-bottom: 1px solid #8b9099; font-family: psb; font-size: 1.8rem; font-weight: normal; color: #121212;}
.board-table tbody tr:hover {background: #f1f6fa;}
.board-table tbody td {padding: 3rem 0; border-bottom: 1px solid #e2e2e2; font-family: pm; font-size: 1.8rem; text-align: center; color: #444444; vertical-align: middle;}
.board-table tbody td.td-num {color: #666;}
.board-table tbody td.td-title {font-family: psb; font-size: 2rem; text-align: left; color: #000;}
.board-table tbody td.td-title a {display: flex; align-items: center; color: #000;}
.board-table tbody td.td-title .thum {overflow: hidden; display: flex; flex-shrink: 0; width: 20rem; height: 13rem; margin-right: 5rem; border: 1px solid #e1e1e1;}
.board-table tbody td.td-title .thum img {width: 120%; height: 100%; object-fit: cover; transition: transform .35s;}
.board-table tbody td.td-title a:hover .thum img {transform: scale(1.07)}
.board-table tbody td.td-title strong {overflow: hidden; position: relative; display: -webkit-inline-box; line-clamp: 1; -webkit-line-clamp: 1; -webkit-box-orient:vertical;}
.board-table tbody td.td-state .p1 {display: block;text-align: center;width: 8rem;height: 3rem;margin: 0 auto;background: #0a4da1;font-size: 1.6rem;font-family: pm;color: #fff;line-height: 3rem;}
.board-table tbody td.td-state .p2 {display: block;text-align: center;width: 8rem;height: 3rem;margin: 0 auto;background: #a6a6a6;font-size: 1.6rem;font-family: pm;color: #fff;line-height: 3rem;}
.boardWrap .title strong {  line-height: 30px; background: linear-gradient(to bottom, transparent 98%, rgba(0,0,0,1) 0) left center no-repeat; background-size:0; transition: background-size .5s;}
.board-table tbody td.td-title strong::after {content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: #121212; transition: width .35s;}
.board-table tbody td.td-title a:hover strong::after {width: 100%;}
.board-table tbody td.td-date {font-size: 1.6rem;}
.board-table .cate-name {display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 13rem; height: 3rem; margin-right: 2.5rem; font-family: pm; font-size: 1.6rem;}
.board-table .cate-name.color-1 {border: 1px solid #9e6b19; color: #9e6b19;}
.board-table .cate-name.color-2 {border: 1px solid #0064ef; color: #0064ef;}
.board-table .cate-name.color-3 {border: 1px solid #148c8a; color: #148c8a;}
.board-table .cate-name.color-4 {border: 1px solid #f46e6f; color: #f46e6f;}
.board-table .cate-name.color-5 {border: 1px solid #5a0071; color: #5a0071;}
.board-table .cate-name.color-6 {border: 1px solid #a6a6a6; color: #a6a6a6;}
.board-table .cate-name.color-7 {border: 1px solid #244f7a; color: #244f7a;}
.board-table .cate-name.color-8 {border: 1px solid #ff921c; color: #ff921c;}
.board-table .cate-name.color-9 {border: 1px solid #9b9015; color: #9b9015;}
.board-table .cate-name.color-10 {border: 1px solid #4eaa0b; color: #4eaa0b;}
.board-table .cate-name.color-11 {border: 1px solid #bf2c24; color: #bf2c24;}
.board-table .cate-name i {position: relative; top: .1rem;}
.board-table .notice-title {position: relative; top: .5rem; display: inline-flex; width: 2.5rem; height: 2rem; background: url('/Web-home/fnct/bbs/bbs_common/images/ic-notice.png') no-repeat center; text-indent: -9999rem;}
.board-table .new {flex-shrink: 0; position: relative; top: -.1rem; display: inline-flex; width: 2.1rem; height: 2.1rem; margin-left: 1rem; background: url('/Web-home/fnct/bbs/bbs_common/images/ic-new.png') no-repeat center; text-indent: -9999rem;}
.board-table .lock {flex-shrink: 0; position: relative; top: -.1rem; display: inline-flex; width: 1.4rem; height: 2.1rem; margin-left: 1rem; background: url('/Web-home/fnct/bbs/bbs_common/images/ic-secret.png') no-repeat center; text-indent: -9999rem;}
.board-table .is-file {position: relative; top: .3rem; display: inline-flex; width: 2.1rem; height: 2.7rem; background: url('/Web-home/fnct/bbs/bbs_common/images/ic-file.png') no-repeat center;}
.board-table .btn-press {display: inline-flex; justify-content: center; align-items: center; height: 3.5rem; padding: 0 2rem; background: #fff; border: 1px solid #b7bec6; border-radius: .5rem; font-family: pm; font-size: 1.4rem; color: #028ef6;}
.board-table .btn-press::before {content: ''; display: block; width: 1.5rem; height: 1.6rem; margin-right: .5rem; background: url('/Web-home/fnct/bbs/bbs_common/images/btn-press.png') no-repeat center;}
.board-table .btn-press:hover {background: #028ef6; border-color: #028ef6; color: #fff;}
.board-table .btn-press:hover::before {background: url('/Web-home/fnct/bbs/bbs_common/images/btn-press-on.png') no-repeat center;}
.board-table .btn-press span {position: relative; top: .1rem;}


.board-table .col-writer,
.board-table .th-writer,
.board-table .td-write {display: none;}

.board-table .col-file,
.board-table .th-file,
.board-table .td-file {display: none;}

.board-table .col-counts,
.board-table .th-counts,
.board-table .td-counts {display: none;}

.board-table .col-comment,
.board-table .th-comment,
.board-table .td-comment {display: none;}

.board-table .col-state,
.board-table .th-state,
.board-table .td-state {display: none;}

@media screen and (max-width: 1100px) {
	.board-table thead {display: none;}
	.board-table,
	.board-table tbody {display: block; width: 100%;}
	.board-table tbody tr {position: relative; display: flex; flex-wrap: wrap; width: 100%; padding: 2rem; border-bottom: 1px solid #d1d1d1;}
	.board-table tbody td {display: flex; align-items: center; height: auto; padding: 0; border: 0;}
	.board-table tbody td.td-admin,
	.board-table tbody td.td-num {display: none;}
	.board-table tbody td.td-title {flex-grow: 1; width: 100%; margin: 0 0 1rem 0; font-size: 1.8rem;}
	.board-table tbody td.td-title.notice {padding-top: 3rem; background: url(../../bbs_common/images/ic-notice.png) no-repeat left top;}
	.board-table tbody td.td-write,
	.board-table tbody td.td-comment,
	.board-table tbody td.td-view,
	.board-table tbody td.td-date,
	.board-table tbody td.td-counts {width: auto; padding-right: 1rem; color: #666;}
	.board-table tbody td.td-state {padding-right: 1rem; color: #fff;}
	.board-table tbody td.td-file {display: none;}

	.board-table tbody td.td-write::before {content: '작성자 :'; padding-right: 1rem;}
	.board-table tbody td.td-comment::before {content: '댓글 :'; padding-right: 1rem;}
	.board-table tbody td.td-date::before {content: '등록일 :'; padding-right: 1rem;}
	.board-table tbody td.td-counts::before {content: '조회수 :'; padding-right: 1rem;}
	.board-table tbody td.td-state .p1 {position: absolute;right: 2rem;top: 2rem;}
	.board-table tbody td.td-state .p2 {position: absolute;right: 2rem;top: 2rem;}

	.board-table tbody td.td-title a {flex-wrap: wrap;}
	.board-table tbody td.td-title .thum {width: 100%; margin-bottom: 1rem;}
	.board-table tbody td.td-title strong {max-width: 85%;}
	.board-table tbody td.td-title strong::after {display: none;}
	.board-table tbody td.td-title .thum {border: 0;}
	.board-table tbody td.td-title .thum img {width: auto; height: auto;}
	.board-table .cate-name {margin-bottom: 1rem;}
}

@media screen and (max-width: 700px) {
	.board-table tbody td.td-title .thum {height: 30rem;}
	.board-table tbody td.td-title .thum img {width: 100%;}
}