/* =========================================================
   BBS Skin CSS - refined
   Target: 게시판 목록 / 보기 / 댓글 / 작성
========================================================= */

/* page navigation */
.pg_nav {
	margin-bottom: 23px;
	padding: 9px 13px;
	font-size: 13px;
	color: #666;
	background: #f3f4f5;
	border: 1px solid #ddd;
	border-radius: 6px;
}

.pg_nav a {
	color: #333;
	text-decoration: none;
}

.pg_nav a:hover {
	text-decoration: underline;
}


/* =========================================================
   list
========================================================= */

table.list {
	width: 100%;
	padding: 0;
	border-collapse: collapse;
	border-top: 2px solid #ddd;
	background: #fff;
}

table.list tr {
	height: 34px;
	background: #fff;
	border-bottom: 1px solid #eee;
}

table.list tr.even {
	background: #fcfcfc;
}

table.list tr.here {
	background: #fff9df;
}

table.list tr:hover {
	background: #fff7cc;
}

table.list tr.notice {
	background: #eef2ff;
}

table.list th,
table.list td {
	padding: 9px 10px;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
	color: #555;
}

table.list th {
	font-size: 13px;
	font-weight: 600;
	color: #666;
	background: #f5f6f8;
	border-bottom: 1px solid #e0e5ea;
}

table.list td a:link {
	color: #333;
	text-decoration: none;
}

table.list td a:visited {
	color: #999;
}

table.list td a:hover {
	color: #06c;
	text-decoration: underline;
}

table.list td.num,
table.list td.bno,
table.list td span.num {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 13px;
}

table.list tr.here td.bno {
	font-weight: bold;
	color: #e65a00;
}

table.list td.cat,
table.list td.notice {
	font-size: 12px;
}

table.list td.notice {
	color: #06c;
}

table.list td.alL {
	text-align: left;
}

.cmt {
	font-family: Tahoma, Arial, sans-serif;
	font-size: 13px;
	color: #e65a00;
	font-weight: 600;
}

span.secret,
span.del {
	display: inline-block;
	padding: 0 4px;
	border: 1px solid #999;
	color: #666;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 10px;
	line-height: 1.4;
	cursor: default;
}

span.del {
	border-color: #d00;
	color: #d00;
}

div.paging {
	width: 100%;
	margin: 16px 0;
	text-align: center;
}


/* =========================================================
   view
========================================================= */
/*
table.w_info {
	width: 100%;
	margin: 12px 0 18px 0;
	border: 1px solid #e0e4e8;
	border-radius: 8px;
	border-collapse: separate;
	border-spacing: 0;
	background: #f8fafc;
	overflow: hidden;
}

table.w_info td {
	padding: 12px 14px;
	color: #555;
	font-size: 14px;
	line-height: 1.45;
}

table.w_info td.nick span.bold {
	color: #111;
	font-weight: 700;
}

table.w_info td.where {
	text-align: center;
	color: #666;
}

table.w_info td.time {
	font-family: "JetBrainsMono", monospace, Georgia, "Times New Roman", serif;
	font-size: 12px;
	text-align: right;
	color: #777;
}
*/

/* view info */
.w_info {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;

	margin: 12px 0 18px 0;
	padding: 12px 14px;

	border: 1px solid #e0e4e8;
	border-radius: 8px;
	background: #f8fafc;

	font-size: 14px;
	line-height: 1.45;
	color: #555;
}

.w_info .nick {
	text-align: left;
	min-width: 0;
}

.w_info .where {
	text-align: center;
	color: #666;
	white-space: nowrap;
}

.w_info .time {
	text-align: right;
	font-family: "JetBrainsMono", monospace;
	font-size: 12px;
	color: #777;
	white-space: nowrap;
}

.w_info .nick span.bold {
	color: #111;
	font-weight: 700;
}

.w_info a {
	color: #36c;
	text-decoration: none;
}

.w_info a:hover {
	color: #c00;
	text-decoration: underline;
}

