@charset "utf-8";

/* 게시판 공통 요소 */
@import url('/Web-home/fnct/bbs/bbs_common/css/board_common.css');

/* 노멀 타입 */
.board-table {border-top: 2px solid #2c2c2c;}
.board-table .col-check {width: 3%;}
.board-table .col-num {width: 7%;}
.board-table .col-title {width: auto;}
.board-table .col-writer {width: 12%;}
.board-table .col-comment {width: 7%;}
.board-table .col-file {width: 6%;}
.board-table .col-state {width: 10%;}
.board-table .col-date {width: 10%;}
.board-table .col-counts {width: 6%;}
.board-table thead th {padding: 1.8rem 0; background: #f8f8f8; border-bottom: 1px solid #8b9099; font-family: pb; font-size: 1.6rem; font-weight: normal; color: #121212;}
.board-table tbody tr:hover {background: #f1f6fa;}
.board-table tbody td {height: 6rem; border-bottom: 1px solid #e2e2e2; font-family: pm; font-size: 1.6rem; text-align: center; color: #444444;}
.board-table tbody td.td-num {color: #666;}
.board-table tbody td.td-title {text-align: left; color: #121212;}
.board-table tbody td.td-title a {display: flex; align-items: center; color: #121212;}
.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;}
.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: 1px; background: #121212; transition: width .35s;}
.board-table tbody td.td-title a:hover strong::after {width: 100%;}
.board-table .cate-name {display: flex; justify-content: center; align-items: center; flex-shrink: 0; width: 14rem; height: 3rem; margin-right: 2.5rem; border-radius: .6rem; font-family: pm; font-size: 1.4rem;}
.board-table .cate-name.color-1 {border: 1px solid #00aae5; color: #00aae5;}
.board-table .cate-name.color-2 {border: 1px solid #302a6c; color: #302a6c;}
.board-table .cate-name.color-3 {border: 1px solid #7d5e32; color: #7d5e32;}
.board-table .cate-name.color-4 {border: 1px solid #ec710e; color: #ec710e;}
.board-table .cate-name.color-5 {border: 1px solid #10ae41; color: #10ae41;}
.board-table .cate-name.color-6 {border: 1px solid #c32fc1; color: #c32fc1;}
.board-table .cate-name.color-7 {border: 1px solid #04ac9a; color: #04ac9a;}
.board-table .cate-name.color-8 {border: 1px solid #f22694; color: #f22694;}
.board-table .cate-name.color-9 {border: 1px solid #296987; color: #296987;}
.board-table .cate-name.color-10 {border: 1px solid #87045d; color: #87045d;}
.board-table .cate-name.color-11 {border: 1px solid #3853c6; color: #3853c6;}
.board-table .cate-name.color-12 {border: 1px solid #f12929; color: #f12929;}
.board-table .cate-name.color-13 {border: 1px solid #1e5322; color: #1e5322;}
.board-table .cate-name.color-14 {border: 1px solid #5d25b0; color: #5d25b0;}
.board-table .cate-name.color-15 {border: 1px solid #5c9608; color: #5c9608;}
.board-table .cate-name i {position: relative; top: .1rem;}
.board-table .notice-title {display: inline-flex; width: 2rem; height: 2.4rem; background: url('../../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.7rem; height: 2.7rem; margin-left: 1rem; background: url('../../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: 1.7rem; margin-left: 1rem; background: url('../../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.3rem; height: 2.3rem; background: url('../../bbs_common/images/ic-file.png') no-repeat center;}

@media screen and (max-width: 1100px) {
	.board-table thead {display: none;}
	.board-table,
	.board-table tbody {display: block; width: 100%;}
	.board-table tbody tr {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; border: 0;}
	.board-table tbody td.td-title {flex-grow: 1; width: 100%; margin: .5rem 0; font-size: 1.8rem;}
	.board-table tbody td.td-write,
	.board-table tbody td.td-comment,
	.board-table tbody td.td-date,
	.board-table tbody td.td-counts {padding-right: 1rem; color: #666;}
	.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-title a {flex-wrap: wrap;}
	.board-table tbody td.td-title strong {width: 100%;}
	.board-table tbody td.td-title strong::after {display: none;}
	.board-table .cate-name {margin-bottom: 1rem;}
}