@media (max-width: 720px) {
	.w_info {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.w_info .nick,
	.w_info .where,
	.w_info .time {
		text-align: left;
		white-space: normal;
	}
}

div.ico {
	margin: 0;
}

p.file {
	margin: 8px 0;
	font-size: 12px;
	color: #888;
}

#vw_txt {
	margin-top: 10px;
	padding: 22px 24px;
	font-size: 16px;
	line-height: 1.85;
	color: #333;

	text-align: left;
	word-break: keep-all;
	overflow-wrap: break-word;
}


/* =========================================================
   comment view
   현재 HTML: <div class="cmt_bx" id="cmt_bx">
   구형 CSS 호환: #cmtBx 도 같이 대응
========================================================= */

#cmt_bx,
.cmt_bx,
#cmtBx {
	margin-top: 28px;
	font-size: 15px;
	color: #333;
	line-height: 1.65;
}

#cmt_bx .alC,
.cmt_bx .alC {
	padding: 18px;
	color: #777;
	background: #f8f9fa;
	border: 1px solid #e4e7ea;
	border-radius: 8px;
}

/* AJAX 댓글이 table로 들어오는 경우 */
#cmt_bx table,
.cmt_bx table,
#cmtBx table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 8px;
}

#cmt_bx td,
.cmt_bx td,
#cmtBx td {
	padding: 11px 13px;
	font-size: 15px;
	line-height: 1.65;
	color: #333;
	background: #fafafa;
	border-top: 1px solid #e2e6ea;
	border-bottom: 1px solid #e2e6ea;
}

#cmt_bx td:first-child,
.cmt_bx td:first-child,
#cmtBx td:first-child {
	border-left: 1px solid #e2e6ea;
	border-radius: 8px 0 0 8px;
}

#cmt_bx td:last-child,
.cmt_bx td:last-child,
#cmtBx td:last-child {
	border-right: 1px solid #e2e6ea;
	border-radius: 0 8px 8px 0;
}

/* 구형 댓글 구조 대응 */
#cmtBx .ct {
	width: 100%;
	margin: 20px 0 8px 0;
	background: #f8f9fa;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
}

#cmtBx .ct td {
	padding: 11px 13px;
	color: #333;
	background: transparent;
	border: none;
}

#cmtBx .ct td.r {
	color: #888;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 13px;
	text-align: right;
}

#cmtBx .ct td.r span {
	padding-right: 8px;
	color: #d00;
}

#cmtBx .cb {
	margin: 8px 0 16px 8px;
	font-size: 15px;
	line-height: 1.7;
}


/* =========================================================
   delete comment box
========================================================= */

#dCmtBx {
	position: absolute;
	z-index: 99;
	width: 190px;
	min-height: 78px;
	border: 1px solid #198754;
	border-radius: 6px;
	background: #ffffe8;
	font-size: 13px;
	color: #096;
	overflow: hidden;
}

#dCmtBx .head {
	height: 24px;
	line-height: 24px;
	background: #198754;
	color: #fff;
	font-weight: 700;
}

#dCmtBx .head .l {
	float: left;
	padding-left: 6px;
}

#dCmtBx .head .r {
	padding-right: 6px;
	text-align: right;
}

#dCmtBx .frm {
	margin: 8px 0 0 8px;
}

#dCmtBxMsg {
	margin-top: 6px;
	text-align: center;
	color: #d00;
}





/* =========================================================
   comment write
   현재 HTML: table.f_cmt
   구형 CSS 호환: #frmCmt
========================================================= */

table.f_cmt,
#frmCmt {
	width: 100%;
	margin: 24px auto 18px auto;
	border: 1px solid #dfe4ea;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	overflow: hidden;
}

table.f_cmt td,
#frmCmt td {
	padding: 12px;
	border-top: 1px solid #edf0f2;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}

table.f_cmt tr:first-child td,
#frmCmt tr:first-child td {
	border-top: none;
}

table.f_cmt td.l,
#frmCmt td.l {
	width: 74px;
	background: #f6f8fa;
	color: #555;
	font-weight: 600;
	text-align: right;
	vertical-align: top;
}

table.f_cmt td.valT,
#frmCmt td.valT {
	vertical-align: top;
}

table.f_cmt td.l p,
#frmCmt td.l p {
	margin-left: 8px;
}

table.f_cmt .arr,
#frmCmt td p.arr {
	display: inline-block;
	margin: 8px 0 0 0;
	color: #789;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 13px;
	cursor: pointer;
}

#comment,
#frmCmt textarea {
	box-sizing: border-box;
	width: 100% !important;
	min-height: 120px;
	padding: 12px;
	border: 1px solid #cbd3da;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font-size: 15px;
	line-height: 1.65;
	resize: vertical;
}

#comment:focus,
#frmCmt textarea:focus {
	outline: none;
	border-color: #6d9fd3;
	box-shadow: 0 0 0 3px rgba(109, 159, 211, 0.15);
}

table.f_cmt tr.sbm td {
	text-align: right;
	background: #fbfcfd;
}

#frmCmt input.bt {
	width: auto;
	min-width: 70px;
	background: none;
}

#send_cmt {
	min-width: 110px;
	height: 36px;
	padding: 0 18px;
	border: none;
	border-radius: 7px;
	background: #2f6fb3;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

#send_cmt:hover {
	background: #255f9b;
}


/* =========================================================
   common buttons / refresh
========================================================= */

input.bt {
	height: 32px;
	padding: 0 12px;
	border: 1px solid #cbd3da;
	border-radius: 6px;
	background: #fff;
	color: #555;
	font-size: 13px;
	cursor: pointer;
}

input.bt:hover {
	background: #f3f6f8;
}


/* =========================================================
   write
========================================================= */

p.nfo {
	font-size: 13px;
	text-align: right;
	color: #666;
}

#txt {
	font-size: 15px;
	line-height: 1.7;
}












table.baduk {
	width: 100%;
	margin: 12px auto;
	border-top: 2px solid #e6e8eb;
	border-bottom: 2px solid #e6e8eb;
	border-collapse: collapse;
}

table.baduk td {
	padding: 10px;
	border-top: 1px solid #e6e8eb;
	font-size: 13px;
	line-height: 1.5;
	color: #444;
}

table.baduk td.l {
	padding-left: 8px;
	border-right: 1px solid #e6e8eb;
	background: #f8f9fa;
	font-weight: 600;
}

table.baduk td.l span,
span.bb {
	font-size: 12px;
	color: #0c7de5;
	font-weight: 700;
}

table.baduk tr.msg {
	background: #ffffe8;
}

table.baduk tr.msg td.l {
	background: #f8f1d0;
	color: #c00;
}

table.baduk tr.msg p.msg {
	color: #c00;
}

table.baduk td.blank {
	border-top: 2px solid #e6e8eb;
	border-bottom: 2px solid #e6e8eb;
	color: #7da7d9;
}

table.baduk td .gray {
	color: #888;
}

table.baduk td .blue {
	color: #5b91cc;
}

table.baduk p img {
	border: 1px solid #aaa;
}

p.msg {
	color: #c00;
}


/* =========================================================
   utility
========================================================= */

.w510 {
	width: 510px;
}

.w215 {
	width: 215px;
}

#text {
	line-height: 1.7;
}


/* =========================================================
   small screen
========================================================= */

@media (max-width: 720px) {
	table.w_info td {
		display: block;
		width: auto;
		text-align: left !important;
		border-top: 1px solid #e6e9ec;
	}

	table.w_info tr td:first-child {
		border-top: none;
	}

	#vw_txt {
		padding: 18px 16px;
		font-size: 15px;
		line-height: 1.8;
	}

	table.f_cmt td,
	#frmCmt td {
		display: block;
		width: auto;
	}

	table.f_cmt td.l,
	#frmCmt td.l {
		width: auto;
		text-align: left;
		border-bottom: 1px solid #edf0f2;
	}

	table.list th,
	table.list td {
		padding: 8px 6px;
		font-size: 13px;
	}
}